/external/chromium_org/base/metrics/ |
bucket_ranges.h | 5 // BucketRanges stores the vector of ranges that delimit what samples are 7 // same ranges for all their corresponding buckets should share the same 11 // value will need a BucketRanges with 6 ranges: 31 typedef std::vector<HistogramBase::Sample> Ranges; 42 // A bucket is defined by a consecutive pair of entries in |ranges|, so there 43 // is one fewer bucket than there are ranges. For example, if |ranges| is 48 // Checksum methods to verify whether the ranges are corrupted (e.g. bad 61 Ranges ranges_;
|
/external/chromium_org/media/base/ |
ranges.h | 19 // Ranges allows holding an ordered list of ranges of [start,end) intervals. 20 // The canonical example use-case is holding the list of ranges of buffered 23 class Ranges { 28 // Returns the number of stored ranges, post coallescing. 31 // Return the number of disjoint ranges. 38 // Clear all ranges. 42 Ranges<T> IntersectionWith(const Ranges<T>& other) const; 57 size_t Ranges<T>::Add(T start, T end) [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
ContiguousSetTest.java | 64 Ranges.closed(1, 3).asSet(integers()), 65 Ranges.closedOpen(1, 4).asSet(integers()), 66 Ranges.openClosed(0, 3).asSet(integers()), 67 Ranges.open(0, 4).asSet(integers()), 68 Ranges.closed(1, 3).asSet(NOT_EQUAL_TO_INTEGERS), 69 Ranges.closedOpen(1, 4).asSet(NOT_EQUAL_TO_INTEGERS), 70 Ranges.openClosed(0, 3).asSet(NOT_EQUAL_TO_INTEGERS), 71 Ranges.open(0, 4).asSet(NOT_EQUAL_TO_INTEGERS), 75 assertEquals(Ranges.closed(Integer.MIN_VALUE, Integer.MAX_VALUE).asSet(integers()), 76 Ranges.<Integer>all().asSet(integers())) [all...] |
RangeNonGwtTest.java | 37 tester.testAllPublicStaticMethods(Ranges.class); 39 tester.testAllPublicInstanceMethods(Ranges.all()); 40 tester.testAllPublicInstanceMethods(Ranges.open(1, 3));
|
RangeTest.java | 42 Range<Integer> range = Ranges.open(4, 8); 57 Ranges.open(4, 3); 62 Ranges.open(3, 3); 69 Range<Integer> range = Ranges.closed(5, 7); 84 Ranges.closed(4, 3); 91 Range<Integer> range = Ranges.openClosed(4, 7); 105 Range<Integer> range = Ranges.closedOpen(5, 8); 119 assertTrue(Ranges.closed(3, 5).isConnected(Ranges.open(5, 6))); 120 assertTrue(Ranges.closed(3, 5).isConnected(Ranges.openClosed(5, 5))) [all...] |
/external/llvm/include/llvm/Support/ |
UnicodeCharRanges.h | 1 //===--- UnicodeCharRanges.h - Types and functions for character ranges ---===// 49 /// Array pointed by \p Ranges should have the lifetime at least as long as 52 /// instances per each array of ranges, as possible. 53 UnicodeCharSet(CharRanges Ranges) : Ranges(Ranges) { 60 return std::binary_search(Ranges.begin(), Ranges.end(), C); 64 /// \brief Returns true if each of the ranges is a proper closed range 65 /// [min, max], and if the ranges themselves are ordered and non-overlapping [all...] |
SourceMgr.h | 157 ArrayRef<SMRange> Ranges = None, 163 ArrayRef<SMRange> Ranges = None, 180 ArrayRef<SMRange> Ranges = None, 234 std::vector<std::pair<unsigned, unsigned> > Ranges; 250 ArrayRef<std::pair<unsigned,unsigned> > Ranges, 262 return Ranges;
|
/external/llvm/unittests/Support/ |
SourceMgrTest.cpp | 40 const Twine &Msg, ArrayRef<SMRange> Ranges, 43 SM.PrintMessage(OS, Loc, Kind, Msg, Ranges, FixIts); 131 SMRange Ranges[] = { getRange(0, 3), getRange(4, 3) }; 132 printMessage(getLoc(4), SourceMgr::DK_Error, "message", Ranges, None); 142 SMRange Ranges[] = { getRange(0, 3), getRange(2, 4) }; 143 printMessage(getLoc(4), SourceMgr::DK_Error, "message", Ranges, None);
|
/external/clang/tools/libclang/ |
CXLoadedDiagnostic.h | 49 /// \brief Return the number of source ranges for the diagnostic. 52 /// \brief Return the source ranges for the diagnostic. 84 std::vector<CXSourceRange> Ranges;
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
DereferenceChecker.cpp | 44 SmallVectorImpl<SourceRange> &Ranges, 53 SmallVectorImpl<SourceRange> &Ranges, 67 Ranges.push_back(DR->getSourceRange()); 76 Ranges.push_back(SourceRange(L, L)); 84 Ranges.push_back(SourceRange(L, L)); 105 SmallVector<SourceRange, 2> Ranges; 128 AddDerefSource(os, Ranges, AE->getBase()->IgnoreParenCasts(), 136 AddDerefSource(os, Ranges, U->getSubExpr()->IgnoreParens(), 145 AddDerefSource(os, Ranges, M->getBase()->IgnoreParenCasts(), 154 AddDerefSource(os, Ranges, IV->getBase()->IgnoreParenCasts() [all...] |
MallocSizeofChecker.cpp | 228 SmallVector<SourceRange, 4> Ranges; 229 Ranges.push_back(i->AllocCall->getCallee()->getSourceRange()); 230 Ranges.push_back(SFinder.Sizeofs[0]->getSourceRange()); 232 Ranges.push_back(TSI->getTypeLoc().getSourceRange()); 239 categories::UnixAPI, OS.str(), L, Ranges);
|
/external/clang/tools/clang-format/ |
ClangFormat.cpp | 40 "Multiple ranges can be formatted by specifying\n" 47 "Multiple ranges can be formatted by specifying\n" 57 "Multiple ranges can be formatted by specifying\n" 126 std::vector<CharSourceRange> &Ranges) { 147 Ranges.push_back(CharSourceRange::getCharRange(Start, End)); 180 Ranges.push_back(CharSourceRange::getCharRange(Start, End)); 222 std::vector<CharSourceRange> Ranges; 223 if (fillRanges(Sources, ID, Code.get(), Ranges)) 230 tooling::Replacements Replaces = reformat(FormatStyle, Lex, Sources, Ranges);
|
/external/guava/guava/src/com/google/common/collect/ |
Ranges.java | 29 * {@link Range nine types of ranges} can be constructed with a corresponding 71 public final class Ranges { 72 private Ranges() {}
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
DbgValueHistoryCalculator.cpp | 40 auto &Ranges = VarInstrRanges[Var]; 41 if (!Ranges.empty() && Ranges.back().second == nullptr && 42 Ranges.back().first->isIdenticalTo(&MI)) { 44 << "\t" << Ranges.back().first << "\t" << MI << "\n"); 47 Ranges.push_back(std::make_pair(&MI, nullptr)); 52 auto &Ranges = VarInstrRanges[Var]; 54 assert(!Ranges.empty() && Ranges.back().second == nullptr); 55 // For now, instruction ranges are not allowed to cross basic bloc [all...] |
/external/chromium_org/ash/wm/workspace/ |
magnetism_matcher.h | 52 typedef std::vector<Range> Ranges; 123 // Visible ranges of the edge. Initialized with GetSecondaryRange() and 126 Ranges ranges_;
|
/external/chromium_org/sandbox/linux/seccomp-bpf/ |
sandbox_bpf.h | 197 typedef std::vector<Range> Ranges; 266 // Finds all the ranges of system calls that need to be handled. Ranges are 268 // ranges. System calls with identical ErrorCodes are coalesced into a single 270 void FindRanges(Ranges* ranges); 275 Ranges::const_iterator start, 276 Ranges::const_iterator stop);
|
/external/clang/lib/StaticAnalyzer/Core/ |
PlistDiagnostics.cpp | 105 // Make the ranges of the start and end point self-consistent with adjacent edges 159 // Output the ranges (if any). 160 ArrayRef<SourceRange> Ranges = P.getRanges(); 162 if (!Ranges.empty()) { 163 Indent(o, indent) << "<key>ranges</key>\n"; 166 for (ArrayRef<SourceRange>::iterator I = Ranges.begin(), E = Ranges.end(); 292 // ranges of the diagnostics. 316 ArrayRef<SourceRange> Ranges = piece->getRanges(); 317 for (ArrayRef<SourceRange>::iterator I = Ranges.begin() [all...] |
RangeConstraintManager.cpp | 70 /// RangeSet contains a set of ranges. If the set is empty, then 75 PrimRangeSet ranges; // no need to make const, since it is an member in class:__anon1980::RangeSet 82 RangeSet(PrimRangeSet RS) : ranges(RS) {} 84 iterator begin() const { return ranges.begin(); } 85 iterator end() const { return ranges.end(); } 87 bool isEmpty() const { return ranges.isEmpty(); } 91 : ranges(F.add(F.getEmptySet(), Range(from, to))) {} 95 void Profile(llvm::FoldingSetNodeID &ID) const { ranges.Profile(ID); } 101 return ranges.isSingleton() ? ranges.begin()->getConcreteValue() : nullptr [all...] |
HTMLDiagnostics.cpp | 534 // Now highlight the ranges. 535 ArrayRef<SourceRange> Ranges = P.getRanges(); 536 for (ArrayRef<SourceRange>::iterator I = Ranges.begin(), 537 E = Ranges.end(); I != E; ++I) {
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
malloc_extension.cc | 351 void MallocExtension::Ranges(void* arg, RangeFunction func) {
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
malloc_extension.cc | 334 void MallocExtension::Ranges(void* arg, RangeFunction func) {
|
/external/compiler-rt/lib/ubsan/ |
ubsan_diag.h | 172 /// The ranges which have been added to this diagnostic so far. 173 Range Ranges[MaxRanges]; 184 Ranges[NumRanges++] = A;
|
/external/llvm/include/llvm/CodeGen/ |
LexicalScopes.h | 62 SmallVectorImpl<InsnRange> &getRanges() { return Ranges; } 90 Ranges.push_back(InsnRange(FirstInsn, LastInsn)); 125 SmallVector<InsnRange, 4> Ranges; 214 /// extractLexicalScopes - Extract instruction ranges for each lexical scopes
|
MachineMemOperand.h | 95 const MDNode *Ranges; 121 const MDNode *Ranges = nullptr); 168 const MDNode *getRanges() const { return Ranges; }
|
/external/llvm/lib/Support/ |
SourceMgr.cpp | 144 ArrayRef<SMRange> Ranges, 175 // Convert any ranges to column ranges that only intersect the line of the 177 for (unsigned i = 0, e = Ranges.size(); i != e; ++i) { 178 SMRange R = Ranges[i]; 191 // Translate from SMLoc ranges to column ranges. 224 const Twine &Msg, ArrayRef<SMRange> Ranges, 226 PrintMessage(OS, GetMessage(Loc, Kind, Msg, Ranges, FixIts), ShowColors); 230 const Twine &Msg, ArrayRef<SMRange> Ranges, [all...] |