Lines Matching refs:ZCG
92 if (EXPECTED(!ZCG(current_persistent_script)->corrupted)) { in zend_hash_persist()
102 if (EXPECTED(!ZCG(current_persistent_script)->corrupted)) { in zend_hash_persist()
125 ZEND_ASSERT(((zend_uintptr_t)ZCG(mem) & 0x7) == 0); /* should be 8 byte aligned */ in zend_hash_persist()
126 HT_SET_DATA_ADDR(ht, ZCG(mem)); in zend_hash_persist()
127 …ZCG(mem) = (void*)((char*)ZCG(mem) + ZEND_ALIGNED_SIZE((hash_size * sizeof(uint32_t)) + (ht->nNumU… in zend_hash_persist()
141 void *data = ZCG(mem); in zend_hash_persist()
144 ZEND_ASSERT(((zend_uintptr_t)ZCG(mem) & 0x7) == 0); /* should be 8 byte aligned */ in zend_hash_persist()
145 ZCG(mem) = (void*)((char*)data + ZEND_ALIGNED_SIZE(HT_USED_SIZE(ht))); in zend_hash_persist()
332 if (ZCG(accel_directives).save_comments) { in zend_persist_op_array_ex()
347 …ZCG(mem) = (void*)((char*)ZCG(mem) + ZEND_ALIGNED_SIZE(zend_extensions_op_array_persist(op_array, … in zend_persist_op_array_ex()
517 if (ZCG(accel_directives).save_comments) { in zend_persist_op_array_ex()
537 …ZCG(mem) = (void*)((char*)ZCG(mem) + ZEND_ALIGNED_SIZE(zend_extensions_op_array_persist(op_array, … in zend_persist_op_array_ex()
547 if (!ZCG(current_persistent_script)->corrupted) { in zend_persist_op_array()
554 ZEND_MAP_PTR_INIT(op_array->run_time_cache, ZCG(arena_mem)); in zend_persist_op_array()
555 ZCG(arena_mem) = (void*)(((char*)ZCG(arena_mem)) + ZEND_ALIGNED_SIZE(sizeof(void*))); in zend_persist_op_array()
572 if (ZCG(is_immutable_class)) { in zend_persist_class_method()
602 if (ZCG(is_immutable_class)) { in zend_persist_class_method()
608 if (ZCG(is_immutable_class)) { in zend_persist_class_method()
615 ZEND_MAP_PTR_INIT(op_array->run_time_cache, ZCG(arena_mem)); in zend_persist_class_method()
616 ZCG(arena_mem) = (void*)(((char*)ZCG(arena_mem)) + ZEND_ALIGNED_SIZE(sizeof(void*))); in zend_persist_class_method()
630 if (ZCG(is_immutable_class)) { in zend_persist_property_info()
641 if (ZCG(accel_directives).save_comments) { in zend_persist_property_info()
668 if (ZCG(is_immutable_class)) { in zend_persist_class_constant()
679 if (ZCG(accel_directives).save_comments) { in zend_persist_class_constant()
712 && !ZCG(current_persistent_script)->corrupted) { in zend_persist_class_entry()
713 ZCG(is_immutable_class) = 1; in zend_persist_class_entry()
717 ZCG(is_immutable_class) = 0; in zend_persist_class_entry()
771 if (ZCG(accel_directives).save_comments) { in zend_persist_class_entry()
794 if (ZCG(is_immutable_class)) { in zend_persist_class_entry()
1052 script->mem = ZCG(mem); in zend_accel_script_persist()
1054 ZEND_ASSERT(((zend_uintptr_t)ZCG(mem) & 0x7) == 0); /* should be 8 byte aligned */ in zend_accel_script_persist()
1062 ZCG(current_persistent_script) = script; in zend_accel_script_persist()
1073 ZCG(mem) = (void*)(((zend_uintptr_t)ZCG(mem) + 63L) & ~63L); in zend_accel_script_persist()
1075 ZEND_ASSERT(((zend_uintptr_t)ZCG(mem) & 0x7) == 0); /* should be 8 byte aligned */ in zend_accel_script_persist()
1078 script->arena_mem = ZCG(arena_mem) = ZCG(mem); in zend_accel_script_persist()
1079 ZCG(mem) = (void*)((char*)ZCG(mem) + script->arena_size); in zend_accel_script_persist()
1097 ZCG(current_persistent_script) = NULL; in zend_accel_script_persist()