Searched defs:Range (Results 51 - 75 of 165) sorted by relevance

1234567

/external/clang/include/clang/ASTMatchers/Dynamic/
H A DDiagnostics.h45 ParserValue() : Text(), Range(), Value() {}
47 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 DTransProtectedScope.cpp43 SourceRange Range; member in struct:__anon15081::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 DDiagnostics.cpp17 SourceRange Range) {
21 data.Range = Range;
67 Diagnostics::ArgStream Diagnostics::addError(const SourceRange &Range, argument
73 Last.Messages.back().Range = Range;
151 static void maybeAddLineAndColumn(const SourceRange &Range, argument
153 if (Range.Start.Line > 0 && Range.Start.Column > 0) {
154 OS << Range
16 pushContextFrame(ContextType Type, SourceRange Range) argument
[all...]
H A DParser.cpp45 TokenInfo() : Text(), Kind(TK_Eof), Range(), Value() {}
49 SourceRange Range; member in struct:clang::ast_matchers::dynamic::Parser::TokenInfo
79 Result.Range.Start = currentLocation();
138 Result.Range.End = currentLocation();
162 SourceRange Range; local
163 Range.Start = Result->Range.Start;
164 Range.End = currentLocation();
165 Error->addError(Range, Error->ET_ParserUnsignedError) << Result->Text;
197 SourceRange Range; local
[all...]
/external/clang/lib/Format/
H A DWhitespaceManager.cpp239 void WhitespaceManager::storeReplacement(const SourceRange &Range, argument
241 unsigned WhitespaceLength = SourceMgr.getFileOffset(Range.getEnd()) -
242 SourceMgr.getFileOffset(Range.getBegin());
244 if (StringRef(SourceMgr.getCharacterData(Range.getBegin()),
248 SourceMgr, CharSourceRange::getCharRange(Range), Text));
/external/clang/lib/Lex/
H A DPPExpressions.cpp35 SourceRange Range; member in class:__anon15291::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); }
H A DPPMacroExpansion.cpp285 Callbacks->MacroExpands(Info.Tok, Info.MD, Info.Range, /*Args=*/0);
694 Range = InitLists.begin(), RangeEnd = InitLists.end();
695 Range != RangeEnd; ++Range) {
698 DB << *Range; local
/external/clang/lib/Tooling/
H A DRefactoring.cpp41 Replacement::Replacement(SourceManager &Sources, const CharSourceRange &Range, argument
43 setFromSourceRange(Sources, Range, ReplacementText);
100 this->ReplacementRange = Range(DecomposedLocation.second, Length);
107 static int getRangeSize(SourceManager &Sources, const CharSourceRange &Range) { argument
108 SourceLocation SpellingBegin = Sources.getSpellingLoc(Range.getBegin());
109 SourceLocation SpellingEnd = Sources.getSpellingLoc(Range.getEnd());
113 if (Range.isTokenRange())
120 const CharSourceRange &Range,
122 setFromSourceLocation(Sources, Sources.getSpellingLoc(Range.getBegin()),
123 getRangeSize(Sources, Range), ReplacementTex
119 setFromSourceRange(SourceManager &Sources, const CharSourceRange &Range, StringRef ReplacementText) argument
[all...]
/external/clang/unittests/ASTMatchers/Dynamic/
H A DParserTest.cpp130 bool matchesRange(const SourceRange &Range, unsigned StartLine, argument
132 EXPECT_EQ(StartLine, Range.Start.Line);
133 EXPECT_EQ(EndLine, Range.End.Line);
134 EXPECT_EQ(StartColumn, Range.Start.Column);
135 EXPECT_EQ(EndColumn, Range.End.Column);
136 return Range.Start.Line == StartLine && Range.End.Line == EndLine &&
137 Range.Start.Column == StartColumn && Range.End.Column == EndColumn;
/external/clang/unittests/Basic/
H A DSourceManagerTest.cpp260 SourceRange Range, const MacroArgs *Args) {
259 MacroExpands(const Token &MacroNameTok, const MacroDirective *MD, SourceRange Range, const MacroArgs *Args) argument
/external/clang/unittests/Lex/
H A DPPCallbacksTest.cpp119 StringRef GetSourceString(CharSourceRange Range) { argument
120 const char* B = SourceMgr.getCharacterData(Range.getBegin());
121 const char* E = SourceMgr.getCharacterData(Range.getEnd());
168 CharSourceRange Range = local
171 ASSERT_EQ("\"quoted.h\"", GetSourceString(Range));
178 CharSourceRange Range = local
181 ASSERT_EQ("<angled.h>", GetSourceString(Range));
189 CharSourceRange Range = local
192 ASSERT_EQ("\"quoted.h\"", GetSourceString(Range));
200 CharSourceRange Range local
211 CharSourceRange Range = local
223 CharSourceRange Range = local
233 CharSourceRange Range = local
244 CharSourceRange Range = local
[all...]
/external/llvm/include/llvm/IR/
H A DMDBuilder.h78 // Range metadata.
90 Value *Range[2] = { ConstantInt::get(Ty, Lo), ConstantInt::get(Ty, Hi) }; local
91 return MDNode::get(Context, Range);
/external/llvm/lib/CodeGen/
H A DCriticalAntiDepBreaker.cpp605 Range = RegRefs.equal_range(AntiDepReg); local
606 if (unsigned NewReg = findSuitableFreeRegister(Range.first, Range.second,
618 Q = Range.first, QE = Range.second; Q != QE; ++Q) {
/external/llvm/lib/DebugInfo/
H A DDWARFDebugAranges.cpp19 // Compare function DWARFDebugAranges::Range structures
20 static bool RangeLessThan(const DWARFDebugAranges::Range &range1,
21 const DWARFDebugAranges::Range &range2) {
42 DWARFDebugAranges::Range Range; local
43 Range.Offset = Set.getCompileUnitDIEOffset();
44 CUOffsetCollection.insert(Range.Offset);
49 Range.LoPC = ArangeDescPtr->Address;
50 Range.Length = ArangeDescPtr->Length;
56 Range, RangeLessTha
[all...]
/external/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMachObjectWriter.cpp325 int64_t Range; local
333 Range = 0x1ffffff;
339 Range = 0xffffff;
350 if (Value > Range || Value < -(Range + 1))
/external/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp209 uint64_t Range = cast<ConstantInt>(Leaf.High)->getSExtValue() - local
211 for (uint64_t j = 0; j < Range; ++j) {
/external/lzma/C/
H A DPpmd7.h110 UInt32 Range; member in struct:__anon21998
127 UInt32 Range; member in struct:__anon21999
/external/lzma/CPP/7zip/Compress/
H A DRangeCoder.h22 UInt32 Range; member in class:NCompress::NRangeCoder::CEncoder
31 Range = 0xFFFFFFFF;
49 Low += start * (Range /= total);
50 Range *= size;
51 while (Range < kTopValue)
53 Range <<= 8;
79 Range >>= 1;
80 Low += Range & (0 - ((value >> numBits) & 1));
81 if (Range < kTopValue)
83 Range <<
113 UInt32 Range; member in class:NCompress::NRangeCoder::CDecoder
[all...]
/external/mesa3d/src/gallium/auxiliary/tgsi/
H A Dtgsi_parse.h68 struct tgsi_declaration_range Range; member in struct:tgsi_full_declaration
/external/chromium/testing/gtest/include/gtest/
H A Dgtest-param-test.h86 // Range(begin, end [, step]) - Yields values {begin, begin+step,
218 // Range() returns generators providing sequences of values in a range.
221 // Range(start, end)
224 // Range(start, end, step)
228 // * The generated sequences never include end. For example, Range(1, 5)
229 // returns a generator producing a sequence {1, 2, 3, 4}. Range(1, 9, 2)
242 internal::ParamGenerator<T> Range(T start, T end, IncrementT step) { function in namespace:testing
248 internal::ParamGenerator<T> Range(T start, T end) { function in namespace:testing
249 return Range(start, end, 1);
/external/chromium_org/extensions/common/matcher/
H A Durl_matcher.h235 typedef std::pair<int, int> Range; typedef in class:extensions::URLMatcherPortFilter
236 explicit URLMatcherPortFilter(const std::vector<Range>& ranges);
241 static Range CreateRange(int from, int to);
243 static Range CreateRange(int port);
246 std::vector<Range> ranges_;
/external/chromium_org/testing/gtest/include/gtest/
H A Dgtest-param-test.h86 // Range(begin, end [, step]) - Yields values {begin, begin+step,
218 // Range() returns generators providing sequences of values in a range.
221 // Range(start, end)
224 // Range(start, end, step)
228 // * The generated sequences never include end. For example, Range(1, 5)
229 // returns a generator producing a sequence {1, 2, 3, 4}. Range(1, 9, 2)
242 internal::ParamGenerator<T> Range(T start, T end, IncrementT step) { function in namespace:testing
248 internal::ParamGenerator<T> Range(T start, T end) { function in namespace:testing
249 return Range(start, end, 1);
/external/chromium_org/third_party/mesa/src/src/gtest/include/gtest/
H A Dgtest-param-test.h86 // Range(begin, end [, step]) - Yields values {begin, begin+step,
218 // Range() returns generators providing sequences of values in a range.
221 // Range(start, end)
224 // Range(start, end, step)
228 // * The generated sequences never include end. For example, Range(1, 5)
229 // returns a generator producing a sequence {1, 2, 3, 4}. Range(1, 9, 2)
242 internal::ParamGenerator<T> Range(T start, T end, IncrementT step) { function in namespace:testing
248 internal::ParamGenerator<T> Range(T start, T end) { function in namespace:testing
249 return Range(start, end, 1);
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/
H A Dre.h27 typedef struct Range { struct
28 struct Range *next;
30 } Range; typedef in typeref:struct:Range
33 Range_init(Range *r, unsigned int l, unsigned int u)
40 static Range *
43 Range *r = malloc(sizeof(Range));
51 Range_copy(Range *ro, const Range *r)
58 static Range *
[all...]
/external/clang/include/clang/Lex/
H A DPPCallbacks.h223 SourceRange Range, const MacroArgs *Args) {
241 SourceRange Range) {
245 /// \param Range The SourceRange that was skipped. The range begins at the
247 virtual void SourceRangeSkipped(SourceRange Range) { argument
404 SourceRange Range, const MacroArgs *Args) {
405 First->MacroExpands(MacroNameTok, MD, Range, Args);
406 Second->MacroExpands(MacroNameTok, MD, Range, Args);
421 SourceRange Range) {
422 First->Defined(MacroNameTok, MD, Range);
423 Second->Defined(MacroNameTok, MD, Range);
222 MacroExpands(const Token &MacroNameTok, const MacroDirective *MD, SourceRange Range, const MacroArgs *Args) argument
240 Defined(const Token &MacroNameTok, const MacroDirective *MD, SourceRange Range) argument
403 MacroExpands(const Token &MacroNameTok, const MacroDirective *MD, SourceRange Range, const MacroArgs *Args) argument
420 Defined(const Token &MacroNameTok, const MacroDirective *MD, SourceRange Range) argument
426 SourceRangeSkipped(SourceRange Range) argument
[all...]

Completed in 1132 milliseconds

1234567