Lines Matching refs:this
80 $this->initsTable();
82 $this->data = $data;
83 $this->dataLength = \strlen($data);
86 $this->bytePointer = 0;
88 $this->nextData = 0;
89 $this->nextBits = 0;
95 while (($code = $this->getNextCode()) !== 257) {
97 $this->initsTable();
98 $code = $this->getNextCode();
104 $uncompData .= $this->sTable[$code];
108 if ($code < $this->tIdx) {
109 $string = $this->sTable[$code];
112 $this->addStringToTable($this->sTable[$oldCode], $string[0]);
115 $string = $this->sTable[$oldCode];
119 $this->addStringToTable($string);
133 $this->sTable = [];
136 $this->sTable[$i] = \chr($i);
139 $this->tIdx = 258;
140 $this->bitsToGet = 9;
153 // Add this new String to the table
154 $this->sTable[$this->tIdx++] = $string;
156 if ($this->tIdx === 511) {
157 $this->bitsToGet = 10;
158 } elseif ($this->tIdx === 1023) {
159 $this->bitsToGet = 11;
160 } elseif ($this->tIdx === 2047) {
161 $this->bitsToGet = 12;
172 if ($this->bytePointer === $this->dataLength) {
176 $this->nextData = ($this->nextData << 8) | (\ord($this->data[$this->bytePointer++]) & 0xff);
177 $this->nextBits += 8;
179 if ($this->nextBits < $this->bitsToGet) {
180 $this->nextData = ($this->nextData << 8) | (\ord($this->data[$this->bytePointer++]) & 0xff);
181 $this->nextBits += 8;
184 $code = ($this->nextData >> ($this->nextBits - $this->bitsToGet)) & $this->andTable[$this->bitsToGet - 9];
185 $this->nextBits -= $this->bitsToGet;