/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSPropertySourceData.cpp | 45 SourceRange::SourceRange() 51 SourceRange::SourceRange(unsigned start, unsigned end) 57 unsigned SourceRange::length() const 62 CSSPropertySourceData::CSSPropertySourceData(const String& name, const String& value, bool important, bool disabled, bool parsedOk, const SourceRange& range) 88 , range(SourceRange(0, 0)) 125 new ((void *) &emptyCSSPropertySourceData) CSSPropertySourceData("", "e", false, false, false, SourceRange(0, 0));
|
CSSPropertySourceData.h | 43 struct SourceRange { 44 SourceRange(); 45 SourceRange(unsigned start, unsigned end); 55 CSSPropertySourceData(const String& name, const String& value, bool important, bool disabled, bool parsedOk, const SourceRange& range); 67 SourceRange range; 85 typedef Vector<SourceRange> SelectorRangeList; 123 SourceRange ruleHeaderRange; 126 SourceRange ruleBodyRange;
|
/external/clang/include/clang/ASTMatchers/Dynamic/ |
Registry.h | 51 const SourceRange &NameRange, 62 const SourceRange &NameRange,
|
Diagnostics.h | 38 struct SourceRange { 47 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);
|
/external/clang/include/clang/Analysis/Analyses/ |
ReachableCode.h | 43 virtual void HandleUnreachable(SourceLocation L, SourceRange R1, 44 SourceRange R2) = 0;
|
/external/clang/lib/ARCMigrate/ |
Internals.h | 32 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range); 33 bool hasDiagnostic(ArrayRef<unsigned> IDs, SourceRange range) const; 65 void remove(SourceRange range); 67 void replace(SourceRange range, StringRef text); 68 void replace(SourceRange range, SourceRange replacementRange); 72 void increaseIndentation(SourceRange range, 75 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range); 76 bool clearAllDiagnostics(SourceRange range) { 79 bool clearDiagnostic(unsigned ID1, unsigned ID2, SourceRange range) [all...] |
TransformActions.cpp | 47 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 range) [all...] |
/external/clang/tools/libclang/ |
CXSourceLocation.h | 60 SourceRange R) { 70 static inline SourceRange translateCXSourceRange(CXSourceRange R) { 71 return SourceRange(SourceLocation::getFromRawEncoding(R.begin_int_data),
|
/external/clang/include/clang/AST/ |
Attr.h | 43 SourceRange Range; 76 Attr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex = 0) 89 SourceRange getRange() const { return Range; } 90 void setRange(SourceRange R) { Range = R; } 110 InheritableAttr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex = 0) 125 InheritableParamAttr(attr::Kind AK, SourceRange R, 141 MSInheritanceAttr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex = 0)
|
TypeLoc.h | 124 SourceRange getSourceRange() const LLVM_READONLY { 125 return SourceRange(getBeginLoc(), getEndLoc()); 131 SourceRange getLocalSourceRange() const { 194 static SourceRange getLocalSourceRangeImpl(TypeLoc TL); 231 SourceRange getLocalSourceRange() const { 232 return SourceRange(); 463 SourceRange getLocalSourceRange() const { 464 return SourceRange(getNameLoc(), getNameLoc()); 518 SourceRange getLocalSourceRange() const { 519 return SourceRange(getBuiltinLoc(), getBuiltinLoc()) [all...] |
Comment.h | 59 SourceRange Range; 164 void setSourceRange(SourceRange SR) { 187 Loc(LocBegin), Range(SourceRange(LocBegin, LocEnd)) { 203 SourceRange getSourceRange() const LLVM_READONLY { return Range; } 293 SourceRange Range; 296 Argument(SourceRange Range, StringRef Text) : Range(Range), Text(Text) { } 340 SourceRange getCommandNameRange() const { 341 return SourceRange(getLocStart().getLocWithOffset(-1), 357 SourceRange getArgRange(unsigned Idx) const { 368 SourceRange TagNameRange [all...] |
/external/clang/unittests/Lex/ |
PPConditionalDirectiveRecordTest.cpp | 118 SourceRange(toks[0].getLocation(), toks[1].getLocation()))); 120 SourceRange(toks[0].getLocation(), toks[2].getLocation()))); 122 SourceRange(toks[3].getLocation(), toks[4].getLocation()))); 124 SourceRange(toks[1].getLocation(), toks[5].getLocation()))); 126 SourceRange(toks[2].getLocation(), toks[6].getLocation()))); 128 SourceRange(toks[2].getLocation(), toks[5].getLocation()))); 130 SourceRange(toks[0].getLocation(), toks[6].getLocation()))); 132 SourceRange(toks[2].getLocation(), toks[8].getLocation()))); 134 SourceRange(toks[0].getLocation(), toks[9].getLocation())));
|
/external/clang/include/clang/Lex/ |
PreprocessingRecord.h | 78 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; 349 findLocalPreprocessedEntitiesInRange(SourceRange Range) const [all...] |
PPConditionalDirectiveRecord.h | 76 bool rangeIntersectsConditionalDirective(SourceRange Range) const; 89 virtual void If(SourceLocation Loc, SourceRange ConditionRange, 91 virtual void Elif(SourceLocation Loc, SourceRange ConditionRange,
|
PPCallbacks.h | 223 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) { 252 /// \param ConditionRange The SourceRange of the expression being tested. 256 virtual void If(SourceLocation Loc, SourceRange ConditionRange, 262 /// \param ConditionRange The SourceRange of the expression being tested. 266 virtual void Elif(SourceLocation Loc, SourceRange ConditionRange, 404 SourceRange Range, const MacroArgs *Args) { 421 SourceRange Range) [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
StackAddrEscapeChecker.cpp | 40 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/include/clang/Rewrite/Core/ |
Rewriter.h | 172 int getRangeSize(SourceRange Range, 183 std::string getRewrittenText(SourceRange Range) const; 227 bool RemoveText(SourceRange range, RewriteOptions opts = RewriteOptions()) { 240 bool ReplaceText(SourceRange range, StringRef NewStr) { 247 bool ReplaceText(SourceRange range, SourceRange replacementRange); 259 bool IncreaseIndentation(SourceRange range, SourceLocation parentIndent) {
|
/external/clang/include/clang/Basic/ |
SourceLocation.h | 192 class SourceRange { 196 SourceRange(): B(SourceLocation()), E(SourceLocation()) {} 197 SourceRange(SourceLocation loc) : B(loc), E(loc) {} 198 SourceRange(SourceLocation begin, SourceLocation end) : B(begin), E(end) {} 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 R) [all...] |
/external/clang/include/clang/Edit/ |
Commit.h | 89 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/ |
WhitespaceManager.h | 97 Change(bool CreateReplacement, const SourceRange &OriginalWhitespaceRange, 106 SourceRange OriginalWhitespaceRange; 154 void storeReplacement(const SourceRange &Range, StringRef Text);
|
/external/clang/lib/Sema/ |
SemaStmtAttr.cpp | 28 SourceRange Range) { 49 SourceRange Range) { 68 SourceRange Range) {
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
InspectorStyleTextEditor.h | 35 struct SourceRange;
|
/external/clang/unittests/AST/ |
SourceLocationTest.cpp | 10 // 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(CXXUnresolvedConstructExpr, SourceRange) { 227 TEST(UsingDecl, SourceRange) { 236 TEST(UnresolvedUsingValueDecl, SourceRange) { [all...] |
/external/clang/lib/Lex/ |
PreprocessingRecord.cpp | 30 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 Range) [all...] |
/external/clang/include/clang/Sema/ |
AttributeList.h | 41 SourceRange VersionRange; 73 SourceRange AttrRange; 182 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, 198 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, 221 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, 241 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, 256 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, 285 SourceRange getRange() const { return AttrRange; } 542 AttributeList *create(IdentifierInfo *attrName, SourceRange attrRange, 557 AttributeList *create(IdentifierInfo *attrName, SourceRange attrRange [all...] |