Lines Matching refs:tmpzval

123 	zval *ua_zval = NULL, *tmpzval = NULL, ssl_proxy_peer_name;  in php_stream_url_wrap_http_ex()  local
163 (tmpzval = php_stream_context_get_option(context, wrapper->wops->label, "proxy")) == NULL || in php_stream_url_wrap_http_ex()
164 Z_TYPE_P(tmpzval) != IS_STRING || in php_stream_url_wrap_http_ex()
165 Z_STRLEN_P(tmpzval) <= 0) { in php_stream_url_wrap_http_ex()
174 transport_len = Z_STRLEN_P(tmpzval); in php_stream_url_wrap_http_ex()
175 transport_string = estrndup(Z_STRVAL_P(tmpzval), Z_STRLEN_P(tmpzval)); in php_stream_url_wrap_http_ex()
193 (tmpzval = php_stream_context_get_option(context, wrapper->wops->label, "proxy")) != NULL && in php_stream_url_wrap_http_ex()
194 Z_TYPE_P(tmpzval) == IS_STRING && in php_stream_url_wrap_http_ex()
195 Z_STRLEN_P(tmpzval) > 0) { in php_stream_url_wrap_http_ex()
197 transport_len = Z_STRLEN_P(tmpzval); in php_stream_url_wrap_http_ex()
198 transport_string = estrndup(Z_STRVAL_P(tmpzval), Z_STRLEN_P(tmpzval)); in php_stream_url_wrap_http_ex()
204 …if (context && (tmpzval = php_stream_context_get_option(context, wrapper->wops->label, "timeout"))… in php_stream_url_wrap_http_ex()
205 double d = zval_get_double(tmpzval); in php_stream_url_wrap_http_ex()
242 if (!context || (tmpzval = php_stream_context_get_option(context, "ssl", "peer_name")) == NULL) { in php_stream_url_wrap_http_ex()
255 if (context && (tmpzval = php_stream_context_get_option(context, "http", "header")) != NULL) { in php_stream_url_wrap_http_ex()
258 if (Z_TYPE_P(tmpzval) == IS_ARRAY) { in php_stream_url_wrap_http_ex()
261 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(tmpzval), tmpheader) { in php_stream_url_wrap_http_ex()
286 } else if (Z_TYPE_P(tmpzval) == IS_STRING && Z_STRLEN_P(tmpzval)) { in php_stream_url_wrap_http_ex()
287 s = Z_STRVAL_P(tmpzval); in php_stream_url_wrap_http_ex()
360 …if (header_init && context && (tmpzval = php_stream_context_get_option(context, "http", "max_redir… in php_stream_url_wrap_http_ex()
361 redirect_max = (int)zval_get_long(tmpzval); in php_stream_url_wrap_http_ex()
364 if (context && (tmpzval = php_stream_context_get_option(context, "http", "method")) != NULL) { in php_stream_url_wrap_http_ex()
365 if (Z_TYPE_P(tmpzval) == IS_STRING && Z_STRLEN_P(tmpzval) > 0) { in php_stream_url_wrap_http_ex()
369 || (Z_STRLEN_P(tmpzval) == 3 && memcmp("GET", Z_STRVAL_P(tmpzval), 3) == 0) in php_stream_url_wrap_http_ex()
370 || (Z_STRLEN_P(tmpzval) == 4 && memcmp("HEAD",Z_STRVAL_P(tmpzval), 4) == 0) in php_stream_url_wrap_http_ex()
372 scratch_len = strlen(path) + 29 + Z_STRLEN_P(tmpzval); in php_stream_url_wrap_http_ex()
374 strlcpy(scratch, Z_STRVAL_P(tmpzval), Z_STRLEN_P(tmpzval) + 1); in php_stream_url_wrap_http_ex()
380 …if (context && (tmpzval = php_stream_context_get_option(context, "http", "protocol_version")) != N… in php_stream_url_wrap_http_ex()
381 protocol_version_len = (int)spprintf(&protocol_version, 0, "%.1F", zval_get_double(tmpzval)); in php_stream_url_wrap_http_ex()
392 (tmpzval = php_stream_context_get_option(context, "http", "request_fulluri")) != NULL) { in php_stream_url_wrap_http_ex()
393 request_fulluri = zend_is_true(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()
628 (tmpzval = php_stream_context_get_option(context, "http", "content")) != NULL && in php_stream_url_wrap_http_ex()
629 Z_TYPE_P(tmpzval) == IS_STRING && Z_STRLEN_P(tmpzval) > 0 in php_stream_url_wrap_http_ex()
631 scratch_len = slprintf(scratch, scratch_len, "Content-Length: %d\r\n", Z_STRLEN_P(tmpzval)); in php_stream_url_wrap_http_ex()
643 (tmpzval = php_stream_context_get_option(context, "http", "content")) != NULL && in php_stream_url_wrap_http_ex()
644 Z_TYPE_P(tmpzval) == IS_STRING && Z_STRLEN_P(tmpzval) > 0) { in php_stream_url_wrap_http_ex()
646 scratch_len = slprintf(scratch, scratch_len, "Content-Length: %d\r\n", Z_STRLEN_P(tmpzval)); in php_stream_url_wrap_http_ex()
655 php_stream_write(stream, Z_STRVAL_P(tmpzval), Z_STRLEN_P(tmpzval)); in php_stream_url_wrap_http_ex()
692 …if (context && NULL != (tmpzval = php_stream_context_get_option(context, "http", "ignore_errors"))… in php_stream_url_wrap_http_ex()
693 ignore_errors = zend_is_true(tmpzval); in php_stream_url_wrap_http_ex()
806 …if (context && (tmpzval = php_stream_context_get_option(context, "http", "follow_location")) != NU… in php_stream_url_wrap_http_ex()
807 follow_location = zval_is_true(tmpzval); in php_stream_url_wrap_http_ex()
831 …if (context && (tmpzval = php_stream_context_get_option(context, "http", "auto_decode")) != NULL) { in php_stream_url_wrap_http_ex()
832 decode = zend_is_true(tmpzval); in php_stream_url_wrap_http_ex()