Lines Matching refs:context

114 		php_stream_context *context, int redirect_max, int flags STREAMS_DC) /* {{{ */  in php_stream_url_wrap_http_ex()  argument
160 if (!context || in php_stream_url_wrap_http_ex()
161 (tmpzval = php_stream_context_get_option(context, wrapper->wops->label, "proxy")) == NULL || in php_stream_url_wrap_http_ex()
165 return php_stream_open_wrapper_ex(path, mode, REPORT_ERRORS, NULL, context); in php_stream_url_wrap_http_ex()
190 if (context && in php_stream_url_wrap_http_ex()
191 (tmpzval = php_stream_context_get_option(context, wrapper->wops->label, "proxy")) != NULL && in php_stream_url_wrap_http_ex()
202 …if (context && (tmpzval = php_stream_context_get_option(context, wrapper->wops->label, "timeout"))… in php_stream_url_wrap_http_ex()
222 NULL, &timeout, context, &errstr, NULL); in php_stream_url_wrap_http_ex()
240 if (!context || (tmpzval = php_stream_context_get_option(context, "ssl", "peer_name")) == NULL) { in php_stream_url_wrap_http_ex()
253 if (context && (tmpzval = php_stream_context_get_option(context, "http", "header")) != NULL) { in php_stream_url_wrap_http_ex()
354 php_stream_context_set(stream, context); in php_stream_url_wrap_http_ex()
356 php_stream_notify_info(context, PHP_STREAM_NOTIFY_CONNECT, NULL, 0); in php_stream_url_wrap_http_ex()
358 …if (header_init && context && (tmpzval = php_stream_context_get_option(context, "http", "max_redir… in php_stream_url_wrap_http_ex()
363 if (context && (tmpzval = php_stream_context_get_option(context, "http", "method")) != NULL) { in php_stream_url_wrap_http_ex()
383 if (!request_fulluri && context && in php_stream_url_wrap_http_ex()
384 (tmpzval = php_stream_context_get_option(context, "http", "request_fulluri")) != NULL) { in php_stream_url_wrap_http_ex()
409 …if (context && (tmpzval = php_stream_context_get_option(context, "http", "protocol_version")) != N… in php_stream_url_wrap_http_ex()
421 if (context && (tmpzval = php_stream_context_get_option(context, "http", "header")) != NULL) { in php_stream_url_wrap_http_ex()
555 php_stream_notify_info(context, PHP_STREAM_NOTIFY_AUTH_REQUIRED, NULL, 0); in php_stream_url_wrap_http_ex()
590 if (context && in php_stream_url_wrap_http_ex()
591 (ua_zval = php_stream_context_get_option(context, "http", "user_agent")) != NULL && in php_stream_url_wrap_http_ex()
624 context && in php_stream_url_wrap_http_ex()
626 (tmpzval = php_stream_context_get_option(context, "http", "content")) != NULL && in php_stream_url_wrap_http_ex()
641 if (header_init && context && in php_stream_url_wrap_http_ex()
642 (tmpzval = php_stream_context_get_option(context, "http", "content")) != NULL && in php_stream_url_wrap_http_ex()
694 …if (context && NULL != (tmpzval = php_stream_context_get_option(context, "http", "ignore_errors"))… in php_stream_url_wrap_http_ex()
727 php_stream_notify_error(context, PHP_STREAM_NOTIFY_AUTH_RESULT, in php_stream_url_wrap_http_ex()
735 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, in php_stream_url_wrap_http_ex()
808 …if (context && (tmpzval = php_stream_context_get_option(context, "http", "follow_location")) != NU… in php_stream_url_wrap_http_ex()
820 php_stream_notify_info(context, PHP_STREAM_NOTIFY_MIME_TYPE_IS, http_header_value, 0); in php_stream_url_wrap_http_ex()
823 php_stream_notify_file_size(context, file_size, http_header_line, 0); in php_stream_url_wrap_http_ex()
833 …if (context && (tmpzval = php_stream_context_get_option(context, "http", "auto_decode")) != NULL) { in php_stream_url_wrap_http_ex()
862 php_stream_notify_info(context, PHP_STREAM_NOTIFY_REDIRECTED, location, 0); in php_stream_url_wrap_http_ex()
939 …stream = php_stream_url_wrap_http_ex(wrapper, new_path, mode, options, opened_path, context, --red… in php_stream_url_wrap_http_ex()
960 php_stream_notify_progress_init(context, 0, file_size); in php_stream_url_wrap_http_ex()
991 … char *mode, int options, zend_string **opened_path, php_stream_context *context STREAMS_DC) /* {{… in php_stream_url_wrap_http()
993 …return php_stream_url_wrap_http_ex(wrapper, path, mode, options, opened_path, context, PHP_URL_RED… in php_stream_url_wrap_http()