Lines Matching refs:ZCG

98 		if (EXPECTED(!ZCG(current_persistent_script)->corrupted)) {  in zend_hash_persist()
108 if (EXPECTED(!ZCG(current_persistent_script)->corrupted)) { in zend_hash_persist()
131 ZEND_ASSERT(((zend_uintptr_t)ZCG(mem) & 0x7) == 0); /* should be 8 byte aligned */ in zend_hash_persist()
132 HT_SET_DATA_ADDR(ht, ZCG(mem)); in zend_hash_persist()
133ZCG(mem) = (void*)((char*)ZCG(mem) + ZEND_ALIGNED_SIZE((hash_size * sizeof(uint32_t)) + (ht->nNumU… in zend_hash_persist()
147 void *data = ZCG(mem); in zend_hash_persist()
150 ZEND_ASSERT(((zend_uintptr_t)ZCG(mem) & 0x7) == 0); /* should be 8 byte aligned */ in zend_hash_persist()
151 ZCG(mem) = (void*)((char*)data + ZEND_ALIGNED_SIZE(HT_USED_SIZE(ht))); in zend_hash_persist()
292 if (!ZCG(is_immutable_class)) { in zend_persist_type()
396 if (ZCG(accel_directives).save_comments) { in zend_persist_op_array_ex()
415ZCG(mem) = (void*)((char*)ZCG(mem) + ZEND_ALIGNED_SIZE(zend_extensions_op_array_persist(op_array, in zend_persist_op_array_ex()
418 !ZCG(current_persistent_script)->corrupted) { in zend_persist_op_array_ex()
591 if (ZCG(accel_directives).save_comments) { in zend_persist_op_array_ex()
615ZCG(mem) = (void*)((char*)ZCG(mem) + ZEND_ALIGNED_SIZE(zend_extensions_op_array_persist(op_array, in zend_persist_op_array_ex()
619 !ZCG(current_persistent_script)->corrupted) { in zend_persist_op_array_ex()
620 …zend_jit_op_array(op_array, ZCG(current_persistent_script) ? &ZCG(current_persistent_script)->scri… in zend_persist_op_array_ex()
632 if (!ZCG(current_persistent_script)->corrupted) { in zend_persist_op_array()
639 ZEND_MAP_PTR_INIT(op_array->run_time_cache, ZCG(arena_mem)); in zend_persist_op_array()
640 ZCG(arena_mem) = (void*)(((char*)ZCG(arena_mem)) + ZEND_ALIGNED_SIZE(sizeof(void*))); in zend_persist_op_array()
657 if (ZCG(is_immutable_class)) { in zend_persist_class_method()
695 if (ZCG(is_immutable_class)) { in zend_persist_class_method()
701 if (ZCG(is_immutable_class)) { in zend_persist_class_method()
708 ZEND_MAP_PTR_INIT(op_array->run_time_cache, ZCG(arena_mem)); in zend_persist_class_method()
709 ZCG(arena_mem) = (void*)(((char*)ZCG(arena_mem)) + ZEND_ALIGNED_SIZE(sizeof(void*))); in zend_persist_class_method()
717 if (ZCG(is_immutable_class)) { in zend_persist_property_info()
728 if (ZCG(accel_directives).save_comments) { in zend_persist_property_info()
754 if (ZCG(is_immutable_class)) { in zend_persist_class_constant()
765 if (ZCG(accel_directives).save_comments) { in zend_persist_class_constant()
801 && !ZCG(current_persistent_script)->corrupted) { in zend_persist_class_entry()
802 ZCG(is_immutable_class) = 1; in zend_persist_class_entry()
806 ZCG(is_immutable_class) = 0; in zend_persist_class_entry()
859 if (ZCG(accel_directives).save_comments) { in zend_persist_class_entry()
897 if (ZCG(is_immutable_class)) { in zend_persist_class_entry()
1174 script->mem = ZCG(mem); in zend_accel_script_persist()
1176 ZEND_ASSERT(((zend_uintptr_t)ZCG(mem) & 0x7) == 0); /* should be 8 byte aligned */ in zend_accel_script_persist()
1184 ZCG(current_persistent_script) = script; in zend_accel_script_persist()
1195 ZCG(mem) = (void*)(((zend_uintptr_t)ZCG(mem) + 63L) & ~63L); in zend_accel_script_persist()
1197 ZEND_ASSERT(((zend_uintptr_t)ZCG(mem) & 0x7) == 0); /* should be 8 byte aligned */ in zend_accel_script_persist()
1200 script->arena_mem = ZCG(arena_mem) = ZCG(mem); in zend_accel_script_persist()
1201 ZCG(mem) = (void*)((char*)ZCG(mem) + script->arena_size); in zend_accel_script_persist()
1235 ZCG(current_persistent_script) = NULL; in zend_accel_script_persist()