Home
last modified time | relevance | path

Searched refs:Ranges (Results 1 – 25 of 230) sorted by relevance

12345678910

/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/GSYM/
H A DRange.cpp24 auto It = llvm::upper_bound(Ranges, Range); in insert()
26 while (It2 != Ranges.end() && It2->Start < Range.End) in insert()
30 It = Ranges.erase(It, It2); in insert()
32 if (It != Ranges.begin() && Range.Start < It[-1].End) in insert()
35 Ranges.insert(It, Range); in insert()
40 Ranges.begin(), Ranges.end(), in contains()
42 return It != Ranges.begin() && Addr < It[-1].End; in contains()
49 Ranges.begin(), Ranges.end(), in contains()
51 if (It == Ranges.begin()) in contains()
59 Ranges.begin(), Ranges.end(), in getRangeThatContains()
[all …]
H A DInlineInfo.cpp25 for (auto Range : II.Ranges) { in operator <<()
41 if (II.Ranges.contains(Addr)) { in getInlineStackHelper()
112 Inline.Ranges.decode(Data, BaseAddr, Offset); in lookup()
113 if (Inline.Ranges.empty()) in lookup()
117 if (!Inline.Ranges.contains(Addr)) { in lookup()
131 const auto ChildBaseAddr = Inline.Ranges[0].Start; in lookup()
153 SrcLocs.back().Offset = Addr - Inline.Ranges[0].Start; in lookup()
185 Inline.Ranges.decode(Data, BaseAddr, Offset); in decode()
186 if (Inline.Ranges.empty()) in decode()
208 const auto ChildBaseAddr = Inline.Ranges[0].Start; in decode()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DUnicodeCharRanges.h55 constexpr UnicodeCharSet(CharRanges Ranges) : Ranges(Ranges) {} in UnicodeCharSet() argument
57 UnicodeCharSet(CharRanges Ranges) : Ranges(Ranges) { in UnicodeCharSet() argument
65 return std::binary_search(Ranges.begin(), Ranges.end(), C); in contains()
73 for (CharRanges::const_iterator I = Ranges.begin(), E = Ranges.end(); in rangesAreValid()
75 if (I != Ranges.begin() && Prev >= I->Lower) { in rangesAreValid()
95 const CharRanges Ranges; variable
H A DSourceMgr.h190 ArrayRef<SMRange> Ranges = {},
196 ArrayRef<SMRange> Ranges = {},
213 ArrayRef<SMRange> Ranges = {},
259 std::vector<std::pair<unsigned, unsigned>> Ranges; variable
272 ArrayRef<std::pair<unsigned, unsigned>> Ranges,
283 ArrayRef<std::pair<unsigned, unsigned>> getRanges() const { return Ranges; } in getRanges()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/GSYM/
H A DRange.h87 Collection Ranges; variable
89 void clear() { Ranges.clear(); } in clear()
90 bool empty() const { return Ranges.empty(); } in empty()
95 size_t size() const { return Ranges.size(); } in size()
97 return Ranges == RHS.Ranges;
100 assert(i < Ranges.size());
101 return Ranges[i];
103 Collection::const_iterator begin() const { return Ranges.begin(); } in begin()
104 Collection::const_iterator end() const { return Ranges.end(); } in end()
H A DInlineInfo.h66 AddressRanges Ranges; member
73 Ranges.clear(); in clear()
76 bool isValid() const { return !Ranges.empty(); } in isValid()
173 LHS.CallLine == RHS.CallLine && LHS.Ranges == RHS.Ranges &&
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DDereferenceChecker.cpp48 SmallVectorImpl<SourceRange> &Ranges,
57 SmallVectorImpl<SourceRange> &Ranges, in AddDerefSource() argument
71 Ranges.push_back(DR->getSourceRange()); in AddDerefSource()
80 Ranges.push_back(SourceRange(L, L)); in AddDerefSource()
88 Ranges.push_back(SourceRange(L, L)); in AddDerefSource()
149 SmallVector<SourceRange, 2> Ranges; in reportBug() local
155 AddDerefSource(os, Ranges, AE->getBase()->IgnoreParenCasts(), in reportBug()
163 AddDerefSource(os, Ranges, AE->getBase()->IgnoreParenCasts(), in reportBug()
171 AddDerefSource(os, Ranges, U->getSubExpr()->IgnoreParens(), in reportBug()
179 AddDerefSource(os, Ranges, M->getBase()->IgnoreParenCasts(), in reportBug()
[all …]
H A DMallocSizeofChecker.cpp230 SmallVector<SourceRange, 4> Ranges; in checkASTCodeBody() local
231 Ranges.push_back(i->AllocCall->getCallee()->getSourceRange()); in checkASTCodeBody()
232 Ranges.push_back(SFinder.Sizeofs[0]->getSourceRange()); in checkASTCodeBody()
234 Ranges.push_back(TSI->getTypeLoc().getSourceRange()); in checkASTCodeBody()
241 categories::UnixAPI, OS.str(), L, Ranges); in checkASTCodeBody()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFVerifier.h40 std::vector<DWARFAddressRange> Ranges; member
49 DieRangeInfo(std::vector<DWARFAddressRange> Ranges) in DieRangeInfo()
50 : Ranges(std::move(Ranges)) {} in DieRangeInfo()
67 auto Begin = Ranges.begin(); in findRange()
68 auto End = Ranges.end(); in findRange()
331 return std::tie(LHS.Ranges, LHS.Die) < std::tie(RHS.Ranges, RHS.Die);
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp90 ArrayRef<CharSourceRange> Ranges, in emitDiagnostic() argument
99 emitDiagnosticMessage(Loc, PresumedLoc(), Level, Message, Ranges, D); in emitDiagnostic()
102 SmallVector<CharSourceRange, 20> MutableRanges(Ranges.begin(), in emitDiagnostic()
103 Ranges.end()); in emitDiagnostic()
127 emitDiagnosticMessage(Loc, PLoc, Level, Message, Ranges, D); in emitDiagnostic()
357 mapDiagnosticRanges(FullSourceLoc CaretLoc, ArrayRef<CharSourceRange> Ranges, in mapDiagnosticRanges() argument
363 for (const auto &Range : Ranges) { in mapDiagnosticRanges()
426 ArrayRef<CharSourceRange> Ranges, in emitCaret() argument
429 mapDiagnosticRanges(Loc, Ranges, SpellingRanges); in emitCaret()
437 ArrayRef<CharSourceRange> Ranges) { in emitSingleMacroExpansion() argument
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Format/
H A DAffectedRangeManager.h28 const ArrayRef<CharSourceRange> Ranges) in AffectedRangeManager() argument
29 : SourceMgr(SourceMgr), Ranges(Ranges.begin(), Ranges.end()) {} in AffectedRangeManager()
59 const SmallVector<CharSourceRange, 8> Ranges; variable
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Frontend/
H A DDiagnosticRenderer.h79 ArrayRef<CharSourceRange> Ranges,
84 ArrayRef<CharSourceRange> Ranges) = 0;
88 SmallVectorImpl<CharSourceRange> &Ranges,
111 ArrayRef<CharSourceRange> Ranges, ArrayRef<FixItHint> Hints);
114 ArrayRef<CharSourceRange> Ranges);
116 ArrayRef<CharSourceRange> Ranges,
133 StringRef Message, ArrayRef<CharSourceRange> Ranges,
H A DTextDiagnostic.h78 ArrayRef<CharSourceRange> Ranges,
83 ArrayRef<CharSourceRange> Ranges) override;
86 SmallVectorImpl<CharSourceRange> &Ranges, in emitCodeContext() argument
88 emitSnippetAndCaret(Loc, Level, Ranges, Hints); in emitCodeContext()
103 SmallVectorImpl<CharSourceRange> &Ranges,
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/ubsan/
H A Dubsan_diag.cc225 static Range *upperBound(MemoryLocation Loc, Range *Ranges, in upperBound() argument
229 if (Ranges[I].getEnd().getMemoryLocation() > Loc && in upperBound()
232 Ranges[I].getStart().getMemoryLocation())) in upperBound()
233 Best = &Ranges[I]; in upperBound()
248 Range *Ranges, unsigned NumRanges, in PrintMemorySnippet() argument
256 Min = __sanitizer::Min(Ranges[I].getStart().getMemoryLocation(), Min); in PrintMemorySnippet()
257 Max = __sanitizer::Max(Ranges[I].getEnd().getMemoryLocation(), Max); in PrintMemorySnippet()
281 Range *InRange = upperBound(Min, Ranges, NumRanges); in PrintMemorySnippet()
285 InRange = upperBound(P, Ranges, NumRanges); in PrintMemorySnippet()
305 InRange = upperBound(P, Ranges, NumRanges); in PrintMemorySnippet()
[all …]
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/ubsan/
H A Dubsan_diag.cc227 static Range *upperBound(MemoryLocation Loc, Range *Ranges, in upperBound() argument
231 if (Ranges[I].getEnd().getMemoryLocation() > Loc && in upperBound()
234 Ranges[I].getStart().getMemoryLocation())) in upperBound()
235 Best = &Ranges[I]; in upperBound()
250 Range *Ranges, unsigned NumRanges, in PrintMemorySnippet() argument
258 Min = __sanitizer::Min(Ranges[I].getStart().getMemoryLocation(), Min); in PrintMemorySnippet()
259 Max = __sanitizer::Max(Ranges[I].getEnd().getMemoryLocation(), Max); in PrintMemorySnippet()
283 Range *InRange = upperBound(Min, Ranges, NumRanges); in PrintMemorySnippet()
287 InRange = upperBound(P, Ranges, NumRanges); in PrintMemorySnippet()
307 InRange = upperBound(P, Ranges, NumRanges); in PrintMemorySnippet()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/ubsan/
H A Dubsan_diag.cpp234 static Range *upperBound(MemoryLocation Loc, Range *Ranges, in upperBound() argument
238 if (Ranges[I].getEnd().getMemoryLocation() > Loc && in upperBound()
241 Ranges[I].getStart().getMemoryLocation())) in upperBound()
242 Best = &Ranges[I]; in upperBound()
257 Range *Ranges, unsigned NumRanges, in PrintMemorySnippet() argument
265 Min = __sanitizer::Min(Ranges[I].getStart().getMemoryLocation(), Min); in PrintMemorySnippet()
266 Max = __sanitizer::Max(Ranges[I].getEnd().getMemoryLocation(), Max); in PrintMemorySnippet()
290 Range *InRange = upperBound(Min, Ranges, NumRanges); in PrintMemorySnippet()
294 InRange = upperBound(P, Ranges, NumRanges); in PrintMemorySnippet()
314 InRange = upperBound(P, Ranges, NumRanges); in PrintMemorySnippet()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Testing/Support/
H A DAnnotations.cpp51 Ranges[OpenRanges.back().first].push_back(R); in Annotations()
83 auto I = Ranges.find(Name); in range()
84 require(I != Ranges.end() && I->getValue().size() == 1, in range()
91 auto I = Ranges.find(Name); in ranges()
92 if (I == Ranges.end()) in ranges()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DSourceMgr.cpp263 const Twine &Msg, ArrayRef<SMRange> Ranges, in GetMessage() argument
295 for (unsigned i = 0, e = Ranges.size(); i != e; ++i) { in GetMessage()
296 SMRange R = Ranges[i]; in GetMessage()
343 ArrayRef<SMRange> Ranges, ArrayRef<SMFixIt> FixIts, in PrintMessage() argument
345 PrintMessage(OS, GetMessage(Loc, Kind, Msg, Ranges, FixIts), ShowColors); in PrintMessage()
349 const Twine &Msg, ArrayRef<SMRange> Ranges, in PrintMessage() argument
351 PrintMessage(errs(), Loc, Kind, Msg, Ranges, FixIts, ShowColors); in PrintMessage()
370 ArrayRef<std::pair<unsigned, unsigned>> Ranges, in SMDiagnostic() argument
373 Kind(Kind), Message(Msg), LineContents(LineStr), Ranges(Ranges.vec()), in SMDiagnostic()
535 for (const std::pair<unsigned, unsigned> &R : Ranges) in print()
/netbsd-src/external/apache2/llvm/dist/libcxx/docs/
H A DRangesStatus.rst4 libc++ Ranges Status
16 This document contains the status of the C++20 Ranges library in libc++. It is used to
21 If you are interested in contributing to the libc++ Ranges library, please send a message
26 Sub-Projects in the One Ranges Proposal
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DPlistDiagnostics.cpp137 void EmitRanges(raw_ostream &o, const ArrayRef<SourceRange> Ranges,
177 const ArrayRef<SourceRange> Ranges, in EmitRanges() argument
180 if (Ranges.empty()) in EmitRanges()
190 for (auto &R : Ranges) in EmitRanges()
319 ArrayRef<SourceRange> Ranges = P.getRanges(); in ReportEvent() local
320 EmitRanges(o, Ranges, indent); in ReportEvent()
405 ArrayRef<SourceRange> Ranges = P->getRanges(); in ReportMacroExpansions() local
406 EmitRanges(o, Ranges, indent); in ReportMacroExpansions()
438 ArrayRef<SourceRange> Ranges = P.getRanges(); in ReportNote() local
439 EmitRanges(o, Ranges, indent); in ReportNote()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/range/
H A Dpackage.d889 auto chain(Ranges...)(Ranges rs)
890 if (Ranges.length > 0 &&
891 allSatisfy!(isInputRange, staticMap!(Unqual, Ranges)) &&
892 !is(CommonType!(staticMap!(ElementType, staticMap!(Unqual, Ranges))) == void))
894 static if (Ranges.length == 1)
903 alias R = staticMap!(Unqual, Ranges);
1451 private struct ChooseResult(Ranges...)
1459 Ranges rs;
1480 this(size_t chosen, return scope Ranges rs) @trusted
1491 this.rs[i] = Ranges[i].init;
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/tools/clang-format/
H A DClangFormat.cpp201 std::vector<tooling::Range> &Ranges) { in fillRanges() argument
233 Ranges.push_back(tooling::Range(Offset, Length)); in fillRanges()
266 Ranges.push_back(tooling::Range(Offset, Length)); in fillRanges()
388 std::vector<tooling::Range> Ranges; in format() local
389 if (fillRanges(Code.get(), Ranges)) in format()
412 Replacements Replaces = sortIncludes(*FormatStyle, Code->getBuffer(), Ranges, in format()
420 Ranges = tooling::calculateRangesAfterReplacements(Replaces, Ranges); in format()
423 reformat(*FormatStyle, *ChangedCode, Ranges, AssumedFileName, &Status); in format()
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/test/
H A Dmultiple_ranges_test.cc79 ->Ranges({{1, 2}, {3, 7}, {5, 15}})
89 BENCHMARK(BM_CheckDefaultArgument)->Ranges({{1, 5}, {6, 10}});
95 BENCHMARK(BM_MultipleRanges)->Ranges({{5, 5}, {6, 6}});
/netbsd-src/external/apache2/llvm/dist/llvm/utils/benchmark/test/
H A Dmultiple_ranges_test.cc79 ->Ranges({{1, 2}, {3, 7}, {5, 15}})
89 BENCHMARK(BM_CheckDefaultArgument)->Ranges({{1, 5}, {6, 10}});
95 BENCHMARK(BM_MultipleRanges)->Ranges({{5, 5}, {6, 6}});
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/algorithm/
H A Dcomparison.d956 bool equal(Ranges...)(Ranges rs)
958 && allSatisfy!(isInputRange, Ranges)
959 && !allSatisfy!(isInfinite, Ranges)
964 alias ElementEncodingTypes = staticMap!(ElementEncodingType, Ranges);
970 static if (anySatisfy!(isInfinite, Ranges))
977 static bool allByDchar(size_t done, Ranges...)(auto ref Ranges rs) in allByDchar() argument
987 allSatisfy!(isArray, Ranges) && allSatisfy!(comparableWithEq, rs))
998 isAutodecodableString!(Ranges[0]) != isAutodecodableString!(Ranges[1]) &&
999 … is(immutable ElementEncodingType!(Ranges[0]) == immutable ElementEncodingType!(Ranges[1])))
1002 static if (isAutodecodableString!(Ranges[0]))
[all …]

12345678910