Lines Matching refs:context

111 … *path, char *mode, int options, char **opened_path, php_stream_context *context, int redirect_max…  in php_stream_url_wrap_http_ex()  argument
155 if (!context || in php_stream_url_wrap_http_ex()
156 php_stream_context_get_option(context, wrapper->wops->label, "proxy", &tmpzval) == FAILURE || in php_stream_url_wrap_http_ex()
160 return php_stream_open_wrapper_ex(path, mode, REPORT_ERRORS, NULL, context); in php_stream_url_wrap_http_ex()
185 if (context && in php_stream_url_wrap_http_ex()
186 php_stream_context_get_option(context, wrapper->wops->label, "proxy", &tmpzval) == SUCCESS && in php_stream_url_wrap_http_ex()
197 …if (context && php_stream_context_get_option(context, wrapper->wops->label, "timeout", &tmpzval) =… in php_stream_url_wrap_http_ex()
209 NULL, &timeout, context, &errstr, NULL); in php_stream_url_wrap_http_ex()
233 if (context && php_stream_context_get_option(context, "http", "header", &tmpzval) == SUCCESS) { in php_stream_url_wrap_http_ex()
337 php_stream_context_set(stream, context); in php_stream_url_wrap_http_ex()
339 php_stream_notify_info(context, PHP_STREAM_NOTIFY_CONNECT, NULL, 0); in php_stream_url_wrap_http_ex()
341 …if (header_init && context && php_stream_context_get_option(context, "http", "max_redirects", &tmp… in php_stream_url_wrap_http_ex()
347 if (context && php_stream_context_get_option(context, "http", "method", &tmpzval) == SUCCESS) { in php_stream_url_wrap_http_ex()
363 …if (context && php_stream_context_get_option(context, "http", "protocol_version", &tmpzval) == SUC… in php_stream_url_wrap_http_ex()
377 context && in php_stream_url_wrap_http_ex()
378 php_stream_context_get_option(context, "http", "request_fulluri", &tmpzval) == SUCCESS) { in php_stream_url_wrap_http_ex()
421 if (context && php_stream_context_get_option(context, "http", "header", &tmpzval) == SUCCESS) { in php_stream_url_wrap_http_ex()
540 php_stream_notify_info(context, PHP_STREAM_NOTIFY_AUTH_REQUIRED, NULL, 0); in php_stream_url_wrap_http_ex()
566 if (context && in php_stream_url_wrap_http_ex()
567 php_stream_context_get_option(context, "http", "user_agent", &ua_zval) == SUCCESS && in php_stream_url_wrap_http_ex()
603 context && in php_stream_url_wrap_http_ex()
605 php_stream_context_get_option(context, "http", "content", &tmpzval) == SUCCESS && in php_stream_url_wrap_http_ex()
619 if (header_init && context && in php_stream_url_wrap_http_ex()
620 php_stream_context_get_option(context, "http", "content", &tmpzval) == SUCCESS && in php_stream_url_wrap_http_ex()
672 …if (context && SUCCESS==php_stream_context_get_option(context, "http", "ignore_errors", &tmpzval))… in php_stream_url_wrap_http_ex()
687 php_stream_notify_error(context, PHP_STREAM_NOTIFY_AUTH_RESULT, in php_stream_url_wrap_http_ex()
695 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, in php_stream_url_wrap_http_ex()
739 …if (context && php_stream_context_get_option(context, "http", "follow_location", &tmpzval) == SUCC… in php_stream_url_wrap_http_ex()
752 php_stream_notify_info(context, PHP_STREAM_NOTIFY_MIME_TYPE_IS, http_header_line + 14, 0); in php_stream_url_wrap_http_ex()
755 php_stream_notify_file_size(context, file_size, http_header_line, 0); in php_stream_url_wrap_http_ex()
762 …if (context && php_stream_context_get_option(context, "http", "auto_decode", &tmpzval) == SUCCESS)… in php_stream_url_wrap_http_ex()
799 php_stream_notify_info(context, PHP_STREAM_NOTIFY_REDIRECTED, location, 0); in php_stream_url_wrap_http_ex()
876 …stream = php_stream_url_wrap_http_ex(wrapper, new_path, mode, options, opened_path, context, --red… in php_stream_url_wrap_http_ex()
906 php_stream_notify_progress_init(context, 0, file_size); in php_stream_url_wrap_http_ex()
938 … *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS… in php_stream_url_wrap_http()
940 …return php_stream_url_wrap_http_ex(wrapper, path, mode, options, opened_path, context, PHP_URL_RED… in php_stream_url_wrap_http()