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*)(((char*)(ptr)) + ((char*)ZCG(arena_mem) - (char*)ZCG(current_persistent_script)->arena_mem…
149 …zend_hash_apply_with_argument(CG(function_table), (apply_func_arg_t)copy_internal_function, &ZCG(f… in zend_accel_copy_internal_functions()
150 ZCG(internal_functions_count) = zend_hash_num_elements(&ZCG(function_table)); in zend_accel_copy_internal_functions()
216 if ((void*)c->ce >= ZCG(current_persistent_script)->arena_mem && in zend_hash_clone_constants()
217 …(void*)c->ce < (void*)((char*)ZCG(current_persistent_script)->arena_mem + ZCG(current_persistent_s… in zend_hash_clone_constants()
268 if ((void*)new_entry->scope >= ZCG(current_persistent_script)->arena_mem && in zend_hash_clone_methods()
269 …(void*)new_entry->scope < (void*)((char*)ZCG(current_persistent_script)->arena_mem + ZCG(current_p… in zend_hash_clone_methods()
326 if ((void*)prop_info->ce >= ZCG(current_persistent_script)->arena_mem && in zend_hash_clone_prop_info()
327 …(void*)prop_info->ce < (void*)((char*)ZCG(current_persistent_script)->arena_mem + ZCG(current_pers… in zend_hash_clone_prop_info()
577 } else if (UNEXPECTED(!ZCG(accel_directives).ignore_dups)) { in zend_accel_class_hash_copy()
637 zend_hash_init(&ZCG(bind_hash), 10, NULL, NULL, 0); in zend_accel_load_script()
639 ZCG(current_persistent_script) = persistent_script; in zend_accel_load_script()
640 ZCG(arena_mem) = NULL; in zend_accel_load_script()
644 ZCG(arena_mem) = zend_arena_alloc(&CG(arena), persistent_script->arena_size + 64); in zend_accel_load_script()
645 ZCG(arena_mem) = (void*)(((zend_uintptr_t)ZCG(arena_mem) + 63L) & ~63L); in zend_accel_load_script()
646 fast_memcpy(ZCG(arena_mem), persistent_script->arena_mem, persistent_script->arena_size); in zend_accel_load_script()
648 ZCG(arena_mem) = zend_arena_alloc(&CG(arena), persistent_script->arena_size); in zend_accel_load_script()
649 memcpy(ZCG(arena_mem), persistent_script->arena_mem, persistent_script->arena_size); in zend_accel_load_script()
676 zend_hash_destroy(&ZCG(bind_hash)); in zend_accel_load_script()
677 ZCG(current_persistent_script) = NULL; in zend_accel_load_script()