Lines Matching refs:EG
95 zend_hash_apply_with_argument(EG(zend_constants), clean_module_constant, (void *) &module_number); in clean_module_constants()
101 EG(zend_constants) = (HashTable *) malloc(sizeof(HashTable)); in zend_startup_constants()
103 zend_hash_init(EG(zend_constants), 128, NULL, ZEND_CONSTANT_DTOR, 1); in zend_startup_constants()
144 zend_hash_destroy(EG(zend_constants)); in zend_shutdown_constants()
145 free(EG(zend_constants)); in zend_shutdown_constants()
212 if (!EG(current_execute_data)) { in zend_get_special_constant()
225 c = zend_hash_find_ptr(EG(zend_constants), haltname); in zend_get_special_constant()
251 if ((c = zend_hash_str_find_ptr(EG(zend_constants), name, name_len)) == NULL) { in zend_get_constant_str_impl()
254 if ((c = zend_hash_str_find_ptr(EG(zend_constants), lcname, name_len)) != NULL) { in zend_get_constant_str_impl()
279 zv = zend_hash_find(EG(zend_constants), name); in zend_get_constant_impl()
283 zv = zend_hash_str_find(EG(zend_constants), lcname, ZSTR_LEN(name)); in zend_get_constant_impl()
363 ce = zend_get_called_scope(EG(current_execute_data)); in zend_get_constant_ex()
432 if ((c = zend_hash_str_find_ptr(EG(zend_constants), lcname, lcname_len)) == NULL) { in zend_get_constant_ex()
435 if ((c = zend_hash_str_find_ptr(EG(zend_constants), lcname, lcname_len)) != NULL) { in zend_get_constant_ex()
517 || zend_hash_add_constant(EG(zend_constants), name, c) == NULL) { in zend_register_constant()