Lines Matching defs:Ranges
239 /// Find the earliest-starting range in Ranges which ends after Loc.
240 static Range *upperBound(MemoryLocation Loc, Range *Ranges,
244 if (Ranges[I].getEnd().getMemoryLocation() > Loc &&
247 Ranges[I].getStart().getMemoryLocation()))
248 Best = &Ranges[I];
263 Range *Ranges, unsigned NumRanges,
271 Min = __sanitizer::Min(Ranges[I].getStart().getMemoryLocation(), Min);
272 Max = __sanitizer::Max(Ranges[I].getEnd().getMemoryLocation(), Max);
296 Range *InRange = upperBound(Min, Ranges, NumRanges);
300 InRange = upperBound(P, Ranges, NumRanges);
320 InRange = upperBound(P, Ranges, NumRanges);
385 PrintMemorySnippet(Decor, Loc.getMemoryLocation(), Ranges, NumRanges, Args);