Lines Matching refs:tmpzval

122 	zval *ua_zval = NULL, *tmpzval = NULL, ssl_proxy_peer_name;  in php_stream_url_wrap_http_ex()  local
161 (tmpzval = php_stream_context_get_option(context, wrapper->wops->label, "proxy")) == NULL || in php_stream_url_wrap_http_ex()
162 Z_TYPE_P(tmpzval) != IS_STRING || in php_stream_url_wrap_http_ex()
163 Z_STRLEN_P(tmpzval) <= 0) { in php_stream_url_wrap_http_ex()
172 transport_len = Z_STRLEN_P(tmpzval); in php_stream_url_wrap_http_ex()
173 transport_string = estrndup(Z_STRVAL_P(tmpzval), Z_STRLEN_P(tmpzval)); 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()
192 Z_TYPE_P(tmpzval) == IS_STRING && in php_stream_url_wrap_http_ex()
193 Z_STRLEN_P(tmpzval) > 0) { in php_stream_url_wrap_http_ex()
195 transport_len = Z_STRLEN_P(tmpzval); in php_stream_url_wrap_http_ex()
196 transport_string = estrndup(Z_STRVAL_P(tmpzval), Z_STRLEN_P(tmpzval)); 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()
203 double d = zval_get_double(tmpzval); 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()
256 if (Z_TYPE_P(tmpzval) == IS_ARRAY) { in php_stream_url_wrap_http_ex()
259 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(tmpzval), tmpheader) { in php_stream_url_wrap_http_ex()
284 } else if (Z_TYPE_P(tmpzval) == IS_STRING && Z_STRLEN_P(tmpzval)) { in php_stream_url_wrap_http_ex()
285 s = Z_STRVAL_P(tmpzval); 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()
359 redirect_max = (int)zval_get_long(tmpzval); 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()
364 if (Z_TYPE_P(tmpzval) == IS_STRING && Z_STRLEN_P(tmpzval) > 0) { in php_stream_url_wrap_http_ex()
368 || (Z_STRLEN_P(tmpzval) == 3 && memcmp("GET", Z_STRVAL_P(tmpzval), 3) == 0) in php_stream_url_wrap_http_ex()
369 || (Z_STRLEN_P(tmpzval) == 4 && memcmp("HEAD",Z_STRVAL_P(tmpzval), 4) == 0) in php_stream_url_wrap_http_ex()
372 smart_str_append(&req_buf, Z_STR_P(tmpzval)); 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()
385 request_fulluri = zend_is_true(tmpzval); 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()
411 spprintf(&protocol_version, 0, "%.1F", zval_get_double(tmpzval)); 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()
424 if (Z_TYPE_P(tmpzval) == IS_ARRAY) { in php_stream_url_wrap_http_ex()
428 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(tmpzval), tmpheader) { in php_stream_url_wrap_http_ex()
440 } else if (Z_TYPE_P(tmpzval) == IS_STRING && Z_STRLEN_P(tmpzval)) { in php_stream_url_wrap_http_ex()
442 tmp = php_trim(Z_STR_P(tmpzval), NULL, 0, 3); 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()
627 Z_TYPE_P(tmpzval) == IS_STRING && Z_STRLEN_P(tmpzval) > 0 in php_stream_url_wrap_http_ex()
630 smart_str_append_unsigned(&req_buf, Z_STRLEN_P(tmpzval)); 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()
643 Z_TYPE_P(tmpzval) == IS_STRING && Z_STRLEN_P(tmpzval) > 0) { in php_stream_url_wrap_http_ex()
646 smart_str_append_unsigned(&req_buf, Z_STRLEN_P(tmpzval)); in php_stream_url_wrap_http_ex()
654 smart_str_appendl(&req_buf, Z_STRVAL_P(tmpzval), Z_STRLEN_P(tmpzval)); 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()
695 ignore_errors = zend_is_true(tmpzval); 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()
809 follow_location = zval_is_true(tmpzval); 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()
834 decode = zend_is_true(tmpzval); in php_stream_url_wrap_http_ex()