reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Support/CachePruning.cpp
  157   Policy.MaxSizePercentageOfAvailableSpace =
  158       std::min(Policy.MaxSizePercentageOfAvailableSpace, 100u);
  160   if (Policy.Expiration == seconds(0) &&
  161       Policy.MaxSizePercentageOfAvailableSpace == 0 &&
  162       Policy.MaxSizeBytes == 0 && Policy.MaxSizeFiles == 0) {
  162       Policy.MaxSizeBytes == 0 && Policy.MaxSizeFiles == 0) {
  182     if (!Policy.Interval)
  184     if (Policy.Interval != seconds(0)) {
  189       if (TimeStampAge <= *Policy.Interval) {
  232     if (Policy.Expiration != seconds(0) && FileAge > Policy.Expiration) {
  232     if (Policy.Expiration != seconds(0) && FileAge > Policy.Expiration) {
  261   if (Policy.MaxSizeFiles)
  262     while (NumFiles > Policy.MaxSizeFiles)
  266   if (Policy.MaxSizePercentageOfAvailableSpace > 0 || Policy.MaxSizeBytes > 0) {
  266   if (Policy.MaxSizePercentageOfAvailableSpace > 0 || Policy.MaxSizeBytes > 0) {
  274     if (Policy.MaxSizePercentageOfAvailableSpace == 0)
  275       Policy.MaxSizePercentageOfAvailableSpace = 100;
  276     if (Policy.MaxSizeBytes == 0)
  277       Policy.MaxSizeBytes = AvailableSpace;
  279         AvailableSpace * Policy.MaxSizePercentageOfAvailableSpace / 100ull,
  280         Policy.MaxSizeBytes);
  284                       << Policy.MaxSizePercentageOfAvailableSpace << "%, "
  285                       << Policy.MaxSizeBytes << " bytes\n");