Home
last modified time | relevance | path

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

/PHP-7.4/ext/opcache/
H A Dzend_accelerator_module.c88 if (ZCG(accel_directives).restrict_api && *ZCG(accel_directives).restrict_api) { in validate_api_restriction()
89 size_t len = strlen(ZCG(accel_directives).restrict_api); in validate_api_restriction()
93 memcmp(SG(request_info).path_translated, ZCG(accel_directives).restrict_api, len) != 0) { in validate_api_restriction()
341 if (ZCG(accel_directives).validate_timestamps) {
406 if (ZCG(enabled) && accel_startup_ok && ZCG(accel_directives).file_override_enabled) {
445 if (ZCG(enabled) && accel_startup_ok && ZCG(accel_directives).optimization_level) {
455 if (ZCG(accel_directives).file_cache) {
565 if (ZCG(accel_directives).validate_timestamps) {
604 if (ZCG(accel_directives).file_cache) {
605 add_assoc_string(return_value, "file_cache", ZCG(accel_directives).file_cache);
[all …]
H A Dzend_accelerator_debug.c38 if (type <= ZCG(accel_directives).log_verbosity_level) { in zend_accel_error()
44 if (!ZCG(accel_directives).error_log || in zend_accel_error()
45 !*ZCG(accel_directives).error_log || in zend_accel_error()
46 strcmp(ZCG(accel_directives).error_log, "stderr") == 0) { in zend_accel_error()
50 fLog = fopen(ZCG(accel_directives).error_log, "a+"); in zend_accel_error()
H A Dshared_alloc_win32.c141 if (ZCG(accel_directives).file_cache && ZCG(accel_directives).file_cache_fallback) { in zend_shared_alloc_reattach()
274 if (!ZCG(accel_directives).mmap_base || !*ZCG(accel_directives).mmap_base) { in create_segments()
277 char *s = ZCG(accel_directives).mmap_base; in create_segments()
H A DZendAccelerator.c1302 if (ZCG(accel_directives).file_cache) { in zend_accel_invalidate()
1451 if (ZCG(accel_directives).file_cache) { in cache_script_in_shared_memory()
1486 if (ZCG(accel_directives).file_cache) { in cache_script_in_shared_memory()
1544 if (ZCG(accel_directives).file_cache) { in cache_script_in_shared_memory()
1597 if (ZCG(accel_directives).file_cache) { in cache_script_in_shared_memory()
1729 …if (ZCG(accel_directives).max_file_size > 0 && size > (size_t)ZCG(accel_directives).max_file_size)… in opcache_compile_file()
1754 if (ZCG(accel_directives).file_cache) { in opcache_compile_file()
1929 && ZCG(accel_directives).file_cache in persistent_compile_file()
1940 if (ZCG(accel_directives).file_cache) { in persistent_compile_file()
2224 PHP_MD5Update(&ctx, ZCG(accel_directives).cache_id, strlen(ZCG(accel_directives).cache_id)); in accel_gen_uname_id()
[all …]
H A Dzend_shared_alloc.c165 zend_shared_alloc_create_lock(ZCG(accel_directives).lockfile_path); in zend_shared_alloc_startup()
170 if (ZCG(accel_directives).memory_model && ZCG(accel_directives).memory_model[0]) { in zend_shared_alloc_startup()
171 char *model = ZCG(accel_directives).memory_model; in zend_shared_alloc_startup()
173 if (strncmp(ZCG(accel_directives).memory_model, "cgi", sizeof("cgi")) == 0) { in zend_shared_alloc_startup()
H A Dzend_persist_calc.c239 if (ZCG(accel_directives).save_comments && op_array->doc_comment) { in zend_persist_op_array_calc_ex()
312 if (ZCG(accel_directives).save_comments && prop->doc_comment) { in zend_persist_property_info_calc()
326 if (ZCG(accel_directives).save_comments && c->doc_comment) { in zend_persist_class_constant_calc()
408 if (ZCG(accel_directives).save_comments && ce->info.user.doc_comment) { in zend_persist_class_entry_calc()
H A DZendAccelerator.h203 zend_accel_directives accel_directives; member
H A Dzend_file_cache.c838 len = strlen(ZCG(accel_directives).file_cache);
840 memcpy(filename, ZCG(accel_directives).file_cache, len);
846 len = strlen(ZCG(accel_directives).file_cache);
850 memcpy(filename, ZCG(accel_directives).file_cache, len);
899 if (zend_file_cache_mkdir(filename, strlen(ZCG(accel_directives).file_cache)) != SUCCESS) {
1576 if (ZCG(accel_directives).validate_timestamps &&
1611 if (ZCG(accel_directives).file_cache_consistency_checks &&
H A Dzend_persist.c332 if (ZCG(accel_directives).save_comments) { in zend_persist_op_array_ex()
517 if (ZCG(accel_directives).save_comments) { in zend_persist_op_array_ex()
641 if (ZCG(accel_directives).save_comments) { in zend_persist_property_info()
679 if (ZCG(accel_directives).save_comments) { in zend_persist_class_constant()
771 if (ZCG(accel_directives).save_comments) { in zend_persist_class_entry()
H A Dzend_accelerator_util_funcs.c522 } else if (UNEXPECTED(!ZCG(accel_directives).ignore_dups)) { in zend_accel_class_hash_copy()
559 } else if (UNEXPECTED(!ZCG(accel_directives).ignore_dups)) { in zend_accel_class_hash_copy_from_shm()

Completed in 48 milliseconds