Lines Matching refs:tmpzval

120 	zval **ua_zval = NULL, **tmpzval = NULL;  in php_stream_url_wrap_http_ex()  local
156 php_stream_context_get_option(context, wrapper->wops->label, "proxy", &tmpzval) == FAILURE || in php_stream_url_wrap_http_ex()
157 Z_TYPE_PP(tmpzval) != IS_STRING || in php_stream_url_wrap_http_ex()
158 Z_STRLEN_PP(tmpzval) <= 0) { in php_stream_url_wrap_http_ex()
167 transport_len = Z_STRLEN_PP(tmpzval); in php_stream_url_wrap_http_ex()
168 transport_string = estrndup(Z_STRVAL_PP(tmpzval), Z_STRLEN_PP(tmpzval)); in php_stream_url_wrap_http_ex()
186 php_stream_context_get_option(context, wrapper->wops->label, "proxy", &tmpzval) == SUCCESS && in php_stream_url_wrap_http_ex()
187 Z_TYPE_PP(tmpzval) == IS_STRING && in php_stream_url_wrap_http_ex()
188 Z_STRLEN_PP(tmpzval) > 0) { in php_stream_url_wrap_http_ex()
190 transport_len = Z_STRLEN_PP(tmpzval); in php_stream_url_wrap_http_ex()
191 transport_string = estrndup(Z_STRVAL_PP(tmpzval), Z_STRLEN_PP(tmpzval)); in php_stream_url_wrap_http_ex()
197 …if (context && php_stream_context_get_option(context, wrapper->wops->label, "timeout", &tmpzval) =… in php_stream_url_wrap_http_ex()
198 SEPARATE_ZVAL(tmpzval); in php_stream_url_wrap_http_ex()
199 convert_to_double_ex(tmpzval); in php_stream_url_wrap_http_ex()
200 timeout.tv_sec = (time_t) Z_DVAL_PP(tmpzval); in php_stream_url_wrap_http_ex()
201 timeout.tv_usec = (size_t) ((Z_DVAL_PP(tmpzval) - timeout.tv_sec) * 1000000); in php_stream_url_wrap_http_ex()
233 if (context && php_stream_context_get_option(context, "http", "header", &tmpzval) == SUCCESS) { in php_stream_url_wrap_http_ex()
236 if (Z_TYPE_PP(tmpzval) == IS_ARRAY) { in php_stream_url_wrap_http_ex()
240 for (zend_hash_internal_pointer_reset_ex(Z_ARRVAL_PP(tmpzval), &pos); in php_stream_url_wrap_http_ex()
241 SUCCESS == zend_hash_get_current_data_ex(Z_ARRVAL_PP(tmpzval), (void *)&tmpheader, &pos); in php_stream_url_wrap_http_ex()
242 zend_hash_move_forward_ex(Z_ARRVAL_PP(tmpzval), &pos)) { in php_stream_url_wrap_http_ex()
267 } else if (Z_TYPE_PP(tmpzval) == IS_STRING && Z_STRLEN_PP(tmpzval)) { in php_stream_url_wrap_http_ex()
268 s = Z_STRVAL_PP(tmpzval); in php_stream_url_wrap_http_ex()
341 … context && php_stream_context_get_option(context, "http", "max_redirects", &tmpzval) == SUCCESS) { in php_stream_url_wrap_http_ex()
342 SEPARATE_ZVAL(tmpzval); in php_stream_url_wrap_http_ex()
343 convert_to_long_ex(tmpzval); in php_stream_url_wrap_http_ex()
344 redirect_max = Z_LVAL_PP(tmpzval); in php_stream_url_wrap_http_ex()
347 if (context && php_stream_context_get_option(context, "http", "method", &tmpzval) == SUCCESS) { in php_stream_url_wrap_http_ex()
348 if (Z_TYPE_PP(tmpzval) == IS_STRING && Z_STRLEN_PP(tmpzval) > 0) { in php_stream_url_wrap_http_ex()
352 || (Z_STRLEN_PP(tmpzval) == 3 && memcmp("GET", Z_STRVAL_PP(tmpzval), 3) == 0) in php_stream_url_wrap_http_ex()
353 || (Z_STRLEN_PP(tmpzval) == 4 && memcmp("HEAD",Z_STRVAL_PP(tmpzval), 4) == 0) in php_stream_url_wrap_http_ex()
355 scratch_len = strlen(path) + 29 + Z_STRLEN_PP(tmpzval); in php_stream_url_wrap_http_ex()
357 strlcpy(scratch, Z_STRVAL_PP(tmpzval), Z_STRLEN_PP(tmpzval) + 1); in php_stream_url_wrap_http_ex()
363 …if (context && php_stream_context_get_option(context, "http", "protocol_version", &tmpzval) == SUC… in php_stream_url_wrap_http_ex()
364 SEPARATE_ZVAL(tmpzval); in php_stream_url_wrap_http_ex()
365 convert_to_double_ex(tmpzval); in php_stream_url_wrap_http_ex()
366 protocol_version_len = spprintf(&protocol_version, 0, "%.1F", Z_DVAL_PP(tmpzval)); in php_stream_url_wrap_http_ex()
378 php_stream_context_get_option(context, "http", "request_fulluri", &tmpzval) == SUCCESS) { in php_stream_url_wrap_http_ex()
379 zval ztmp = **tmpzval; in php_stream_url_wrap_http_ex()
421 if (context && php_stream_context_get_option(context, "http", "header", &tmpzval) == SUCCESS) { in php_stream_url_wrap_http_ex()
424 if (Z_TYPE_PP(tmpzval) == IS_ARRAY) { in php_stream_url_wrap_http_ex()
429 for (zend_hash_internal_pointer_reset_ex(Z_ARRVAL_PP(tmpzval), &pos); in php_stream_url_wrap_http_ex()
430 SUCCESS == zend_hash_get_current_data_ex(Z_ARRVAL_PP(tmpzval), (void *)&tmpheader, &pos); in php_stream_url_wrap_http_ex()
431 zend_hash_move_forward_ex(Z_ARRVAL_PP(tmpzval), &pos) in php_stream_url_wrap_http_ex()
445 if (Z_TYPE_PP(tmpzval) == IS_STRING && Z_STRLEN_PP(tmpzval)) { in php_stream_url_wrap_http_ex()
447 tmp = php_trim(Z_STRVAL_PP(tmpzval), Z_STRLEN_PP(tmpzval), NULL, 0, NULL, 3 TSRMLS_CC); in php_stream_url_wrap_http_ex()
605 php_stream_context_get_option(context, "http", "content", &tmpzval) == SUCCESS && in php_stream_url_wrap_http_ex()
606 Z_TYPE_PP(tmpzval) == IS_STRING && Z_STRLEN_PP(tmpzval) > 0 in php_stream_url_wrap_http_ex()
608 scratch_len = slprintf(scratch, scratch_len, "Content-Length: %d\r\n", Z_STRLEN_PP(tmpzval)); in php_stream_url_wrap_http_ex()
620 php_stream_context_get_option(context, "http", "content", &tmpzval) == SUCCESS && in php_stream_url_wrap_http_ex()
621 Z_TYPE_PP(tmpzval) == IS_STRING && Z_STRLEN_PP(tmpzval) > 0) { in php_stream_url_wrap_http_ex()
623 scratch_len = slprintf(scratch, scratch_len, "Content-Length: %d\r\n", Z_STRLEN_PP(tmpzval)); in php_stream_url_wrap_http_ex()
632 php_stream_write(stream, Z_STRVAL_PP(tmpzval), Z_STRLEN_PP(tmpzval)); in php_stream_url_wrap_http_ex()
672 …if (context && SUCCESS==php_stream_context_get_option(context, "http", "ignore_errors", &tmpzval))… in php_stream_url_wrap_http_ex()
673 ignore_errors = zend_is_true(*tmpzval); in php_stream_url_wrap_http_ex()
739 …if (context && php_stream_context_get_option(context, "http", "follow_location", &tmpzval) == SUCC… in php_stream_url_wrap_http_ex()
740 SEPARATE_ZVAL(tmpzval); in php_stream_url_wrap_http_ex()
741 convert_to_long_ex(tmpzval); in php_stream_url_wrap_http_ex()
742 follow_location = Z_LVAL_PP(tmpzval); in php_stream_url_wrap_http_ex()
762 …if (context && php_stream_context_get_option(context, "http", "auto_decode", &tmpzval) == SUCCESS)… in php_stream_url_wrap_http_ex()
763 SEPARATE_ZVAL(tmpzval); in php_stream_url_wrap_http_ex()
764 convert_to_boolean(*tmpzval); in php_stream_url_wrap_http_ex()
765 decode = Z_LVAL_PP(tmpzval); in php_stream_url_wrap_http_ex()