Lines Matching refs:EG
101 zend_hash_apply_with_argument(EG(zend_constants), clean_module_constant, (void *) &module_number); in clean_module_constants()
107 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()
158 if (EG(full_tables_cleanup)) { in clean_non_persistent_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()
233 if (!EG(current_execute_data)) { in zend_get_special_constant()
246 c = zend_hash_find_ptr(EG(zend_constants), haltname); in zend_get_special_constant()
260 if ((c = zend_hash_str_find_ptr(EG(zend_constants), name, name_len)) == NULL) { in zend_get_constant_str()
263 if ((c = zend_hash_str_find_ptr(EG(zend_constants), lcname, name_len)) != NULL) { in zend_get_constant_str()
281 if ((c = zend_hash_find_ptr(EG(zend_constants), name)) == NULL) { in zend_get_constant()
284 if ((c = zend_hash_str_find_ptr(EG(zend_constants), lcname, ZSTR_LEN(name))) != NULL) { in zend_get_constant()
321 if (EG(current_execute_data)) { in zend_get_constant_ex()
322 scope = EG(scope); in zend_get_constant_ex()
345 ce = zend_get_called_scope(EG(current_execute_data)); in zend_get_constant_ex()
393 if ((c = zend_hash_str_find_ptr(EG(zend_constants), lcname, lcname_len)) == NULL) { in zend_get_constant_ex()
396 if ((c = zend_hash_str_find_ptr(EG(zend_constants), lcname, lcname_len)) != NULL) { in zend_get_constant_ex()
424 if ((c = zend_hash_find_ptr(EG(zend_constants), Z_STR_P(key))) == NULL) { in zend_quick_get_constant()
426 if ((c = zend_hash_find_ptr(EG(zend_constants), Z_STR_P(key))) == NULL || in zend_quick_get_constant()
430 if ((c = zend_hash_find_ptr(EG(zend_constants), Z_STR_P(key))) == NULL) { in zend_quick_get_constant()
432 if ((c = zend_hash_find_ptr(EG(zend_constants), Z_STR_P(key))) == NULL || in zend_quick_get_constant()
491 || zend_hash_add_constant(EG(zend_constants), name, c) == NULL) { in zend_register_constant()