Lines Matching refs:file
13 * Adds an entry to the changelog file
73 * @return string path to file
92 * Set chunk size for file reading
93 * Chunk size zero let read whole file at once
95 * @param int $chunk_size maximum block size read from file
106 * If file larger than $chunk_size, only chunk is read that could contain $rev.
119 $file = $this->getChangelogFilename();
121 if (!file_exists($file)) {
130 if (filesize($file) < $this->chunk_size || $this->chunk_size == 0) {
131 // read whole file
132 $lines = file($file);
138 $fp = fopen($file, 'rb'); // "file pointer"
179 * @param resource $fp resource file pointer
206 * @param resource $fp file pointer
224 * @param resource $fp file pointer