Lines Matching refs:ZCG
51 if (ZCG(accel_directives).restrict_api && *ZCG(accel_directives).restrict_api) { in validate_api_restriction()
52 size_t len = strlen(ZCG(accel_directives).restrict_api); in validate_api_restriction()
56 memcmp(SG(request_info).path_translated, ZCG(accel_directives).restrict_api, len) != 0) { 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)) {
483 …snprintf(buf, sizeof(buf), ZEND_LONG_FMT, ZCG(accel_directives).memory_consumption-zend_shared_all…
544 if (!ZCG(accelerator_enabled) || accelerator_shm_read_lock() != SUCCESS) {
569 if (ZCG(accel_directives).validate_timestamps) {
605 add_assoc_bool(return_value, "opcache_enabled", ZCG(accelerator_enabled));
607 if (ZCG(accel_directives).file_cache) {
608 add_assoc_string(return_value, "file_cache", ZCG(accel_directives).file_cache);
621 …add_assoc_long(&memory_usage, "used_memory", ZCG(accel_directives).memory_consumption-zend_shared_…
624 …sage, "current_wasted_percentage", (((double) ZSMMG(wasted_shared_memory))/ZCG(accel_directives).m…
733 add_assoc_bool(&directives, "opcache.enable", ZCG(enabled));
734 add_assoc_bool(&directives, "opcache.enable_cli", ZCG(accel_directives).enable_cli);
735 add_assoc_bool(&directives, "opcache.use_cwd", ZCG(accel_directives).use_cwd);
736 …add_assoc_bool(&directives, "opcache.validate_timestamps", ZCG(accel_directives).validate_timestam…
737 …add_assoc_bool(&directives, "opcache.validate_permission", ZCG(accel_directives).validate_permissi…
739 add_assoc_bool(&directives, "opcache.validate_root", ZCG(accel_directives).validate_root);
741 add_assoc_bool(&directives, "opcache.dups_fix", ZCG(accel_directives).ignore_dups);
742 add_assoc_bool(&directives, "opcache.revalidate_path", ZCG(accel_directives).revalidate_path);
744 …add_assoc_long(&directives, "opcache.log_verbosity_level", ZCG(accel_directives).log_verbosit…
745 …add_assoc_long(&directives, "opcache.memory_consumption", ZCG(accel_directives).memory_consum…
746 …add_assoc_long(&directives, "opcache.interned_strings_buffer",ZCG(accel_directives).interned_stri…
747 …add_assoc_long(&directives, "opcache.max_accelerated_files", ZCG(accel_directives).max_accelera…
748 …add_assoc_double(&directives, "opcache.max_wasted_percentage", ZCG(accel_directives).max_wasted_p…
749 …add_assoc_long(&directives, "opcache.consistency_checks", ZCG(accel_directives).consistency_…
750 …add_assoc_long(&directives, "opcache.force_restart_timeout", ZCG(accel_directives).force_restar…
751 …add_assoc_long(&directives, "opcache.revalidate_freq", ZCG(accel_directives).revalidate_f…
752 …add_assoc_string(&directives, "opcache.preferred_memory_model", STRING_NOT_NULL(ZCG(accel_directiv…
753 …add_assoc_string(&directives, "opcache.blacklist_filename", STRING_NOT_NULL(ZCG(accel_directiv…
754 …add_assoc_long(&directives, "opcache.max_file_size", ZCG(accel_directives).max_file_siz…
755 …add_assoc_string(&directives, "opcache.error_log", STRING_NOT_NULL(ZCG(accel_directiv…
757 …add_assoc_bool(&directives, "opcache.protect_memory", ZCG(accel_directives).protect_memo…
758 …add_assoc_bool(&directives, "opcache.save_comments", ZCG(accel_directives).save_comment…
759 …add_assoc_bool(&directives, "opcache.record_warnings", ZCG(accel_directives).record_warni…
760 …add_assoc_bool(&directives, "opcache.enable_file_override", ZCG(accel_directives).file_overrid…
761 …add_assoc_long(&directives, "opcache.optimization_level", ZCG(accel_directives).optimization…
764 …add_assoc_string(&directives, "opcache.lockfile_path", STRING_NOT_NULL(ZCG(accel_directiv…
766 …add_assoc_string(&directives, "opcache.mmap_base", STRING_NOT_NULL(ZCG(accel_directiv…
769 …ng(&directives, "opcache.file_cache", ZCG(accel_directives).file_cache ? ZCG(ac…
770 …add_assoc_bool(&directives, "opcache.file_cache_only", ZCG(accel_directives).file_…
771 …add_assoc_bool(&directives, "opcache.file_cache_consistency_checks", ZCG(accel_directives).file_…
773 …add_assoc_bool(&directives, "opcache.file_cache_fallback", ZCG(accel_directives).file_…
776 …add_assoc_long(&directives, "opcache.file_update_protection", ZCG(accel_directives).file_update…
777 …add_assoc_long(&directives, "opcache.opt_debug_level", ZCG(accel_directives).opt_debug_l…
778 …add_assoc_string(&directives, "opcache.restrict_api", STRING_NOT_NULL(ZCG(accel_directi…
780 …add_assoc_bool(&directives, "opcache.huge_code_pages", ZCG(accel_directives).huge_code_p…
782 add_assoc_string(&directives, "opcache.preload", STRING_NOT_NULL(ZCG(accel_directives).preload));
784 …add_assoc_string(&directives, "opcache.preload_user", STRING_NOT_NULL(ZCG(accel_directives).preloa…
787 add_assoc_string(&directives, "opcache.cache_id", STRING_NOT_NULL(ZCG(accel_directives).cache_id));
835 if ((!ZCG(enabled) || !accel_startup_ok || !ZCSG(accelerator_enabled))
933 if (!ZCG(accelerator_enabled)) {