Lines Matching refs:tmpzval

96 	zval **ua_zval = NULL, **tmpzval = NULL;  in php_stream_url_wrap_http_ex()  local
131 php_stream_context_get_option(context, wrapper->wops->label, "proxy", &tmpzval) == FAILURE || in php_stream_url_wrap_http_ex()
132 Z_TYPE_PP(tmpzval) != IS_STRING || in php_stream_url_wrap_http_ex()
133 Z_STRLEN_PP(tmpzval) <= 0) { in php_stream_url_wrap_http_ex()
142 transport_len = Z_STRLEN_PP(tmpzval); in php_stream_url_wrap_http_ex()
143 transport_string = estrndup(Z_STRVAL_PP(tmpzval), Z_STRLEN_PP(tmpzval)); in php_stream_url_wrap_http_ex()
161 php_stream_context_get_option(context, wrapper->wops->label, "proxy", &tmpzval) == SUCCESS && in php_stream_url_wrap_http_ex()
162 Z_TYPE_PP(tmpzval) == IS_STRING && in php_stream_url_wrap_http_ex()
163 Z_STRLEN_PP(tmpzval) > 0) { in php_stream_url_wrap_http_ex()
165 transport_len = Z_STRLEN_PP(tmpzval); in php_stream_url_wrap_http_ex()
166 transport_string = estrndup(Z_STRVAL_PP(tmpzval), Z_STRLEN_PP(tmpzval)); in php_stream_url_wrap_http_ex()
172 …if (context && php_stream_context_get_option(context, wrapper->wops->label, "timeout", &tmpzval) =… in php_stream_url_wrap_http_ex()
173 SEPARATE_ZVAL(tmpzval); in php_stream_url_wrap_http_ex()
174 convert_to_double_ex(tmpzval); in php_stream_url_wrap_http_ex()
175 timeout.tv_sec = (time_t) Z_DVAL_PP(tmpzval); in php_stream_url_wrap_http_ex()
176 timeout.tv_usec = (size_t) ((Z_DVAL_PP(tmpzval) - timeout.tv_sec) * 1000000); in php_stream_url_wrap_http_ex()
208 if (context && php_stream_context_get_option(context, "http", "header", &tmpzval) == SUCCESS) { in php_stream_url_wrap_http_ex()
211 if (Z_TYPE_PP(tmpzval) == IS_ARRAY) { in php_stream_url_wrap_http_ex()
215 for (zend_hash_internal_pointer_reset_ex(Z_ARRVAL_PP(tmpzval), &pos); in php_stream_url_wrap_http_ex()
216 SUCCESS == zend_hash_get_current_data_ex(Z_ARRVAL_PP(tmpzval), (void *)&tmpheader, &pos); in php_stream_url_wrap_http_ex()
217 zend_hash_move_forward_ex(Z_ARRVAL_PP(tmpzval), &pos)) { in php_stream_url_wrap_http_ex()
242 } else if (Z_TYPE_PP(tmpzval) == IS_STRING && Z_STRLEN_PP(tmpzval)) { in php_stream_url_wrap_http_ex()
243 s = Z_STRVAL_PP(tmpzval); in php_stream_url_wrap_http_ex()
316 … context && php_stream_context_get_option(context, "http", "max_redirects", &tmpzval) == SUCCESS) { in php_stream_url_wrap_http_ex()
317 SEPARATE_ZVAL(tmpzval); in php_stream_url_wrap_http_ex()
318 convert_to_long_ex(tmpzval); in php_stream_url_wrap_http_ex()
319 redirect_max = Z_LVAL_PP(tmpzval); in php_stream_url_wrap_http_ex()
322 if (context && php_stream_context_get_option(context, "http", "method", &tmpzval) == SUCCESS) { in php_stream_url_wrap_http_ex()
323 if (Z_TYPE_PP(tmpzval) == IS_STRING && Z_STRLEN_PP(tmpzval) > 0) { in php_stream_url_wrap_http_ex()
327 || (Z_STRLEN_PP(tmpzval) == 3 && memcmp("GET", Z_STRVAL_PP(tmpzval), 3) == 0) in php_stream_url_wrap_http_ex()
328 || (Z_STRLEN_PP(tmpzval) == 4 && memcmp("HEAD",Z_STRVAL_PP(tmpzval), 4) == 0) in php_stream_url_wrap_http_ex()
330 scratch_len = strlen(path) + 29 + Z_STRLEN_PP(tmpzval); in php_stream_url_wrap_http_ex()
332 strlcpy(scratch, Z_STRVAL_PP(tmpzval), Z_STRLEN_PP(tmpzval) + 1); in php_stream_url_wrap_http_ex()
338 …if (context && php_stream_context_get_option(context, "http", "protocol_version", &tmpzval) == SUC… in php_stream_url_wrap_http_ex()
339 SEPARATE_ZVAL(tmpzval); in php_stream_url_wrap_http_ex()
340 convert_to_double_ex(tmpzval); in php_stream_url_wrap_http_ex()
341 protocol_version_len = spprintf(&protocol_version, 0, "%.1F", Z_DVAL_PP(tmpzval)); in php_stream_url_wrap_http_ex()
353 php_stream_context_get_option(context, "http", "request_fulluri", &tmpzval) == SUCCESS) { in php_stream_url_wrap_http_ex()
354 zval ztmp = **tmpzval; in php_stream_url_wrap_http_ex()
396 if (context && php_stream_context_get_option(context, "http", "header", &tmpzval) == SUCCESS) { in php_stream_url_wrap_http_ex()
399 if (Z_TYPE_PP(tmpzval) == IS_ARRAY) { in php_stream_url_wrap_http_ex()
404 for (zend_hash_internal_pointer_reset_ex(Z_ARRVAL_PP(tmpzval), &pos); in php_stream_url_wrap_http_ex()
405 SUCCESS == zend_hash_get_current_data_ex(Z_ARRVAL_PP(tmpzval), (void *)&tmpheader, &pos); in php_stream_url_wrap_http_ex()
406 zend_hash_move_forward_ex(Z_ARRVAL_PP(tmpzval), &pos) in php_stream_url_wrap_http_ex()
420 if (Z_TYPE_PP(tmpzval) == IS_STRING && Z_STRLEN_PP(tmpzval)) { in php_stream_url_wrap_http_ex()
422 tmp = php_trim(Z_STRVAL_PP(tmpzval), Z_STRLEN_PP(tmpzval), NULL, 0, NULL, 3 TSRMLS_CC); in php_stream_url_wrap_http_ex()
606 php_stream_context_get_option(context, "http", "content", &tmpzval) == SUCCESS && in php_stream_url_wrap_http_ex()
607 Z_TYPE_PP(tmpzval) == IS_STRING && Z_STRLEN_PP(tmpzval) > 0 in php_stream_url_wrap_http_ex()
609 scratch_len = slprintf(scratch, scratch_len, "Content-Length: %d\r\n", Z_STRLEN_PP(tmpzval)); in php_stream_url_wrap_http_ex()
621 php_stream_context_get_option(context, "http", "content", &tmpzval) == SUCCESS && in php_stream_url_wrap_http_ex()
622 Z_TYPE_PP(tmpzval) == IS_STRING && Z_STRLEN_PP(tmpzval) > 0) { in php_stream_url_wrap_http_ex()
624 scratch_len = slprintf(scratch, scratch_len, "Content-Length: %d\r\n", Z_STRLEN_PP(tmpzval)); in php_stream_url_wrap_http_ex()
633 php_stream_write(stream, Z_STRVAL_PP(tmpzval), Z_STRLEN_PP(tmpzval)); in php_stream_url_wrap_http_ex()
670 …if (context && SUCCESS==php_stream_context_get_option(context, "http", "ignore_errors", &tmpzval))… in php_stream_url_wrap_http_ex()
671 ignore_errors = zend_is_true(*tmpzval); in php_stream_url_wrap_http_ex()
737 …if (context && php_stream_context_get_option(context, "http", "follow_location", &tmpzval) == SUCC… in php_stream_url_wrap_http_ex()
738 SEPARATE_ZVAL(tmpzval); in php_stream_url_wrap_http_ex()
739 convert_to_long_ex(tmpzval); in php_stream_url_wrap_http_ex()
740 follow_location = Z_LVAL_PP(tmpzval); in php_stream_url_wrap_http_ex()
754 …if (context && php_stream_context_get_option(context, "http", "auto_decode", &tmpzval) == SUCCESS)… in php_stream_url_wrap_http_ex()
755 SEPARATE_ZVAL(tmpzval); in php_stream_url_wrap_http_ex()
756 convert_to_boolean(*tmpzval); in php_stream_url_wrap_http_ex()
757 decode = Z_LVAL_PP(tmpzval); in php_stream_url_wrap_http_ex()