Home
last modified time | relevance | path

Searched refs:constants_table (Results 1 – 16 of 16) sorted by relevance

/PHP-8.0/Zend/
H A Dzend_inheritance.c1137 zval *zv = zend_hash_find_ex(&ce->constants_table, name, 1); in do_inherit_class_constant()
1155 _zend_hash_append_ptr(&ce->constants_table, name, parent_const); in do_inherit_class_constant()
1379 if (zend_hash_num_elements(&parent_ce->constants_table)) { in zend_do_inheritance_ex()
1382 zend_hash_extend(&ce->constants_table, in zend_do_inheritance_ex()
1383 zend_hash_num_elements(&ce->constants_table) + in zend_do_inheritance_ex()
1384 zend_hash_num_elements(&parent_ce->constants_table), 0); in zend_do_inheritance_ex()
1450 zend_hash_update_ptr(&ce->constants_table, name, c); in do_inherit_iface_constant()
1461 ZEND_HASH_FOREACH_STR_KEY_PTR(&iface->constants_table, key, c) { in do_interface_implementation()
1500 ZEND_HASH_FOREACH_STR_KEY_PTR(&ce->constants_table, key, c) { in zend_do_implement_interface()
1501 do_inherit_constant_check(&iface->constants_table, c, key, iface); in zend_do_implement_interface()
[all …]
H A Dzend_opcode.c335 if (zend_hash_num_elements(&ce->constants_table)) { in destroy_zend_class()
338 ZEND_HASH_FOREACH_PTR(&ce->constants_table, c) { in destroy_zend_class()
350 zend_hash_destroy(&ce->constants_table); in destroy_zend_class()
417 if (zend_hash_num_elements(&ce->constants_table)) { in destroy_zend_class()
420 ZEND_HASH_FOREACH_PTR(&ce->constants_table, c) { in destroy_zend_class()
432 zend_hash_destroy(&ce->constants_table); in destroy_zend_class()
H A Dzend.h128 HashTable constants_table; member
H A Dzend_constants.c377 c = zend_hash_find_ptr(&ce->constants_table, constant_name); in zend_get_constant_ex()
H A Dzend_API.c1250 ZEND_HASH_FOREACH_PTR(&class_type->constants_table, c) { in zend_update_class_constants()
4069 if (!zend_hash_add_ptr(&ce->constants_table, name, c)) { in zend_declare_class_constant_ex()
H A Dzend_compile.c1643 cc = zend_hash_find_ptr(&CG(active_class_entry)->constants_table, name); in zend_try_ct_eval_class_const()
1647 cc = zend_hash_find_ptr(&ce->constants_table, name); in zend_try_ct_eval_class_const()
1826 zend_hash_init(&ce->constants_table, 8, NULL, NULL, persistent_hashes); in zend_initialize_class_data()
H A Dzend_vm_def.h5862 zv = zend_hash_find_ex(&ce->constants_table, Z_STR_P(RT_CONSTANT(opline, opline->op2)), 1);
H A Dzend_vm_execute.h6886 zv = zend_hash_find_ex(&ce->constants_table, Z_STR_P(RT_CONSTANT(opline, opline->op2)), 1); in ZEND_FETCH_CLASS_CONSTANT_SPEC_CONST_CONST_HANDLER()
24378 zv = zend_hash_find_ex(&ce->constants_table, Z_STR_P(RT_CONSTANT(opline, opline->op2)), 1); in ZEND_FETCH_CLASS_CONSTANT_SPEC_VAR_CONST_HANDLER()
33011 zv = zend_hash_find_ex(&ce->constants_table, Z_STR_P(RT_CONSTANT(opline, opline->op2)), 1); in ZEND_FETCH_CLASS_CONSTANT_SPEC_UNUSED_CONST_HANDLER()
/PHP-8.0/ext/opcache/
H A Dzend_persist_calc.c436 zend_hash_persist_calc(&ce->constants_table); in zend_persist_class_entry_calc()
437 ZEND_HASH_FOREACH_BUCKET(&ce->constants_table, p) { in zend_persist_class_entry_calc()
H A Dzend_persist.c847 zend_hash_persist(&ce->constants_table); in zend_persist_class_entry()
848 ZEND_HASH_FOREACH_BUCKET(&ce->constants_table, p) { in zend_persist_class_entry()
853 HT_FLAGS(&ce->constants_table) &= (HASH_FLAG_UNINITIALIZED | HASH_FLAG_STATIC_KEYS); in zend_persist_class_entry()
H A Dzend_file_cache.c732 …zend_file_cache_serialize_hash(&ce->constants_table, script, info, buf, zend_file_cache_serialize_…
1492 zend_file_cache_unserialize_hash(&ce->constants_table,
H A Dzend_accelerator_util_funcs.c334 zend_hash_clone_constants(&ce->constants_table); in zend_class_copy_ctor()
H A DZendAccelerator.c651 ZEND_HASH_FOREACH_BUCKET(&ce->constants_table, q) { in accel_copy_permanent_strings()
3494 ZEND_HASH_FOREACH_STR_KEY_PTR(&ce->constants_table, key, c) {
3582 ZEND_HASH_FOREACH_PTR(&ce->constants_table, c) {
/PHP-8.0/ext/readline/
H A Dreadline_cli.c556 …ion_generator_define(text, textlen, &cli_completion_state, ce ? &ce->constants_table : EG(zend_con… in cli_completion_generator()
/PHP-8.0/ext/reflection/
H A Dphp_reflection.c383 count = zend_hash_num_elements(&ce->constants_table); in _class_string()
389 ZEND_HASH_FOREACH_STR_KEY_PTR(&ce->constants_table, key, c) { in _class_string()
3582 if ((constant = zend_hash_find_ptr(&ce->constants_table, constname)) == NULL) { in ZEND_METHOD()
4452 if (zend_hash_exists(&ce->constants_table, name)) { in ZEND_METHOD()
4482 ZEND_HASH_FOREACH_STR_KEY_PTR(&ce->constants_table, key, constant) { in ZEND_METHOD()
4516 ZEND_HASH_FOREACH_STR_KEY_PTR(&ce->constants_table, name, constant) { in ZEND_METHOD()
4539 ZEND_HASH_FOREACH_PTR(&ce->constants_table, c) { in ZEND_METHOD()
4544 if ((c = zend_hash_find_ptr(&ce->constants_table, name)) == NULL) { in ZEND_METHOD()
4564 if ((constant = zend_hash_find_ptr(&ce->constants_table, name)) == NULL) { in ZEND_METHOD()
/PHP-8.0/ext/opcache/Optimizer/
H A Dpass1.c270 if ((cc = zend_hash_find_ptr(&ce->constants_table, in zend_optimizer_pass1()

Completed in 355 milliseconds