Lines Matching refs:EG
87 zend_hash_apply_with_argument(EG(zend_constants), clean_module_constant, (void *) &module_number); in clean_module_constants()
93 EG(zend_constants) = (HashTable *) malloc(sizeof(HashTable)); in zend_startup_constants()
95 zend_hash_init(EG(zend_constants), 128, NULL, ZEND_CONSTANT_DTOR, 1); in zend_startup_constants()
136 zend_hash_destroy(EG(zend_constants)); in zend_shutdown_constants()
137 free(EG(zend_constants)); in zend_shutdown_constants()
209 if (!EG(current_execute_data)) { in zend_get_special_constant()
222 c = zend_hash_find_ptr(EG(zend_constants), haltname); in zend_get_special_constant()
248 if ((c = zend_hash_str_find_ptr(EG(zend_constants), name, name_len)) == NULL) { in zend_get_constant_str()
251 if ((c = zend_hash_str_find_ptr(EG(zend_constants), lcname, name_len)) != NULL) { in zend_get_constant_str()
269 if ((c = zend_hash_find_ptr(EG(zend_constants), name)) == NULL) { in zend_get_constant()
272 if ((c = zend_hash_str_find_ptr(EG(zend_constants), lcname, ZSTR_LEN(name))) != NULL) { in zend_get_constant()
326 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()
495 || zend_hash_add_constant(EG(zend_constants), name, c) == NULL) { in zend_register_constant()