Home
last modified time | relevance | path

Searched refs:zend_constants (Results 1 – 22 of 22) sorted by relevance

/PHP-8.0/Zend/
H A Dzend_constants.c103 EG(zend_constants) = (HashTable *) malloc(sizeof(HashTable)); in zend_startup_constants()
104 zend_hash_init(EG(zend_constants), 128, NULL, ZEND_CONSTANT_DTOR, 1); in zend_startup_constants()
139 true_const = zend_hash_str_find_ptr(EG(zend_constants), "TRUE", sizeof("TRUE")-1); in zend_register_standard_constants()
141 null_const = zend_hash_str_find_ptr(EG(zend_constants), "NULL", sizeof("NULL")-1); in zend_register_standard_constants()
147 zend_hash_destroy(EG(zend_constants)); in zend_shutdown_constants()
148 free(EG(zend_constants)); in zend_shutdown_constants()
227 c = zend_hash_find_ptr(EG(zend_constants), haltname); in zend_get_halt_offset_constant()
281 zend_constant *c = zend_hash_str_find_ptr(EG(zend_constants), name, name_len); in zend_get_constant_str_impl()
305 zend_constant *c = zend_hash_find_ptr(EG(zend_constants), name); in zend_get_constant_impl()
437 c = zend_hash_str_find_ptr(EG(zend_constants), lcname, lcname_len); in zend_get_constant_ex()
[all …]
H A Dzend.c59 # define GLOBAL_CONSTANTS_TABLE EG(zend_constants)
726 zend_copy_constants(executor_globals->zend_constants, GLOBAL_CONSTANTS_TABLE); in executor_globals_ctor()
762 if (executor_globals->zend_constants != GLOBAL_CONSTANTS_TABLE) { in executor_globals_dtor()
763 zend_hash_destroy(executor_globals->zend_constants); in executor_globals_dtor()
764 free(executor_globals->zend_constants); in executor_globals_dtor()
931 zend_hash_destroy(executor_globals->zend_constants); in zend_startup()
932 *executor_globals->zend_constants = *GLOBAL_CONSTANTS_TABLE; in zend_startup()
1054 *GLOBAL_CONSTANTS_TABLE = *executor_globals->zend_constants; in zend_post_startup()
1075 free(EG(zend_constants)); in zend_post_startup()
1076 EG(zend_constants) = NULL; in zend_post_startup()
H A Dzend_globals.h158 HashTable *zend_constants; /* constants table */ member
H A Dzend_execute_API.c184 EG(persistent_constants_count) = EG(zend_constants)->nNumUsed; in init_executor()
353 zend_hash_discard(EG(zend_constants), EG(persistent_constants_count)); in shutdown_executor()
361 zend_hash_reverse_apply(EG(zend_constants), clean_non_persistent_constant_full); in shutdown_executor()
365 ZEND_HASH_REVERSE_FOREACH_STR_KEY_VAL(EG(zend_constants), key, zv) { in shutdown_executor()
H A Dzend_builtin_functions.c1534 ZEND_HASH_FOREACH_PTR(EG(zend_constants), val) { in ZEND_FUNCTION()
1564 ZEND_HASH_FOREACH_PTR(EG(zend_constants), constant) { in ZEND_FUNCTION()
H A Dzend_execute.c4558 zv = zend_hash_find_ex(EG(zend_constants), Z_STR_P(key), 1); in _zend_quick_get_constant()
4563 zv = zend_hash_find_ex(EG(zend_constants), Z_STR_P(key), 1); in _zend_quick_get_constant()
H A Dzend_vm_def.h8436 } else if (EXPECTED(zend_hash_num_elements(EG(zend_constants)) == DECODE_SPECIAL_CACHE_NUM(c))) {
8442 …_PTR(opline->extended_value, ENCODE_SPECIAL_CACHE_NUM(zend_hash_num_elements(EG(zend_constants))));
H A Dzend_compile.c1456 zend_constant *c = zend_hash_find_ptr(EG(zend_constants), name); in zend_try_ct_eval_const()
H A Dzend_vm_execute.h5387 } else if (EXPECTED(zend_hash_num_elements(EG(zend_constants)) == DECODE_SPECIAL_CACHE_NUM(c))) { in ZEND_DEFINED_SPEC_CONST_HANDLER()
5393 …_PTR(opline->extended_value, ENCODE_SPECIAL_CACHE_NUM(zend_hash_num_elements(EG(zend_constants)))); in ZEND_DEFINED_SPEC_CONST_HANDLER()
/PHP-8.0/sapi/phpdbg/
H A Dphpdbg_info.c103 if (EG(zend_constants)) { in PHPDBG_INFO()
105 ZEND_HASH_FOREACH_PTR(EG(zend_constants), data) { in PHPDBG_INFO()
H A Dphpdbg.c970 zend_hash_del(EG(zend_constants), ic.name); in phpdbg_register_file_handles()
976 zend_hash_del(EG(zend_constants), oc.name); in phpdbg_register_file_handles()
982 zend_hash_del(EG(zend_constants), ec.name); in phpdbg_register_file_handles()
1080 zend_hash_num_elements(EG(zend_constants)), in phpdbg_welcome()
H A Dphpdbg_prompt.c1139 …g_writeln("info", "constants=\"%d\"", "Constants %d", zend_hash_num_elements(EG(zend_constants))); in PHPDBG_COMMAND()
1481 …_writeln("clean", "constants=\"%d\"", "Constants %d", zend_hash_num_elements(EG(zend_constants))); in PHPDBG_COMMAND()
/PHP-8.0/ext/opcache/jit/
H A Dzend_jit_vm_helpers.c253 zv = zend_hash_find_ex(EG(zend_constants), Z_STR_P(key), 1); in _zend_quick_get_constant()
258 zv = zend_hash_find_ex(EG(zend_constants), Z_STR_P(key), 1); in _zend_quick_get_constant()
269 …_PTR(opline->extended_value, ENCODE_SPECIAL_CACHE_NUM(zend_hash_num_elements(EG(zend_constants)))); in _zend_quick_get_constant()
H A Dzend_jit_x86.dasc11158 | MEM_OP2_2_ZTS mov, FCARG1a, aword, executor_globals, zend_constants, FCARG1a
/PHP-8.0/ext/opcache/
H A DZendAccelerator.c659 ZEND_HASH_FOREACH_BUCKET(EG(zend_constants), p) { in accel_copy_permanent_strings()
2152 uint32_t old_const_num = zend_hash_next_free_element(EG(zend_constants)); in persistent_compile_file()
2192 uint32_t new_const_num = zend_hash_next_free_element(EG(zend_constants)); in persistent_compile_file()
2195 zend_hash_index_del(EG(zend_constants), new_const_num); in persistent_compile_file()
3273 if (EG(zend_constants)) {
3274 ZEND_HASH_REVERSE_FOREACH_VAL(EG(zend_constants), zv) {
4347 if (EG(zend_constants)) {
4348 EG(persistent_constants_count) = EG(zend_constants)->nNumUsed;
4641 if (EG(zend_constants)) {
4660 ZEND_HASH_REVERSE_FOREACH_STR_KEY_VAL(EG(zend_constants), key, zv) {
[all …]
H A Dzend_accelerator_util_funcs.c793 if (!zend_hash_exists(EG(zend_constants), name)) { in zend_accel_load_script()
/PHP-8.0/ext/readline/
H A Dreadline_cli.c556 …rator_define(text, textlen, &cli_completion_state, ce ? &ce->constants_table : EG(zend_constants)); in cli_completion_generator()
/PHP-8.0/win32/build/
H A Dconfig.w32230 zend_constants.c zend_exceptions.c \
/PHP-8.0/
H A D.gdbinit310 Example: print_const_table executor_globals.zend_constants
H A Dconfigure.ac1475 zend_alloc.c zend_compile.c zend_constants.c zend_dtrace.c \
/PHP-8.0/ext/opcache/Optimizer/
H A Dblock_pass.c36 zend_constant *c = zend_hash_find_ptr(EG(zend_constants), name); in zend_optimizer_get_persistent_constant()
/PHP-8.0/ext/reflection/
H A Dphp_reflection.c1034 ZEND_HASH_FOREACH_PTR(EG(zend_constants), constant) { in _extension_string()
5782 ZEND_HASH_FOREACH_PTR(EG(zend_constants), constant) { in ZEND_METHOD()

Completed in 249 milliseconds