Lines Matching refs:tmpzval

131 	zval *ua_zval = NULL, *tmpzval = NULL, ssl_proxy_peer_name;  in php_stream_url_wrap_http_ex()  local
168 (tmpzval = php_stream_context_get_option(context, wrapper->wops->label, "proxy")) == NULL || in php_stream_url_wrap_http_ex()
169 Z_TYPE_P(tmpzval) != IS_STRING || in php_stream_url_wrap_http_ex()
170 Z_STRLEN_P(tmpzval) == 0) { in php_stream_url_wrap_http_ex()
179 transport_len = Z_STRLEN_P(tmpzval); in php_stream_url_wrap_http_ex()
180 transport_string = estrndup(Z_STRVAL_P(tmpzval), Z_STRLEN_P(tmpzval)); in php_stream_url_wrap_http_ex()
198 (tmpzval = php_stream_context_get_option(context, wrapper->wops->label, "proxy")) != NULL && in php_stream_url_wrap_http_ex()
199 Z_TYPE_P(tmpzval) == IS_STRING && in php_stream_url_wrap_http_ex()
200 Z_STRLEN_P(tmpzval) > 0) { in php_stream_url_wrap_http_ex()
202 transport_len = Z_STRLEN_P(tmpzval); in php_stream_url_wrap_http_ex()
203 transport_string = estrndup(Z_STRVAL_P(tmpzval), Z_STRLEN_P(tmpzval)); in php_stream_url_wrap_http_ex()
209 …if (context && (tmpzval = php_stream_context_get_option(context, wrapper->wops->label, "timeout"))… in php_stream_url_wrap_http_ex()
210 double d = zval_get_double(tmpzval); in php_stream_url_wrap_http_ex()
247 if (!context || (tmpzval = php_stream_context_get_option(context, "ssl", "peer_name")) == NULL) { in php_stream_url_wrap_http_ex()
260 if (context && (tmpzval = php_stream_context_get_option(context, "http", "header")) != NULL) { in php_stream_url_wrap_http_ex()
263 if (Z_TYPE_P(tmpzval) == IS_ARRAY) { in php_stream_url_wrap_http_ex()
266 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(tmpzval), tmpheader) { in php_stream_url_wrap_http_ex()
291 } else if (Z_TYPE_P(tmpzval) == IS_STRING && Z_STRLEN_P(tmpzval)) { in php_stream_url_wrap_http_ex()
292 s = Z_STRVAL_P(tmpzval); in php_stream_url_wrap_http_ex()
365 …if (header_init && context && (tmpzval = php_stream_context_get_option(context, "http", "max_redir… in php_stream_url_wrap_http_ex()
366 redirect_max = (int)zval_get_long(tmpzval); in php_stream_url_wrap_http_ex()
370 if (context && (tmpzval = php_stream_context_get_option(context, "http", "method")) != NULL) { in php_stream_url_wrap_http_ex()
371 if (Z_TYPE_P(tmpzval) == IS_STRING && Z_STRLEN_P(tmpzval) > 0) { in php_stream_url_wrap_http_ex()
375 || (Z_STRLEN_P(tmpzval) == 3 && memcmp("GET", Z_STRVAL_P(tmpzval), 3) == 0) in php_stream_url_wrap_http_ex()
376 || (Z_STRLEN_P(tmpzval) == 4 && memcmp("HEAD",Z_STRVAL_P(tmpzval), 4) == 0) in php_stream_url_wrap_http_ex()
379 smart_str_append(&req_buf, Z_STR_P(tmpzval)); in php_stream_url_wrap_http_ex()
391 (tmpzval = php_stream_context_get_option(context, "http", "request_fulluri")) != NULL) { in php_stream_url_wrap_http_ex()
392 request_fulluri = zend_is_true(tmpzval); in php_stream_url_wrap_http_ex()
416 …if (context && (tmpzval = php_stream_context_get_option(context, "http", "protocol_version")) != N… in php_stream_url_wrap_http_ex()
418 spprintf(&protocol_version, 0, "%.1F", zval_get_double(tmpzval)); in php_stream_url_wrap_http_ex()
428 if (context && (tmpzval = php_stream_context_get_option(context, "http", "header")) != NULL) { in php_stream_url_wrap_http_ex()
431 if (Z_TYPE_P(tmpzval) == IS_ARRAY) { in php_stream_url_wrap_http_ex()
435 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(tmpzval), tmpheader) { in php_stream_url_wrap_http_ex()
447 } else if (Z_TYPE_P(tmpzval) == IS_STRING && Z_STRLEN_P(tmpzval)) { in php_stream_url_wrap_http_ex()
449 tmp = php_trim(Z_STR_P(tmpzval), NULL, 0, 3); in php_stream_url_wrap_http_ex()
619 (tmpzval = php_stream_context_get_option(context, "http", "content")) != NULL && in php_stream_url_wrap_http_ex()
620 Z_TYPE_P(tmpzval) == IS_STRING && Z_STRLEN_P(tmpzval) > 0 in php_stream_url_wrap_http_ex()
623 smart_str_append_unsigned(&req_buf, Z_STRLEN_P(tmpzval)); in php_stream_url_wrap_http_ex()
635 (tmpzval = php_stream_context_get_option(context, "http", "content")) != NULL && in php_stream_url_wrap_http_ex()
636 Z_TYPE_P(tmpzval) == IS_STRING && Z_STRLEN_P(tmpzval) > 0) { in php_stream_url_wrap_http_ex()
639 smart_str_append_unsigned(&req_buf, Z_STRLEN_P(tmpzval)); in php_stream_url_wrap_http_ex()
647 smart_str_appendl(&req_buf, Z_STRVAL_P(tmpzval), Z_STRLEN_P(tmpzval)); in php_stream_url_wrap_http_ex()
673 …if (context && NULL != (tmpzval = php_stream_context_get_option(context, "http", "ignore_errors"))… in php_stream_url_wrap_http_ex()
674 ignore_errors = zend_is_true(tmpzval); in php_stream_url_wrap_http_ex()
792 …if (context && (tmpzval = php_stream_context_get_option(context, "http", "follow_location")) != NU… in php_stream_url_wrap_http_ex()
793 follow_location = zval_is_true(tmpzval); in php_stream_url_wrap_http_ex()
817 …if (context && (tmpzval = php_stream_context_get_option(context, "http", "auto_decode")) != NULL) { in php_stream_url_wrap_http_ex()
818 decode = zend_is_true(tmpzval); in php_stream_url_wrap_http_ex()