Lines Matching refs:offset
63 var $offset = 0; variable in File_Archive_Reader_Memory
124 if ($this->offset == strlen($this->memory)) {
128 $actualLength = strlen($this->memory) - $this->offset;
130 $actualLength = min($length, strlen($this->memory) - $this->offset);
132 $result = substr($this->memory, $this->offset, $actualLength);
133 $this->offset += $actualLength;
143 $length = strlen($this->memory) - $this->offset;
145 $length = min($length, strlen($this->memory) - $this->offset);
147 $this->offset += $length;
157 $tmp = $this->offset;
158 $this->offset = 0;
161 $length = min($length, $this->offset);
162 $this->offset -= $length;
172 return $this->offset;
180 $this->offset = 0;
206 $data = substr($this->memory, 0, $this->offset + $seek);
207 $this->memory = substr($this->memory, $this->offset + $seek);