Lines Matching refs:options

249 PHPAPI void php_stream_wrapper_log_error(php_stream_wrapper *wrapper, int options TSRMLS_DC, const …  in php_stream_wrapper_log_error()
258 if (options & REPORT_ERRORS || wrapper == NULL) { in php_stream_wrapper_log_error()
1757 …apper *php_stream_locate_url_wrapper(const char *path, char **path_for_open, int options TSRMLS_DC)
1768 if (options & IGNORE_URL) {
1769 return (options & STREAM_LOCATE_WRAPPERS_ONLY) ? NULL : &php_plain_files_wrapper;
1822 if (options & REPORT_ERRORS) {
1842 if (options & STREAM_LOCATE_WRAPPERS_ONLY) {
1859 if (options & REPORT_ERRORS) {
1869 (options & STREAM_DISABLE_URL_PROTECTION) == 0 &&
1871 (((options & STREAM_OPEN_FOR_INCLUDE) ||
1873 if (options & REPORT_ERRORS) {
1892 PHPAPI int _php_stream_mkdir(char *path, int mode, int options, php_stream_context *context TSRMLS_… argument
1901 return wrapper->wops->stream_mkdir(wrapper, path, mode, options, context TSRMLS_CC);
1907 PHPAPI int _php_stream_rmdir(char *path, int options, php_stream_context *context TSRMLS_DC) argument
1916 return wrapper->wops->stream_rmdir(wrapper, path, options, context TSRMLS_CC);
1970 PHPAPI php_stream *_php_stream_opendir(char *path, int options, argument
1983 wrapper = php_stream_locate_url_wrapper(path, &path_to_open, options TSRMLS_CC);
1987 path_to_open, "r", options ^ REPORT_ERRORS, NULL,
1995 php_stream_wrapper_log_error(wrapper, options ^ REPORT_ERRORS TSRMLS_CC, "not implemented");
1997 if (stream == NULL && (options & REPORT_ERRORS)) {
2019 PHPAPI php_stream *_php_stream_open_wrapper_ex(char *path, char *mode, int options, argument
2025 int persistent = options & STREAM_OPEN_PERSISTENT;
2038 if (options & USE_PATH) {
2043 options |= STREAM_ASSUME_REALPATH;
2044 options &= ~USE_PATH;
2050 wrapper = php_stream_locate_url_wrapper(path, &path_to_open, options TSRMLS_CC);
2051 if (options & STREAM_USE_URL && (!wrapper || !wrapper->is_url)) {
2061 php_stream_wrapper_log_error(wrapper, options ^ REPORT_ERRORS TSRMLS_CC,
2065 path_to_open, mode, options ^ REPORT_ERRORS,
2071 if (stream && (options & STREAM_OPEN_PERSISTENT) && !stream->is_persistent) {
2072 php_stream_wrapper_log_error(wrapper, options ^ REPORT_ERRORS TSRMLS_CC,
2099 if (stream != NULL && (options & STREAM_MUST_SEEK)) {
2103 (options & STREAM_WILL_CAST)
2122 if (options & REPORT_ERRORS) {
2129 options ^= REPORT_ERRORS;
2143 if (stream == NULL && (options & REPORT_ERRORS)) {
2190 if (context->options) {
2191 zval_ptr_dtor(&context->options);
2192 context->options = NULL;
2207 MAKE_STD_ZVAL(context->options);
2208 array_init(context->options);
2232 …if (FAILURE == zend_hash_find(Z_ARRVAL_P(context->options), (char*)wrappername, strlen(wrappername…
2249 …if (FAILURE == zend_hash_find(Z_ARRVAL_P(context->options), (char*)wrappername, strlen(wrappername…
2252 …if (FAILURE == zend_hash_update(Z_ARRVAL_P(context->options), (char*)wrappername, strlen(wrapperna…