Lines Matching refs:ZCG

88 	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()
243 ZCG(accelerator_enabled) = 0; in ZEND_INI_MH()
341 if (ZCG(accel_directives).validate_timestamps) {
406 if (ZCG(enabled) && accel_startup_ok && ZCG(accel_directives).file_override_enabled) {
440 if (ZCG(accelerator_enabled) || file_cache_only) {
445 if (ZCG(enabled) && accel_startup_ok && ZCG(accel_directives).optimization_level) {
455 if (ZCG(accel_directives).file_cache) {
467 if (ZCG(enabled)) {
478 …snprintf(buf, sizeof(buf), ZEND_LONG_FMT, ZCG(accel_directives).memory_consumption-zend_shared_all…
540 if (!ZCG(accelerator_enabled) || accelerator_shm_read_lock() != SUCCESS) {
565 if (ZCG(accel_directives).validate_timestamps) {
602 add_assoc_bool(return_value, "opcache_enabled", ZCG(accelerator_enabled));
604 if (ZCG(accel_directives).file_cache) {
605 add_assoc_string(return_value, "file_cache", ZCG(accel_directives).file_cache);
618 …add_assoc_long(&memory_usage, "used_memory", ZCG(accel_directives).memory_consumption-zend_shared_…
621 …sage, "current_wasted_percentage", (((double) ZSMMG(wasted_shared_memory))/ZCG(accel_directives).m…
728 add_assoc_bool(&directives, "opcache.enable", ZCG(enabled));
729 add_assoc_bool(&directives, "opcache.enable_cli", ZCG(accel_directives).enable_cli);
730 add_assoc_bool(&directives, "opcache.use_cwd", ZCG(accel_directives).use_cwd);
731 …add_assoc_bool(&directives, "opcache.validate_timestamps", ZCG(accel_directives).validate_timestam…
732 …add_assoc_bool(&directives, "opcache.validate_permission", ZCG(accel_directives).validate_permissi…
734 add_assoc_bool(&directives, "opcache.validate_root", ZCG(accel_directives).validate_root);
736 add_assoc_bool(&directives, "opcache.dups_fix", ZCG(accel_directives).ignore_dups);
737 add_assoc_bool(&directives, "opcache.revalidate_path", ZCG(accel_directives).revalidate_path);
739 …add_assoc_long(&directives, "opcache.log_verbosity_level", ZCG(accel_directives).log_verbosit…
740 …add_assoc_long(&directives, "opcache.memory_consumption", ZCG(accel_directives).memory_consum…
741 …add_assoc_long(&directives, "opcache.interned_strings_buffer",ZCG(accel_directives).interned_stri…
742 …add_assoc_long(&directives, "opcache.max_accelerated_files", ZCG(accel_directives).max_accelera…
743 …add_assoc_double(&directives, "opcache.max_wasted_percentage", ZCG(accel_directives).max_wasted_p…
744 …add_assoc_long(&directives, "opcache.consistency_checks", ZCG(accel_directives).consistency_…
745 …add_assoc_long(&directives, "opcache.force_restart_timeout", ZCG(accel_directives).force_restar…
746 …add_assoc_long(&directives, "opcache.revalidate_freq", ZCG(accel_directives).revalidate_f…
747 …add_assoc_string(&directives, "opcache.preferred_memory_model", STRING_NOT_NULL(ZCG(accel_directiv…
748 …add_assoc_string(&directives, "opcache.blacklist_filename", STRING_NOT_NULL(ZCG(accel_directiv…
749 …add_assoc_long(&directives, "opcache.max_file_size", ZCG(accel_directives).max_file_siz…
750 …add_assoc_string(&directives, "opcache.error_log", STRING_NOT_NULL(ZCG(accel_directiv…
752 …add_assoc_bool(&directives, "opcache.protect_memory", ZCG(accel_directives).protect_memo…
753 …add_assoc_bool(&directives, "opcache.save_comments", ZCG(accel_directives).save_comment…
754 …add_assoc_bool(&directives, "opcache.enable_file_override", ZCG(accel_directives).file_overrid…
755 …add_assoc_long(&directives, "opcache.optimization_level", ZCG(accel_directives).optimization…
758 …add_assoc_string(&directives, "opcache.lockfile_path", STRING_NOT_NULL(ZCG(accel_directiv…
760 …add_assoc_string(&directives, "opcache.mmap_base", STRING_NOT_NULL(ZCG(accel_directiv…
763 …ng(&directives, "opcache.file_cache", ZCG(accel_directives).file_cache ? ZCG(ac…
764 …add_assoc_bool(&directives, "opcache.file_cache_only", ZCG(accel_directives).file_…
765 …add_assoc_bool(&directives, "opcache.file_cache_consistency_checks", ZCG(accel_directives).file_…
767 …add_assoc_bool(&directives, "opcache.file_cache_fallback", ZCG(accel_directives).file_…
770 …add_assoc_long(&directives, "opcache.file_update_protection", ZCG(accel_directives).file_update…
771 …add_assoc_long(&directives, "opcache.opt_debug_level", ZCG(accel_directives).opt_debug_l…
772 …add_assoc_string(&directives, "opcache.restrict_api", STRING_NOT_NULL(ZCG(accel_directi…
774 …add_assoc_bool(&directives, "opcache.huge_code_pages", ZCG(accel_directives).huge_code_p…
776 add_assoc_string(&directives, "opcache.preload", STRING_NOT_NULL(ZCG(accel_directives).preload));
778 …add_assoc_string(&directives, "opcache.preload_user", STRING_NOT_NULL(ZCG(accel_directives).preloa…
781 add_assoc_string(&directives, "opcache.cache_id", STRING_NOT_NULL(ZCG(accel_directives).cache_id));
810 if ((!ZCG(enabled) || !accel_startup_ok || !ZCSG(accelerator_enabled))
908 if (!ZCG(accelerator_enabled)) {