Home
last modified time | relevance | path

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

/PHP-8.2/Zend/
H A Dzend_constants.c104 EG(zend_constants) = (HashTable *) malloc(sizeof(HashTable)); in zend_startup_constants()
105 zend_hash_init(EG(zend_constants), 128, NULL, ZEND_CONSTANT_DTOR, 1); in zend_startup_constants()
124 true_const = zend_hash_str_find_ptr(EG(zend_constants), "TRUE", sizeof("TRUE")-1); in zend_register_standard_constants()
126 null_const = zend_hash_str_find_ptr(EG(zend_constants), "NULL", sizeof("NULL")-1); in zend_register_standard_constants()
132 zend_hash_destroy(EG(zend_constants)); in zend_shutdown_constants()
133 free(EG(zend_constants)); in zend_shutdown_constants()
212 c = zend_hash_find_ptr(EG(zend_constants), haltname); in zend_get_halt_offset_constant()
266 zend_constant *c = zend_hash_str_find_ptr(EG(zend_constants), name, name_len); in zend_get_constant_str_impl()
290 zend_constant *c = zend_hash_find_ptr(EG(zend_constants), name); in zend_get_constant_impl()
515 c = zend_hash_str_find_ptr(EG(zend_constants), lcname, lcname_len); in zend_get_constant_ex()
[all …]
H A Dzend.c63 # define GLOBAL_CONSTANTS_TABLE EG(zend_constants)
773 zend_copy_constants(executor_globals->zend_constants, GLOBAL_CONSTANTS_TABLE); in executor_globals_ctor()
820 if (executor_globals->zend_constants != GLOBAL_CONSTANTS_TABLE) { in executor_globals_dtor()
821 zend_hash_destroy(executor_globals->zend_constants); in executor_globals_dtor()
822 free(executor_globals->zend_constants); in executor_globals_dtor()
983 zend_hash_destroy(executor_globals->zend_constants); in zend_startup()
984 *executor_globals->zend_constants = *GLOBAL_CONSTANTS_TABLE; in zend_startup()
1060 *GLOBAL_CONSTANTS_TABLE = *executor_globals->zend_constants; in zend_post_startup()
1082 free(EG(zend_constants)); in zend_post_startup()
1083 EG(zend_constants) = NULL; in zend_post_startup()
H A Dzend_globals.h169 HashTable *zend_constants; /* constants table */ member
H A Dzend_execute_API.c188 EG(persistent_constants_count) = EG(zend_constants)->nNumUsed; in init_executor()
288 zend_hash_reverse_apply(EG(zend_constants), clean_non_persistent_constant_full); in zend_shutdown_executor_values()
290 ZEND_HASH_MAP_REVERSE_FOREACH_STR_KEY_VAL(EG(zend_constants), key, zv) { in zend_shutdown_executor_values()
396 zend_hash_discard(EG(zend_constants), EG(persistent_constants_count)); in zend_shutdown_executor_values()
H A Dzend_builtin_functions.c1495 ZEND_HASH_MAP_FOREACH_PTR(EG(zend_constants), val) { in ZEND_FUNCTION()
1525 ZEND_HASH_MAP_FOREACH_PTR(EG(zend_constants), constant) { in ZEND_FUNCTION()
H A Dzend_execute.c4885 zv = zend_hash_find_known_hash(EG(zend_constants), Z_STR_P(key)); in _zend_quick_get_constant()
4890 zv = zend_hash_find_known_hash(EG(zend_constants), Z_STR_P(key)); in _zend_quick_get_constant()
H A Dzend_vm_def.h8582 } else if (EXPECTED(zend_hash_num_elements(EG(zend_constants)) == DECODE_SPECIAL_CACHE_NUM(c))) {
8588 …_PTR(opline->extended_value, ENCODE_SPECIAL_CACHE_NUM(zend_hash_num_elements(EG(zend_constants))));
H A Dzend_compile.c1492 c = zend_hash_find_ptr(EG(zend_constants), name); in zend_try_ct_eval_const()
H A Dzend_vm_execute.h5668 } else if (EXPECTED(zend_hash_num_elements(EG(zend_constants)) == DECODE_SPECIAL_CACHE_NUM(c))) { in ZEND_DEFINED_SPEC_CONST_HANDLER()
5674 …_PTR(opline->extended_value, ENCODE_SPECIAL_CACHE_NUM(zend_hash_num_elements(EG(zend_constants)))); in ZEND_DEFINED_SPEC_CONST_HANDLER()
/PHP-8.2/sapi/phpdbg/
H A Dphpdbg_info.c106 if (EG(zend_constants)) { in PHPDBG_INFO()
108 ZEND_HASH_MAP_FOREACH_PTR(EG(zend_constants), data) { in PHPDBG_INFO()
H A Dphpdbg.c916 zend_hash_del(EG(zend_constants), ic.name); in phpdbg_register_file_handles()
922 zend_hash_del(EG(zend_constants), oc.name); in phpdbg_register_file_handles()
928 zend_hash_del(EG(zend_constants), ec.name); in phpdbg_register_file_handles()
1015 zend_hash_num_elements(EG(zend_constants)), in phpdbg_welcome()
H A Dphpdbg_prompt.c1124 phpdbg_writeln("Constants %d", zend_hash_num_elements(EG(zend_constants))); in PHPDBG_COMMAND()
1463 phpdbg_writeln("Constants %d", zend_hash_num_elements(EG(zend_constants))); in PHPDBG_COMMAND()
/PHP-8.2/ext/opcache/jit/
H A Dzend_jit_vm_helpers.c300 zv = zend_hash_find_known_hash(EG(zend_constants), Z_STR_P(key)); in _zend_quick_get_constant()
305 zv = zend_hash_find_known_hash(EG(zend_constants), Z_STR_P(key)); in _zend_quick_get_constant()
316 …_PTR(opline->extended_value, ENCODE_SPECIAL_CACHE_NUM(zend_hash_num_elements(EG(zend_constants)))); in _zend_quick_get_constant()
H A Dzend_jit.c596 zv = zend_hash_find_known_hash(EG(zend_constants), Z_STR_P(key)); in zend_jit_is_persistent_constant()
601 zv = zend_hash_find_known_hash(EG(zend_constants), Z_STR_P(key)); in zend_jit_is_persistent_constant()
H A Dzend_jit_arm64.dasc10259 | MEM_LOAD_64_ZTS ldr, FCARG1x, executor_globals, zend_constants, FCARG1x
H A Dzend_jit_x86.dasc10957 | MEM_LOAD_ZTS FCARG1a, aword, executor_globals, zend_constants, FCARG1a
/PHP-8.2/ext/opcache/
H A DZendAccelerator.c731 ZEND_HASH_MAP_FOREACH_BUCKET(EG(zend_constants), p) { in accel_copy_permanent_strings()
2155 uint32_t old_const_num = zend_hash_next_free_element(EG(zend_constants)); in persistent_compile_file()
2195 uint32_t new_const_num = zend_hash_next_free_element(EG(zend_constants)); in persistent_compile_file()
2198 zend_hash_index_del(EG(zend_constants), new_const_num); in persistent_compile_file()
3508 if (EG(zend_constants)) {
3509 ZEND_HASH_MAP_REVERSE_FOREACH_VAL(EG(zend_constants), zv) {
4325 if (EG(zend_constants)) {
4326 EG(persistent_constants_count) = EG(zend_constants)->nNumUsed;
4433 if (EG(zend_constants)) {
4464 ZEND_ASSERT(zend_hash_num_elements(EG(zend_constants)) == EG(persistent_constants_count));
H A Dzend_accelerator_util_funcs.c389 if (!zend_hash_exists(EG(zend_constants), name)) { in zend_accel_load_script()
/PHP-8.2/ext/readline/
H A Dreadline_cli.c568 …rator_define(text, textlen, &cli_completion_state, ce ? &ce->constants_table : EG(zend_constants)); in cli_completion_generator()
/PHP-8.2/win32/build/
H A Dconfig.w32232 zend_constants.c zend_exceptions.c \
/PHP-8.2/
H A D.gdbinit310 Example: print_const_table executor_globals.zend_constants
H A Dconfigure.ac1709 zend_alloc.c zend_compile.c zend_constants.c zend_dtrace.c \
/PHP-8.2/Zend/Optimizer/
H A Dblock_pass.c35 zend_constant *c = zend_hash_find_ptr(EG(zend_constants), name); in zend_optimizer_get_persistent_constant()
/PHP-8.2/ext/reflection/
H A Dphp_reflection.c1047 ZEND_HASH_MAP_FOREACH_PTR(EG(zend_constants), constant) { in _extension_string()
6047 ZEND_HASH_MAP_FOREACH_PTR(EG(zend_constants), constant) { in ZEND_METHOD()

Completed in 329 milliseconds