Home
last modified time | relevance | path

Searched refs:zv (Results 126 – 150 of 205) sorted by relevance

123456789

/PHP-8.3/ext/dom/
H A Dphp_dom.h79 #define Z_XPATHOBJ_P(zv) php_xpath_obj_from_obj(Z_OBJ_P((zv))) argument
/PHP-8.3/Zend/
H A Dzend_ini.c81 static void free_ini_entry(zval *zv) /* {{{ */ in free_ini_entry() argument
83 zend_ini_entry *entry = (zend_ini_entry*)Z_PTR_P(zv); in free_ini_entry()
146 static void copy_ini_entry(zval *zv) /* {{{ */ in copy_ini_entry() argument
148 zend_ini_entry *old_entry = (zend_ini_entry*)Z_PTR_P(zv); in copy_ini_entry()
151 Z_PTR_P(zv) = new_entry; in copy_ini_entry()
H A Dzend_builtin_functions.c397 zval *zv = zend_hash_find_known_hash(EG(ini_directives), ZSTR_KNOWN(ZEND_STR_ERROR_REPORTING)); in ZEND_FUNCTION() local
398 if (!zv) { in ZEND_FUNCTION()
403 p = EG(error_reporting_ini_entry) = (zend_ini_entry*)Z_PTR_P(zv); in ZEND_FUNCTION()
1259 zval *zv; in get_declared_class_impl() local
1267 ZEND_HASH_MAP_FOREACH_STR_KEY_VAL(EG(class_table), key, zv) { in get_declared_class_impl()
1268 ce = Z_PTR_P(zv); in get_declared_class_impl()
1273 if (EXPECTED(Z_TYPE_P(zv) == IS_PTR)) { in get_declared_class_impl()
1276 ZEND_ASSERT(Z_TYPE_P(zv) == IS_ALIAS_PTR); in get_declared_class_impl()
H A Dzend_constants.h72 void free_zend_constant(zval *zv);
H A Dzend_string.c61 static void _str_dtor(zval *zv) in _str_dtor() argument
63 zend_string *str = Z_STR_P(zv); in _str_dtor()
H A Dzend.c683 static void auto_global_dtor(zval *zv) /* {{{ */ in auto_global_dtor() argument
685 free(Z_PTR_P(zv)); in auto_global_dtor()
690 static void auto_global_copy_ctor(zval *zv) /* {{{ */ in auto_global_copy_ctor() argument
692 zend_auto_global *old_ag = (zend_auto_global *) Z_PTR_P(zv); in auto_global_copy_ctor()
699 Z_PTR_P(zv) = new_ag; in auto_global_copy_ctor()
872 static void module_destructor_zval(zval *zv) /* {{{ */ in module_destructor_zval() argument
874 zend_module_entry *module = (zend_module_entry*)Z_PTR_P(zv); in module_destructor_zval()
H A Dzend_execute.h69 ZEND_API bool ZEND_FASTCALL zend_verify_ref_assignable_zval(zend_reference *ref, zval *zv, bool str…
78 …_API ZEND_COLD void zend_throw_ref_type_error_zval(const zend_property_info *prop, const zval *zv);
79 …_type_error_type(const zend_property_info *prop1, const zend_property_info *prop2, const zval *zv);
/PHP-8.3/Zend/Optimizer/
H A Dblock_pass.c111 zval *zv; in get_const_switch_target() local
122 zv = zend_hash_index_find(jumptable, Z_LVAL_P(val)); in get_const_switch_target()
125 zv = zend_hash_find(jumptable, Z_STR_P(val)); in get_const_switch_target()
127 if (!zv) { in get_const_switch_target()
131 return cfg->map[ZEND_OFFSET_TO_OPLINE_NUM(op_array, opline, Z_LVAL_P(zv))]; in get_const_switch_target()
1036 zval *zv; in assemble_code_blocks() local
1040 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in assemble_code_blocks()
1041 Z_LVAL_P(zv) = ZEND_OPLINE_TO_OFFSET(opline, new_opcodes + blocks[b->successors[s++]].start); in assemble_code_blocks()
1229 zval zv; in zend_jmp_optimization() local
1230 ZVAL_COPY(&zv, &ZEND_OP1_LITERAL(last_op)); in zend_jmp_optimization()
[all …]
H A Dzend_inference.c2097 HashTable *ht = Z_ARRVAL_P(zv); in zend_array_type_info()
2102 if (Z_REFCOUNTED_P(zv)) { in zend_array_type_info()
3357 if (Z_TYPE_P(zv) == IS_STRING) { in _zend_update_type_info()
4230 if (Z_TYPE_P(zv) == IS_LONG || Z_TYPE_P(zv) == IS_DOUBLE) { in can_convert_to_double()
4231 ZVAL_COPY_VALUE(&orig_op1, zv); in can_convert_to_double()
4232 ZVAL_COPY_VALUE(&dval_op1, zv); in can_convert_to_double()
4243 if (Z_TYPE_P(zv) == IS_LONG || Z_TYPE_P(zv) == IS_DOUBLE) { in can_convert_to_double()
4244 ZVAL_COPY_VALUE(&orig_op2, zv); in can_convert_to_double()
4245 ZVAL_COPY_VALUE(&dval_op2, zv); in can_convert_to_double()
4511 if (Z_TYPE_P(zv) == IS_LONG) { in zend_func_return_info()
[all …]
/PHP-8.3/ext/hash/
H A Dhash_tiger.c242 static int php_tiger_unserialize(php_hashcontext_object *hash, zend_long magic, const zval *zv) in php_tiger_unserialize() argument
247 && (r = php_hash_unserialize_spec(hash, zv, PHP_TIGER_SPEC)) == SUCCESS in php_tiger_unserialize()
H A Dhash_whirlpool.c432 static int php_whirlpool_unserialize(php_hashcontext_object *hash, zend_long magic, const zval *zv) in php_whirlpool_unserialize() argument
437 && (r = php_hash_unserialize_spec(hash, zv, PHP_WHIRLPOOL_SPEC)) == SUCCESS in php_whirlpool_unserialize()
H A Dhash_gost.c307 static int php_gost_unserialize(php_hashcontext_object *hash, zend_long magic, const zval *zv) in php_gost_unserialize() argument
312 && (r = php_hash_unserialize_spec(hash, zv, PHP_GOST_SPEC)) == SUCCESS in php_gost_unserialize()
/PHP-8.3/ext/fileinfo/
H A Dfileinfo.c57 #define Z_FINFO_P(zv) php_finfo_fetch_object(Z_OBJ_P((zv))) argument
/PHP-8.3/ext/phar/
H A Dphar.c26 static void destroy_phar_data(zval *zv);
37 phar_archive_data *phar = (phar_archive_data *)Z_PTR_P(zv); in phar_set_writeable_bit()
285 static void destroy_phar_data_only(zval *zv) /* {{{ */ in destroy_phar_data_only() argument
307 static int phar_tmpclose_apply(zval *zv) /* {{{ */ in phar_tmpclose_apply() argument
309 phar_entry_info *entry = (phar_entry_info *) Z_PTR_P(zv); in phar_tmpclose_apply()
327 static void destroy_phar_data(zval *zv) /* {{{ */ in destroy_phar_data() argument
335 destroy_phar_data_only(zv); in destroy_phar_data()
379 void destroy_phar_manifest_entry(zval *zv) /* {{{ */ in destroy_phar_manifest_entry() argument
381 phar_entry_info *entry = Z_PTR_P(zv); in destroy_phar_manifest_entry()
3373 static void mime_type_dtor(zval *zv) in mime_type_dtor() argument
[all …]
/PHP-8.3/sapi/phpdbg/
H A Dphpdbg.c482 zval zv; in phpdbg_add_empty_array() local
483 array_init(&zv); in phpdbg_add_empty_array()
484 ht_zv = zend_hash_add_new(ht, name, &zv); in phpdbg_add_empty_array()
1487 zval *zv = zend_hash_str_find(php_stream_get_url_stream_wrappers_hash(), ZEND_STRL("php")); in main() local
1488 php_stream_wrapper *tmp_wrapper = Z_PTR_P(zv); in main()
1494 Z_PTR_P(zv) = &wrapper; in main()
1734 zval *zv = zend_hash_str_find(php_stream_get_url_stream_wrappers_hash(), ZEND_STRL("php")); in main() local
1735 Z_PTR_P(zv) = (void*)PHPDBG_G(orig_url_wrap_php); in main()
/PHP-8.3/ext/sysvmsg/
H A Dsysvmsg.c75 #define Z_SYSVMSG_QUEUE_P(zv) sysvmsg_queue_from_obj(Z_OBJ_P(zv)) argument
/PHP-8.3/ext/sysvshm/
H A Dsysvshm.c43 #define Z_SYSVSHM_P(zv) sysvshm_from_obj(Z_OBJ_P(zv)) argument
/PHP-8.3/ext/sockets/
H A Dsendrecvmsg.c408 zval *zv = to_zval_run_conversions(buffer, reader, "in6_pktinfo", in php_do_getsockopt_ipv6_rfc3542() local
414 ZVAL_COPY_VALUE(result, zv); in php_do_getsockopt_ipv6_rfc3542()
/PHP-8.3/ext/mysqli/
H A Dmysqli.c407 static MYSQLND *mysqli_convert_zv_to_mysqlnd(zval * zv) in mysqli_convert_zv_to_mysqlnd() argument
409 if (Z_TYPE_P(zv) == IS_OBJECT && instanceof_function(Z_OBJCE_P(zv), mysqli_link_class_entry)) { in mysqli_convert_zv_to_mysqlnd()
412 mysqli_object *intern = Z_MYSQLI_P(zv); in mysqli_convert_zv_to_mysqlnd()
/PHP-8.3/ext/opcache/jit/
H A Dzend_jit_arm64.dasc827 | ldr reg, [zv]
1397 | ldr tmp_reg, [zv]
1399 | str tmp_reg, [zv]
1403 | ldr tmp_reg, [zv]
1405 | str tmp_reg, [zv]
1409 | ldr tmp_reg, [zv]
1411 | str tmp_reg, [zv]
13747 zval *zv;
13788 zval *zv;
13824 zval *zv;
[all …]
H A Dzend_jit_internal.h127 #define ZEND_ADDR_CONST_ZVAL(zv) \ argument
128 (((zend_jit_addr)(uintptr_t)(zv)) | IS_CONST_ZVAL)
164 return ZEND_ADDR_CONST_ZVAL(op.zv); in _zend_jit_decode_op()
/PHP-8.3/ext/opcache/
H A DZendAccelerator.c3480 zval *zv; local
3485 zend_constant *c = Z_PTR_P(zv);
3495 zend_function *func = Z_PTR_P(zv);
3504 zend_class_entry *ce = Z_PTR_P(zv);
3872 zval *zv; local
3886 ce = Z_PTR_P(zv);
3908 zv = zend_hash_set_bucket_key(EG(class_table), (Bucket*)zv, lcname);
3949 zv = zend_hash_set_bucket_key(EG(class_table), (Bucket*)zv, key);
3950 Z_CE_P(zv) = orig_ce;
3972 ce = Z_PTR_P(zv);
[all …]
/PHP-8.3/ext/standard/
H A Duser_filters.c332 static void filter_item_dtor(zval *zv) in filter_item_dtor() argument
334 struct php_user_filter_data *fdat = Z_PTR_P(zv); in filter_item_dtor()
H A Dformatted_print.c741 zval *args, *zv; in php_formatted_print_get_array() local
747 ZEND_HASH_FOREACH_VAL(array, zv) { in php_formatted_print_get_array()
748 ZVAL_COPY_VALUE(&args[n], zv); in php_formatted_print_get_array()
/PHP-8.3/ext/zend_test/
H A Dtest.c168 zval *zv; in ZEND_FUNCTION() local
170 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z", &zv) == FAILURE) { in ZEND_FUNCTION()
174 if (!Z_REFCOUNTED_P(zv)) { in ZEND_FUNCTION()
179 Z_ADDREF_P(zv); in ZEND_FUNCTION()

Completed in 199 milliseconds

123456789