Home
last modified time | relevance | path

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

/PHP-8.3/Zend/
H A Dzend_opcode.c250 HashTable *constants_table; in zend_cleanup_mutable_class_data() local
253 constants_table = mutable_data->constants_table; in zend_cleanup_mutable_class_data()
254 if (constants_table && constants_table != &ce->constants_table) { in zend_cleanup_mutable_class_data()
257 ZEND_HASH_MAP_FOREACH_PTR(constants_table, c) { in zend_cleanup_mutable_class_data()
262 zend_hash_destroy(constants_table); in zend_cleanup_mutable_class_data()
263 mutable_data->constants_table = NULL; in zend_cleanup_mutable_class_data()
306 ZEND_HASH_MAP_FOREACH_PTR(&ce->constants_table, c) { in destroy_zend_class()
398 if (zend_hash_num_elements(&ce->constants_table)) { in destroy_zend_class()
413 zend_hash_destroy(&ce->constants_table); in destroy_zend_class()
474 if (zend_hash_num_elements(&ce->constants_table)) { in destroy_zend_class()
[all …]
H A Dzend_inheritance.c1632 if (zend_hash_num_elements(&parent_ce->constants_table)) { in zend_do_inheritance_ex()
1635 zend_hash_extend(&ce->constants_table, in zend_do_inheritance_ex()
1636 zend_hash_num_elements(&ce->constants_table) + in zend_do_inheritance_ex()
1637 zend_hash_num_elements(&parent_ce->constants_table), 0); in zend_do_inheritance_ex()
1781 zend_hash_update_ptr(&ce->constants_table, name, c); in do_inherit_iface_constant()
2986 p = emalloc(HT_SIZE(&ce->constants_table)); in zend_lazy_class_load()
2987 memcpy(p, HT_GET_DATA_ADDR(&ce->constants_table), HT_USED_SIZE(&ce->constants_table)); in zend_lazy_class_load()
2988 HT_SET_DATA_ADDR(&ce->constants_table, p); in zend_lazy_class_load()
2989 p = ce->constants_table.arData; in zend_lazy_class_load()
2990 end = p + ce->constants_table.nNumUsed; in zend_lazy_class_load()
[all …]
H A Dzend.h117 HashTable *constants_table; member
165 HashTable constants_table; member
H A Dzend_API.c1378 HashTable *constants_table; in zend_separate_class_constants_table() local
1383 …zend_hash_init(constants_table, zend_hash_num_elements(&class_type->constants_table), NULL, NULL, … in zend_separate_class_constants_table()
1384 zend_hash_extend(constants_table, zend_hash_num_elements(&class_type->constants_table), 0); in zend_separate_class_constants_table()
1400 _zend_hash_append_ptr(constants_table, key, c); in zend_separate_class_constants_table()
1410 mutable_data->constants_table = constants_table; in zend_separate_class_constants_table()
1412 return constants_table; in zend_separate_class_constants_table()
1499 HashTable *constants_table; in zend_update_class_constants() local
1502 constants_table = mutable_data->constants_table; in zend_update_class_constants()
1503 if (!constants_table) { in zend_update_class_constants()
1507 constants_table = &class_type->constants_table; in zend_update_class_constants()
[all …]
H A Dzend_API.h450 if (mutable_data && mutable_data->constants_table) { in zend_class_constants_table()
451 return mutable_data->constants_table; in zend_class_constants_table()
456 return &ce->constants_table; in zend_class_constants_table()
H A Dzend_execute_API.c334 ZEND_HASH_MAP_FOREACH_PTR(&ce->constants_table, c) { in zend_shutdown_executor_values()
H A Dzend_compile.c1797 cc = zend_hash_find_ptr(&CG(active_class_entry)->constants_table, name); in zend_try_ct_eval_class_const()
1801 cc = zend_hash_find_ptr(&ce->constants_table, name); in zend_try_ct_eval_class_const()
1983 zend_hash_init(&ce->constants_table, 8, NULL, NULL, persistent_hashes); in zend_initialize_class_data()
/PHP-8.3/ext/opcache/
H A Dzend_persist_calc.c456 zend_hash_persist_calc(&ce->constants_table); in zend_persist_class_entry_calc()
457 ZEND_HASH_MAP_FOREACH_BUCKET(&ce->constants_table, p) { in zend_persist_class_entry_calc()
H A Dzend_persist.c931 zend_hash_persist(&ce->constants_table); in zend_persist_class_entry()
932 ZEND_HASH_MAP_FOREACH_BUCKET(&ce->constants_table, p) { in zend_persist_class_entry()
937 HT_FLAGS(&ce->constants_table) &= (HASH_FLAG_UNINITIALIZED | HASH_FLAG_STATIC_KEYS); in zend_persist_class_entry()
H A Dzend_file_cache.c751 …zend_file_cache_serialize_hash(&ce->constants_table, script, info, buf, zend_file_cache_serialize_…
1590 zend_file_cache_unserialize_hash(&ce->constants_table,
H A DZendAccelerator.c704 ZEND_HASH_MAP_FOREACH_BUCKET(&ce->constants_table, q) { in accel_copy_permanent_strings()
3744 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(&ce->constants_table, key, c) {
/PHP-8.3/Zend/Optimizer/
H A Dpass1.c172 &ce->constants_table, Z_STR(ZEND_OP2_LITERAL(opline))); in zend_optimizer_pass1()
/PHP-8.3/ext/readline/
H A Dreadline_cli.c568 …ion_generator_define(text, textlen, &cli_completion_state, ce ? &ce->constants_table : EG(zend_con… in cli_completion_generator()
/PHP-8.3/ext/reflection/
H A Dphp_reflection.c386 count = zend_hash_num_elements(&ce->constants_table); in _class_string()
4742 if (zend_hash_exists(&ce->constants_table, name)) { in ZEND_METHOD()
4821 HashTable *constants_table; in ZEND_METHOD() local
4830 constants_table = CE_CONSTANTS_TABLE(ce); in ZEND_METHOD()
4831 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(constants_table, key, c) { in ZEND_METHOD()
4836 if ((c = zend_hash_find_ptr(constants_table, name)) == NULL) { in ZEND_METHOD()
6898 zend_class_constant *class_const = zend_hash_find_ptr(&ce->constants_table, name); in ZEND_METHOD()

Completed in 151 milliseconds