Lines Matching refs:ZCG

64 	if (ZCG(accel_directives).restrict_api && *ZCG(accel_directives).restrict_api) {  in validate_api_restriction()
65 size_t len = strlen(ZCG(accel_directives).restrict_api); in validate_api_restriction()
69 memcmp(SG(request_info).path_translated, ZCG(accel_directives).restrict_api, len) != 0) { 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)) {
518 …snprintf(buf, sizeof(buf), ZEND_LONG_FMT, ZCG(accel_directives).memory_consumption-zend_shared_all…
599 if (!ZCG(accelerator_enabled) || accelerator_shm_read_lock() != SUCCESS) {
624 if (ZCG(accel_directives).validate_timestamps) {
662 add_assoc_bool(return_value, "opcache_enabled", ZCG(accelerator_enabled));
664 if (ZCG(accel_directives).file_cache) {
665 add_assoc_string(return_value, "file_cache", ZCG(accel_directives).file_cache);
678 …add_assoc_long(&memory_usage, "used_memory", ZCG(accel_directives).memory_consumption-zend_shared_…
681 …sage, "current_wasted_percentage", (((double) ZSMMG(wasted_shared_memory))/ZCG(accel_directives).m…
790 add_assoc_bool(&directives, "opcache.enable", ZCG(enabled));
791 add_assoc_bool(&directives, "opcache.enable_cli", ZCG(accel_directives).enable_cli);
792 add_assoc_bool(&directives, "opcache.use_cwd", ZCG(accel_directives).use_cwd);
793 …add_assoc_bool(&directives, "opcache.validate_timestamps", ZCG(accel_directives).validate_timestam…
794 …add_assoc_bool(&directives, "opcache.validate_permission", ZCG(accel_directives).validate_permissi…
796 add_assoc_bool(&directives, "opcache.validate_root", ZCG(accel_directives).validate_root);
798 add_assoc_bool(&directives, "opcache.dups_fix", ZCG(accel_directives).ignore_dups);
799 add_assoc_bool(&directives, "opcache.revalidate_path", ZCG(accel_directives).revalidate_path);
801 …add_assoc_long(&directives, "opcache.log_verbosity_level", ZCG(accel_directives).log_verbosit…
802 …add_assoc_long(&directives, "opcache.memory_consumption", ZCG(accel_directives).memory_consum…
803 …add_assoc_long(&directives, "opcache.interned_strings_buffer",ZCG(accel_directives).interned_stri…
804 …add_assoc_long(&directives, "opcache.max_accelerated_files", ZCG(accel_directives).max_accelera…
805 …add_assoc_double(&directives, "opcache.max_wasted_percentage", ZCG(accel_directives).max_wasted_p…
806 …add_assoc_long(&directives, "opcache.force_restart_timeout", ZCG(accel_directives).force_restar…
807 …add_assoc_long(&directives, "opcache.revalidate_freq", ZCG(accel_directives).revalidate_f…
808 …add_assoc_string(&directives, "opcache.preferred_memory_model", STRING_NOT_NULL(ZCG(accel_directiv…
809 …add_assoc_string(&directives, "opcache.blacklist_filename", STRING_NOT_NULL(ZCG(accel_directiv…
810 …add_assoc_long(&directives, "opcache.max_file_size", ZCG(accel_directives).max_file_siz…
811 …add_assoc_string(&directives, "opcache.error_log", STRING_NOT_NULL(ZCG(accel_directiv…
813 …add_assoc_bool(&directives, "opcache.protect_memory", ZCG(accel_directives).protect_memo…
814 …add_assoc_bool(&directives, "opcache.save_comments", ZCG(accel_directives).save_comment…
815 …add_assoc_bool(&directives, "opcache.record_warnings", ZCG(accel_directives).record_warni…
816 …add_assoc_bool(&directives, "opcache.enable_file_override", ZCG(accel_directives).file_overrid…
817 …add_assoc_long(&directives, "opcache.optimization_level", ZCG(accel_directives).optimization…
820 …add_assoc_string(&directives, "opcache.lockfile_path", STRING_NOT_NULL(ZCG(accel_directiv…
822 …add_assoc_string(&directives, "opcache.mmap_base", STRING_NOT_NULL(ZCG(accel_directiv…
825 …ng(&directives, "opcache.file_cache", ZCG(accel_directives).file_cache ? ZCG(ac…
826 …add_assoc_bool(&directives, "opcache.file_cache_only", ZCG(accel_directives).file_…
827 …add_assoc_bool(&directives, "opcache.file_cache_consistency_checks", ZCG(accel_directives).file_…
829 …add_assoc_bool(&directives, "opcache.file_cache_fallback", ZCG(accel_directives).file_…
832 …add_assoc_long(&directives, "opcache.file_update_protection", ZCG(accel_directives).file_update…
833 …add_assoc_long(&directives, "opcache.opt_debug_level", ZCG(accel_directives).opt_debug_l…
834 …add_assoc_string(&directives, "opcache.restrict_api", STRING_NOT_NULL(ZCG(accel_directi…
836 …add_assoc_bool(&directives, "opcache.huge_code_pages", ZCG(accel_directives).huge_code_p…
838 add_assoc_string(&directives, "opcache.preload", STRING_NOT_NULL(ZCG(accel_directives).preload));
840 …add_assoc_string(&directives, "opcache.preload_user", STRING_NOT_NULL(ZCG(accel_directives).preloa…
843 add_assoc_string(&directives, "opcache.cache_id", STRING_NOT_NULL(ZCG(accel_directives).cache_id));
892 if ((!ZCG(enabled) || !accel_startup_ok || !ZCSG(accelerator_enabled))
1007 if (!ZCG(accelerator_enabled)) {