Lines Matching refs:ZCG
30 # define accel_xlat_set(old, new) zend_hash_index_add_new_ptr(&ZCG(bind_hash), (zend_ulong)(zend_ui…
31 # define accel_xlat_get(old) zend_hash_index_find_ptr(&ZCG(bind_hash), (zend_ulong)(zend_uintptr_t…
33 # define accel_xlat_set(old, new) zend_hash_str_add_new_ptr(&ZCG(bind_hash), (char*)&(old), sizeof(…
34 # define accel_xlat_get(old) zend_hash_str_find_ptr(&ZCG(bind_hash), (char*)&(old), sizeof(void…
38 ((void*)(ptr) >= ZCG(current_persistent_script)->arena_mem && \
39 …(void*)(ptr) < (void*)((char*)ZCG(current_persistent_script)->arena_mem + ZCG(current_persistent_s…
42 …(void*)(((char*)(ptr)) + ((char*)ZCG(arena_mem) - (char*)ZCG(current_persistent_script)->arena_mem…
522 } else if (UNEXPECTED(!ZCG(accel_directives).ignore_dups)) { in zend_accel_class_hash_copy()
559 } else if (UNEXPECTED(!ZCG(accel_directives).ignore_dups)) { in zend_accel_class_hash_copy_from_shm()
742 zend_hash_init(&ZCG(bind_hash), 10, NULL, NULL, 0); in zend_accel_load_script()
744 ZCG(current_persistent_script) = persistent_script; in zend_accel_load_script()
745 ZCG(arena_mem) = NULL; in zend_accel_load_script()
750 ZCG(arena_mem) = zend_arena_alloc(&CG(arena), persistent_script->arena_size + 64); in zend_accel_load_script()
751 ZCG(arena_mem) = (void*)(((zend_uintptr_t)ZCG(arena_mem) + 63L) & ~63L); in zend_accel_load_script()
752 fast_memcpy(ZCG(arena_mem), persistent_script->arena_mem, persistent_script->arena_size); in zend_accel_load_script()
754 ZCG(arena_mem) = zend_arena_alloc(&CG(arena), persistent_script->arena_size); in zend_accel_load_script()
755 memcpy(ZCG(arena_mem), persistent_script->arena_mem, persistent_script->arena_size); in zend_accel_load_script()
782 zend_hash_destroy(&ZCG(bind_hash)); in zend_accel_load_script()
783 ZCG(current_persistent_script) = NULL; in zend_accel_load_script()