/prebuilts/clang/host/linux-x86/clang-4691093/include/clang/Rewrite/Core/ |
HTMLRewrite.h | 29 /// HighlightRange - Highlight a range in the source code with the specified 31 /// start/end tags are placed at the start/end of each line if the range is 36 /// HighlightRange - Highlight a range in the source code with the specified 37 /// start/end tags. The Start/end of the range must be in the same file. 39 /// if the range is multiline. 40 inline void HighlightRange(Rewriter &R, SourceRange Range, 42 HighlightRange(R, Range.getBegin(), Range.getEnd(), StartTag, EndTag);
|
/system/core/libmemunreachable/ |
HeapWalker.cpp | 37 Range range{begin, end}; 38 auto inserted = allocations_.insert(std::pair<Range, AllocationInfo>(range, AllocationInfo{})); 42 allocation_bytes_ += range.size(); 45 Range overlap = inserted.first->first; 46 if (overlap != range) { 47 MEM_ALOGE("range %p-%p overlaps with existing range %p-%p", reinterpret_cast<void*>(begin), 55 bool HeapWalker::WordContainsAllocationPtr(uintptr_t word_ptr, Range* range, AllocationInfo** info) 76 Range range = to_do.back(); local [all...] |
/external/lzma/CS/7zip/Compress/RangeCoder/ |
RangeCoderBit.cs | 29 uint newBound = (encoder.Range >> kNumBitModelTotalBits) * Prob;
32 encoder.Range = newBound;
38 encoder.Range -= newBound;
41 if (encoder.Range < Encoder.kTopValue)
43 encoder.Range <<= 8;
91 uint newBound = (uint)(rangeDecoder.Range >> kNumBitModelTotalBits) * (uint)Prob;
94 rangeDecoder.Range = newBound;
96 if (rangeDecoder.Range < Decoder.kTopValue)
99 rangeDecoder.Range <<= 8;
105 rangeDecoder.Range -= newBound; [all...] |
/frameworks/minikin/libs/minikin/ |
MeasuredText.cpp | 35 const Range& range = run->getRange(); local 36 const uint32_t runOffset = range.getStart(); 44 for (uint32_t i = range.getStart(); i < range.getEnd(); ++i) { 58 void MeasuredText::buildLayout(const U16StringPiece& textBuf, const Range& range, 62 layout->doLayoutWithPrecomputedPieces(textBuf, range, bidiFlags, paint, startHyphen, endHyphen, 66 MinikinRect MeasuredText::getBounds(const U16StringPiece& textBuf, const Range& range) { [all...] |
/external/clang/lib/Lex/ |
PreprocessingRecord.cpp | 30 SourceRange Range) 31 : PreprocessingDirective(InclusionDirectiveKind, Range), 47 /// that source range \p Range encompasses. 49 PreprocessingRecord::getPreprocessedEntitiesInRange(SourceRange Range) { 50 if (Range.isInvalid()) 53 if (CachedRangeQuery.Range == Range) { 58 std::pair<int, int> Res = getPreprocessedEntitiesInRangeSlow(Range); 60 CachedRangeQuery.Range = Range [all...] |
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/expr/ |
IntegerLiteralMinValueExpr.java | 24 import com.github.javaparser.Range; 37 public IntegerLiteralMinValueExpr(final Range range) { 38 super(range, MIN_VALUE);
|
LongLiteralMinValueExpr.java | 24 import com.github.javaparser.Range; 37 public LongLiteralMinValueExpr(final Range range) { 38 super(range, MIN_VALUE);
|
NullLiteralExpr.java | 24 import com.github.javaparser.Range; 36 public NullLiteralExpr(final Range range) { 37 super(range);
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/stmt/ |
EmptyStmt.java | 24 import com.github.javaparser.Range; 36 public EmptyStmt(Range range) { 37 super(range);
|
/external/llvm/include/llvm/ADT/ |
STLExtras.h | 373 bool all_of(R &&Range, UnaryPredicate &&P) { 374 return std::all_of(Range.begin(), Range.end(), 381 bool any_of(R &&Range, UnaryPredicate &&P) { 382 return std::any_of(Range.begin(), Range.end(), 389 bool none_of(R &&Range, UnaryPredicate &&P) { 390 return std::none_of(Range.begin(), Range.end(), 397 auto find(R &&Range, const T &val) -> decltype(Range.begin()) [all...] |
/frameworks/base/tools/aapt2/compile/ |
Image.h | 67 * A range of pixel values, starting at 'start' and ending before 'end' 70 struct Range { 74 explicit Range() = default; 75 inline explicit Range(int32_t s, int32_t e) : start(s), end(e) {} 78 inline bool operator==(const Range& left, const Range& right) { 163 std::vector<Range> horizontal_stretch_regions; 170 std::vector<Range> vertical_stretch_regions; 203 ::std::ostream& operator<<(::std::ostream& out, const Range& range); [all...] |
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/util/ |
RangeTest.kt | 20 import android.util.Range 27 val range: Range<String> = "a" rangeTo "c" 28 assertEquals("a", range.lower) 29 assertEquals("c", range.upper) 33 val range = ("a" rangeTo "c") + "e" 34 assertEquals("a", range.lower) 35 assertEquals("e", range.upper) 39 val range = ("a" rangeTo "c") + ("e" rangeTo "g") 40 assertEquals("a", range.lower [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
RegularContiguousSet.java | 35 private final Range<C> range; field in class:RegularContiguousSet 37 RegularContiguousSet(Range<C> range, DiscreteDomain<C> domain) { 39 this.range = range; 42 private ContiguousSet<C> intersectionInCurrentDomain(Range<C> other) { 43 return (range.isConnected(other)) 44 ? ContiguousSet.create(range.intersection(other), domain) 49 return intersectionInCurrentDomain(Range.upTo(toElement, BoundType.forBoolean(inclusive))) 132 @Override public Range<C> range() { method 136 @Override public Range<C> range(BoundType lowerBoundType, BoundType upperBoundType) { method [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
RecurrenceRuleTest.java | 60 final Iterator<Range<ZonedDateTime>> it = r.cycleIterator(); 62 assertEquals(new Range<>( 66 assertEquals(new Range<>( 80 final Iterator<Range<ZonedDateTime>> it = r.cycleIterator(); 82 assertEquals(new Range<>( 86 assertEquals(new Range<>( 101 final Iterator<Range<ZonedDateTime>> it = r.cycleIterator(); 103 assertEquals(new Range<>( 115 final Iterator<Range<ZonedDateTime>> it = r.cycleIterator(); 125 final Iterator<Range<ZonedDateTime>> it = r.cycleIterator() [all...] |
/prebuilts/jdk/jdk8/darwin-x86/sample/forkjoin/mergesort/ |
MergeDemo.java | 62 private static class Range { 67 private Range(int start, int step, int iterations) { 77 * @return the constructed range 79 public static Range parse(String[] args, int start) { 83 return new Range(parseInt(args[start]), parseInt(args[start + 1]), parseInt(args[start + 2])); 108 private final Range sizes; 109 private final Range parallelism; 111 private final static Configuration defaultConfig = new Configuration(new Range(20000, 20000, 10), 112 new Range(2, 2, 10)); 114 private Configuration(Range sizes, Range parallelism) [all...] |
/prebuilts/jdk/jdk8/linux-x86/sample/forkjoin/mergesort/ |
MergeDemo.java | 62 private static class Range { 67 private Range(int start, int step, int iterations) { 77 * @return the constructed range 79 public static Range parse(String[] args, int start) { 83 return new Range(parseInt(args[start]), parseInt(args[start + 1]), parseInt(args[start + 2])); 108 private final Range sizes; 109 private final Range parallelism; 111 private final static Configuration defaultConfig = new Configuration(new Range(20000, 20000, 10), 112 new Range(2, 2, 10)); 114 private Configuration(Range sizes, Range parallelism) [all...] |
/external/clang/include/clang/Lex/ |
PreprocessingRecord.h | 78 /// \brief The source range that covers this preprocessed entity. 79 SourceRange Range; 82 PreprocessedEntity(EntityKind Kind, SourceRange Range) 83 : Kind(Kind), Range(Range) { } 91 /// \brief Retrieve the source range that covers this entire preprocessed 93 SourceRange getSourceRange() const LLVM_READONLY { return Range; } 125 PreprocessingDirective(EntityKind Kind, SourceRange Range) 126 : PreprocessedEntity(Kind, Range) { } 142 SourceRange Range) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/Lex/ |
PreprocessingRecord.h | 77 /// \brief The source range that covers this preprocessed entity. 78 SourceRange Range; 81 PreprocessedEntity(EntityKind Kind, SourceRange Range) 82 : Kind(Kind), Range(Range) { } 90 /// \brief Retrieve the source range that covers this entire preprocessed 92 SourceRange getSourceRange() const LLVM_READONLY { return Range; } 124 PreprocessingDirective(EntityKind Kind, SourceRange Range) 125 : PreprocessedEntity(Kind, Range) { } 141 SourceRange Range) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/clang/Lex/ |
PreprocessingRecord.h | 77 /// \brief The source range that covers this preprocessed entity. 78 SourceRange Range; 81 PreprocessedEntity(EntityKind Kind, SourceRange Range) 82 : Kind(Kind), Range(Range) { } 90 /// \brief Retrieve the source range that covers this entire preprocessed 92 SourceRange getSourceRange() const LLVM_READONLY { return Range; } 124 PreprocessingDirective(EntityKind Kind, SourceRange Range) 125 : PreprocessedEntity(Kind, Range) { } 141 SourceRange Range) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/include/clang/Lex/ |
PreprocessingRecord.h | 77 /// \brief The source range that covers this preprocessed entity. 78 SourceRange Range; 81 PreprocessedEntity(EntityKind Kind, SourceRange Range) 82 : Kind(Kind), Range(Range) { } 90 /// \brief Retrieve the source range that covers this entire preprocessed 92 SourceRange getSourceRange() const LLVM_READONLY { return Range; } 124 PreprocessingDirective(EntityKind Kind, SourceRange Range) 125 : PreprocessedEntity(Kind, Range) { } 141 SourceRange Range) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/include/clang/Lex/ |
PreprocessingRecord.h | 77 /// \brief The source range that covers this preprocessed entity. 78 SourceRange Range; 81 PreprocessedEntity(EntityKind Kind, SourceRange Range) 82 : Kind(Kind), Range(Range) { } 90 /// \brief Retrieve the source range that covers this entire preprocessed 92 SourceRange getSourceRange() const LLVM_READONLY { return Range; } 124 PreprocessingDirective(EntityKind Kind, SourceRange Range) 125 : PreprocessedEntity(Kind, Range) { } 141 SourceRange Range) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4630689/include/clang/Lex/ |
PreprocessingRecord.h | 77 /// \brief The source range that covers this preprocessed entity. 78 SourceRange Range; 81 PreprocessedEntity(EntityKind Kind, SourceRange Range) 82 : Kind(Kind), Range(Range) { } 90 /// \brief Retrieve the source range that covers this entire preprocessed 92 SourceRange getSourceRange() const LLVM_READONLY { return Range; } 124 PreprocessingDirective(EntityKind Kind, SourceRange Range) 125 : PreprocessedEntity(Kind, Range) { } 141 SourceRange Range) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4639204/include/clang/Lex/ |
PreprocessingRecord.h | 77 /// \brief The source range that covers this preprocessed entity. 78 SourceRange Range; 81 PreprocessedEntity(EntityKind Kind, SourceRange Range) 82 : Kind(Kind), Range(Range) { } 90 /// \brief Retrieve the source range that covers this entire preprocessed 92 SourceRange getSourceRange() const LLVM_READONLY { return Range; } 124 PreprocessingDirective(EntityKind Kind, SourceRange Range) 125 : PreprocessedEntity(Kind, Range) { } 141 SourceRange Range) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4691093/include/clang/Lex/ |
PreprocessingRecord.h | 77 /// \brief The source range that covers this preprocessed entity. 78 SourceRange Range; 81 PreprocessedEntity(EntityKind Kind, SourceRange Range) 82 : Kind(Kind), Range(Range) { } 90 /// \brief Retrieve the source range that covers this entire preprocessed 92 SourceRange getSourceRange() const LLVM_READONLY { return Range; } 124 PreprocessingDirective(EntityKind Kind, SourceRange Range) 125 : PreprocessedEntity(Kind, Range) { } 141 SourceRange Range) [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/clang/include/clang/Lex/ |
PreprocessingRecord.h | 77 /// \brief The source range that covers this preprocessed entity. 78 SourceRange Range; 81 PreprocessedEntity(EntityKind Kind, SourceRange Range) 82 : Kind(Kind), Range(Range) { } 90 /// \brief Retrieve the source range that covers this entire preprocessed 92 SourceRange getSourceRange() const LLVM_READONLY { return Range; } 124 PreprocessingDirective(EntityKind Kind, SourceRange Range) 125 : PreprocessedEntity(Kind, Range) { } 141 SourceRange Range) [all...] |