Home
last modified time | relevance | path

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

/php-src/Zend/
H A Dzend_opcode.c255 HashTable *constants_table; in zend_cleanup_mutable_class_data() local
258 constants_table = mutable_data->constants_table; in zend_cleanup_mutable_class_data()
259 if (constants_table && constants_table != &ce->constants_table) { in zend_cleanup_mutable_class_data()
262 ZEND_HASH_MAP_FOREACH_PTR(constants_table, c) { in zend_cleanup_mutable_class_data()
267 zend_hash_destroy(constants_table); in zend_cleanup_mutable_class_data()
268 mutable_data->constants_table = NULL; in zend_cleanup_mutable_class_data()
311 ZEND_HASH_MAP_FOREACH_PTR(&ce->constants_table, c) { in destroy_zend_class()
403 if (zend_hash_num_elements(&ce->constants_table)) { in destroy_zend_class()
418 zend_hash_destroy(&ce->constants_table); in destroy_zend_class()
483 if (zend_hash_num_elements(&ce->constants_table)) { in destroy_zend_class()
[all …]
H A Dzend_inheritance.c1635 if (zend_hash_num_elements(&parent_ce->constants_table)) { in zend_do_inheritance_ex()
1638 zend_hash_extend(&ce->constants_table, in zend_do_inheritance_ex()
1639 zend_hash_num_elements(&ce->constants_table) + in zend_do_inheritance_ex()
1640 zend_hash_num_elements(&parent_ce->constants_table), 0); in zend_do_inheritance_ex()
1784 zend_hash_update_ptr(&ce->constants_table, name, c); in do_inherit_iface_constant()
2987 p = emalloc(HT_SIZE(&ce->constants_table)); in zend_lazy_class_load()
2988 memcpy(p, HT_GET_DATA_ADDR(&ce->constants_table), HT_USED_SIZE(&ce->constants_table)); in zend_lazy_class_load()
2989 HT_SET_DATA_ADDR(&ce->constants_table, p); in zend_lazy_class_load()
2990 p = ce->constants_table.arData; in zend_lazy_class_load()
2991 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.c1425 HashTable *constants_table; in zend_separate_class_constants_table() local
1430 …zend_hash_init(constants_table, zend_hash_num_elements(&class_type->constants_table), NULL, NULL, … in zend_separate_class_constants_table()
1431 zend_hash_extend(constants_table, zend_hash_num_elements(&class_type->constants_table), 0); in zend_separate_class_constants_table()
1447 _zend_hash_append_ptr(constants_table, key, c); in zend_separate_class_constants_table()
1457 mutable_data->constants_table = constants_table; in zend_separate_class_constants_table()
1459 return constants_table; in zend_separate_class_constants_table()
1546 HashTable *constants_table; in zend_update_class_constants() local
1549 constants_table = mutable_data->constants_table; in zend_update_class_constants()
1550 if (!constants_table) { in zend_update_class_constants()
1554 constants_table = &class_type->constants_table; in zend_update_class_constants()
[all …]
H A Dzend_API.h454 if (mutable_data && mutable_data->constants_table) { in zend_class_constants_table()
455 return mutable_data->constants_table; in zend_class_constants_table()
460 return &ce->constants_table; in zend_class_constants_table()
H A Dzend_execute_API.c335 ZEND_HASH_MAP_FOREACH_PTR(&ce->constants_table, c) { in zend_shutdown_executor_values()
H A Dzend_compile.c1817 cc = zend_hash_find_ptr(&CG(active_class_entry)->constants_table, name); in zend_try_ct_eval_class_const()
1821 cc = zend_hash_find_ptr(&ce->constants_table, name); in zend_try_ct_eval_class_const()
2003 zend_hash_init(&ce->constants_table, 8, NULL, NULL, persistent_hashes); in zend_initialize_class_data()
/php-src/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.c927 zend_hash_persist(&ce->constants_table); in zend_persist_class_entry()
928 ZEND_HASH_MAP_FOREACH_BUCKET(&ce->constants_table, p) { in zend_persist_class_entry()
933 HT_FLAGS(&ce->constants_table) &= (HASH_FLAG_UNINITIALIZED | HASH_FLAG_STATIC_KEYS); in zend_persist_class_entry()
H A Dzend_file_cache.c752 …zend_file_cache_serialize_hash(&ce->constants_table, script, info, buf, zend_file_cache_serialize_…
1592 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()
3748 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(&ce->constants_table, key, c) {
/php-src/ext/readline/
H A Dreadline_cli.c567 …ion_generator_define(text, textlen, &cli_completion_state, ce ? &ce->constants_table : EG(zend_con… in cli_completion_generator()
/php-src/ext/reflection/
H A Dphp_reflection.c381 count = zend_hash_num_elements(&ce->constants_table); in _class_string()
4797 if (zend_hash_exists(&ce->constants_table, name)) { in ZEND_METHOD()
4876 HashTable *constants_table; in ZEND_METHOD() local
4885 constants_table = CE_CONSTANTS_TABLE(ce); in ZEND_METHOD()
4886 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(constants_table, key, c) { in ZEND_METHOD()
4891 if ((c = zend_hash_find_ptr(constants_table, name)) == NULL) { in ZEND_METHOD()
6944 zend_class_constant *class_const = zend_hash_find_ptr(&ce->constants_table, name); in ZEND_METHOD()
/php-src/Zend/Optimizer/
H A Dzend_optimizer.c878 …zend_class_constant *const_info = zend_hash_find_ptr(&ce->constants_table, Z_STR_P(CRT_CONSTANT(op… in zend_fetch_class_const_info()

Completed in 118 milliseconds