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.c256 HashTable *constants_table; in zend_cleanup_mutable_class_data() local
259 constants_table = mutable_data->constants_table; in zend_cleanup_mutable_class_data()
260 if (constants_table && constants_table != &ce->constants_table) { in zend_cleanup_mutable_class_data()
263 ZEND_HASH_MAP_FOREACH_PTR(constants_table, c) { in zend_cleanup_mutable_class_data()
268 zend_hash_destroy(constants_table); in zend_cleanup_mutable_class_data()
269 mutable_data->constants_table = NULL; in zend_cleanup_mutable_class_data()
312 ZEND_HASH_MAP_FOREACH_PTR(&ce->constants_table, c) { in destroy_zend_class()
411 if (zend_hash_num_elements(&ce->constants_table)) { in destroy_zend_class()
426 zend_hash_destroy(&ce->constants_table); in destroy_zend_class()
491 if (zend_hash_num_elements(&ce->constants_table)) { in destroy_zend_class()
[all …]
H A Dzend_inheritance.c1918 if (zend_hash_num_elements(&parent_ce->constants_table)) { in zend_do_inheritance_ex()
1921 zend_hash_extend(&ce->constants_table, in zend_do_inheritance_ex()
1922 zend_hash_num_elements(&ce->constants_table) + in zend_do_inheritance_ex()
1923 zend_hash_num_elements(&parent_ce->constants_table), 0); in zend_do_inheritance_ex()
2067 zend_hash_update_ptr(&ce->constants_table, name, c); in do_inherit_iface_constant()
3405 p = emalloc(HT_SIZE(&ce->constants_table)); in zend_lazy_class_load()
3406 memcpy(p, HT_GET_DATA_ADDR(&ce->constants_table), HT_USED_SIZE(&ce->constants_table)); in zend_lazy_class_load()
3407 HT_SET_DATA_ADDR(&ce->constants_table, p); in zend_lazy_class_load()
3408 p = ce->constants_table.arData; in zend_lazy_class_load()
3409 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.c1431 HashTable *constants_table; in zend_separate_class_constants_table() local
1436 …zend_hash_init(constants_table, zend_hash_num_elements(&class_type->constants_table), NULL, NULL, … in zend_separate_class_constants_table()
1437 zend_hash_extend(constants_table, zend_hash_num_elements(&class_type->constants_table), 0); in zend_separate_class_constants_table()
1453 _zend_hash_append_ptr(constants_table, key, c); in zend_separate_class_constants_table()
1463 mutable_data->constants_table = constants_table; in zend_separate_class_constants_table()
1465 return constants_table; in zend_separate_class_constants_table()
1552 HashTable *constants_table; in zend_update_class_constants() local
1555 constants_table = mutable_data->constants_table; in zend_update_class_constants()
1556 if (!constants_table) { in zend_update_class_constants()
1560 constants_table = &class_type->constants_table; in zend_update_class_constants()
[all …]
H A Dzend_API.h455 if (mutable_data && mutable_data->constants_table) { in zend_class_constants_table()
456 return mutable_data->constants_table; in zend_class_constants_table()
461 return &ce->constants_table; in zend_class_constants_table()
H A Dzend_execute_API.c339 ZEND_HASH_MAP_FOREACH_PTR(&ce->constants_table, c) { in zend_shutdown_executor_values()
H A Dzend_compile.c1870 cc = zend_hash_find_ptr(&CG(active_class_entry)->constants_table, name); in zend_try_ct_eval_class_const()
1874 cc = zend_hash_find_ptr(&ce->constants_table, name); in zend_try_ct_eval_class_const()
2056 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.c463 zend_hash_persist_calc(&ce->constants_table); in zend_persist_class_entry_calc()
464 ZEND_HASH_MAP_FOREACH_BUCKET(&ce->constants_table, p) { in zend_persist_class_entry_calc()
H A Dzend_persist.c961 zend_hash_persist(&ce->constants_table); in zend_persist_class_entry()
962 ZEND_HASH_MAP_FOREACH_BUCKET(&ce->constants_table, p) { in zend_persist_class_entry()
967 HT_FLAGS(&ce->constants_table) &= (HASH_FLAG_UNINITIALIZED | HASH_FLAG_STATIC_KEYS); in zend_persist_class_entry()
H A Dzend_file_cache.c771 …zend_file_cache_serialize_hash(&ce->constants_table, script, info, buf, zend_file_cache_serialize_…
1628 zend_file_cache_unserialize_hash(&ce->constants_table,
H A DZendAccelerator.c708 ZEND_HASH_MAP_FOREACH_BUCKET(&ce->constants_table, q) { in accel_copy_permanent_strings()
3776 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(&ce->constants_table, key, c) {
/php-src/ext/readline/
H A Dreadline_cli.c561 …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.c387 count = zend_hash_num_elements(&ce->constants_table); in _class_string()
4659 if (zend_hash_exists(&ce->constants_table, name)) { in ZEND_METHOD()
4738 HashTable *constants_table; in ZEND_METHOD() local
4747 constants_table = CE_CONSTANTS_TABLE(ce); in ZEND_METHOD()
4748 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(constants_table, key, c) { in ZEND_METHOD()
4753 if ((c = zend_hash_find_ptr(constants_table, name)) == NULL) { in ZEND_METHOD()
7176 zend_class_constant *class_const = zend_hash_find_ptr(&ce->constants_table, name); in ZEND_METHOD()
/php-src/Zend/Optimizer/
H A Dzend_optimizer.c905 …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 131 milliseconds