Home
last modified time | relevance | path

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

/PHP-5.5/Zend/
H A Dzend_constants.c88 EG(zend_constants) = (HashTable *) malloc(sizeof(HashTable)); in zend_startup_constants()
90 if (zend_hash_init(EG(zend_constants), 20, NULL, ZEND_CONSTANT_DTOR, 1)==FAILURE) { in zend_startup_constants()
163 zend_hash_destroy(EG(zend_constants)); in zend_shutdown_constants()
164 free(EG(zend_constants)); in zend_shutdown_constants()
172 zend_hash_apply(EG(zend_constants), (apply_func_t) clean_non_persistent_constant_full TSRMLS_CC); in clean_non_persistent_constants()
174 …zend_hash_reverse_apply(EG(zend_constants), (apply_func_t) clean_non_persistent_constant TSRMLS_CC… in clean_non_persistent_constants()
248 if (zend_hash_find(EG(zend_constants), const_name, const_name_len, (void**)c) == FAILURE) { in zend_get_special_constant()
257 …if (zend_hash_find(EG(zend_constants), "\0__CLASS__", sizeof("\0__CLASS__"), (void**)c) == FAILURE… in zend_get_special_constant()
277 ret = zend_hash_find(EG(zend_constants), haltname, len+1, (void **) c); in zend_get_special_constant()
292 if (zend_hash_find(EG(zend_constants), name, name_len+1, (void **) &c) == FAILURE) { in zend_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.c43 # define GLOBAL_CONSTANTS_TABLE EG(zend_constants)
563 zend_copy_constants(EG(zend_constants), GLOBAL_CONSTANTS_TABLE); in executor_globals_ctor()
588 if (executor_globals->zend_constants != GLOBAL_CONSTANTS_TABLE) { in executor_globals_dtor()
589 zend_hash_destroy(executor_globals->zend_constants); in executor_globals_dtor()
590 free(executor_globals->zend_constants); in executor_globals_dtor()
734 zend_hash_destroy(executor_globals->zend_constants); in zend_startup()
735 *executor_globals->zend_constants = *GLOBAL_CONSTANTS_TABLE; in zend_startup()
785 *GLOBAL_CONSTANTS_TABLE = *executor_globals->zend_constants; in zend_post_startup()
800 free(EG(zend_constants)); in zend_post_startup()
H A DMakefile.am11 zend_alloc.c zend_compile.c zend_constants.c zend_dynamic_array.c \
H A Dzend_globals.h192 HashTable *zend_constants; /* constants table */ member
H A DZend.dsp134 SOURCE=.\zend_constants.c
302 SOURCE=.\zend_constants.h
H A Dzend_builtin_functions.c1975 zend_hash_internal_pointer_reset_ex(EG(zend_constants), &pos); in ZEND_FUNCTION()
1976 while (zend_hash_get_current_data_ex(EG(zend_constants), (void **) &val, &pos) != FAILURE) { in ZEND_FUNCTION()
2006 zend_hash_move_forward_ex(EG(zend_constants), &pos); in ZEND_FUNCTION()
2011 …zend_hash_apply_with_argument(EG(zend_constants), (apply_func_arg_t) add_constant_info, return_val… in ZEND_FUNCTION()
H A DZendTS.dsp159 SOURCE=.\zend_constants.c
332 SOURCE=.\zend_constants.h
H A Dzend_compile.c5534 …if (zend_hash_find(EG(zend_constants), Z_STRVAL_P(const_name)+1, Z_STRLEN_P(const_name), (void **)… in zend_get_ct_const()
5537 …if (zend_hash_find(EG(zend_constants), lookup_name, Z_STRLEN_P(const_name), (void **) &c)==SUCCESS… in zend_get_ct_const()
5546 …} else if (zend_hash_find(EG(zend_constants), Z_STRVAL_P(const_name), Z_STRLEN_P(const_name)+1, (v… in zend_get_ct_const()
5549 …if (zend_hash_find(EG(zend_constants), lookup_name, Z_STRLEN_P(const_name)+1, (void **) &c)==SUCCE… in zend_get_ct_const()
/PHP-5.5/ext/opcache/
H A DZendAccelerator.c448 p = EG(zend_constants)->pListHead; in accel_use_shm_interned_strings()
2319 old_destructor = EG(zend_constants)->pDestructor;
2320 EG(zend_constants)->pDestructor = NULL;
2321 …zend_hash_reverse_apply(EG(zend_constants), (apply_func_t) accel_clean_non_persistent_constant TSR…
2322 EG(zend_constants)->pDestructor = old_destructor;
2693 zend_hash_clean(EG(zend_constants));
H A Dzend_accelerator_util_funcs.c963 if (!zend_hash_exists(EG(zend_constants), name, len + 1)) {
/PHP-5.5/ext/readline/
H A Dreadline_cli.c552 …xt, textlen, &cli_completion_state, pce ? &(*pce)->constants_table : EG(zend_constants) TSRMLS_CC); in cli_completion_generator()
/PHP-5.5/win32/build/
H A Dconfig.w32356 zend_constants.c zend_dynamic_array.c zend_exceptions.c \
/PHP-5.5/ext/opcache/Optimizer/
H A Dblock_pass.c11 if (zend_hash_find(EG(zend_constants), name, name_len + 1, (void **) &c) == FAILURE) { in zend_get_persistent_constant()
16 if (zend_hash_find(EG(zend_constants), lookup_name, name_len + 1, (void **) &c) == SUCCESS) { in zend_get_persistent_constant()
/PHP-5.5/ext/session/
H A Dsession.c1467 zend_hash_del(EG(zend_constants), "sid", sizeof("sid"));
/PHP-5.5/
H A Dconfigure.in1482 zend_alloc.c zend_compile.c zend_constants.c zend_dynamic_array.c zend_dtrace.c \
/PHP-5.5/ext/reflection/
H A Dphp_reflection.c1102 …zend_hash_apply_with_arguments(EG(zend_constants) TSRMLS_CC, (apply_func_args_t) _extension_const_… in _extension_string()
5320 …zend_hash_apply_with_arguments(EG(zend_constants) TSRMLS_CC, (apply_func_args_t) _addconstant, 2, … in ZEND_METHOD()

Completed in 139 milliseconds