Lines Matching refs:wrapper

328 	php_stream_wrapper *wrapper;  in php_do_chgrp()  local
335 wrapper = php_stream_locate_url_wrapper(filename, NULL, 0); in php_do_chgrp()
336 if(wrapper != &php_plain_files_wrapper || strncasecmp("file://", filename, 7) == 0) { in php_do_chgrp()
337 if(wrapper && wrapper->wops->stream_metadata) { in php_do_chgrp()
348 if(wrapper->wops->stream_metadata(wrapper, filename, option, value, NULL)) { in php_do_chgrp()
466 php_stream_wrapper *wrapper; in php_do_chown() local
473 wrapper = php_stream_locate_url_wrapper(filename, NULL, 0); in php_do_chown()
474 if(wrapper != &php_plain_files_wrapper || strncasecmp("file://", filename, 7) == 0) { in php_do_chown()
475 if(wrapper && wrapper->wops->stream_metadata) { in php_do_chown()
486 if(wrapper->wops->stream_metadata(wrapper, filename, option, value, NULL)) { in php_do_chown()
561 php_stream_wrapper *wrapper; in PHP_FUNCTION() local
568 wrapper = php_stream_locate_url_wrapper(filename, NULL, 0); in PHP_FUNCTION()
569 if(wrapper != &php_plain_files_wrapper || strncasecmp("file://", filename, 7) == 0) { in PHP_FUNCTION()
570 if(wrapper && wrapper->wops->stream_metadata) { in PHP_FUNCTION()
571 if(wrapper->wops->stream_metadata(wrapper, filename, PHP_STREAM_META_ACCESS, &mode, NULL)) { in PHP_FUNCTION()
610 php_stream_wrapper *wrapper; in PHP_FUNCTION() local
635 wrapper = php_stream_locate_url_wrapper(filename, NULL, 0); in PHP_FUNCTION()
636 if(wrapper != &php_plain_files_wrapper || strncasecmp("file://", filename, 7) == 0) { in PHP_FUNCTION()
637 if(wrapper && wrapper->wops->stream_metadata) { in PHP_FUNCTION()
638 if(wrapper->wops->stream_metadata(wrapper, filename, PHP_STREAM_META_TOUCH, newtime, NULL)) { in PHP_FUNCTION()
737 php_stream_wrapper *wrapper = NULL; in php_stat() local
747 …if ((wrapper = php_stream_locate_url_wrapper(ZSTR_VAL(filename), &local, 0)) == &php_plain_files_w… in php_stat()
752 if (wrapper == &php_plain_files_wrapper) { in php_stat()
811 if (!wrapper) { in php_stat()
819 …if ((wrapper = php_stream_locate_url_wrapper(ZSTR_VAL(filename), &local, 0)) == &php_plain_files_w… in php_stat()
825 if (!wrapper in php_stat()
826 || !wrapper->wops->url_stat in php_stat()
827 …|| wrapper->wops->url_stat(wrapper, local, flags | PHP_STREAM_URL_STAT_IGNORE_OPEN_BASEDIR, &ssb, … in php_stat()
885 if (wrapper == &php_plain_files_wrapper) { in php_stat()