Lines Matching refs:zvalue

2208 static int _php_curl_setopt(php_curl *ch, zend_long option, zval *zvalue, bool is_array_config) /* …  in _php_curl_setopt()  argument
2216 lval = zval_get_long(zvalue); in _php_curl_setopt()
2368 lval = zval_get_long(zvalue); in _php_curl_setopt()
2383 if (!zend_is_true(zvalue)) { in _php_curl_setopt()
2467 zend_string *str = zval_get_tmp_string(zvalue, &tmp_str); in _php_curl_setopt()
2490 if (Z_ISNULL_P(zvalue)) { in _php_curl_setopt()
2494 zend_string *str = zval_get_tmp_string(zvalue, &tmp_str); in _php_curl_setopt()
2506 zend_string *str = zval_get_tmp_string(zvalue, &tmp_str); in _php_curl_setopt()
2516 zend_string *str = zval_get_tmp_string(zvalue, &tmp_str); in _php_curl_setopt()
2530 if (Z_TYPE_P(zvalue) != IS_NULL) { in _php_curl_setopt()
2531 …what = (php_stream *)zend_fetch_resource2_ex(zvalue, "File-Handle", php_file_le_stream(), php_file… in _php_curl_setopt()
2559 ZVAL_COPY(&ch->handlers->write->stream, zvalue); in _php_curl_setopt()
2577 ZVAL_COPY(&ch->handlers->write_header->stream, zvalue); in _php_curl_setopt()
2594 ch->handlers->read->res = Z_RES_P(zvalue); in _php_curl_setopt()
2595 ZVAL_COPY(&ch->handlers->read->stream, zvalue); in _php_curl_setopt()
2606 ZVAL_COPY(&ch->handlers->std_err, zvalue); in _php_curl_setopt()
2640 if (Z_TYPE_P(zvalue) != IS_ARRAY) { in _php_curl_setopt()
2683 ph = Z_ARRVAL_P(zvalue); in _php_curl_setopt()
2713 lval = zend_is_true(zvalue); in _php_curl_setopt()
2722 ZVAL_COPY(&ch->handlers->write_header->func_name, zvalue); in _php_curl_setopt()
2727 if (Z_TYPE_P(zvalue) == IS_ARRAY) { in _php_curl_setopt()
2728 if (zend_hash_num_elements(HASH_OF(zvalue)) == 0) { in _php_curl_setopt()
2734 return build_mime_structure_from_hash(ch, zvalue); in _php_curl_setopt()
2738 zend_string *str = zval_get_tmp_string(zvalue, &tmp_str); in _php_curl_setopt()
2755 ZVAL_COPY(&ch->handlers->progress->func_name, zvalue); in _php_curl_setopt()
2764 ZVAL_COPY(&ch->handlers->read->func_name, zvalue); in _php_curl_setopt()
2769 if (zend_is_true(zvalue)) { in _php_curl_setopt()
2781 ZVAL_COPY(&ch->handlers->write->func_name, zvalue); in _php_curl_setopt()
2791 lval = zval_get_long(zvalue); in _php_curl_setopt()
2796 lval = zval_get_long(zvalue); in _php_curl_setopt()
2815 zend_string *str = zval_get_tmp_string(zvalue, &tmp_str); in _php_curl_setopt()
2829 if (zend_is_true(zvalue)) { in _php_curl_setopt()
2842 if (Z_TYPE_P(zvalue) == IS_OBJECT && Z_OBJCE_P(zvalue) == curl_share_ce) { in _php_curl_setopt()
2843 php_curlsh *sh = Z_CURL_SHARE_P(zvalue); in _php_curl_setopt()
2864 ZVAL_COPY(&ch->handlers->fnmatch->func_name, zvalue); in _php_curl_setopt()
2890 zval *zid, *zvalue; in PHP_FUNCTION() local
2897 Z_PARAM_ZVAL(zvalue) in PHP_FUNCTION()
2902 if (_php_curl_setopt(ch, options, zvalue, 0) == SUCCESS) { in PHP_FUNCTION()