Lines Matching refs:zvalue

1599 static zend_result _php_curl_setopt(php_curl *ch, zend_long option, zval *zvalue, bool is_array_con…  in _php_curl_setopt()  argument
1607 lval = zval_get_long(zvalue); in _php_curl_setopt()
1784 lval = zval_get_long(zvalue); in _php_curl_setopt()
1799 if (!zend_is_true(zvalue)) { in _php_curl_setopt()
1900 zend_string *str = zval_get_tmp_string(zvalue, &tmp_str); in _php_curl_setopt()
1930 if (Z_ISNULL_P(zvalue)) { in _php_curl_setopt()
1934 zend_string *str = zval_get_tmp_string(zvalue, &tmp_str); in _php_curl_setopt()
1946 ZVAL_COPY(&ch->private_data, zvalue); in _php_curl_setopt()
1954 zend_string *str = zval_get_tmp_string(zvalue, &tmp_str); in _php_curl_setopt()
1968 if (Z_TYPE_P(zvalue) != IS_NULL) { in _php_curl_setopt()
1969 …what = (php_stream *)zend_fetch_resource2_ex(zvalue, "File-Handle", php_file_le_stream(), php_file… in _php_curl_setopt()
1997 ZVAL_COPY(&ch->handlers.write->stream, zvalue); in _php_curl_setopt()
2015 ZVAL_COPY(&ch->handlers.write_header->stream, zvalue); in _php_curl_setopt()
2032 ch->handlers.read->res = Z_RES_P(zvalue); in _php_curl_setopt()
2033 ZVAL_COPY(&ch->handlers.read->stream, zvalue); in _php_curl_setopt()
2044 ZVAL_COPY(&ch->handlers.std_err, zvalue); in _php_curl_setopt()
2078 if (Z_TYPE_P(zvalue) != IS_ARRAY) { in _php_curl_setopt()
2121 ph = Z_ARRVAL_P(zvalue); in _php_curl_setopt()
2151 lval = zend_is_true(zvalue); in _php_curl_setopt()
2160 ZVAL_COPY(&ch->handlers.write_header->func_name, zvalue); in _php_curl_setopt()
2165 if (Z_TYPE_P(zvalue) == IS_ARRAY) { in _php_curl_setopt()
2166 if (zend_hash_num_elements(HASH_OF(zvalue)) == 0) { in _php_curl_setopt()
2172 return build_mime_structure_from_hash(ch, zvalue); in _php_curl_setopt()
2176 zend_string *str = zval_get_tmp_string(zvalue, &tmp_str); in _php_curl_setopt()
2193 ZVAL_COPY(&ch->handlers.progress->func_name, zvalue); in _php_curl_setopt()
2201 ZVAL_COPY(&ch->handlers.read->func_name, zvalue); in _php_curl_setopt()
2206 if (zend_is_true(zvalue)) { in _php_curl_setopt()
2218 ZVAL_COPY(&ch->handlers.write->func_name, zvalue); in _php_curl_setopt()
2232 ZVAL_COPY(&ch->handlers.xferinfo->func_name, zvalue); in _php_curl_setopt()
2243 lval = zval_get_long(zvalue); in _php_curl_setopt()
2248 lval = zval_get_long(zvalue); in _php_curl_setopt()
2267 zend_string *str = zval_get_tmp_string(zvalue, &tmp_str); in _php_curl_setopt()
2281 if (zend_is_true(zvalue)) { in _php_curl_setopt()
2294 if (Z_TYPE_P(zvalue) == IS_OBJECT && Z_OBJCE_P(zvalue) == curl_share_ce) { in _php_curl_setopt()
2295 php_curlsh *sh = Z_CURL_SHARE_P(zvalue); in _php_curl_setopt()
2316 ZVAL_COPY(&ch->handlers.fnmatch->func_name, zvalue); in _php_curl_setopt()
2333 zend_string *str = zval_get_tmp_string(zvalue, &tmp_str); in _php_curl_setopt()
2368 zval *zid, *zvalue; in PHP_FUNCTION() local
2375 Z_PARAM_ZVAL(zvalue) in PHP_FUNCTION()
2380 if (_php_curl_setopt(ch, options, zvalue, 0) == SUCCESS) { in PHP_FUNCTION()