Lines Matching refs:pos
45 var $pos = 0; variable in File_Archive_Reader_Cache
76 if ($this->pos+1 < count($this->files) && !$this->fromSource) {
77 $this->pos++;
78 fseek($this->tmpFile, $this->files[$this->pos]['pos'], SEEK_SET);
101 $this->pos = count($this->files)-1;
110 function getFilename() { return $this->files[$this->pos]['name']; }
114 function getStat() { return $this->files[$this->pos]['stat']; }
118 function getMime() { return $this->files[$this->pos]['mime']; }
141 if ($length > 0 && $this->pos+1 < count($this->files)) {
142 $maxSize = $this->files[$this->pos+1]['pos'] - ftell($this->tmpFile);
168 if ($length >= 0 && $this->pos+1 < count($this->files)) {
169 $maxSize = $this->files[$this->pos+1]['pos'] - ftell($this->tmpFile);
196 $pos = $this->files[$this->pos]['pos'];
197 fseek($this->tmpFile, $pos, SEEK_SET);
198 return $pos - $before;
205 return ftell($this->tmpFile) - $this->files[$this->pos]['pos'];
213 $this->pos = 0;