Home
last modified time | relevance | path

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

/php-src/Zend/
H A Dzend_constants.c108 zend_hash_apply_with_argument(EG(zend_constants), clean_module_constant, (void *) &module_number); in clean_module_constants()
113 EG(zend_constants) = (HashTable *) malloc(sizeof(HashTable)); in zend_startup_constants()
114 zend_hash_init(EG(zend_constants), 128, NULL, ZEND_CONSTANT_DTOR, 1); in zend_startup_constants()
123 true_const = zend_hash_str_find_ptr(EG(zend_constants), "TRUE", sizeof("TRUE")-1); in zend_register_standard_constants()
124 false_const = zend_hash_str_find_ptr(EG(zend_constants), "FALSE", sizeof("FALSE")-1); in zend_register_standard_constants()
125 null_const = zend_hash_str_find_ptr(EG(zend_constants), "NULL", sizeof("NULL")-1); in zend_register_standard_constants()
204 c = zend_hash_find_ptr(EG(zend_constants), haltname); in zend_get_halt_offset_constant()
258 zend_constant *c = zend_hash_str_find_ptr(EG(zend_constants), name, name_len); in zend_get_constant_str_impl()
282 zend_constant *c = zend_hash_find_ptr(EG(zend_constants), name); in zend_get_constant_ptr()
443 c = zend_hash_str_find_ptr(EG(zend_constants), lcname, lcname_len); in zend_get_constant_ex()
[all …]
H A Dzend.c70 # define GLOBAL_CONSTANTS_TABLE EG(zend_constants)
802 zend_copy_constants(executor_globals->zend_constants, GLOBAL_CONSTANTS_TABLE); in executor_globals_ctor()
865 if (executor_globals->zend_constants != GLOBAL_CONSTANTS_TABLE) { in executor_globals_dtor()
866 zend_hash_destroy(executor_globals->zend_constants); in executor_globals_dtor()
867 free(executor_globals->zend_constants); in executor_globals_dtor()
1036 zend_hash_destroy(executor_globals->zend_constants); in zend_startup()
1037 *executor_globals->zend_constants = *GLOBAL_CONSTANTS_TABLE; in zend_startup()
1113 *GLOBAL_CONSTANTS_TABLE = *executor_globals->zend_constants; in zend_post_startup()
1139 free(EG(zend_constants)); in zend_post_startup()
1140 EG(zend_constants) = NULL; in zend_post_startup()
H A Dzend_globals.h189 HashTable *zend_constants; /* constants table */ member
H A Dzend_execute_API.c191 EG(persistent_constants_count) = EG(zend_constants)->nNumUsed; in init_executor()
291 zend_hash_reverse_apply(EG(zend_constants), clean_non_persistent_constant_full); in zend_shutdown_executor_values()
293 ZEND_HASH_MAP_REVERSE_FOREACH_STR_KEY_VAL(EG(zend_constants), key, zv) { in zend_shutdown_executor_values()
425 zend_hash_discard(EG(zend_constants), EG(persistent_constants_count)); in zend_shutdown_executor_values()
H A Dzend_builtin_functions.c1626 ZEND_HASH_MAP_FOREACH_PTR(EG(zend_constants), val) { in ZEND_FUNCTION()
1656 ZEND_HASH_MAP_FOREACH_PTR(EG(zend_constants), constant) { in ZEND_FUNCTION()
H A Dzend_execute.c5244 zv = zend_hash_find_known_hash(EG(zend_constants), Z_STR_P(key)); in _zend_quick_get_constant()
5249 zv = zend_hash_find_known_hash(EG(zend_constants), Z_STR_P(key)); in _zend_quick_get_constant()
H A Dzend_vm_def.h8773 } else if (EXPECTED(zend_hash_num_elements(EG(zend_constants)) == DECODE_SPECIAL_CACHE_NUM(c))) {
8779 …_PTR(opline->extended_value, ENCODE_SPECIAL_CACHE_NUM(zend_hash_num_elements(EG(zend_constants))));
H A Dzend_compile.c1696 c = zend_hash_find_ptr(EG(zend_constants), name); in zend_try_ct_eval_const()
H A Dzend_vm_execute.h5991 } else if (EXPECTED(zend_hash_num_elements(EG(zend_constants)) == DECODE_SPECIAL_CACHE_NUM(c))) { in ZEND_DEFINED_SPEC_CONST_HANDLER()
5997 …_PTR(opline->extended_value, ENCODE_SPECIAL_CACHE_NUM(zend_hash_num_elements(EG(zend_constants)))); in ZEND_DEFINED_SPEC_CONST_HANDLER()
/php-src/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.c917 zend_hash_del(EG(zend_constants), ic.name); in phpdbg_register_file_handles()
923 zend_hash_del(EG(zend_constants), oc.name); in phpdbg_register_file_handles()
929 zend_hash_del(EG(zend_constants), ec.name); in phpdbg_register_file_handles()
1016 zend_hash_num_elements(EG(zend_constants)), in phpdbg_welcome()
H A Dphpdbg_prompt.c1121 phpdbg_writeln("Constants %d", zend_hash_num_elements(EG(zend_constants))); in PHPDBG_COMMAND()
1457 phpdbg_writeln("Constants %d", zend_hash_num_elements(EG(zend_constants))); in PHPDBG_COMMAND()
/php-src/ext/opcache/
H A DZendAccelerator.c722 ZEND_HASH_MAP_FOREACH_BUCKET(EG(zend_constants), p) { in accel_copy_permanent_strings()
2140 uint32_t old_const_num = zend_hash_next_free_element(EG(zend_constants)); in persistent_compile_file()
2180 uint32_t new_const_num = zend_hash_next_free_element(EG(zend_constants)); in persistent_compile_file()
2183 zend_hash_index_del(EG(zend_constants), new_const_num); in persistent_compile_file()
3514 if (EG(zend_constants)) {
3515 ZEND_HASH_MAP_REVERSE_FOREACH_VAL(EG(zend_constants), zv) {
4330 if (EG(zend_constants)) {
4331 EG(persistent_constants_count) = EG(zend_constants)->nNumUsed;
4438 if (EG(zend_constants)) {
4475 ZEND_ASSERT(zend_hash_num_elements(EG(zend_constants)) == EG(persistent_constants_count));
H A Dzend_accelerator_util_funcs.c393 if (!zend_hash_exists(EG(zend_constants), name)) { in zend_accel_load_script()
/php-src/ext/opcache/jit/
H A Dzend_jit_vm_helpers.c304 zv = zend_hash_find_known_hash(EG(zend_constants), Z_STR_P(key)); in _zend_quick_get_constant()
309 zv = zend_hash_find_known_hash(EG(zend_constants), Z_STR_P(key)); in _zend_quick_get_constant()
320 …_PTR(opline->extended_value, ENCODE_SPECIAL_CACHE_NUM(zend_hash_num_elements(EG(zend_constants)))); in _zend_quick_get_constant()
H A Dzend_jit.c548 zv = zend_hash_find_known_hash(EG(zend_constants), Z_STR_P(key)); in zend_jit_is_persistent_constant()
553 zv = zend_hash_find_known_hash(EG(zend_constants), Z_STR_P(key)); in zend_jit_is_persistent_constant()
H A Dzend_jit_ir.c3110 REGISTER_DATA(EG(zend_constants)); in zend_jit_setup_disasm()
7798 ref2 = jit_EG(zend_constants); in zend_jit_defined()
/php-src/ext/readline/
H A Dreadline_cli.c561 …rator_define(text, textlen, &cli_completion_state, ce ? &ce->constants_table : EG(zend_constants)); in cli_completion_generator()
/php-src/
H A D.gdbinit310 Example: print_const_table executor_globals.zend_constants
H A Dconfigure.ac1722 zend_constants.c
/php-src/win32/build/
H A Dconfig.w32232 zend_compile.c zend_constants.c zend_exceptions.c \
/php-src/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-src/ext/reflection/
H A Dphp_reflection.c1100 ZEND_HASH_MAP_FOREACH_PTR(EG(zend_constants), constant) { in _extension_string()
6546 ZEND_HASH_MAP_FOREACH_PTR(EG(zend_constants), constant) { in ZEND_METHOD()

Completed in 397 milliseconds