Lines Matching refs:offset
43 var $offset = 0; variable in File_Archive_Reader_Zip
97 $this->offset = 0;
206 if ($this->offset >= $this->currentStat[7]) {
211 $actualLength = min($length, $this->currentStat[7]-$this->offset);
213 $actualLength = $this->currentStat[7]-$this->offset;
220 $result = substr($this->data, $this->offset, $actualLength);
221 $this->offset += $actualLength;
229 $before = $this->offset;
231 $this->offset = $this->currentStat[7];
233 $this->offset = min($this->offset + $length, $this->currentStat[7]);
235 return $this->offset - $before;
242 $before = $this->offset;
244 $this->offset = 0;
246 $this->offset = min(0, $this->offset - $length);
248 return $before - $this->offset;
255 return $this->offset;
361 $newData = substr($this->data, 0, $this->offset + $seek);
362 $this->data = substr($this->data, $this->offset + $seek);
460 $offset = $this->source->getData(4);
462 if (PEAR::isError($offset)) {
463 return $offset;
466 $offset = unpack("Vvalue", $offset);
467 $offset = $offset['value'];
470 $nbSkipped -= $this->source->rewind($current - $offset);