Home
last modified time | relevance | path

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

/PHP-8.3/ext/opcache/
H A DZendAccelerator.c206 if (ZCG(cwd)) { in ZEND_FUNCTION()
211 if (ZCG(cwd)) { in ZEND_FUNCTION()
213 ZCG(cwd) = NULL; in ZEND_FUNCTION()
222 if (ZCG(cwd)) { in accel_getcwd()
223 return ZCG(cwd); in accel_getcwd()
233 return ZCG(cwd); in accel_getcwd()
1504 ZCG(mem) = (void*)(((uintptr_t)ZCG(mem) + 63L) & ~63L); in store_script_in_file_cache()
1508 ZCG(mem) = (void*)(((uintptr_t)ZCG(mem) + 7L) & ~7L); in store_script_in_file_cache()
2389 ZCG(mem) = (void*)(((uintptr_t)ZCG(mem) + 7L) & ~7L); in zend_accel_inheritance_cache_add()
2394 ZCG(mem) = (char*)ZCG(mem) + in zend_accel_inheritance_cache_add()
[all …]
H A Dzend_accelerator_module.c53 if (ZCG(accel_directives).restrict_api && *ZCG(accel_directives).restrict_api) { in validate_api_restriction()
146 ZCG(accelerator_enabled) = 0; in ZEND_INI_MH()
350 if (ZCG(accel_directives).validate_timestamps) {
419 if (ZCG(enabled) && accel_startup_ok && ZCG(accel_directives).file_override_enabled) {
453 if (ZCG(accelerator_enabled) || file_cache_only) {
458 if (ZCG(enabled) && accel_startup_ok && ZCG(accel_directives).optimization_level) {
468 if (ZCG(accel_directives).file_cache) {
493 if (ZCG(enabled)) {
613 if (ZCG(accel_directives).validate_timestamps) {
653 if (ZCG(accel_directives).file_cache) {
[all …]
H A Dzend_shared_alloc.c190 if (ZCG(accel_directives).memory_model && ZCG(accel_directives).memory_model[0]) { in zend_shared_alloc_startup()
293 ZCG(locked) = 0; in zend_shared_alloc_startup()
368 if (!ZCG(locked)) { in zend_shared_alloc()
423 retval = ZCG(mem); in _zend_shared_memdup()
424 ZCG(mem) = (void*)(((char*)ZCG(mem)) + ZEND_ALIGNED_SIZE(size)); in _zend_shared_memdup()
471 if (ZCG(locked)) { in zend_shared_alloc_safe_unlock()
478 ZEND_ASSERT(!ZCG(locked)); in zend_shared_alloc_lock()
512 ZCG(locked) = 1; in zend_shared_alloc_lock()
517 ZEND_ASSERT(ZCG(locked)); in zend_shared_alloc_unlock()
528 ZCG(locked) = 0; in zend_shared_alloc_unlock()
[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.c42 || (ZCG(current_persistent_script) && ZCG(current_persistent_script)->corrupted)) { \
142 HT_SET_DATA_ADDR(ht, ZCG(mem)); in zend_hash_persist()
159 void *data = ZCG(mem); in zend_hash_persist()
478ZCG(mem) = (void*)((char*)ZCG(mem) + ZEND_ALIGNED_SIZE(zend_extensions_op_array_persist(op_array, in zend_persist_op_array_ex()
676ZCG(mem) = (void*)((char*)ZCG(mem) + ZEND_ALIGNED_SIZE(zend_extensions_op_array_persist(op_array, in zend_persist_op_array_ex()
699 && (!ZCG(current_persistent_script) in zend_persist_op_array()
701 …zend_jit_op_array(op_array, ZCG(current_persistent_script) ? &ZCG(current_persistent_script)->scri… in zend_persist_op_array()
1331 script->mem = ZCG(mem); in zend_accel_script_persist()
1337 ZCG(current_persistent_script) = script; in zend_accel_script_persist()
1348 ZCG(mem) = (void*)(((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()
604 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.h294 # define ZCG(v) ZEND_TSRMG(accel_globals_id, zend_accel_globals *, v) macro
300 # define ZCG(v) (accel_globals.v)
335 if (ZCG(accel_directives).protect_memory) { \
342 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.c258 zend_string *s = (zend_string*)ZCG(mem);
265 ZCG(mem) = (void*)s;
959 len = strlen(ZCG(accel_directives).file_cache);
961 memcpy(filename, ZCG(accel_directives).file_cache, len);
967 len = strlen(ZCG(accel_directives).file_cache);
971 memcpy(filename, ZCG(accel_directives).file_cache, len);
1121 zend_string *const s = (zend_string*)ZCG(mem);
1827 if (ZCG(accel_directives).validate_timestamps &&
1862 if (ZCG(accel_directives).file_cache_consistency_checks &&
1916 ZCG(mem) = ((char*)mem + info.mem_size);
[all …]
H A Dzend_accelerator_util_funcs.c224 } else if (UNEXPECTED(!ZCG(accel_directives).ignore_dups)) { in _zend_accel_class_hash_copy()
/PHP-8.3/ext/opcache/jit/
H A Dzend_jit.c4244 …if (zend_jit_op_array_analyze2(op_array, script, &ssa, ZCG(accel_directives).optimization_level) !… in zend_real_jit_func()
4590 …if (zend_jit_op_array_analyze2(call_graph.op_arrays[i], script, &info->ssa, ZCG(accel_directives).… in zend_jit_script()

Completed in 52 milliseconds