Lines Matching refs:ZCG

88 	if (ZCG(accel_directives).restrict_api && *ZCG(accel_directives).restrict_api) {  in validate_api_restriction()
89 int 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()
323 (!ZCG(accel_directives).validate_timestamps || in filename_is_in_cache()
331 (!ZCG(accel_directives).validate_timestamps || in filename_is_in_cache()
392 if (ZCG(enabled) && accel_startup_ok && ZCG(accel_directives).file_override_enabled) { in zend_accel_override_file_functions()
422 if (ZCG(enabled) && accel_startup_ok && (ZCG(counted) || ZCSG(accelerator_enabled))) { in zend_accel_info()
427 …if (ZCG(enabled) && accel_startup_ok && ZCSG(accelerator_enabled) && ZCG(accel_directives).optimiz… in zend_accel_info()
432 if (ZCG(enabled)) { in zend_accel_info()
443 …snprintf(buf, sizeof(buf), "%ld", ZCG(accel_directives).memory_consumption-zend_shared_alloc_get_f… in zend_accel_info()
505 …if (!ZCG(enabled) || !accel_startup_ok || !ZCSG(accelerator_enabled) || accelerator_shm_read_lock(… in accelerator_get_scripts()
532 if (ZCG(accel_directives).validate_timestamps) { in accelerator_get_scripts()
572 …add_assoc_bool(return_value, "opcache_enabled", ZCG(enabled) && (ZCG(counted) || ZCSG(accelerator_… in ZEND_FUNCTION()
580 …add_assoc_long(memory_usage, "used_memory", ZCG(accel_directives).memory_consumption-zend_shared_a… in ZEND_FUNCTION()
583 …sage, "current_wasted_percentage", (((double) ZSMMG(wasted_shared_memory))/ZCG(accel_directives).m… in ZEND_FUNCTION()
658 add_assoc_bool(directives, "opcache.enable", ZCG(enabled)); in ZEND_FUNCTION()
659 add_assoc_bool(directives, "opcache.enable_cli", ZCG(accel_directives).enable_cli); in ZEND_FUNCTION()
660 add_assoc_bool(directives, "opcache.use_cwd", ZCG(accel_directives).use_cwd); in ZEND_FUNCTION()
661 …add_assoc_bool(directives, "opcache.validate_timestamps", ZCG(accel_directives).validate_timestamp… in ZEND_FUNCTION()
662 add_assoc_bool(directives, "opcache.inherited_hack", ZCG(accel_directives).inherited_hack); in ZEND_FUNCTION()
663 add_assoc_bool(directives, "opcache.dups_fix", ZCG(accel_directives).ignore_dups); in ZEND_FUNCTION()
664 add_assoc_bool(directives, "opcache.revalidate_path", ZCG(accel_directives).revalidate_path); in ZEND_FUNCTION()
666 …add_assoc_long(directives, "opcache.log_verbosity_level", ZCG(accel_directives).log_verbosity… in ZEND_FUNCTION()
667 …add_assoc_long(directives, "opcache.memory_consumption", ZCG(accel_directives).memory_consump… in ZEND_FUNCTION()
669 …add_assoc_long(directives, "opcache.interned_strings_buffer",ZCG(accel_directives).interned_strin… in ZEND_FUNCTION()
671 …add_assoc_long(directives, "opcache.max_accelerated_files", ZCG(accel_directives).max_accelerat… in ZEND_FUNCTION()
672 …add_assoc_double(directives, "opcache.max_wasted_percentage", ZCG(accel_directives).max_wasted_pe… in ZEND_FUNCTION()
673 …add_assoc_long(directives, "opcache.consistency_checks", ZCG(accel_directives).consistency_c… in ZEND_FUNCTION()
674 …add_assoc_long(directives, "opcache.force_restart_timeout", ZCG(accel_directives).force_restart… in ZEND_FUNCTION()
675 …add_assoc_long(directives, "opcache.revalidate_freq", ZCG(accel_directives).revalidate_fr… in ZEND_FUNCTION()
676 …add_assoc_string(directives, "opcache.preferred_memory_model", STRING_NOT_NULL(ZCG(accel_directive… in ZEND_FUNCTION()
677 …add_assoc_string(directives, "opcache.blacklist_filename", STRING_NOT_NULL(ZCG(accel_directive… in ZEND_FUNCTION()
678 …add_assoc_long(directives, "opcache.max_file_size", ZCG(accel_directives).max_file_size… in ZEND_FUNCTION()
679 …add_assoc_string(directives, "opcache.error_log", STRING_NOT_NULL(ZCG(accel_directive… in ZEND_FUNCTION()
681 …add_assoc_bool(directives, "opcache.protect_memory", ZCG(accel_directives).protect_memor… in ZEND_FUNCTION()
682 …add_assoc_bool(directives, "opcache.save_comments", ZCG(accel_directives).save_comments… in ZEND_FUNCTION()
683 …add_assoc_bool(directives, "opcache.load_comments", ZCG(accel_directives).load_comments… in ZEND_FUNCTION()
684 …add_assoc_bool(directives, "opcache.fast_shutdown", ZCG(accel_directives).fast_shutdown… in ZEND_FUNCTION()
685 …add_assoc_bool(directives, "opcache.enable_file_override", ZCG(accel_directives).file_override… in ZEND_FUNCTION()
686 …add_assoc_long(directives, "opcache.optimization_level", ZCG(accel_directives).optimization_… in ZEND_FUNCTION()
721 if (!ZCG(enabled) || !accel_startup_ok || !ZCSG(accelerator_enabled)) { in ZEND_FUNCTION()
764 if (!ZCG(enabled) || !accel_startup_ok || !ZCSG(accelerator_enabled)) { in ZEND_FUNCTION()
804 if (!ZCG(enabled) || !accel_startup_ok || !ZCSG(accelerator_enabled)) { in ZEND_FUNCTION()