Lines Matching refs:pos
101 * @param int $pos the initial position in the file
104 function openFile($filename, $pos = 0) argument
116 if ($pos > 0) {
117 if (fseek($this->handle, $pos) == -1) {
118 fread($this->handle, $pos);
127 function openFileRemoveBlock($filename, $pos, $blocks) argument
129 $error = $this->openFile($filename, $pos);
138 if ($pos > 0) {
139 if (fseek($this->handle, $pos) == -1) {
140 fread($this->handle, $pos);
180 $pos = strrpos($this->filename, "/");
181 if ($pos !== false) {
182 $error = $this->mkdirr(substr($this->filename, 0, $pos));
203 $pos = strrpos($complete, "/");
204 if ($pos !== false) {
205 $error = $this->mkdirr(substr($complete, 0, $pos));