/external/clang/tools/clang-format/ |
H A D | git-clang-format | 54 Range = collections.namedtuple('Range', 'start, count') variable 277 list of line `Range`s.""" 290 matches.setdefault(filename, []).append(Range(start_line, line_count))
|
/external/guava/guava/src/com/google/common/collect/ |
H A D | Range.java | 79 * <p>Instances of {@code Range} are immutable. It is strongly encouraged to 112 public final class Range<C extends Comparable> class in inherits:Predicate,Serializable 117 Range(Cut<C> lowerBound, Cut<C> upperBound) { method in class:Range 210 * Predicate} interface. When using a reference of type {@code Range}, always 281 public boolean encloses(Range<C> other) { 313 public Range<C> intersection(Range<C> other) { 344 public boolean isConnected(Range<C> other) { 369 public Range<C> span(Range< [all...] |
/external/llvm/lib/IR/ |
H A D | MDBuilder.cpp | 59 Value *Range[2] = {ConstantInt::get(Ty, Lo), ConstantInt::get(Ty, Hi)}; local 60 return MDNode::get(Context, Range);
|
/external/lzma/CS/7zip/Compress/RangeCoder/ |
H A D | RangeCoder.cs | 12 public uint Range;
field in class:SevenZip.Compression.RangeCoder.Encoder 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 << 125 public uint Range; field in class:SevenZip.Compression.RangeCoder.Decoder [all...] |
/external/lzma/Java/SevenZip/Compression/RangeCoder/ |
H A D | Encoder.java | 15 int Range;
field in class:Encoder 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 [all...] |
/external/valgrind/main/coregrind/ |
H A D | m_rangemap.c | 47 Range; typedef in typeref:struct:__anon32560 78 rm->ranges = VG_(newXA)( alloc_fn, cc, free_fn, sizeof(Range) ); 81 Range r; 112 Range* rng = VG_(indexXA)(rm->ranges, i); 122 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); 152 Range* rng [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
H A D | BufferedTokenStream.cs | 103 public virtual int Range { property in class:Antlr.Runtime.BufferedTokenStream 268 if (i > Range) 269 Range = i;
|
H A D | LegacyCommonTokenStream.cs | 108 public virtual int Range { property in class:Antlr.Runtime.LegacyCommonTokenStream 312 if (i > Range) 313 Range = i;
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
H A D | BufferedTokenStream.cs | 112 public virtual int Range property in class:Antlr.Runtime.BufferedTokenStream 305 if (i > Range) 306 Range = i;
|
/external/chromium_org/gpu/command_buffer/service/ |
H A D | buffer_manager.h | 76 class Range { class in class:gpu::gles2::Buffer 78 Range(GLuint offset, GLsizei count, GLenum type) function in class:gpu::gles2::Buffer::Range 86 bool operator() (const Range& lhs, const Range& rhs) const { 167 typedef std::map<Range, GLuint, Range::Less> RangeToMaxValueMap;
|
/external/chromium_org/mojo/public/cpp/bindings/tests/ |
H A D | validation_test_input_parser.cc | 35 typedef std::pair<const char*, const char*> Range; typedef in class:mojo::test::__anon8786::ValidationTestInputParser 55 bool GetNextItem(Range* range); 57 bool ParseItem(const Range& range); 71 bool StartsWith(const Range& range, const char* prefix, size_t prefix_length); 167 Range range; 191 bool ValidationTestInputParser::GetNextItem(Range* range) { 204 if (StartsWith(Range(&input_[0] + input_cursor_, 220 bool ValidationTestInputParser::ParseItem(const Range& range) { 375 bool ValidationTestInputParser::StartsWith(const Range& range,
|
/external/chromium_org/net/url_request/ |
H A D | url_request_file_job_unittest.cc | 132 struct Range { struct in namespace:net::__anon9794 136 Range() { function in struct:net::__anon9794::Range 141 Range(int start, int end) { function in struct:net::__anon9794::Range 156 // and makes sure that the callbacks observed the correct bytes. If a Range 157 // is provided, this function will add the appropriate Range http header to 160 void RunRequest(const std::string& content, const Range* range); 170 const Range* range) { 246 TEST_F(URLRequestFileJobEventsTest, Range) { 250 Range range(1701, (6 * 1024) + 3);
|
/external/chromium_org/third_party/cython/src/Cython/Plex/ |
H A D | Regexps.py | 482 def Range(s1, s2 = None): function 484 Range(c1, c2) is an RE which matches any single character in the range 486 Range(s) where |s| is a string of even length is an RE which matches 491 result.str = "Range(%s,%s)" % (s1, s2) 497 result.str = "Range(%s)" % repr(s1)
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/ |
H A D | tgsi_parse.h | 68 struct tgsi_declaration_range Range; member in struct:tgsi_full_declaration
|
/external/chromium_org/third_party/webrtc/modules/desktop_capture/ |
H A D | desktop_region_unittest.cc | 554 struct Range { struct in struct:webrtc::SpanSet 625 struct Range { struct in struct:webrtc::SpanSet
|
/external/clang/include/clang/AST/ |
H A D | Attr.h | 44 SourceRange Range; member in class:clang::Attr 77 : Range(R), AttrKind(AK), SpellingListIndex(SpellingListIndex), 89 SourceLocation getLocation() const { return Range.getBegin(); } 90 SourceRange getRange() const { return Range; } 91 void setRange(SourceRange R) { Range = R; }
|
/external/clang/include/clang/ASTMatchers/Dynamic/ |
H A D | Diagnostics.h | 44 ParserValue() : Text(), Range(), Value() {} 46 SourceRange Range; member in struct:clang::ast_matchers::dynamic::ParserValue 140 ArgStream addError(const SourceRange &Range, ErrorType Error); 145 SourceRange Range; member in struct:clang::ast_matchers::dynamic::Diagnostics::ContextFrame 153 SourceRange Range; member in struct:clang::ast_matchers::dynamic::Diagnostics::ErrorContent::Message 175 ArgStream pushContextFrame(ContextType Type, SourceRange Range);
|
/external/clang/lib/ARCMigrate/ |
H A D | TransProtectedScope.cpp | 43 SourceRange Range; member in struct:__anon17699::CaseInfo 51 CaseInfo(SwitchCase *S, SourceRange Range) argument 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/lib/ASTMatchers/Dynamic/ |
H A D | Diagnostics.cpp | 17 SourceRange Range) { 21 data.Range = Range; 67 Diagnostics::ArgStream Diagnostics::addError(const SourceRange &Range, argument 73 Last.Messages.back().Range = Range; 153 static void maybeAddLineAndColumn(const SourceRange &Range, argument 155 if (Range.Start.Line > 0 && Range.Start.Column > 0) { 156 OS << Range 16 pushContextFrame(ContextType Type, SourceRange Range) argument [all...] |
/external/clang/lib/Format/ |
H A D | WhitespaceManager.cpp | 280 void WhitespaceManager::storeReplacement(const SourceRange &Range, argument 282 unsigned WhitespaceLength = SourceMgr.getFileOffset(Range.getEnd()) - 283 SourceMgr.getFileOffset(Range.getBegin()); 285 if (StringRef(SourceMgr.getCharacterData(Range.getBegin()), 289 SourceMgr, CharSourceRange::getCharRange(Range), Text));
|
/external/clang/lib/Lex/ |
H A D | PPExpressions.cpp | 35 SourceRange Range; member in class:__anon17946::PPValue 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); }
|
/external/clang/lib/Tooling/ |
H A D | Refactoring.cpp | 44 const CharSourceRange &Range, 46 setFromSourceRange(Sources, Range, ReplacementText); 118 this->ReplacementRange = Range(DecomposedLocation.second, Length); 126 const CharSourceRange &Range) { 127 SourceLocation SpellingBegin = Sources.getSpellingLoc(Range.getBegin()); 128 SourceLocation SpellingEnd = Sources.getSpellingLoc(Range.getEnd()); 132 if (Range.isTokenRange()) 139 const CharSourceRange &Range, 141 setFromSourceLocation(Sources, Sources.getSpellingLoc(Range.getBegin()), 142 getRangeSize(Sources, Range), ReplacementTex 43 Replacement(const SourceManager &Sources, const CharSourceRange &Range, StringRef ReplacementText) argument 125 getRangeSize(const SourceManager &Sources, const CharSourceRange &Range) argument 138 setFromSourceRange(const SourceManager &Sources, const CharSourceRange &Range, StringRef ReplacementText) argument [all...] |
/external/clang/unittests/ASTMatchers/Dynamic/ |
H A D | ParserTest.cpp | 101 bool matchesRange(const SourceRange &Range, unsigned StartLine, argument 103 EXPECT_EQ(StartLine, Range.Start.Line); 104 EXPECT_EQ(EndLine, Range.End.Line); 105 EXPECT_EQ(StartColumn, Range.Start.Column); 106 EXPECT_EQ(EndColumn, Range.End.Column); 107 return Range.Start.Line == StartLine && Range.End.Line == EndLine && 108 Range.Start.Column == StartColumn && Range.End.Column == EndColumn;
|
/external/clang/unittests/Basic/ |
H A D | SourceManagerTest.cpp | 268 SourceRange Range, const MacroArgs *Args) { 267 MacroExpands(const Token &MacroNameTok, const MacroDirective *MD, SourceRange Range, const MacroArgs *Args) argument
|
/external/clang/unittests/Lex/ |
H A D | PPCallbacksTest.cpp | 152 StringRef GetSourceString(CharSourceRange Range) { argument 153 const char* B = SourceMgr.getCharacterData(Range.getBegin()); 154 const char* E = SourceMgr.getCharacterData(Range.getEnd()); 247 CharSourceRange Range = local 250 ASSERT_EQ("\"quoted.h\"", GetSourceString(Range)); 257 CharSourceRange Range = local 260 ASSERT_EQ("<angled.h>", GetSourceString(Range)); 268 CharSourceRange Range = local 271 ASSERT_EQ("\"quoted.h\"", GetSourceString(Range)); 279 CharSourceRange Range local 290 CharSourceRange Range = local 302 CharSourceRange Range = local 312 CharSourceRange Range = local 323 CharSourceRange Range = local [all...] |