Lines Matching refs:tmpFile
43 var $tmpFile; variable in File_Archive_Reader_Cache
56 $this->tmpFile = tmpfile();
63 fwrite($this->tmpFile, $data);
78 fseek($this->tmpFile, $this->files[$this->pos]['pos'], SEEK_SET);
94 fseek($this->tmpFile, 0, SEEK_END);
99 'pos' => ftell($this->tmpFile)
134 fwrite($this->tmpFile, $data);
142 $maxSize = $this->files[$this->pos+1]['pos'] - ftell($this->tmpFile);
149 return fread($this->tmpFile, $length);
153 while (!feof($this->tmpFile)) {
154 $contents .= fread($this->tmpFile, $blockSize);
169 $maxSize = $this->files[$this->pos+1]['pos'] - ftell($this->tmpFile);
176 fseek($this->tmpFile, $length, SEEK_CUR);
179 $before = ftell($this->tmpFile);
180 fseek($this->tmpFile, 0, SEEK_SET);
181 $after = fteel($this->tmpFile);
195 $before = ftell($this->tmpFile);
197 fseek($this->tmpFile, $pos, SEEK_SET);
205 return ftell($this->tmpFile) - $this->files[$this->pos]['pos'];
214 fseek($this->tmpFile, 0, SEEK_SET);
220 fclose($this->tmpFile);
221 $this->tmpFile = tmpfile();