Home
last modified time | relevance | path

Searched refs:ZCG (Results 1 – 12 of 12) sorted by relevance

/PHP-8.2/ext/opcache/
H A DZendAccelerator.c219 if (ZCG(cwd)) { in ZEND_FUNCTION()
224 if (ZCG(cwd)) { in ZEND_FUNCTION()
226 ZCG(cwd) = NULL; in ZEND_FUNCTION()
235 if (ZCG(cwd)) { in accel_getcwd()
236 return ZCG(cwd); in accel_getcwd()
246 return ZCG(cwd); in accel_getcwd()
1512 ZCG(mem) = (void*)(((zend_uintptr_t)ZCG(mem) + 63L) & ~63L); in store_script_in_file_cache()
1516 ZCG(mem) = (void*)(((zend_uintptr_t)ZCG(mem) + 7L) & ~7L); in store_script_in_file_cache()
2415 ZCG(mem) = (void*)(((zend_uintptr_t)ZCG(mem) + 7L) & ~7L); in zend_accel_inheritance_cache_add()
2420 ZCG(mem) = (char*)ZCG(mem) + in zend_accel_inheritance_cache_add()
[all …]
H A Dzend_accelerator_module.c52 if (ZCG(accel_directives).restrict_api && *ZCG(accel_directives).restrict_api) { in validate_api_restriction()
158 ZCG(accelerator_enabled) = 0; in ZEND_INI_MH()
349 if (ZCG(accel_directives).validate_timestamps) {
418 if (ZCG(enabled) && accel_startup_ok && ZCG(accel_directives).file_override_enabled) {
452 if (ZCG(accelerator_enabled) || file_cache_only) {
457 if (ZCG(enabled) && accel_startup_ok && ZCG(accel_directives).optimization_level) {
467 if (ZCG(accel_directives).file_cache) {
492 if (ZCG(enabled)) {
589 if (ZCG(accel_directives).validate_timestamps) {
627 if (ZCG(accel_directives).file_cache) {
[all …]
H A Dzend_shared_alloc.c171 if (ZCG(accel_directives).memory_model && ZCG(accel_directives).memory_model[0]) { in zend_shared_alloc_startup()
274 ZCG(locked) = 0; in zend_shared_alloc_startup()
349 if (!ZCG(locked)) { in zend_shared_alloc()
403 retval = ZCG(mem); in _zend_shared_memdup()
404 ZCG(mem) = (void*)(((char*)ZCG(mem)) + ZEND_ALIGNED_SIZE(size)); in _zend_shared_memdup()
451 if (ZCG(locked)) { in zend_shared_alloc_safe_unlock()
490 ZCG(locked) = 1; in zend_shared_alloc_lock()
504 ZCG(locked) = 0; in zend_shared_alloc_unlock()
527 zend_hash_destroy(&ZCG(xlat_table)); in zend_shared_alloc_destroy_xlat_table()
532 zend_hash_clean(&ZCG(xlat_table)); in zend_shared_alloc_clear_xlat_table()
[all …]
H A Dzend_accelerator_debug.c37 if (type <= ZCG(accel_directives).log_verbosity_level) { in zend_accel_error_va_args()
43 if (!ZCG(accel_directives).error_log || in zend_accel_error_va_args()
44 !*ZCG(accel_directives).error_log || in zend_accel_error_va_args()
45 strcmp(ZCG(accel_directives).error_log, "stderr") == 0) { in zend_accel_error_va_args()
49 fLog = fopen(ZCG(accel_directives).error_log, "a"); in zend_accel_error_va_args()
H A Dzend_persist.c41 || (ZCG(current_persistent_script) && ZCG(current_persistent_script)->corrupted)) { \
139 HT_SET_DATA_ADDR(ht, ZCG(mem)); in zend_hash_persist()
156 void *data = ZCG(mem); in zend_hash_persist()
475ZCG(mem) = (void*)((char*)ZCG(mem) + ZEND_ALIGNED_SIZE(zend_extensions_op_array_persist(op_array, in zend_persist_op_array_ex()
672ZCG(mem) = (void*)((char*)ZCG(mem) + ZEND_ALIGNED_SIZE(zend_extensions_op_array_persist(op_array, in zend_persist_op_array_ex()
695 && (!ZCG(current_persistent_script) in zend_persist_op_array()
697 …zend_jit_op_array(op_array, ZCG(current_persistent_script) ? &ZCG(current_persistent_script)->scri… in zend_persist_op_array()
1317 script->mem = ZCG(mem); in zend_accel_script_persist()
1323 ZCG(current_persistent_script) = script; in zend_accel_script_persist()
1334 ZCG(mem) = (void*)(((zend_uintptr_t)ZCG(mem) + 63L) & ~63L); in zend_accel_script_persist()
[all …]
H A Dzend_persist_calc.c37 if (ZCG(current_persistent_script)->corrupted) { \
112 if (!ZCG(current_persistent_script)->corrupted in zend_persist_zval_calc()
141 if (ZCG(current_persistent_script)->corrupted in zend_persist_zval_calc()
159 && (ZCG(current_persistent_script)->corrupted in zend_persist_attributes_calc()
286 if (ZCG(accel_directives).save_comments && op_array->doc_comment) { in zend_persist_op_array_calc_ex()
350 && !ZCG(current_persistent_script)->corrupted in zend_persist_class_method_calc()
377 if (ZCG(accel_directives).save_comments && prop->doc_comment) { in zend_persist_property_info_calc()
395 if (!ZCG(current_persistent_script)->corrupted in zend_persist_class_constant_calc()
402 if (ZCG(accel_directives).save_comments && c->doc_comment) { in zend_persist_class_constant_calc()
603 ZCG(current_persistent_script) = new_persistent_script; in zend_accel_script_persist_calc()
[all …]
H A Dshared_alloc_win32.c142 if (ZCG(accel_directives).file_cache && ZCG(accel_directives).file_cache_fallback) { in zend_shared_alloc_reattach()
284 if (!ZCG(accel_directives).mmap_base || !*ZCG(accel_directives).mmap_base) { in create_segments()
287 char *s = ZCG(accel_directives).mmap_base; in create_segments()
H A DZendAccelerator.h298 # define ZCG(v) ZEND_TSRMG(accel_globals_id, zend_accel_globals *, v) macro
304 # define ZCG(v) (accel_globals.v)
339 if (ZCG(accel_directives).protect_memory) { \
346 if (ZCG(accel_directives).protect_memory) { \
H A Dzend_accelerator_hash.c90 hash_value ^= ZCG(root_hash); in zend_accel_hash_update()
149 hash_value ^= ZCG(root_hash); in zend_accel_hash_find_ex()
200 hash_value ^= ZCG(root_hash); in zend_accel_hash_unlink()
H A Dzend_file_cache.c257 zend_string *s = (zend_string*)ZCG(mem);
264 ZCG(mem) = (void*)s;
957 len = strlen(ZCG(accel_directives).file_cache);
959 memcpy(filename, ZCG(accel_directives).file_cache, len);
965 len = strlen(ZCG(accel_directives).file_cache);
969 memcpy(filename, ZCG(accel_directives).file_cache, len);
1119 zend_string *const s = (zend_string*)ZCG(mem);
1819 if (ZCG(accel_directives).validate_timestamps &&
1854 if (ZCG(accel_directives).file_cache_consistency_checks &&
1908 ZCG(mem) = ((char*)mem + info.mem_size);
[all …]
H A Dzend_accelerator_util_funcs.c219 } else if (UNEXPECTED(!ZCG(accel_directives).ignore_dups)) { in _zend_accel_class_hash_copy()
/PHP-8.2/ext/opcache/jit/
H A Dzend_jit.c4221 …if (zend_jit_op_array_analyze2(op_array, script, &ssa, ZCG(accel_directives).optimization_level) !… in zend_real_jit_func()
4567 …if (zend_jit_op_array_analyze2(call_graph.op_arrays[i], script, &info->ssa, ZCG(accel_directives).… in zend_jit_script()

Completed in 86 milliseconds