Home
last modified time | relevance | path

Searched refs:accel_directives (Results 1 – 11 of 11) sorted by relevance

/php-src/ext/opcache/
H A Dzend_accelerator_module.c63 if (ZCG(accel_directives).restrict_api && *ZCG(accel_directives).restrict_api) { in validate_api_restriction()
64 size_t len = strlen(ZCG(accel_directives).restrict_api); in validate_api_restriction()
68 memcmp(SG(request_info).path_translated, ZCG(accel_directives).restrict_api, len) != 0) { in validate_api_restriction()
360 if (ZCG(accel_directives).validate_timestamps) {
429 if (ZCG(enabled) && accel_startup_ok && ZCG(accel_directives).file_override_enabled) {
468 if (ZCG(enabled) && accel_startup_ok && ZCG(accel_directives).optimization_level) {
478 if (ZCG(accel_directives).file_cache) {
623 if (ZCG(accel_directives).validate_timestamps) {
663 if (ZCG(accel_directives).file_cache) {
664 add_assoc_string(return_value, "file_cache", ZCG(accel_directives).file_cache);
[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 DZendAccelerator.c1412 if (ZCG(accel_directives).file_cache) { in zend_accel_invalidate()
1562 if (ZCG(accel_directives).file_cache) { in cache_script_in_shared_memory()
1602 if (ZCG(accel_directives).file_cache) { in cache_script_in_shared_memory()
1620 if (ZCG(accel_directives).file_cache) { in cache_script_in_shared_memory()
1678 if (ZCG(accel_directives).file_cache) { in cache_script_in_shared_memory()
1788 …if (ZCG(accel_directives).max_file_size > 0 && size > (size_t)ZCG(accel_directives).max_file_size)… in opcache_compile_file()
1817 if (ZCG(accel_directives).file_cache) { in opcache_compile_file()
1989 && ZCG(accel_directives).file_cache in persistent_compile_file()
2470 PHP_MD5Update(&ctx, ZCG(accel_directives).cache_id, strlen(ZCG(accel_directives).cache_id)); in accel_gen_uname_id()
4679 if (ZCG(accel_directives).preload_user
[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.h203 zend_accel_directives accel_directives; member
340 if (ZCG(accel_directives).protect_memory) { \
347 if (ZCG(accel_directives).protect_memory) { \
H A Dzend_shared_alloc.c194 zend_shared_alloc_create_lock(ZCG(accel_directives).lockfile_path); in zend_shared_alloc_startup()
199 if (ZCG(accel_directives).memory_model && ZCG(accel_directives).memory_model[0]) { in zend_shared_alloc_startup()
200 const char *model = ZCG(accel_directives).memory_model; in zend_shared_alloc_startup()
202 if (strncmp(ZCG(accel_directives).memory_model, "cgi", sizeof("cgi")) == 0) { in zend_shared_alloc_startup()
H A Dzend_persist_calc.c286 if (ZCG(accel_directives).save_comments && op_array->doc_comment) { in zend_persist_op_array_calc_ex()
377 if (ZCG(accel_directives).save_comments && prop->doc_comment) { in zend_persist_property_info_calc()
402 if (ZCG(accel_directives).save_comments && c->doc_comment) { in zend_persist_class_constant_calc()
496 if (ZCG(accel_directives).save_comments && ce->doc_comment) { in zend_persist_class_entry_calc()
H A Dzend_file_cache.c960 len = strlen(ZCG(accel_directives).file_cache);
962 memcpy(filename, ZCG(accel_directives).file_cache, len);
968 len = strlen(ZCG(accel_directives).file_cache);
972 memcpy(filename, ZCG(accel_directives).file_cache, len);
1081 if (zend_file_cache_mkdir(filename, strlen(ZCG(accel_directives).file_cache)) != SUCCESS) {
1829 if (ZCG(accel_directives).validate_timestamps &&
1864 if (ZCG(accel_directives).file_cache_consistency_checks &&
H A Dzend_persist.c452 if (ZCG(accel_directives).save_comments) { in zend_persist_op_array_ex()
640 if (ZCG(accel_directives).save_comments) { in zend_persist_op_array_ex()
790 if (ZCG(accel_directives).save_comments) { in zend_persist_property_info()
831 if (ZCG(accel_directives).save_comments) { in zend_persist_class_constant()
992 if (ZCG(accel_directives).save_comments) { in zend_persist_class_entry()
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.c2824 …if (zend_jit_op_array_analyze2(op_array, script, &ssa, ZCG(accel_directives).optimization_level) !… in zend_real_jit_func()
3172 …_op_array_analyze2(call_graph.op_arrays[i], script, &info->ssa, ZCG(accel_directives).optimization… in zend_jit_script()

Completed in 122 milliseconds