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()
344 if (ZCG(accel_directives).validate_timestamps) {
407 if (ZCG(enabled) && accel_startup_ok && ZCG(accel_directives).file_override_enabled) {
443 if (ZCG(enabled) && accel_startup_ok &&
445 ((ZCG(counted) || ZCSG(accelerator_enabled)) || file_cache_only)
447 (ZCG(counted) || ZCSG(accelerator_enabled))
454 if (ZCG(enabled) && accel_startup_ok && ZCG(accel_directives).optimization_level) {
465 if (ZCG(accel_directives).file_cache) {
478 if (ZCG(enabled)) {
489 …snprintf(buf, sizeof(buf), ZEND_LONG_FMT, ZCG(accel_directives).memory_consumption-zend_shared_all…
551 …if (!ZCG(enabled) || !accel_startup_ok || !ZCSG(accelerator_enabled) || accelerator_shm_read_lock(…
576 if (ZCG(accel_directives).validate_timestamps) {
613 …add_assoc_bool(return_value, "opcache_enabled", ZCG(enabled) && (ZCG(counted) || ZCSG(accelerator_…
616 if (ZCG(accel_directives).file_cache) {
617 add_assoc_string(return_value, "file_cache", ZCG(accel_directives).file_cache);
631 …add_assoc_long(&memory_usage, "used_memory", ZCG(accel_directives).memory_consumption-zend_shared_…
634 …sage, "current_wasted_percentage", (((double) ZSMMG(wasted_shared_memory))/ZCG(accel_directives).m…
698 add_assoc_bool(&directives, "opcache.enable", ZCG(enabled));
699 add_assoc_bool(&directives, "opcache.enable_cli", ZCG(accel_directives).enable_cli);
700 add_assoc_bool(&directives, "opcache.use_cwd", ZCG(accel_directives).use_cwd);
701 …add_assoc_bool(&directives, "opcache.validate_timestamps", ZCG(accel_directives).validate_timestam…
702 …add_assoc_bool(&directives, "opcache.validate_permission", ZCG(accel_directives).validate_permissi…
704 add_assoc_bool(&directives, "opcache.validate_root", ZCG(accel_directives).validate_root);
706 add_assoc_bool(&directives, "opcache.inherited_hack", ZCG(accel_directives).inherited_hack);
707 add_assoc_bool(&directives, "opcache.dups_fix", ZCG(accel_directives).ignore_dups);
708 add_assoc_bool(&directives, "opcache.revalidate_path", ZCG(accel_directives).revalidate_path);
710 …add_assoc_long(&directives, "opcache.log_verbosity_level", ZCG(accel_directives).log_verbosit…
711 …add_assoc_long(&directives, "opcache.memory_consumption", ZCG(accel_directives).memory_consum…
712 …add_assoc_long(&directives, "opcache.interned_strings_buffer",ZCG(accel_directives).interned_stri…
713 …add_assoc_long(&directives, "opcache.max_accelerated_files", ZCG(accel_directives).max_accelera…
714 …add_assoc_double(&directives, "opcache.max_wasted_percentage", ZCG(accel_directives).max_wasted_p…
715 …add_assoc_long(&directives, "opcache.consistency_checks", ZCG(accel_directives).consistency_…
716 …add_assoc_long(&directives, "opcache.force_restart_timeout", ZCG(accel_directives).force_restar…
717 …add_assoc_long(&directives, "opcache.revalidate_freq", ZCG(accel_directives).revalidate_f…
718 …add_assoc_string(&directives, "opcache.preferred_memory_model", STRING_NOT_NULL(ZCG(accel_directiv…
719 …add_assoc_string(&directives, "opcache.blacklist_filename", STRING_NOT_NULL(ZCG(accel_directiv…
720 …add_assoc_long(&directives, "opcache.max_file_size", ZCG(accel_directives).max_file_siz…
721 …add_assoc_string(&directives, "opcache.error_log", STRING_NOT_NULL(ZCG(accel_directiv…
723 …add_assoc_bool(&directives, "opcache.protect_memory", ZCG(accel_directives).protect_memo…
724 …add_assoc_bool(&directives, "opcache.save_comments", ZCG(accel_directives).save_comment…
725 …add_assoc_bool(&directives, "opcache.fast_shutdown", ZCG(accel_directives).fast_shutdow…
726 …add_assoc_bool(&directives, "opcache.enable_file_override", ZCG(accel_directives).file_overrid…
727 …add_assoc_long(&directives, "opcache.optimization_level", ZCG(accel_directives).optimization…
730 …add_assoc_string(&directives, "opcache.lockfile_path", STRING_NOT_NULL(ZCG(accel_directiv…
734 …ng(&directives, "opcache.file_cache", ZCG(accel_directives).file_cache ? ZCG(ac…
735 …add_assoc_bool(&directives, "opcache.file_cache_only", ZCG(accel_directives).file_…
736 …add_assoc_bool(&directives, "opcache.file_cache_consistency_checks", ZCG(accel_directives).file_…
765 if ((!ZCG(enabled) || !accel_startup_ok || !ZCSG(accelerator_enabled))
812 if (!ZCG(enabled) || !accel_startup_ok || !ZCSG(accelerator_enabled)) {
851 if (!ZCG(enabled) || !accel_startup_ok || !ZCSG(accelerator_enabled)) {