/php-src/Zend/ |
H A D | zend_variables.h | 52 static zend_always_inline void zval_copy_ctor(zval *zvalue) in zval_copy_ctor() argument 54 if (Z_TYPE_P(zvalue) == IS_ARRAY) { in zval_copy_ctor() 55 ZVAL_ARR(zvalue, zend_array_dup(Z_ARR_P(zvalue))); in zval_copy_ctor() 56 } else if (Z_REFCOUNTED_P(zvalue)) { in zval_copy_ctor() 57 Z_ADDREF_P(zvalue); in zval_copy_ctor() 63 if (Z_OPT_TYPE_P(zvalue) == IS_ARRAY) { in zval_opt_copy_ctor() 64 ZVAL_ARR(zvalue, zend_array_dup(Z_ARR_P(zvalue))); in zval_opt_copy_ctor() 65 } else if (Z_OPT_REFCOUNTED_P(zvalue)) { in zval_opt_copy_ctor() 66 Z_ADDREF_P(zvalue); in zval_opt_copy_ctor() 81 ZEND_API void zval_internal_ptr_dtor(zval *zvalue); [all …]
|
H A D | zend_variables.c | 124 ZEND_API void ZEND_FASTCALL zval_copy_ctor_func(zval *zvalue) in zval_copy_ctor_func() argument 126 if (EXPECTED(Z_TYPE_P(zvalue) == IS_ARRAY)) { in zval_copy_ctor_func() 127 ZVAL_ARR(zvalue, zend_array_dup(Z_ARRVAL_P(zvalue))); in zval_copy_ctor_func() 128 } else if (EXPECTED(Z_TYPE_P(zvalue) == IS_STRING)) { in zval_copy_ctor_func() 129 ZEND_ASSERT(!ZSTR_IS_INTERNED(Z_STR_P(zvalue))); in zval_copy_ctor_func() 130 CHECK_ZVAL_STRING(Z_STR_P(zvalue)); in zval_copy_ctor_func() 131 ZVAL_NEW_STR(zvalue, zend_string_dup(Z_STR_P(zvalue), 0)); in zval_copy_ctor_func()
|
/php-src/ext/curl/ |
H A D | share.c | 56 static bool _php_curl_share_setopt(php_curlsh *sh, zend_long option, zval *zvalue, zval *return_val… in _php_curl_share_setopt() argument 63 error = curl_share_setopt(sh->share, option, zval_get_long(zvalue)); in _php_curl_share_setopt() 81 zval *z_sh, *zvalue; in PHP_FUNCTION() local 88 Z_PARAM_ZVAL(zvalue) in PHP_FUNCTION() 93 if (_php_curl_share_setopt(sh, options, zvalue, return_value)) { in PHP_FUNCTION()
|
H A D | interface.c | 1683 lval = zval_get_long(zvalue); in _php_curl_setopt() 1838 lval = zval_get_long(zvalue); in _php_curl_setopt() 1847 if (!zend_is_true(zvalue)) { in _php_curl_setopt() 1969 if (Z_ISNULL_P(zvalue)) { in _php_curl_setopt() 2152 ph = Z_ARRVAL_P(zvalue); in _php_curl_setopt() 2183 lval = zend_is_true(zvalue); in _php_curl_setopt() 2208 if (zend_is_true(zvalue)) { in _php_curl_setopt() 2263 if (zend_is_true(zvalue)) { in _php_curl_setopt() 2276 if (Z_TYPE_P(zvalue) == IS_OBJECT && Z_OBJCE_P(zvalue) == curl_share_ce) { in _php_curl_setopt() 2338 zval *zid, *zvalue; in PHP_FUNCTION() local [all …]
|
H A D | multi.c | 449 static bool _php_curl_multi_setopt(php_curlm *mh, zend_long option, zval *zvalue, zval *return_valu… in _php_curl_multi_setopt() argument 465 zend_long lval = zval_get_long(zvalue); in _php_curl_multi_setopt() 484 …if (UNEXPECTED(!zend_is_callable_ex(zvalue, /* object */ NULL, /* check_flags */ 0, /* callable_na… in _php_curl_multi_setopt() 515 zval *z_mh, *zvalue; in PHP_FUNCTION() local 522 Z_PARAM_ZVAL(zvalue) in PHP_FUNCTION() 527 if (_php_curl_multi_setopt(mh, options, zvalue, return_value)) { in PHP_FUNCTION()
|
/php-src/ |
H A D | .gdbinit | 47 printzv $zvalue 95 set $type = $zvalue->u1.v.type 112 ____print_str (char*)$zvalue->value.str->val $zvalue->value.str->len 115 printf "array(%d)[%p]", $zvalue->value.arr->nNumOfElements, $zvalue 118 printf "object[%p]", $zvalue 162 set $zvalue = $arg0 163 set $type = $zvalue->u1.v.type 210 set $zobj = $zvalue->value.obj 279 set $zvalue = $arg0 281 printf "[%p] ", $zvalue [all …]
|
/php-src/ext/json/ |
H A D | json_parser.y | 221 static int php_json_parser_array_append(php_json_parser *parser, zval *array, zval *zvalue) in php_json_parser_array_append() argument 223 zend_hash_next_index_insert(Z_ARRVAL_P(array), zvalue); in php_json_parser_array_append() 237 …hp_json_parser_object_update(php_json_parser *parser, zval *object, zend_string *key, zval *zvalue) in php_json_parser_object_update() argument 241 zend_symtable_update(Z_ARRVAL_P(object), key, zvalue); in php_json_parser_object_update() 246 zval_ptr_dtor_nogc(zvalue); in php_json_parser_object_update() 250 zend_std_write_property(Z_OBJ_P(object), key, zvalue, NULL); in php_json_parser_object_update() 251 Z_TRY_DELREF_P(zvalue); in php_json_parser_object_update() 264 static int php_json_parser_array_append_validate(php_json_parser *parser, zval *array, zval *zvalue) in php_json_parser_array_append_validate() argument 275 …arser_object_update_validate(php_json_parser *parser, zval *object, zend_string *key, zval *zvalue) in php_json_parser_object_update_validate() argument
|
H A D | php_json_parser.h | 28 php_json_parser *parser, zval *array, zval *zvalue); 36 php_json_parser *parser, zval *object, zend_string *key, zval *zvalue);
|
/php-src/main/ |
H A D | php_ini.c | 166 PHPAPI void config_zval_dtor(zval *zvalue) in config_zval_dtor() argument 168 if (Z_TYPE_P(zvalue) == IS_ARRAY) { in config_zval_dtor() 169 zend_hash_destroy(Z_ARRVAL_P(zvalue)); in config_zval_dtor() 170 free(Z_ARR_P(zvalue)); in config_zval_dtor() 171 } else if (Z_TYPE_P(zvalue) == IS_STRING) { in config_zval_dtor() 172 zend_string_release_ex(Z_STR_P(zvalue), 1); in config_zval_dtor()
|
H A D | php_ini.h | 23 PHPAPI void config_zval_dtor(zval *zvalue);
|
H A D | fastcgi.c | 1729 zval zvalue; local 1731 ZVAL_NEW_STR(&zvalue, zend_string_init(value, value_len, 1)); 1733 GC_MAKE_PERSISTENT_LOCAL(Z_STR(zvalue)); 1734 zend_hash_add(&fcgi_mgmt_vars, key, &zvalue);
|
/php-src/ext/com_dotnet/ |
H A D | com_variant.c | 441 zval *zvalue = NULL; in PHP_METHOD() local 450 "z!|ll", &zvalue, &vt, &codepage)) { in PHP_METHOD() 461 if (zvalue) { in PHP_METHOD() 462 php_com_variant_from_zval_ex(&obj->v, zvalue, obj->code_page, vt); in PHP_METHOD() 508 zval *zobj, *zvalue = NULL; in PHP_FUNCTION() local 512 "Oz!", &zobj, php_com_variant_class_entry, &zvalue)) { in PHP_FUNCTION() 531 php_com_variant_from_zval(&obj->v, zvalue, obj->code_page); in PHP_FUNCTION()
|
/php-src/ext/intl/calendar/ |
H A D | calendar_methods.cpp | 471 zval *zvalue; in PHP_FUNCTION() local 475 …ameters(ZEND_NUM_ARGS(), getThis(), "Olz", &object, Calendar_ce_ptr, &field, &zvalue) == FAILURE) { in PHP_FUNCTION() 483 if (Z_TYPE_P(zvalue) == IS_FALSE || Z_TYPE_P(zvalue) == IS_TRUE) { in PHP_FUNCTION() 484 value = Z_TYPE_P(zvalue) == IS_TRUE ? 1 : -1; in PHP_FUNCTION() 487 value = zval_get_long(zvalue); in PHP_FUNCTION()
|
/php-src/ext/standard/ |
H A D | browscap.c | 66 static void browscap_entry_dtor(zval *zvalue) 68 browscap_entry *entry = Z_PTR_P(zvalue); 76 static void browscap_entry_dtor_persistent(zval *zvalue) in browscap_entry_dtor_persistent() argument 78 browscap_entry *entry = Z_PTR_P(zvalue); in browscap_entry_dtor_persistent()
|
H A D | streamsfuncs.c | 1023 zval *zvalue = NULL; in PHP_FUNCTION() local 1039 Z_PARAM_ZVAL(zvalue) in PHP_FUNCTION() 1054 if (zvalue) { in PHP_FUNCTION() 1069 if (!zvalue) { in PHP_FUNCTION() 1073 php_stream_context_set_option(context, ZSTR_VAL(wrappername), optionname, zvalue); in PHP_FUNCTION()
|