Searched refs:SourceRange (Results 1 - 25 of 218) sorted by relevance

123456789

/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSPropertySourceData.h42 struct SourceRange { struct in namespace:blink
45 SourceRange();
46 SourceRange(unsigned start, unsigned end);
58 CSSPropertySourceData(const String& name, const String& value, bool important, bool disabled, bool parsedOk, const SourceRange& range);
72 SourceRange range;
88 typedef WillBeHeapVector<SourceRange> SelectorRangeList;
127 SourceRange ruleHeaderRange;
130 SourceRange ruleBodyRange;
144 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::SourceRange);
H A DCSSPropertySourceData.cpp41 SourceRange::SourceRange() function in class:blink::SourceRange
47 SourceRange::SourceRange(unsigned start, unsigned end) function in class:blink::SourceRange
53 unsigned SourceRange::length() const
58 CSSPropertySourceData::CSSPropertySourceData(const String& name, const String& value, bool important, bool disabled, bool parsedOk, const SourceRange& range)
84 , range(SourceRange(0, 0))
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DInspectorStyleTextEditor.h37 struct SourceRange;
44 InspectorStyleTextEditor(WillBeHeapVector<InspectorStyleProperty>* allProperties, const String& styleText, const SourceRange& styleRange, const NewLineAndWhitespace& format);
54 SourceRange m_styleRange;
/external/clang/include/clang/Analysis/Analyses/
H A DReachableCode.h54 SourceRange ConditionVal,
55 SourceRange R1,
56 SourceRange R2) = 0;
/external/clang/include/clang/Sema/
H A DLoopHint.h22 SourceRange Range;
/external/clang/lib/ARCMigrate/
H A DInternals.h32 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range);
33 bool hasDiagnostic(ArrayRef<unsigned> IDs, SourceRange range) const;
64 void remove(SourceRange range);
66 void replace(SourceRange range, StringRef text);
67 void replace(SourceRange range, SourceRange replacementRange);
71 void increaseIndentation(SourceRange range,
74 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range);
75 bool clearAllDiagnostics(SourceRange range) {
78 bool clearDiagnostic(unsigned ID1, unsigned ID2, SourceRange rang
[all...]
H A DTransformActions.cpp47 SourceRange R1, R2;
98 static RangeComparison compare(SourceRange LHS, SourceRange RHS,
136 void remove(SourceRange range);
138 void replace(SourceRange range, StringRef text);
139 void replace(SourceRange range, SourceRange replacementRange);
143 void increaseIndentation(SourceRange range,
146 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range);
153 bool canRemoveRange(SourceRange rang
[all...]
/external/clang/tools/libclang/
H A DCXSourceLocation.h60 SourceRange R) {
70 static inline SourceRange translateCXSourceRange(CXSourceRange R) {
71 return SourceRange(SourceLocation::getFromRawEncoding(R.begin_int_data),
H A DCXCursor.h54 SourceRange RegionOfInterest = SourceRange(),
58 SourceRange RegionOfInterest = SourceRange());
141 CXCursor MakePreprocessingDirectiveCursor(SourceRange Range,
145 SourceRange getCursorPreprocessingDirective(CXCursor C);
197 SourceRange getSourceRange() const;
/external/clang/include/clang/ASTMatchers/Dynamic/
H A DDiagnostics.h37 struct SourceRange { struct in namespace:clang::ast_matchers::dynamic
46 SourceRange Range;
107 const SourceRange &MatcherRange);
111 const SourceRange &MatcherRange, unsigned ArgNumber);
140 ArgStream addError(const SourceRange &Range, ErrorType Error);
145 SourceRange Range;
153 SourceRange Range;
175 ArgStream pushContextFrame(ContextType Type, SourceRange Range);
H A DRegistry.h100 const SourceRange &NameRange,
111 const SourceRange &NameRange,
/external/clang/unittests/Lex/
H A DPPConditionalDirectiveRecordTest.cpp122 SourceRange(toks[0].getLocation(), toks[1].getLocation())));
124 SourceRange(toks[0].getLocation(), toks[2].getLocation())));
126 SourceRange(toks[3].getLocation(), toks[4].getLocation())));
128 SourceRange(toks[1].getLocation(), toks[5].getLocation())));
130 SourceRange(toks[2].getLocation(), toks[6].getLocation())));
132 SourceRange(toks[2].getLocation(), toks[5].getLocation())));
134 SourceRange(toks[0].getLocation(), toks[6].getLocation())));
136 SourceRange(toks[2].getLocation(), toks[8].getLocation())));
138 SourceRange(toks[0].getLocation(), toks[9].getLocation())));
/external/clang/include/clang/AST/
H A DAttr.h44 SourceRange Range;
76 Attr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex = 0)
90 SourceRange getRange() const { return Range; }
91 void setRange(SourceRange R) { Range = R; }
121 InheritableAttr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex = 0)
136 InheritableParamAttr(attr::Kind AK, SourceRange R,
H A DTypeLoc.h127 SourceRange getSourceRange() const LLVM_READONLY {
128 return SourceRange(getBeginLoc(), getEndLoc());
134 SourceRange getLocalSourceRange() const {
197 static SourceRange getLocalSourceRangeImpl(TypeLoc TL);
234 SourceRange getLocalSourceRange() const {
235 return SourceRange();
466 SourceRange getLocalSourceRange() const {
467 return SourceRange(getNameLoc(), getNameLoc());
521 SourceRange getLocalSourceRange() const {
522 return SourceRange(getBuiltinLo
[all...]
H A DComment.h59 SourceRange Range;
175 void setSourceRange(SourceRange SR) {
198 Loc(LocBegin), Range(SourceRange(LocBegin, LocEnd)) {
214 SourceRange getSourceRange() const LLVM_READONLY { return Range; }
304 SourceRange Range;
307 Argument(SourceRange Range, StringRef Text) : Range(Range), Text(Text) { }
351 SourceRange getCommandNameRange() const {
352 return SourceRange(getLocStart().getLocWithOffset(-1),
368 SourceRange getArgRange(unsigned Idx) const {
378 SourceRange TagNameRang
[all...]
/external/clang/lib/StaticAnalyzer/Checkers/
H A DStackAddrEscapeChecker.cpp40 static SourceRange genName(raw_ostream &os, const MemRegion *R,
45 SourceRange StackAddrEscapeChecker::genName(raw_ostream &os, const MemRegion *R,
50 SourceRange range;
109 SourceRange range = genName(os, R, C.getASTContext());
229 SourceRange range = genName(os, cb.V[i].second, Ctx.getASTContext());
/external/clang/unittests/AST/
H A DSourceLocationTest.cpp10 // This file contains tests for SourceLocation and SourceRange fields
63 virtual SourceRange getRange(const LabelStmt &Node) {
160 virtual SourceRange getRange(const TypeLoc &Node) {
164 return SourceRange(T.getLAngleLoc(), T.getRAngleLoc());
185 virtual SourceRange getRange(const TypeLoc &Node) {
189 return SourceRange(T.getLParenLoc(), T.getRParenLoc());
204 TEST(CXXFunctionalCastExpr, SourceRange) {
214 TEST(CXXConstructExpr, SourceRange) {
224 TEST(CXXTemporaryObjectExpr, SourceRange) {
233 TEST(CXXUnresolvedConstructExpr, SourceRange) {
[all...]
/external/clang/include/clang/Lex/
H A DPreprocessingRecord.h78 SourceRange Range;
81 PreprocessedEntity(EntityKind Kind, SourceRange Range)
92 SourceRange getSourceRange() const LLVM_READONLY { return Range; }
126 PreprocessingDirective(EntityKind Kind, SourceRange Range)
142 explicit MacroDefinition(const IdentifierInfo *Name, SourceRange Range)
164 MacroExpansion(IdentifierInfo *BuiltinName, SourceRange Range)
168 MacroExpansion(MacroDefinition *Definition, SourceRange Range)
236 const FileEntry *File, SourceRange Range);
277 findPreprocessedEntitiesInRange(SourceRange Range) = 0;
308 std::vector<SourceRange> SkippedRange
[all...]
H A DPPConditionalDirectiveRecord.h76 bool rangeIntersectsConditionalDirective(SourceRange Range) const;
89 void If(SourceLocation Loc, SourceRange ConditionRange,
91 void Elif(SourceLocation Loc, SourceRange ConditionRange,
/external/clang/include/clang/Basic/
H A DSourceLocation.h192 class SourceRange { class in class:clang::SourceLocation
196 SourceRange(): B(SourceLocation()), E(SourceLocation()) {} function in class:clang::SourceLocation::SourceRange
197 SourceRange(SourceLocation loc) : B(loc), E(loc) {} function in class:clang::SourceLocation::SourceRange
198 SourceRange(SourceLocation begin, SourceLocation end) : B(begin), E(end) {} function in class:clang::SourceLocation::SourceRange
209 bool operator==(const SourceRange &X) const {
213 bool operator!=(const SourceRange &X) const {
220 /// The underlying SourceRange can either specify the starting/ending character
226 SourceRange Range;
230 CharSourceRange(SourceRange R, bool ITR) : Range(R), IsTokenRange(ITR) {}
232 static CharSourceRange getTokenRange(SourceRange
[all...]
/external/clang/include/clang/Edit/
H A DCommit.h89 bool insertFromRange(SourceLocation loc, SourceRange TokenRange,
95 bool insertWrap(StringRef before, SourceRange TokenRange, StringRef after) {
98 bool remove(SourceRange TokenRange) {
101 bool replace(SourceRange TokenRange, StringRef text) {
104 bool replaceWithInner(SourceRange TokenRange, SourceRange TokenInnerRange) {
/external/clang/lib/Format/
H A DWhitespaceManager.h109 Change(bool CreateReplacement, const SourceRange &OriginalWhitespaceRange,
118 SourceRange OriginalWhitespaceRange;
185 void storeReplacement(const SourceRange &Range, StringRef Text);
/external/clang/lib/Lex/
H A DPreprocessingRecord.cpp30 SourceRange Range)
49 PreprocessingRecord::getPreprocessedEntitiesInRange(SourceRange Range) {
129 PreprocessingRecord::getPreprocessedEntitiesInRangeSlow(SourceRange Range) {
160 SourceRange Range) const {
172 template <SourceLocation (SourceRange::*getRangeLoc)() const>
195 SourceRange Range = PPE->getSourceRange();
242 PPEntityComp<&SourceRange::getBegin>(SourceMgr));
302 PPEntityComp<&SourceRange::getBegin>(SourceMgr));
355 PreprocessedEntity(PreprocessedEntity::InvalidKind, SourceRange());
371 SourceRange Rang
[all...]
/external/clang/bindings/python/tests/cindex/
H A Dtest_tokens.py4 from clang.cindex import SourceRange namespace
49 ok_(isinstance(extent, SourceRange))
/external/clang/include/clang/Rewrite/Core/
H A DRewriter.h171 int getRangeSize(SourceRange Range,
182 std::string getRewrittenText(SourceRange Range) const;
226 bool RemoveText(SourceRange range, RewriteOptions opts = RewriteOptions()) {
239 bool ReplaceText(SourceRange range, StringRef NewStr) {
246 bool ReplaceText(SourceRange range, SourceRange replacementRange);
258 bool IncreaseIndentation(SourceRange range, SourceLocation parentIndent) {

Completed in 483 milliseconds

123456789