Lines Matching refs:zend_constants
82 …zend_hash_apply_with_argument(EG(zend_constants), (apply_func_arg_t) clean_module_constant, (void … in clean_module_constants()
88 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()
249 …zend_hash_add(EG(zend_constants), const_name, const_name_len, (void*)&tmp, sizeof(zend_constant), … 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()
258 …zend_hash_add(EG(zend_constants), "\0__CLASS__", sizeof("\0__CLASS__"), (void*)&tmp, sizeof(zend_c… 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()
295 if (zend_hash_find(EG(zend_constants), lookup_name, name_len+1, (void **) &c)==SUCCESS) { in zend_get_constant()
410 …if (zend_hash_find(EG(zend_constants), lcname, prefix_len + 1 + const_name_len + 1, (void **) &c) … in zend_get_constant_ex()
415 …if (zend_hash_find(EG(zend_constants), lcname, prefix_len + 1 + const_name_len + 1, (void **) &c) … in zend_get_constant_ex()
455 …if (zend_hash_quick_find(EG(zend_constants), Z_STRVAL(key->constant), Z_STRLEN(key->constant) + 1,… in zend_quick_get_constant()
457 …if (zend_hash_quick_find(EG(zend_constants), Z_STRVAL(key->constant), Z_STRLEN(key->constant) + 1,… in zend_quick_get_constant()
461 …if (zend_hash_quick_find(EG(zend_constants), Z_STRVAL(key->constant), Z_STRLEN(key->constant) + 1,… in zend_quick_get_constant()
463 …if (zend_hash_quick_find(EG(zend_constants), Z_STRVAL(key->constant), Z_STRLEN(key->constant) + 1,… in zend_quick_get_constant()
521 …|| zend_hash_quick_add(EG(zend_constants), name, c->name_len, chash, (void *) c, sizeof(zend_const… in zend_register_constant()