Lines Matching refs:Code
122 while (($Code = $this->GetCode($data, $dp)) >= 0) {
123 if ($Code == $this->ClearCode) {
144 if ($Code == $this->EndCode) {
148 $InCode = $Code;
149 if ($Code >= $this->MaxCode) {
151 $Code = $this->OldCode;
154 while ($Code >= $this->ClearCode) {
155 $this->Stack[$this->sp++] = $this->Vals[$Code];
157 if ($Code == $this->Next[$Code]) { // Circular table entry, big GIF Error!
161 $Code = $this->Next[$Code];
164 $this->FirstCode = $this->Vals[$Code];
167 if (($Code = $this->MaxCode) < (1 << $this->MAX_LZW_BITS)) {
168 $this->Next[$Code] = $this->OldCode;
169 $this->Vals[$Code] = $this->FirstCode;
185 return $Code;