Lines Matching refs:context

87 … *path, char *mode, int options, char **opened_path, php_stream_context *context, int redirect_max…  in php_stream_url_wrap_http_ex()  argument
130 if (!context || in php_stream_url_wrap_http_ex()
131 php_stream_context_get_option(context, wrapper->wops->label, "proxy", &tmpzval) == FAILURE || in php_stream_url_wrap_http_ex()
135 return php_stream_open_wrapper_ex(path, mode, ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL, context); in php_stream_url_wrap_http_ex()
160 if (context && in php_stream_url_wrap_http_ex()
161 php_stream_context_get_option(context, wrapper->wops->label, "proxy", &tmpzval) == SUCCESS && in php_stream_url_wrap_http_ex()
172 …if (context && php_stream_context_get_option(context, wrapper->wops->label, "timeout", &tmpzval) =… in php_stream_url_wrap_http_ex()
184 NULL, &timeout, context, &errstr, NULL); in php_stream_url_wrap_http_ex()
208 if (context && php_stream_context_get_option(context, "http", "header", &tmpzval) == SUCCESS) { in php_stream_url_wrap_http_ex()
312 php_stream_context_set(stream, context); in php_stream_url_wrap_http_ex()
314 php_stream_notify_info(context, PHP_STREAM_NOTIFY_CONNECT, NULL, 0); in php_stream_url_wrap_http_ex()
316 …if (header_init && context && php_stream_context_get_option(context, "http", "max_redirects", &tmp… in php_stream_url_wrap_http_ex()
322 if (context && php_stream_context_get_option(context, "http", "method", &tmpzval) == SUCCESS) { in php_stream_url_wrap_http_ex()
338 …if (context && php_stream_context_get_option(context, "http", "protocol_version", &tmpzval) == SUC… in php_stream_url_wrap_http_ex()
352 context && in php_stream_url_wrap_http_ex()
353 php_stream_context_get_option(context, "http", "request_fulluri", &tmpzval) == SUCCESS) { in php_stream_url_wrap_http_ex()
396 if (context && php_stream_context_get_option(context, "http", "header", &tmpzval) == SUCCESS) { in php_stream_url_wrap_http_ex()
538 php_stream_notify_info(context, PHP_STREAM_NOTIFY_AUTH_REQUIRED, NULL, 0); in php_stream_url_wrap_http_ex()
567 if (context && in php_stream_url_wrap_http_ex()
568 php_stream_context_get_option(context, "http", "user_agent", &ua_zval) == SUCCESS && in php_stream_url_wrap_http_ex()
604 context && in php_stream_url_wrap_http_ex()
606 php_stream_context_get_option(context, "http", "content", &tmpzval) == SUCCESS && in php_stream_url_wrap_http_ex()
620 if (header_init && context && in php_stream_url_wrap_http_ex()
621 php_stream_context_get_option(context, "http", "content", &tmpzval) == SUCCESS && in php_stream_url_wrap_http_ex()
670 …if (context && SUCCESS==php_stream_context_get_option(context, "http", "ignore_errors", &tmpzval))… in php_stream_url_wrap_http_ex()
685 php_stream_notify_error(context, PHP_STREAM_NOTIFY_AUTH_RESULT, in php_stream_url_wrap_http_ex()
693 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, in php_stream_url_wrap_http_ex()
737 …if (context && php_stream_context_get_option(context, "http", "follow_location", &tmpzval) == SUCC… in php_stream_url_wrap_http_ex()
744 php_stream_notify_info(context, PHP_STREAM_NOTIFY_MIME_TYPE_IS, http_header_line + 14, 0); in php_stream_url_wrap_http_ex()
747 php_stream_notify_file_size(context, file_size, http_header_line, 0); in php_stream_url_wrap_http_ex()
754 …if (context && php_stream_context_get_option(context, "http", "auto_decode", &tmpzval) == SUCCESS)… in php_stream_url_wrap_http_ex()
791 php_stream_notify_info(context, PHP_STREAM_NOTIFY_REDIRECTED, location, 0); in php_stream_url_wrap_http_ex()
868 …stream = php_stream_url_wrap_http_ex(wrapper, new_path, mode, options, opened_path, context, --red… in php_stream_url_wrap_http_ex()
895 php_stream_notify_progress_init(context, 0, file_size); in php_stream_url_wrap_http_ex()
922 … *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS… in php_stream_url_wrap_http()
924 …return php_stream_url_wrap_http_ex(wrapper, path, mode, options, opened_path, context, PHP_URL_RED… in php_stream_url_wrap_http()