Lines Matching refs:zvalue

1661 static zend_result _php_curl_setopt(php_curl *ch, zend_long option, zval *zvalue, bool is_array_con…  in _php_curl_setopt()  argument
1669 lval = zval_get_long(zvalue); in _php_curl_setopt()
1856 lval = zval_get_long(zvalue); in _php_curl_setopt()
1871 if (!zend_is_true(zvalue)) { in _php_curl_setopt()
1976 zend_string *str = zval_get_tmp_string(zvalue, &tmp_str); in _php_curl_setopt()
2013 if (Z_ISNULL_P(zvalue)) { in _php_curl_setopt()
2017 zend_string *str = zval_get_tmp_string(zvalue, &tmp_str); in _php_curl_setopt()
2029 ZVAL_COPY(&ch->private_data, zvalue); in _php_curl_setopt()
2037 zend_string *str = zval_get_tmp_string(zvalue, &tmp_str); in _php_curl_setopt()
2051 if (Z_TYPE_P(zvalue) != IS_NULL) { in _php_curl_setopt()
2052 …what = (php_stream *)zend_fetch_resource2_ex(zvalue, "File-Handle", php_file_le_stream(), php_file… in _php_curl_setopt()
2080 ZVAL_COPY(&ch->handlers.write->stream, zvalue); in _php_curl_setopt()
2098 ZVAL_COPY(&ch->handlers.write_header->stream, zvalue); in _php_curl_setopt()
2115 ch->handlers.read->res = Z_RES_P(zvalue); in _php_curl_setopt()
2116 ZVAL_COPY(&ch->handlers.read->stream, zvalue); in _php_curl_setopt()
2127 ZVAL_COPY(&ch->handlers.std_err, zvalue); in _php_curl_setopt()
2161 if (Z_TYPE_P(zvalue) != IS_ARRAY) { in _php_curl_setopt()
2204 ph = Z_ARRVAL_P(zvalue); in _php_curl_setopt()
2234 lval = zend_is_true(zvalue); in _php_curl_setopt()
2243 ZVAL_COPY(&ch->handlers.write_header->func_name, zvalue); in _php_curl_setopt()
2248 if (Z_TYPE_P(zvalue) == IS_ARRAY) { in _php_curl_setopt()
2249 if (zend_hash_num_elements(HASH_OF(zvalue)) == 0) { in _php_curl_setopt()
2255 return build_mime_structure_from_hash(ch, zvalue); in _php_curl_setopt()
2259 zend_string *str = zval_get_tmp_string(zvalue, &tmp_str); in _php_curl_setopt()
2276 ZVAL_COPY(&ch->handlers.progress->func_name, zvalue); in _php_curl_setopt()
2289 ZVAL_COPY(&ch->handlers.sshhostkey->func_name, zvalue); in _php_curl_setopt()
2298 ZVAL_COPY(&ch->handlers.read->func_name, zvalue); in _php_curl_setopt()
2303 if (zend_is_true(zvalue)) { in _php_curl_setopt()
2315 ZVAL_COPY(&ch->handlers.write->func_name, zvalue); in _php_curl_setopt()
2329 ZVAL_COPY(&ch->handlers.xferinfo->func_name, zvalue); in _php_curl_setopt()
2340 lval = zval_get_long(zvalue); in _php_curl_setopt()
2345 lval = zval_get_long(zvalue); in _php_curl_setopt()
2364 zend_string *str = zval_get_tmp_string(zvalue, &tmp_str); in _php_curl_setopt()
2378 if (zend_is_true(zvalue)) { in _php_curl_setopt()
2391 if (Z_TYPE_P(zvalue) == IS_OBJECT && Z_OBJCE_P(zvalue) == curl_share_ce) { in _php_curl_setopt()
2392 php_curlsh *sh = Z_CURL_SHARE_P(zvalue); in _php_curl_setopt()
2413 ZVAL_COPY(&ch->handlers.fnmatch->func_name, zvalue); in _php_curl_setopt()
2430 zend_string *str = zval_get_tmp_string(zvalue, &tmp_str); in _php_curl_setopt()
2465 zval *zid, *zvalue; in PHP_FUNCTION() local
2472 Z_PARAM_ZVAL(zvalue) in PHP_FUNCTION()
2477 if (_php_curl_setopt(ch, options, zvalue, 0) == SUCCESS) { in PHP_FUNCTION()