Lines Matching refs:zvalue

2377 static int _php_curl_setopt(php_curl *ch, zend_long option, zval *zvalue) /* {{{ */  in _php_curl_setopt()  argument
2385 lval = zval_get_long(zvalue); in _php_curl_setopt()
2576 lval = zval_get_long(zvalue); in _php_curl_setopt()
2593 if (!zend_is_true(zvalue)) { in _php_curl_setopt()
2694 zend_string *str = zval_get_tmp_string(zvalue, &tmp_str); in _php_curl_setopt()
2723 if (Z_ISNULL_P(zvalue)) { in _php_curl_setopt()
2727 zend_string *str = zval_get_tmp_string(zvalue, &tmp_str); in _php_curl_setopt()
2739 zend_string *str = zval_get_tmp_string(zvalue, &tmp_str); in _php_curl_setopt()
2749 zend_string *str = zval_get_tmp_string(zvalue, &tmp_str); in _php_curl_setopt()
2763 if (Z_TYPE_P(zvalue) != IS_NULL) { in _php_curl_setopt()
2764 …what = (php_stream *)zend_fetch_resource2_ex(zvalue, "File-Handle", php_file_le_stream(), php_file… in _php_curl_setopt()
2792 ZVAL_COPY(&ch->handlers->write->stream, zvalue); in _php_curl_setopt()
2810 ZVAL_COPY(&ch->handlers->write_header->stream, zvalue); in _php_curl_setopt()
2827 ch->handlers->read->res = Z_RES_P(zvalue); in _php_curl_setopt()
2828 ZVAL_COPY(&ch->handlers->read->stream, zvalue); in _php_curl_setopt()
2839 ZVAL_COPY(&ch->handlers->std_err, zvalue); in _php_curl_setopt()
2877 ph = HASH_OF(zvalue); in _php_curl_setopt()
2953 lval = zend_is_true(zvalue); in _php_curl_setopt()
2968 ZVAL_COPY(&ch->handlers->write_header->func_name, zvalue); in _php_curl_setopt()
2973 if (Z_TYPE_P(zvalue) == IS_ARRAY || Z_TYPE_P(zvalue) == IS_OBJECT) { in _php_curl_setopt()
2974 if (zend_hash_num_elements(HASH_OF(zvalue)) == 0) { in _php_curl_setopt()
2980 return build_mime_structure_from_hash(ch, zvalue); in _php_curl_setopt()
2985 zend_string *str = zval_get_tmp_string(zvalue, &tmp_str); in _php_curl_setopt()
2993 zend_string *str = zval_get_tmp_string(zvalue, &tmp_str); in _php_curl_setopt()
3014 ZVAL_COPY(&ch->handlers->progress->func_name, zvalue); in _php_curl_setopt()
3023 ZVAL_COPY(&ch->handlers->read->func_name, zvalue); in _php_curl_setopt()
3028 if (zend_is_true(zvalue)) { in _php_curl_setopt()
3040 ZVAL_COPY(&ch->handlers->write->func_name, zvalue); in _php_curl_setopt()
3050 lval = zval_get_long(zvalue); in _php_curl_setopt()
3056 lval = zval_get_long(zvalue); in _php_curl_setopt()
3082 zend_string *str = zval_get_tmp_string(zvalue, &tmp_str); in _php_curl_setopt()
3096 if (zend_is_true(zvalue)) { in _php_curl_setopt()
3110 …if ((sh = (php_curlsh *)zend_fetch_resource_ex(zvalue, le_curl_share_handle_name, le_curl_share_ha… in _php_curl_setopt()
3126 ZVAL_COPY(&ch->handlers->fnmatch->func_name, zvalue); in _php_curl_setopt()
3146 zval *zid, *zvalue; in PHP_FUNCTION() local
3153 Z_PARAM_ZVAL(zvalue) in PHP_FUNCTION()
3165 if (_php_curl_setopt(ch, options, zvalue) == SUCCESS) { in PHP_FUNCTION()