Searched refs:ZCG (Results 1 – 12 of 12) sorted by relevance
/PHP-8.1/ext/opcache/ |
H A D | ZendAccelerator.c | 183 if (ZCG(cwd)) { in ZEND_FUNCTION() 188 if (ZCG(cwd)) { in ZEND_FUNCTION() 199 if (ZCG(cwd)) { in accel_getcwd() 200 return ZCG(cwd); in accel_getcwd() 210 return ZCG(cwd); in accel_getcwd() 1446 ZCG(mem) = (void*)(((zend_uintptr_t)ZCG(mem) + 63L) & ~63L); in store_script_in_file_cache() 1450 ZCG(mem) = (void*)(((zend_uintptr_t)ZCG(mem) + 7L) & ~7L); in store_script_in_file_cache() 1563 if (ZCG(mem)) { in cache_script_in_shared_memory() 1564 ZCG(mem) = (void*)(((zend_uintptr_t)ZCG(mem) + 63L) & ~63L); in cache_script_in_shared_memory() 2416 ZCG(mem) = (void*)(((zend_uintptr_t)ZCG(mem) + 7L) & ~7L); in zend_accel_inheritance_cache_add() [all …]
|
H A D | zend_accelerator_module.c | 51 if (ZCG(accel_directives).restrict_api && *ZCG(accel_directives).restrict_api) { in validate_api_restriction() 138 ZCG(accelerator_enabled) = 0; in ZEND_INI_MH() 329 if (ZCG(accel_directives).validate_timestamps) { 398 if (ZCG(enabled) && accel_startup_ok && ZCG(accel_directives).file_override_enabled) { 432 if (ZCG(accelerator_enabled) || file_cache_only) { 437 if (ZCG(enabled) && accel_startup_ok && ZCG(accel_directives).optimization_level) { 447 if (ZCG(accel_directives).file_cache) { 472 if (ZCG(enabled)) { 569 if (ZCG(accel_directives).validate_timestamps) { 607 if (ZCG(accel_directives).file_cache) { [all …]
|
H A D | zend_shared_alloc.c | 170 if (ZCG(accel_directives).memory_model && ZCG(accel_directives).memory_model[0]) { in zend_shared_alloc_startup() 273 ZCG(locked) = 0; in zend_shared_alloc_startup() 344 if (!ZCG(locked)) { in zend_shared_alloc() 393 retval = ZCG(mem); in _zend_shared_memdup() 394 ZCG(mem) = (void*)(((char*)ZCG(mem)) + ZEND_ALIGNED_SIZE(size)); in _zend_shared_memdup() 441 if (ZCG(locked)) { in zend_shared_alloc_safe_unlock() 480 ZCG(locked) = 1; in zend_shared_alloc_lock() 494 ZCG(locked) = 0; in zend_shared_alloc_unlock() 517 zend_hash_destroy(&ZCG(xlat_table)); in zend_shared_alloc_destroy_xlat_table() 522 zend_hash_clean(&ZCG(xlat_table)); in zend_shared_alloc_clear_xlat_table() [all …]
|
H A D | zend_accelerator_debug.c | 37 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 D | zend_persist.c | 138 HT_SET_DATA_ADDR(ht, ZCG(mem)); in zend_hash_persist() 155 void *data = ZCG(mem); in zend_hash_persist() 479 …ZCG(mem) = (void*)((char*)ZCG(mem) + ZEND_ALIGNED_SIZE(zend_extensions_op_array_persist(op_array, … in zend_persist_op_array_ex() 644 if (ZCG(accel_directives).save_comments) { in zend_persist_op_array_ex() 679 …ZCG(mem) = (void*)((char*)ZCG(mem) + ZEND_ALIGNED_SIZE(zend_extensions_op_array_persist(op_array, … in zend_persist_op_array_ex() 701 …zend_jit_op_array(op_array, ZCG(current_persistent_script) ? &ZCG(current_persistent_script)->scri… in zend_persist_op_array() 1236 …zend_jit_op_array(op_array, ZCG(current_persistent_script) ? &ZCG(current_persistent_script)->scri… in zend_accel_persist_class_table() 1286 script->mem = ZCG(mem); in zend_accel_script_persist() 1292 ZCG(current_persistent_script) = script; in zend_accel_script_persist() 1303 ZCG(mem) = (void*)(((zend_uintptr_t)ZCG(mem) + 63L) & ~63L); in zend_accel_script_persist() [all …]
|
H A D | zend_persist_calc.c | 36 if (ZCG(current_persistent_script)->corrupted) { \ 109 if (!ZCG(current_persistent_script)->corrupted in zend_persist_zval_calc() 128 if (ZCG(current_persistent_script)->corrupted in zend_persist_zval_calc() 146 && (ZCG(current_persistent_script)->corrupted in zend_persist_attributes_calc() 269 if (ZCG(accel_directives).save_comments && op_array->doc_comment) { in zend_persist_op_array_calc_ex() 333 && !ZCG(current_persistent_script)->corrupted in zend_persist_class_method_calc() 360 if (ZCG(accel_directives).save_comments && prop->doc_comment) { in zend_persist_property_info_calc() 373 if (!ZCG(current_persistent_script)->corrupted in zend_persist_class_constant_calc() 380 if (ZCG(accel_directives).save_comments && c->doc_comment) { in zend_persist_class_constant_calc() 578 ZCG(current_persistent_script) = new_persistent_script; in zend_accel_script_persist_calc() [all …]
|
H A D | ZendAccelerator.h | 293 # define ZCG(v) ZEND_TSRMG(accel_globals_id, zend_accel_globals *, v) macro 299 # define ZCG(v) (accel_globals.v) 330 if (ZCG(accel_directives).protect_memory) { \ 337 if (ZCG(accel_directives).protect_memory) { \
|
H A D | shared_alloc_win32.c | 142 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 D | zend_accelerator_hash.c | 90 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 D | zend_file_cache.c | 258 ZCG(mem) = (void*)zend_string_realloc( 259 (zend_string*)ZCG(mem), 926 len = strlen(ZCG(accel_directives).file_cache); 928 memcpy(filename, ZCG(accel_directives).file_cache, len); 934 len = strlen(ZCG(accel_directives).file_cache); 1051 vec[2].iov_base = ZSTR_VAL((zend_string*)ZCG(mem)); 1056 zend_string_release_ex((zend_string*)ZCG(mem), 0); 1070 zend_string_release_ex((zend_string*)ZCG(mem), 0); 1079 zend_string_release_ex((zend_string*)ZCG(mem), 0); 1745 if (ZCG(accel_directives).validate_timestamps && [all …]
|
H A D | zend_accelerator_util_funcs.c | 191 } else if (UNEXPECTED(!ZCG(accel_directives).ignore_dups)) { in zend_accel_class_hash_copy()
|
/PHP-8.1/ext/opcache/jit/ |
H A D | zend_jit.c | 4243 …if (zend_jit_op_array_analyze2(op_array, script, &ssa, ZCG(accel_directives).optimization_level) !… in zend_real_jit_func() 4591 …if (zend_jit_op_array_analyze2(call_graph.op_arrays[i], script, &info->ssa, ZCG(accel_directives).… in zend_jit_script()
|
Completed in 58 milliseconds