Lines Matching refs:tmpzval

129 	zval *ua_zval = NULL, *tmpzval = NULL, ssl_proxy_peer_name;  in php_stream_url_wrap_http_ex()  local
167 (tmpzval = php_stream_context_get_option(context, wrapper->wops->label, "proxy")) == NULL || in php_stream_url_wrap_http_ex()
168 Z_TYPE_P(tmpzval) != IS_STRING || in php_stream_url_wrap_http_ex()
169 Z_STRLEN_P(tmpzval) == 0) { in php_stream_url_wrap_http_ex()
177 transport_string = zend_string_copy(Z_STR_P(tmpzval)); in php_stream_url_wrap_http_ex()
195 (tmpzval = php_stream_context_get_option(context, wrapper->wops->label, "proxy")) != NULL && in php_stream_url_wrap_http_ex()
196 Z_TYPE_P(tmpzval) == IS_STRING && in php_stream_url_wrap_http_ex()
197 Z_STRLEN_P(tmpzval) > 0) { in php_stream_url_wrap_http_ex()
199 transport_string = zend_string_copy(Z_STR_P(tmpzval)); in php_stream_url_wrap_http_ex()
205 …if (context && (tmpzval = php_stream_context_get_option(context, wrapper->wops->label, "timeout"))… in php_stream_url_wrap_http_ex()
206 double d = zval_get_double(tmpzval); in php_stream_url_wrap_http_ex()
243 if (!context || (tmpzval = php_stream_context_get_option(context, "ssl", "peer_name")) == NULL) { in php_stream_url_wrap_http_ex()
256 if (context && (tmpzval = php_stream_context_get_option(context, "http", "header")) != NULL) { in php_stream_url_wrap_http_ex()
259 if (Z_TYPE_P(tmpzval) == IS_ARRAY) { in php_stream_url_wrap_http_ex()
262 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(tmpzval), tmpheader) { in php_stream_url_wrap_http_ex()
287 } else if (Z_TYPE_P(tmpzval) == IS_STRING && Z_STRLEN_P(tmpzval)) { in php_stream_url_wrap_http_ex()
288 s = Z_STRVAL_P(tmpzval); in php_stream_url_wrap_http_ex()
361 …if (header_init && context && (tmpzval = php_stream_context_get_option(context, "http", "max_redir… in php_stream_url_wrap_http_ex()
362 redirect_max = (int)zval_get_long(tmpzval); in php_stream_url_wrap_http_ex()
366 if (context && (tmpzval = php_stream_context_get_option(context, "http", "method")) != NULL) { in php_stream_url_wrap_http_ex()
367 if (Z_TYPE_P(tmpzval) == IS_STRING && Z_STRLEN_P(tmpzval) > 0) { in php_stream_url_wrap_http_ex()
371 || zend_string_equals_literal(Z_STR_P(tmpzval), "GET") in php_stream_url_wrap_http_ex()
372 || zend_string_equals_literal(Z_STR_P(tmpzval), "HEAD") in php_stream_url_wrap_http_ex()
375 smart_str_append(&req_buf, Z_STR_P(tmpzval)); in php_stream_url_wrap_http_ex()
387 (tmpzval = php_stream_context_get_option(context, "http", "request_fulluri")) != NULL) { in php_stream_url_wrap_http_ex()
388 request_fulluri = zend_is_true(tmpzval); in php_stream_url_wrap_http_ex()
412 …if (context && (tmpzval = php_stream_context_get_option(context, "http", "protocol_version")) != N… in php_stream_url_wrap_http_ex()
414 spprintf(&protocol_version, 0, "%.1F", zval_get_double(tmpzval)); in php_stream_url_wrap_http_ex()
424 if (context && (tmpzval = php_stream_context_get_option(context, "http", "header")) != NULL) { in php_stream_url_wrap_http_ex()
427 if (Z_TYPE_P(tmpzval) == IS_ARRAY) { in php_stream_url_wrap_http_ex()
431 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(tmpzval), tmpheader) { in php_stream_url_wrap_http_ex()
443 } else if (Z_TYPE_P(tmpzval) == IS_STRING && Z_STRLEN_P(tmpzval)) { in php_stream_url_wrap_http_ex()
445 tmp = php_trim(Z_STR_P(tmpzval), NULL, 0, 3); in php_stream_url_wrap_http_ex()
615 (tmpzval = php_stream_context_get_option(context, "http", "content")) != NULL && in php_stream_url_wrap_http_ex()
616 Z_TYPE_P(tmpzval) == IS_STRING && Z_STRLEN_P(tmpzval) > 0 in php_stream_url_wrap_http_ex()
619 smart_str_append_unsigned(&req_buf, Z_STRLEN_P(tmpzval)); in php_stream_url_wrap_http_ex()
631 (tmpzval = php_stream_context_get_option(context, "http", "content")) != NULL && in php_stream_url_wrap_http_ex()
632 Z_TYPE_P(tmpzval) == IS_STRING && Z_STRLEN_P(tmpzval) > 0) { in php_stream_url_wrap_http_ex()
635 smart_str_append_unsigned(&req_buf, Z_STRLEN_P(tmpzval)); in php_stream_url_wrap_http_ex()
643 smart_str_appendl(&req_buf, Z_STRVAL_P(tmpzval), Z_STRLEN_P(tmpzval)); in php_stream_url_wrap_http_ex()
669 …if (context && NULL != (tmpzval = php_stream_context_get_option(context, "http", "ignore_errors"))… in php_stream_url_wrap_http_ex()
670 ignore_errors = zend_is_true(tmpzval); in php_stream_url_wrap_http_ex()
781 …if (context && (tmpzval = php_stream_context_get_option(context, "http", "follow_location")) != NU… in php_stream_url_wrap_http_ex()
782 follow_location = zval_is_true(tmpzval); in php_stream_url_wrap_http_ex()
806 …if (context && (tmpzval = php_stream_context_get_option(context, "http", "auto_decode")) != NULL) { in php_stream_url_wrap_http_ex()
807 decode = zend_is_true(tmpzval); in php_stream_url_wrap_http_ex()