Lines Matching refs:resource
134 … $this->function->flock = function ($resource, $operation) use (&$_resource, &$_operation) {
135 $_resource = $resource;
142 return flock($resource, $operation);
151 ->resource($_resource)
350 ->resource($openedPath)
400 ->resource($openedPath)
408 $this->function->fread = function ($resource, $count) use (&$_resource, &$_count) {
409 $_resource = $resource;
412 return fread($resource, $count);
422 ->resource($_resource)
434 …$this->function->fseek = function ($resource, $offset, $whence) use (&$_resource, &$_offset, &$_wh…
435 $_resource = $resource;
439 return fseek($resource, $offset, $whence);
448 ->resource($_resource)
486 $this->function->fstat = function ($resource) use (&$_resource) {
487 $_resource = $resource;
489 return fstat($resource);
497 ->resource($_resource)
506 $this->function->ftell = function ($resource) use (&$_resource) {
507 $_resource = $resource;
509 return ftell($resource);
519 ->resource($_resource)
528 … $this->function->ftruncate = function ($resource, $size) use (&$_resource, &$_size) {
529 $_resource = $resource;
532 return ftruncate($resource, $size);
542 ->resource($_resource)
558 $this->function->fwrite = function ($resource, $data) use (&$_resource, &$_data) {
559 $_resource = $resource;
562 return fwrite($resource, $data);
572 ->resource($_resource)
618 ->resource($wrapper->getStream())
653 $this->function->readdir = function ($resource) use (&$_resource) {
654 $_resource = $resource;
656 return readdir($resource);
665 ->resource($_resource)
673 $this->function->readdir = function ($resource) use (&$_resource) {
674 $_resource = $resource;
676 return readdir($resource);
685 ->resource($_resource)
703 $this->function->rewinddir = function ($resource) use (&$_resource) {
704 $_resource = $resource;
706 return rewinddir($resource);
721 ->resource($_resource)