/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
BufferedTokenStream.cs | 103 public virtual int Range { 207 throw new IndexOutOfRangeException("token index " + i + " out of range 0.." + (_tokens.Count - 1)); 268 if (i > Range) 269 Range = i;
|
LegacyCommonTokenStream.cs | 108 public virtual int Range { 312 if (i > Range) 313 Range = i;
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
BufferedTokenStream.cs | 112 public virtual int Range 240 throw new IndexOutOfRangeException("token index " + i + " out of range 0.." + (_tokens.Count - 1)); 305 if (i > Range) 306 Range = i;
|
LegacyCommonTokenStream.cs | 112 public virtual int Range 355 if (i > Range) 356 Range = i;
|
/external/clang/include/clang/AST/ |
RawCommentList.h | 104 return Range; 122 SourceRange Range; 146 Range(SR), RawTextValid(false), BriefTextValid(false), Kind(K),
|
/external/clang/lib/ARCMigrate/ |
TransProtectedScope.cpp | 43 SourceRange Range; 51 CaseInfo(SwitchCase *S, SourceRange Range) 52 : SC(S), Range(Range), State(St_Unchecked) {} 145 if (isInRange(Diag.getLocation(), info.Range)) { 170 Pass.TA.insert(info.Range.getEnd(), "}\n"); 177 if (isInRange(DRE->getDecl()->getLocation(), info.Range) && 178 !isInRange(DRE->getLocation(), info.Range))
|
/external/clang/unittests/Lex/ |
PPCallbacksTest.cpp | 117 // Get the raw source string of the range. 118 StringRef GetSourceString(CharSourceRange Range) { 119 const char* B = SourceMgr.getCharacterData(Range.getBegin()); 120 const char* E = SourceMgr.getCharacterData(Range.getEnd()); 158 // Callbacks have been executed at this point -- return filename range. 167 CharSourceRange Range = 170 ASSERT_EQ("\"quoted.h\"", GetSourceString(Range)); 177 CharSourceRange Range = 180 ASSERT_EQ("<angled.h>", GetSourceString(Range)); 188 CharSourceRange Range [all...] |
/external/guava/guava/src/com/google/common/collect/ |
Range.java | 36 * A range, sometimes known as an <i>interval</i>, is a <i>convex</i> 39 * {@code range.contains(a) && range.contains(c)} implies that {@code 40 * range.contains(b)}. 42 * <p>A range is characterized by its lower and upper <i>bounds</i> (extremes), 62 * <p>Notice that we use a square bracket ({@code [ ]}) to denote that an range 71 * <li>{@code [a..a]} : singleton range 79 * <p>Instances of {@code Range} are immutable. It is strongly encouraged to 80 * use this class only with immutable data types. When creating a range over a 82 * the range is created [all...] |
/external/llvm/lib/DebugInfo/ |
DWARFDebugAranges.cpp | 19 // Compare function DWARFDebugAranges::Range structures 20 static bool RangeLessThan(const DWARFDebugAranges::Range &range1, 21 const DWARFDebugAranges::Range &range2) { 42 DWARFDebugAranges::Range Range; 43 Range.Offset = Set.getCompileUnitDIEOffset(); 44 CUOffsetCollection.insert(Range.Offset); 49 Range.LoPC = ArangeDescPtr->Address; 50 Range.Length = ArangeDescPtr->Length; 56 Range, RangeLessThan) 74 Range range; local 109 const Range &range = Aranges[i]; local [all...] |
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
ARMMachObjectWriter.cpp | 325 int64_t Range; 333 Range = 0x1ffffff; 339 Range = 0xffffff; 342 // would result in the target being out of range. This gives the linker 348 // If the resultant value would be out of range for an internal relocation, 350 if (Value > Range || Value < -(Range + 1))
|
/external/llvm/unittests/Support/ |
IntegersSubsetTest.cpp | 31 typedef IntRange<Int> Range; 39 std::vector<Range> Ranges; 45 Ranges.push_back(Range(Int(i*10), Int(i*10 + 8))); 56 // Test belonging to range. 64 Ranges.push_back(Range(Int(10), Int(10))); 70 Ranges.push_back(Range(Int(12), Int(15))); 80 Ranges.push_back(Range(Int(10), Int(10))); 81 Ranges.push_back(Range(Int(15), Int(19))); 93 Ranges.push_back(Range(Int(0), Int(9))); 94 Ranges.push_back(Range(Int(5), Int(9))) [all...] |
/external/v8/test/mjsunit/ |
cyrillic.js | 59 function Range(from, to, flags) { 76 assertTrue(Range(first, last).test(first), 1); 77 assertTrue(Range(first, last).test(middle), 2); 78 assertTrue(Range(first, last).test(last), 3); 80 assertFalse(Range(first, last).test(first_other_case), 4); 81 assertFalse(Range(first, last).test(middle_other_case), 5); 82 assertFalse(Range(first, last).test(last_other_case), 6); 84 assertTrue(Range(first, last, "i").test(first), 7); 85 assertTrue(Range(first, last, "i").test(middle), 8); 86 assertTrue(Range(first, last, "i").test(last), 9) [all...] |
/external/webkit/Source/WebCore/dom/ |
Range.h | 42 class Range : public RefCounted<Range> { 44 static PassRefPtr<Range> create(PassRefPtr<Document>); 45 static PassRefPtr<Range> create(PassRefPtr<Document>, PassRefPtr<Node> startContainer, int startOffset, PassRefPtr<Node> endContainer, int endOffset); 46 static PassRefPtr<Range> create(PassRefPtr<Document>, const Position&, const Position&); 47 ~Range(); 71 short compareBoundaryPoints(CompareHow, const Range* sourceRange, ExceptionCode&) const; 88 PassRefPtr<Range> cloneRange(ExceptionCode&) const; 125 // Expand range to a unit (word or sentence or block or document) boundary. 138 Range(PassRefPtr<Document>) [all...] |
Range.cpp | 25 #include "Range.h" 51 static WTF::RefCountedLeakCounter rangeCounter("Range"); 56 inline Range::Range(PassRefPtr<Document> ownerDocument) 68 PassRefPtr<Range> Range::create(PassRefPtr<Document> ownerDocument) 70 return adoptRef(new Range(ownerDocument)); 73 inline Range::Range(PassRefPtr<Document> ownerDocument, PassRefPtr<Node> startContainer, int startOffset, PassRefPtr<Node> endContainer, int endOffset) 93 PassRefPtr<Range> Range::create(PassRefPtr<Document> ownerDocument, PassRefPtr<Node> startContainer, int startOffse (…) 1703 RefPtr<Range> range = Range::create(node->document()); local [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/ |
omxVCM4P2_DecodePadMV_PVOP_s.s | 108 Range RN 1 295 ADD Range,High,High ;// Range=64*ScaleFactor 299 ADDLT diffMVdx,diffMVdx,Range ;// diffMVdx+=Range 302 SUBGT diffMVdx,diffMVdx,Range ;// If diffMVdx > High diffMVdx-=Range 313 ADDLT diffMVdx,diffMVdx,Range ;// If diffMVdy<Low diffMVdy+=Range 315 SUBGT diffMVdx,diffMVdx,Range ;// If diffMVdy > High diffMVdy-=Rang [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/ |
omxVCM4P2_DecodePadMV_PVOP_s.s | 108 Range RN 1 295 ADD Range,High,High ;// Range=64*ScaleFactor 299 ADDLT diffMVdx,diffMVdx,Range ;// diffMVdx+=Range 302 SUBGT diffMVdx,diffMVdx,Range ;// If diffMVdx > High diffMVdx-=Range 313 ADDLT diffMVdx,diffMVdx,Range ;// If diffMVdy<Low diffMVdy+=Range 315 SUBGT diffMVdx,diffMVdx,Range ;// If diffMVdy > High diffMVdy-=Rang [all...] |
/external/clang/lib/Lex/ |
PPExpressions.cpp | 33 /// conditional and the source range covered by it. 35 SourceRange Range; 45 const SourceRange &getRange() const { return Range; } 47 void setRange(SourceLocation L) { Range.setBegin(L); Range.setEnd(L); } 49 Range.setBegin(B); Range.setEnd(E); 51 void setBegin(SourceLocation L) { Range.setBegin(L); } 52 void setEnd(SourceLocation L) { Range.setEnd(L); }
|
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/clang/lib/StaticAnalyzer/Core/ |
RangeConstraintManager.cpp | 1 //== RangeConstraintManager.cpp - Manage range constraints.------*- C++ -*--==// 27 /// A Range represents the closed range [from, to]. The caller must 28 /// guarantee that from <= to. Note that Range is immutable, so as not 31 class Range : public std::pair<const llvm::APSInt*, 34 Range(const llvm::APSInt &from, const llvm::APSInt &to) 58 class RangeTrait : public llvm::ImutContainerInfo<Range> { 60 // When comparing if one Range is less than another, we should compare 74 typedef llvm::ImmutableSet<Range, RangeTrait> PrimRangeSet; 91 : ranges(F.add(F.getEmptySet(), Range(from, to))) { [all...] |
/external/compiler-rt/lib/ubsan/ |
ubsan_diag.h | 89 /// \brief Annotation for a range of locations in a diagnostic. 90 class Range { 95 Range() : Start(), End(), Text() {} 96 Range(MemoryLocation Start, MemoryLocation End, const char *Text) 167 Range Ranges[MaxRanges]; 176 Diag &AddRange(Range A) { 197 Diag &operator<<(const Range &R) { return AddRange(R); }
|
/external/llvm/lib/CodeGen/ |
CriticalAntiDepBreaker.cpp | 98 assert(Count < InsertPosIndex && "Instruction index out of expected range!"); 103 // we don't know the extent of its live-range anymore (now that it 188 // If an alias of the reg is used during the live range, give up. 605 Range = RegRefs.equal_range(AntiDepReg); 606 if (unsigned NewReg = findSuitableFreeRegister(Range.first, Range.second, 618 Q = Range.first, QE = Range.second; Q != QE; ++Q) {
|
/external/llvm/lib/Transforms/Utils/ |
LowerSwitch.cpp | 179 // Make range comparison 209 uint64_t Range = cast<ConstantInt>(Leaf.High)->getSExtValue() - 211 for (uint64_t j = 0; j < Range; ++j) { 248 // A range counts double, since it requires two compares.
|
/external/clang/include/clang/Basic/ |
SourceLocation.h | 191 /// \brief A trival tuple used to represent a source range. 218 /// \brief Represents a character-granular source range. 221 /// of the range, or it can specify the start of the range and the start of the 222 /// last token of the range (a "token range"). In the token range case, the 224 /// range. 226 SourceRange Range; 230 CharSourceRange(SourceRange R, bool ITR) : Range(R), IsTokenRange(ITR) { [all...] |
/external/clang/lib/CodeGen/ |
CodeGenAction.cpp | 253 std::pair<unsigned, unsigned> Range = D.getRanges()[i]; 255 B << SourceRange(Loc.getLocWithOffset(Range.first - Column), 256 Loc.getLocWithOffset(Range.second - Column));
|
/external/clang/lib/Edit/ |
RewriteObjCFoundationAPI.cpp | 550 // Range of arguments up until and including the last key. 592 // Range of arguments up until and including the last key. [all...] |