Lines Matching refs:position

83      * Current position of pointer
88 public $position = 0;
223 $this->position += 4;
226 $mtime = substr($this->compressed_data, $this->position, 4);
232 $this->position += 4;
235 $this->XFL = ord($this->compressed_data[$this->position++]);
238 $this->OS = ord($this->compressed_data[$this->position++]);
243 $this->SI1 = $this->compressed_data[$this->position++];
244 $this->SI2 = $this->compressed_data[$this->position++];
252 $len = current(unpack('v', substr($this->compressed_data, $this->position, 2)));
253 $this->position += 2;
259 $this->extra_field = substr($this->compressed_data, $this->position, $len);
260 $this->position += $len;
269 $len = strcspn($this->compressed_data, "\x00", $this->position);
275 $this->filename = substr($this->compressed_data, $this->position, $len);
276 $this->position += $len + 1;
285 $len = strcspn($this->compressed_data, "\x00", $this->position);
291 $this->comment = substr($this->compressed_data, $this->position, $len);
292 $this->position += $len + 1;
304 $crc = current(unpack('v', substr($this->compressed_data, $this->position, 2)));
307 if ((crc32(substr($this->compressed_data, 0, $this->position)) & 0xFFFF) === $crc) {
308 $this->position += 2;
318 if (($this->data = gzinflate(substr($this->compressed_data, $this->position, -8))) === false) {
322 $this->position = $this->compressed_size - 8;
325 $crc = current(unpack('V', substr($this->compressed_data, $this->position, 4)));
326 $this->position += 4;
333 $isize = current(unpack('V', substr($this->compressed_data, $this->position, 4)));
334 $this->position += 4;