/external/clang/include/clang/ASTMatchers/Dynamic/ |
Diagnostics.h | 44 ParserValue() : Text(), Range(), Value() {} 46 SourceRange Range; 140 ArgStream addError(SourceRange Range, ErrorType Error); 145 SourceRange Range; 153 SourceRange Range; 175 ArgStream pushContextFrame(ContextType Type, SourceRange Range);
|
/system/update_engine/common/ |
multi_range_http_fetcher.h | 33 // for the last range specified to have unlimited length, tho it is legal for 62 ranges_.push_back(Range(offset, size)); 66 ranges_.push_back(Range(offset)); 122 // A range object defining the offset and length of a download chunk. Zero 124 // request a zero-length range in HTTP). 125 class Range { 127 Range(off_t offset, size_t length) : offset_(offset), length_(length) {} 128 explicit Range(off_t offset) : offset_(offset), length_(0) {} 142 typedef std::vector<Range> RangesVect;
|
/external/clang/lib/ASTMatchers/Dynamic/ |
Diagnostics.cpp | 16 SourceRange Range) { 20 data.Range = Range; 66 Diagnostics::ArgStream Diagnostics::addError(SourceRange Range, 72 Last.Messages.back().Range = Range; 153 static void maybeAddLineAndColumn(SourceRange Range, 155 if (Range.Start.Line > 0 && Range.Start.Column > 0) { 156 OS << Range.Start.Line << ":" << Range.Start.Column << ": " [all...] |
Parser.cpp | 47 TokenInfo() : Text(), Kind(TK_Eof), Range(), Value() {} 51 SourceRange Range; 89 Result.Range.Start = currentLocation(); 168 Result.Range.End = currentLocation(); 192 SourceRange Range; 193 Range.Start = Result->Range.Start; 194 Range.End = currentLocation(); 195 Error->addError(Range, Error->ET_ParserUnsignedError) << Result->Text; 227 SourceRange Range; [all...] |
/external/guava/guava/src/com/google/common/collect/ |
RegularContiguousSet.java | 37 private final Range<C> range; field in class:RegularContiguousSet 39 RegularContiguousSet(Range<C> range, DiscreteDomain<C> domain) { 41 this.range = range; 44 private ContiguousSet<C> intersectionInCurrentDomain(Range<C> other) { 45 return (range.isConnected(other)) 46 ? ContiguousSet.create(range.intersection(other), domain) 51 return intersectionInCurrentDomain(Range.upTo(toElement, BoundType.forBoolean(inclusive))) [all...] |
ContiguousSet.java | 32 * {@code ContiguousSet.create(Range.greaterThan(0), DiscreteDomain.integers()}). Certain 45 * {@linkplain Range#contains contained} by the range. 47 * @throws IllegalArgumentException if neither range nor the domain has a lower bound, or if 53 Range<C> range, DiscreteDomain<C> domain) { 54 checkNotNull(range); 56 Range<C> effectiveRange = range; 58 if (!range.hasLowerBound()) 153 public abstract Range<C> range(); method in class:ContiguousSet 166 public abstract Range<C> range(BoundType lowerBoundType, BoundType upperBoundType); method in class:ContiguousSet [all...] |
/external/lzma/C/ |
Ppmd7Enc.c | 14 p->Range = 0xFFFFFFFF;
38 p->Low += start * (p->Range /= total);
39 p->Range *= size;
40 while (p->Range < kTopValue)
42 p->Range <<= 8;
49 p->Range = (p->Range >> 14) * size0;
50 while (p->Range < kTopValue)
52 p->Range <<= 8;
59 UInt32 newBound = (p->Range >> 14) * size0; [all...] |
Ppmd7Dec.c | 15 p->Range = 0xFFFFFFFF;
26 return (p->Code) / (p->Range /= total);
31 if (p->Range < kTopValue)
34 p->Range <<= 8;
35 if (p->Range < kTopValue)
38 p->Range <<= 8;
46 p->Code -= start * p->Range;
47 p->Range *= size;
54 UInt32 newBound = (p->Range >> 14) * size0;
59 p->Range = newBound; [all...] |
/external/google-breakpad/src/processor/ |
static_range_map.h | 55 // Locates the range encompassing the supplied address. If there is 56 // no such range, returns false. entry_base and entry_size, if non-NULL, 57 // are set to the base and size of the entry's range. 61 // Locates the range encompassing the supplied address, if one exists. 62 // If no range encompasses the supplied address, locates the nearest range 64 // if no range meets these criteria. entry_base and entry_size, if 65 // non-NULL, are set to the base and size of the entry's range. 71 // occupy, locates the range at the index specified by index. Returns 74 // range [all...] |
range_map.h | 30 // range_map.h: Range maps. 32 // A range map associates a range of addresses with a specific object. This 34 // address space. The range map makes it simple to determine which object is 36 // range associated with an object. 57 // Inserts a range into the map. Returns false for a parameter error, 58 // or if the location of the range would conflict with a range already 64 // Locates the range encompassing the supplied address. If there is 65 // no such range, returns false. entry_base and entry_size, if non-NULL [all...] |
/external/pdfium/core/fpdfapi/cmaps/ |
cmap_int.h | 14 enum MapType { None, Single, Range, Reverse };
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Misc/ |
FastQueue.cs | 63 public virtual int Range { 82 if (absIndex > Range) 83 Range = absIndex;
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Misc/ |
FastQueue.cs | 67 public virtual int Range 89 if (absIndex > Range) 90 Range = absIndex;
|
/external/llvm/include/llvm/Support/ |
SourceMgr.h | 199 /// Represents a single fixit, a replacement of one range of text with another. 201 SMRange Range; 208 : Range(Loc, Loc), Text(Insertion.str()) { 214 : Range(R), Text(Replacement.str()) { 219 SMRange getRange() const { return Range; } 222 if (Range.Start.getPointer() != Other.Range.Start.getPointer()) 223 return Range.Start.getPointer() < Other.Range.Start.getPointer(); 224 if (Range.End.getPointer() != Other.Range.End.getPointer() [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/Mtftp6Dxe/ |
Mtftp6Support.c | 20 Allocate a MTFTP block range, then init it to the range of [Start, End].
23 @param[in] End The last block number in the range.
25 @return Range The range of the allocated block buffer.
34 MTFTP6_BLOCK_RANGE *Range;
36 Range = AllocateZeroPool (sizeof (MTFTP6_BLOCK_RANGE));
38 if (Range == NULL) {
42 InitializeListHead (&Range->Link);
43 Range->Start = Start; [all...] |
/external/clang/include/clang/AST/ |
RawCommentList.h | 110 SourceRange getSourceRange() const LLVM_READONLY { return Range; } 111 SourceLocation getLocStart() const LLVM_READONLY { return Range.getBegin(); } 112 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); } 126 SourceRange Range; 150 Range(SR), RawTextValid(false), BriefTextValid(false), Kind(K),
|
/external/clang/lib/Lex/ |
PPConditionalDirectiveRecord.cpp | 25 SourceRange Range) const { 26 if (Range.isInvalid()) 31 Range.getBegin(), CondDirectiveLoc::Comp(SourceMgr)); 35 if (SourceMgr.isBeforeInTranslationUnit(Range.getEnd(), low->getLoc())) 40 Range.getEnd(), CondDirectiveLoc::Comp(SourceMgr));
|
/external/llvm/lib/CodeGen/MIRParser/ |
MILexer.cpp | 62 MIToken &MIToken::reset(TokenKind Kind, StringRef Range) { 64 this->Range = Range; 156 auto Range = C; 160 StringRef String = Range.upto(R); 166 Token.reset(MIToken::Error, Range.remaining()); 167 return Range; 171 Token.reset(Type, Range.upto(C)) 172 .setStringValue(Range.upto(C).drop_front(PrefixLength)); 179 auto Range = C [all...] |
/frameworks/base/media/java/android/media/ |
MediaCodecInfo.java | 23 import android.util.Range; 119 private static final Range<Integer> POSITIVE_INTEGERS = 120 Range.create(1, Integer.MAX_VALUE); 121 private static final Range<Long> POSITIVE_LONGS = 122 Range.create(1l, Long.MAX_VALUE); 123 private static final Range<Rational> POSITIVE_RATIONALS = 124 Range.create(new Rational(1, Integer.MAX_VALUE), 126 private static final Range<Integer> SIZE_RANGE = Range.create(1, 32768); 127 private static final Range<Integer> FRAME_RATE_RANGE = Range.create(0, 960) 1312 Range<Integer> range = mWidthRange; local 1356 Range<Integer> range = mHeightRange; local 1406 Range<Integer> range = mHeightRange; local 1442 Range<Long> range = mMeasuredFrameRates.get(size); local 1661 Range<Long> range = Utils.parseLongRange(map.get(key), null); local 1671 Pair<Size, Size> range = Utils.parseSizeRange(o); local [all...] |
/external/clang/lib/Format/ |
SortJavaScriptImports.cpp | 44 SourceRange Range; 47 // Ignore Range for comparison, it is only used to stitch code together, 92 SourceRange Range; 173 SourceRange InsertionPoint = References[0].Range; 174 InsertionPoint.setEnd(References[References.size() - 1].Range.getEnd()); 229 StringRef getSourceText(SourceRange Range) { 230 return getSourceText(Range.getBegin(), Range.getEnd()); 252 StringRef ReferenceStmt = getSourceText(Reference.Range); 257 SourceLocation SymbolsStart = Reference.Symbols.front().Range.getBegin() [all...] |
/external/clang/lib/Tooling/Core/ |
Replacement.cpp | 46 const CharSourceRange &Range, 49 setFromSourceRange(Sources, Range, ReplacementText, LangOpts); 112 this->ReplacementRange = Range(DecomposedLocation.second, Length); 120 const CharSourceRange &Range, 122 SourceLocation SpellingBegin = Sources.getSpellingLoc(Range.getBegin()); 123 SourceLocation SpellingEnd = Sources.getSpellingLoc(Range.getEnd()); 127 if (Range.isTokenRange()) 133 const CharSourceRange &Range, 136 setFromSourceLocation(Sources, Sources.getSpellingLoc(Range.getBegin()), 137 getRangeSize(Sources, Range, LangOpts) [all...] |
/external/easymock/src/org/easymock/ |
MockControl.java | 254 * @param range
261 public void setReturnValue(Object value, Range range) {
265 callWithConvertedRange(setter, range);
351 public void setVoidCallable(Range range) {
353 callWithConvertedRange(setter, range);
382 public void setThrowable(Throwable throwable, Range range) {
386 callWithConvertedRange(setter, range);
[all...] |
/external/swiftshader/third_party/LLVM/lib/DebugInfo/ |
DWARFDebugAranges.cpp | 19 // Compare function DWARFDebugAranges::Range structures 20 static bool RangeLessThan(const DWARFDebugAranges::Range &range1, 21 const DWARFDebugAranges::Range &range2) { 41 DWARFDebugAranges::Range range; local 42 range.Offset = set.getCompileUnitDIEOffset(); 45 range.LoPC = arange_desc_ptr->Address; 46 range.Length = arange_desc_ptr->Length; 52 range, RangeLessThan); 53 RangeCollection.insert(insert_pos, range); 69 Range range; local 102 const Range &range = Aranges[i]; local [all...] |
/external/mesa3d/src/gallium/drivers/r300/ |
r300_vs_draw.c | 84 decl.Range.First = decl.Range.Last = reg; 101 decl.Range.First = decl.Range.Last = reg; 115 for (i = before->Range.First; i < Elements(vsctx->out_remap); i++) { 121 before->Range.First + vsctx->decl_shift); 134 for (i = after->Range.First+1; i < Elements(vsctx->out_remap); i++) { 140 after->Range.First + 1); 154 vsctx->pos_output = decl->Range.First; 201 decl->Range.First += vsctx->decl_shift [all...] |
/external/clang/lib/Rewrite/ |
Rewriter.cpp | 105 /// ReplaceText - This method replaces a range of characters in the input 122 /// getRangeSize - Return the size in bytes of the specified range if they 124 int Rewriter::getRangeSize(const CharSourceRange &Range, 126 if (!isRewritable(Range.getBegin()) || 127 !isRewritable(Range.getEnd())) return -1; 132 StartOff = getLocationOffsetAndFileID(Range.getBegin(), StartFileID); 133 EndOff = getLocationOffsetAndFileID(Range.getEnd(), EndFileID); 138 // If edits have been made to this buffer, the delta between the range may 150 // start of the last token if this is a token range. 151 if (Range.isTokenRange() [all...] |