Home
last modified time | relevance | path

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

/PHP-7.1/Zend/
H A Dzend_constants.c107 EG(zend_constants) = (HashTable *) malloc(sizeof(HashTable)); in zend_startup_constants()
109 zend_hash_init(EG(zend_constants), 128, NULL, ZEND_CONSTANT_DTOR, 1); in zend_startup_constants()
150 zend_hash_destroy(EG(zend_constants)); in zend_shutdown_constants()
151 free(EG(zend_constants)); in zend_shutdown_constants()
159 zend_hash_apply(EG(zend_constants), clean_non_persistent_constant_full); in clean_non_persistent_constants()
161 zend_hash_reverse_apply(EG(zend_constants), clean_non_persistent_constant); in clean_non_persistent_constants()
246 c = zend_hash_find_ptr(EG(zend_constants), haltname); in zend_get_special_constant()
293 if ((c = zend_hash_find_ptr(EG(zend_constants), name)) == NULL) { in zend_get_constant()
446 if ((c = zend_hash_find_ptr(EG(zend_constants), Z_STR_P(key))) == NULL) { in zend_quick_get_constant()
448 if ((c = zend_hash_find_ptr(EG(zend_constants), Z_STR_P(key))) == NULL || in zend_quick_get_constant()
[all …]
H A DZendCore.dep46 .\zend_constants.c : \
50 ".\zend_constants.h"\
63 ".\zend_constants.h"\
168 ".\zend_constants.h"\
200 ".\zend_constants.h"\
H A Dzend.c45 # define GLOBAL_CONSTANTS_TABLE EG(zend_constants)
558 zend_copy_constants(EG(zend_constants), GLOBAL_CONSTANTS_TABLE); in executor_globals_ctor()
594 if (executor_globals->zend_constants != GLOBAL_CONSTANTS_TABLE) { in executor_globals_dtor()
595 zend_hash_destroy(executor_globals->zend_constants); in executor_globals_dtor()
596 free(executor_globals->zend_constants); in executor_globals_dtor()
762 zend_hash_destroy(executor_globals->zend_constants); in zend_startup()
763 *executor_globals->zend_constants = *GLOBAL_CONSTANTS_TABLE; in zend_startup()
821 *GLOBAL_CONSTANTS_TABLE = *executor_globals->zend_constants; in zend_post_startup()
835 free(EG(zend_constants)); in zend_post_startup()
H A DMakefile.am11 zend_alloc.c zend_compile.c zend_constants.c \
H A Dzend_globals.h160 HashTable *zend_constants; /* constants table */ member
H A Dzend_builtin_functions.c2267 ZEND_HASH_FOREACH_PTR(EG(zend_constants), val) { in ZEND_FUNCTION()
2294 zend_hash_apply_with_argument(EG(zend_constants), add_constant_info, return_value); in ZEND_FUNCTION()
H A Dzend_compile.c1368 zend_constant *c = zend_hash_find_ptr_lc(EG(zend_constants), name, len); in zend_lookup_reserved_const()
1381 c = zend_hash_find_ptr(EG(zend_constants), name); in zend_try_ct_eval_const()
/PHP-7.1/sapi/phpdbg/
H A Dphpdbg_info.c105 if (EG(zend_constants)) { in PHPDBG_INFO()
107 ZEND_HASH_FOREACH_PTR(EG(zend_constants), data) { in PHPDBG_INFO()
H A Dphpdbg.c1029 zend_hash_del(EG(zend_constants), ic.name); in phpdbg_register_file_handles()
1036 zend_hash_del(EG(zend_constants), oc.name); in phpdbg_register_file_handles()
1043 zend_hash_del(EG(zend_constants), ec.name); in phpdbg_register_file_handles()
1153 zend_hash_num_elements(EG(zend_constants)), in phpdbg_welcome()
H A Dphpdbg_prompt.c1193 …g_writeln("info", "constants=\"%d\"", "Constants %d", zend_hash_num_elements(EG(zend_constants))); in PHPDBG_COMMAND()
1536 …_writeln("clean", "constants=\"%d\"", "Constants %d", zend_hash_num_elements(EG(zend_constants))); in PHPDBG_COMMAND()
/PHP-7.1/ext/opcache/
H A DZendAccelerator.c601 for (idx = 0; idx < EG(zend_constants)->nNumUsed; idx++) { in accel_use_shm_interned_strings()
602 p = EG(zend_constants)->arData + idx; in accel_use_shm_interned_strings()
1880 uint32_t old_const_num = zend_hash_next_free_element(EG(zend_constants)); in persistent_compile_file()
1917 uint32_t new_const_num = zend_hash_next_free_element(EG(zend_constants)); in persistent_compile_file()
1920 zend_hash_index_del(EG(zend_constants), new_const_num); in persistent_compile_file()
2411 ZEND_HASH_REVERSE_FOREACH(EG(zend_constants), 0) { in zend_accel_fast_shutdown()
2417 zend_accel_fast_del_bucket(EG(zend_constants), HT_IDX_TO_HASH(_idx-1), _p); in zend_accel_fast_shutdown()
2422 EG(zend_constants)->nNumUsed = EG(zend_constants)->nNumOfElements; in zend_accel_fast_shutdown()
2972 zend_hash_clean(EG(zend_constants));
H A Dzend_accelerator_util_funcs.c670 if (!zend_hash_exists(EG(zend_constants), name)) { in zend_accel_load_script()
/PHP-7.1/ext/readline/
H A Dreadline_cli.c550 …rator_define(text, textlen, &cli_completion_state, ce ? &ce->constants_table : EG(zend_constants)); in cli_completion_generator()
/PHP-7.1/win32/build/
H A Dconfig.w32220 zend_constants.c zend_exceptions.c \
/PHP-7.1/
H A D.gdbinit313 Example: print_const_table executor_globals.zend_constants
H A Dconfigure.in1500 zend_alloc.c zend_compile.c zend_constants.c zend_dtrace.c \
/PHP-7.1/ext/opcache/Optimizer/
H A Dblock_pass.c41 if ((c = zend_hash_find_ptr(EG(zend_constants), name)) == NULL) { in zend_optimizer_get_persistent_constant()
46 if ((c = zend_hash_str_find_ptr(EG(zend_constants), lookup_name, ZSTR_LEN(name))) != NULL) { in zend_optimizer_get_persistent_constant()
/PHP-7.1/ext/reflection/
H A Dphp_reflection.c1136 …zend_hash_apply_with_arguments(EG(zend_constants), (apply_func_args_t) _extension_const_string, 4,… in _extension_string()
5950 …zend_hash_apply_with_arguments(EG(zend_constants), (apply_func_args_t) _addconstant, 2, return_val… in ZEND_METHOD()

Completed in 99 milliseconds