Home
last modified time | relevance | path

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

/php-src/ext/opcache/
H A DZendAccelerator.c210 if (ZCG(cwd)) { in ZEND_FUNCTION()
215 if (ZCG(cwd)) { in ZEND_FUNCTION()
217 ZCG(cwd) = NULL; in ZEND_FUNCTION()
226 if (ZCG(cwd)) { in accel_getcwd()
227 return ZCG(cwd); in accel_getcwd()
237 return ZCG(cwd); in accel_getcwd()
1508 ZCG(mem) = (void*)(((uintptr_t)ZCG(mem) + 63L) & ~63L); in store_script_in_file_cache()
1512 ZCG(mem) = (void*)(((uintptr_t)ZCG(mem) + 7L) & ~7L); in store_script_in_file_cache()
2400 ZCG(mem) = (void*)(((uintptr_t)ZCG(mem) + 7L) & ~7L); in zend_accel_inheritance_cache_add()
2405 ZCG(mem) = (char*)ZCG(mem) + in zend_accel_inheritance_cache_add()
[all …]
H A Dzend_accelerator_module.c64 if (ZCG(accel_directives).restrict_api && *ZCG(accel_directives).restrict_api) { in validate_api_restriction()
157 ZCG(accelerator_enabled) = 0; in ZEND_INI_MH()
361 if (ZCG(accel_directives).validate_timestamps) {
430 if (ZCG(enabled) && accel_startup_ok && ZCG(accel_directives).file_override_enabled) {
464 if (ZCG(accelerator_enabled) || file_cache_only) {
469 if (ZCG(enabled) && accel_startup_ok && ZCG(accel_directives).optimization_level) {
479 if (ZCG(accel_directives).file_cache) {
504 if (ZCG(enabled)) {
624 if (ZCG(accel_directives).validate_timestamps) {
664 if (ZCG(accel_directives).file_cache) {
[all …]
H A Dzend_shared_alloc.c199 if (ZCG(accel_directives).memory_model && ZCG(accel_directives).memory_model[0]) { in zend_shared_alloc_startup()
302 ZCG(locked) = 0; in zend_shared_alloc_startup()
373 if (!ZCG(locked)) { in zend_shared_alloc()
428 retval = ZCG(mem); in _zend_shared_memdup()
429 ZCG(mem) = (void*)(((char*)ZCG(mem)) + ZEND_ALIGNED_SIZE(size)); in _zend_shared_memdup()
476 if (ZCG(locked)) { in zend_shared_alloc_safe_unlock()
483 ZEND_ASSERT(!ZCG(locked)); in zend_shared_alloc_lock()
517 ZCG(locked) = 1; in zend_shared_alloc_lock()
522 ZEND_ASSERT(ZCG(locked)); in zend_shared_alloc_unlock()
533 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()
677ZCG(mem) = (void*)((char*)ZCG(mem) + ZEND_ALIGNED_SIZE(zend_extensions_op_array_persist(op_array, in zend_persist_op_array_ex()
700 && (!ZCG(current_persistent_script) in zend_persist_op_array()
822 && (!ZCG(current_persistent_script) in zend_persist_property_info()
825 …zend_jit_op_array(hook, ZCG(current_persistent_script) ? &ZCG(current_persistent_script)->script :… in zend_persist_property_info()
1361 script->mem = ZCG(mem); in zend_accel_script_persist()
1378 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()
349 && !ZCG(current_persistent_script)->corrupted in zend_persist_class_method_calc()
376 if (ZCG(accel_directives).save_comments && prop->doc_comment) { in zend_persist_property_info_calc()
402 if (!ZCG(current_persistent_script)->corrupted in zend_persist_class_constant_calc()
409 if (ZCG(accel_directives).save_comments && c->doc_comment) { in zend_persist_class_constant_calc()
503 if (ZCG(accel_directives).save_comments && ce->doc_comment) { in zend_persist_class_entry_calc()
611 ZCG(current_persistent_script) = new_persistent_script; in zend_accel_script_persist_calc()
[all …]
H A Dshared_alloc_win32.c140 if (ZCG(accel_directives).file_cache && ZCG(accel_directives).file_cache_fallback) { in zend_shared_alloc_reattach()
282 if (!ZCG(accel_directives).mmap_base || !*ZCG(accel_directives).mmap_base) { in create_segments()
285 char *s = ZCG(accel_directives).mmap_base; in create_segments()
H A DZendAccelerator.h299 # define ZCG(v) ZEND_TSRMG(accel_globals_id, zend_accel_globals *, v) macro
305 # define ZCG(v) (accel_globals.v)
340 if (ZCG(accel_directives).protect_memory) { \
347 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.c261 zend_string *s = (zend_string*)ZCG(mem);
268 ZCG(mem) = (void*)s;
984 len = strlen(ZCG(accel_directives).file_cache);
986 memcpy(filename, ZCG(accel_directives).file_cache, len);
992 len = strlen(ZCG(accel_directives).file_cache);
996 memcpy(filename, ZCG(accel_directives).file_cache, len);
1146 zend_string *const s = (zend_string*)ZCG(mem);
1870 if (ZCG(accel_directives).validate_timestamps &&
1905 if (ZCG(accel_directives).file_cache_consistency_checks &&
1959 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-src/ext/opcache/jit/
H A Dzend_jit.c2850 …if (zend_jit_op_array_analyze2(op_array, script, &ssa, ZCG(accel_directives).optimization_level) !… in zend_real_jit_func()
3198 …if (zend_jit_op_array_analyze2(call_graph.op_arrays[i], script, &info->ssa, ZCG(accel_directives).… in zend_jit_script()

Completed in 63 milliseconds