/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
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/lib/ARCMigrate/ |
TransProtectedScope.cpp | 43 SourceRange Range; 51 CaseInfo(SwitchCase *S, SourceRange Range) 52 : SC(S), Range(Range), State(St_Unchecked) {} 151 if (isInRange(Diag.getLocation(), info.Range)) { 176 Pass.TA.insert(info.Range.getEnd(), "}\n"); 183 if (isInRange(DRE->getDecl()->getLocation(), info.Range) && 184 !isInRange(DRE->getLocation(), info.Range))
|
/external/clang/tools/clang-format/ |
git-clang-format | 54 Range = collections.namedtuple('Range', 'start, count') 278 list of line `Range`s.""" 291 matches.setdefault(filename, []).append(Range(start_line, line_count))
|
/external/libgdx/gdx/src/com/badlogic/gdx/net/ |
HttpRequestHeader.java | 122 * Example: If-Range: "737060cd8c284d8af7ad3082f209582d" */ 123 public static final String IfRange = "If-Range"; 152 * Example: Range: bytes=500-999 */ 153 public static final String Range = "Range";
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
ARMMachObjectWriter.cpp | 320 int64_t Range; 328 Range = 0x1ffffff; 334 Range = 0xffffff; 337 // would result in the target being out of range. This gives the linker 341 // If the resultant value would be out of range for an internal relocation, 343 if (Value > Range || Value < -(Range + 1))
|
/external/lzma/CPP/7zip/Compress/ |
RangeCoder.h | 22 UInt32 Range;
31 Range = 0xFFFFFFFF;
47 Low += start * (Range /= total);
48 Range *= size;
49 while (Range < kTopValue)
51 Range <<= 8;
77 Range >>= 1;
78 Low += Range & (0 - ((value >> numBits) & 1));
79 if (Range < kTopValue)
81 Range <<= 8; 148 UInt32 range = Range; local [all...] |
/external/lzma/CS/7zip/Compress/RangeCoder/ |
RangeCoder.cs | 12 public uint Range;
33 Range = 0xFFFFFFFF;
56 Low += start * (Range /= total);
57 Range *= size;
58 while (Range < kTopValue)
60 Range <<= 8;
86 Range >>= 1;
88 Low += Range;
89 if (Range < kTopValue)
91 Range <<= 8; [all...] |
/external/lzma/Java/SevenZip/Compression/RangeCoder/ |
Encoder.java | 15 int Range;
35 Range = -1;
74 Range >>>= 1;
76 Low += Range;
77 if ((Range & Encoder.kTopMask) == 0)
79 Range <<= 8;
105 int newBound = (Range >>> kNumBitModelTotalBits) * prob;
108 Range = newBound;
114 Range -= newBound;
117 if ((Range & kTopMask) == 0) [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/valgrind/coregrind/ |
m_rangemap.c | 47 Range; 77 rm->ranges = VG_(newXA)( alloc_fn, cc, free_fn, sizeof(Range) ); 78 /* Add the initial range */ 79 Range r; 110 Range* rng = VG_(indexXA)(rm->ranges, i); 120 Range* rng = (Range*)VG_(indexXA)(rm->ranges, i); 138 Range* rng = (Range*)VG_(indexXA)(rm->ranges, ix); 151 Range* rng0 = VG_(indexXA)(ranges, i+0) [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/ |
omxVCM4P2_DecodePadMV_PVOP_s.s | 122 Range RN 1 309 ADD Range,High,High ;// Range=64*ScaleFactor 313 ADDLT diffMVdx,diffMVdx,Range ;// diffMVdx+=Range 316 SUBGT diffMVdx,diffMVdx,Range ;// If diffMVdx > High diffMVdx-=Range 327 ADDLT diffMVdx,diffMVdx,Range ;// If diffMVdy<Low diffMVdy+=Range 329 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 | 122 Range RN 1 309 ADD Range,High,High ;// Range=64*ScaleFactor 313 ADDLT diffMVdx,diffMVdx,Range ;// diffMVdx+=Range 316 SUBGT diffMVdx,diffMVdx,Range ;// If diffMVdx > High diffMVdx-=Range 327 ADDLT diffMVdx,diffMVdx,Range ;// If diffMVdy<Low diffMVdy+=Range 329 SUBGT diffMVdx,diffMVdx,Range ;// If diffMVdy > High diffMVdy-=Rang [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
RangeTest.java | 20 import android.util.Range; 34 // Trivial, same range 35 Range<Integer> intRange = new Range<Integer>(1, 1); 40 // Different values in range 41 Range<Integer> intRange2 = new Range<Integer>(100, 200); 45 Range<Float> floatRange = new Range<Float>(Float.NEGATIVE_INFINITY, 55 new Range<Integer>(null, null) [all...] |
/frameworks/base/tools/aapt2/compile/ |
PseudolocaleGenerator.cpp | 42 // The ranges are all represented with a single value. This is the start of one range and 44 struct Range { 48 // Since this struct represents the start of one range and end of another, we have 54 auto cmp = [](const Range& r, size_t index) -> bool { 62 std::vector<Range> ranges; 63 ranges.push_back(Range{ 0 }); 64 ranges.push_back(Range{ originalText.size() - 1 }); 68 // Insert or update the Range marker for the start of this span. 74 Range{ span.firstChar, &localized.spans[i].firstChar, nullptr }); 77 // Insert or update the Range marker for the end of this span [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/policyrep/ |
mls.py | 128 "{0} is invalid ({1} is not a valid category range)".format(sym, group)) 174 """Factory function for creating MLS range objects.""" 179 if isinstance(sym, Range): 183 return Range(policy, sym) 185 # build range: 193 raise exception.InvalidRange("{0} is not a valid range ({1}).".format(sym, ex)) 198 raise exception.InvalidRange("{0} is not a valid range ({1}).".format(sym, ex)) 202 # convert to range object 206 raise exception.InvalidRange("{0} is not a valid range ({1} is not dominated by {2})". 209 return Range(policy, policy_range [all...] |
/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);
|
/external/clang/lib/Lex/ |
PPExpressions.cpp | 33 /// conditional and the source range covered by it. 35 SourceRange Range; 45 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/tools/libclang/ |
CIndexDiagnostic.cpp | 75 CXSourceRange getRange(unsigned Range) const override { 282 CXSourceRange Range = clang_getDiagnosticRange(Diagnostic, I); 285 clang_getSpellingLocation(clang_getRangeStart(Range), 288 clang_getSpellingLocation(clang_getRangeEnd(Range), 430 CXSourceRange clang_getDiagnosticRange(CXDiagnostic Diag, unsigned Range) { 432 if (!D || Range >= D->getNumRanges()) 434 return D->getRange(Range);
|
/external/clang/unittests/Lex/ |
PPCallbacksTest.cpp | 147 // Get the raw source string of the range. 148 StringRef GetSourceString(CharSourceRange Range) { 149 const char* B = SourceMgr.getCharacterData(Range.getBegin()); 150 const char* E = SourceMgr.getCharacterData(Range.getEnd()); 188 // Callbacks have been executed at this point -- return filename range. 245 CharSourceRange Range = 248 ASSERT_EQ("\"quoted.h\"", GetSourceString(Range)); 255 CharSourceRange Range = 258 ASSERT_EQ("<angled.h>", GetSourceString(Range)); 266 CharSourceRange Range [all...] |
/external/guava/guava/src/com/google/common/collect/ |
TreeRangeMap.java | 69 extends AbstractMapEntry<Range<K>, V> { 70 private final Range<K> range; field in class:TreeRangeMap.RangeMapEntry 74 this(Range.create(lowerBound, upperBound), value); 77 RangeMapEntry(Range<K> range, V value) { 78 this.range = range; 83 public Range<K> getKey() { 84 return range; 221 Range<?> range = (Range<?>) key; local [all...] |
TreeRangeSet.java | 48 final NavigableMap<Cut<C>, Range<C>> rangesByLowerBound; 54 return new TreeRangeSet<C>(new TreeMap<Cut<C>, Range<C>>()); 58 * Returns a {@code TreeRangeSet} initialized with the ranges in the specified range set. 66 private TreeRangeSet(NavigableMap<Cut<C>, Range<C>> rangesByLowerCut) { 70 private transient Set<Range<C>> asRanges; 73 public Set<Range<C>> asRanges() { 74 Set<Range<C>> result = asRanges; 78 final class AsRanges extends ForwardingCollection<Range<C>> implements Set<Range<C>> { 80 protected Collection<Range<C>> delegate() 345 Range<C> range = backingItr.next(); field in class:TreeRangeSet.RangesByUpperBound [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
StringRange.java | 78 // new possible range 134 static final class Range implements Comparable<Range>{ 137 public Range(int min, int max) { 143 return compareTo((Range)obj) == 0; 145 public int compareTo(Range that) { 164 private final Range[] ranges; 167 ranges = new Range[array.length]; 169 ranges[i] = new Range(array[i], array[i]); 243 throw new ICUException("Range must have 2 valid strings") [all...] |