HomeSort by relevance Sort by last modified time
    Searched refs:SourceRange (Results 1 - 25 of 168) sorted by null

1 2 3 4 5 6 7

  /external/webkit/Source/WebCore/css/
CSSPropertySourceData.h 44 struct SourceRange {
45 SourceRange();
46 SourceRange(unsigned start, unsigned end);
55 CSSPropertySourceData(const String& name, const String& value, bool important, bool parsedOk, const SourceRange& range);
66 SourceRange range;
80 SourceRange styleBodyRange;
91 SourceRange selectorListRange;
CSSPropertySourceData.cpp 45 SourceRange::SourceRange()
51 SourceRange::SourceRange(unsigned start, unsigned end)
57 CSSPropertySourceData::CSSPropertySourceData(const String& name, const String& value, bool important, bool parsedOk, const SourceRange& range)
80 , range(SourceRange(0, 0))
113 new ((void *) &emptyCSSPropertySourceData) CSSPropertySourceData("", "e", false, false, SourceRange(0, 0));
  /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 29 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range);
30 bool hasDiagnostic(ArrayRef<unsigned> IDs, SourceRange range) const;
62 void remove(SourceRange range);
64 void replace(SourceRange range, StringRef text);
65 void replace(SourceRange range, SourceRange replacementRange);
69 void increaseIndentation(SourceRange range,
72 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range);
73 bool clearAllDiagnostics(SourceRange range) {
76 bool clearDiagnostic(unsigned ID1, unsigned ID2, SourceRange range)
    [all...]
TransformActions.cpp 46 SourceRange R1, R2;
97 static RangeComparison compare(SourceRange LHS, SourceRange RHS,
135 void remove(SourceRange range);
137 void replace(SourceRange range, StringRef text);
138 void replace(SourceRange range, SourceRange replacementRange);
142 void increaseIndentation(SourceRange range,
145 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range);
152 bool canRemoveRange(SourceRange range)
    [all...]
  /external/clang/unittests/Lex/
PreprocessingRecordTest.cpp 107 SourceRange(toks[0].getLocation(), toks[1].getLocation())));
109 SourceRange(toks[0].getLocation(), toks[2].getLocation())));
111 SourceRange(toks[3].getLocation(), toks[4].getLocation())));
113 SourceRange(toks[1].getLocation(), toks[5].getLocation())));
115 SourceRange(toks[2].getLocation(), toks[6].getLocation())));
117 SourceRange(toks[2].getLocation(), toks[5].getLocation())));
119 SourceRange(toks[0].getLocation(), toks[6].getLocation())));
121 SourceRange(toks[2].getLocation(), toks[8].getLocation())));
123 SourceRange(toks[0].getLocation(), toks[9].getLocation())));
LexerTest.cpp 108 SourceRange macroRange = SourceRange(macroPair.first, macroPair.second);
128 SourceRange(macroRange.getBegin(),
146 EXPECT_EQ(SourceRange(fileLsqrLoc, fileIdLoc.getLocWithOffset(3)),
151 EXPECT_EQ(SourceRange(fileIdLoc, fileRsqrLoc.getLocWithOffset(1)),
158 EXPECT_EQ(SourceRange(macroPair.first, macroPair.second.getLocWithOffset(1)),
162 CharSourceRange::getTokenRange(SourceRange(macroLsqrLoc, macroIdLoc)),
  /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/
TypeLoc.h 97 SourceRange getSourceRange() const LLVM_READONLY {
98 return SourceRange(getBeginLoc(), getEndLoc());
104 SourceRange getLocalSourceRange() const {
169 static SourceRange getLocalSourceRangeImpl(TypeLoc TL);
205 SourceRange getLocalSourceRange() const {
206 return SourceRange();
412 SourceRange getLocalSourceRange() const {
413 return SourceRange(getNameLoc(), getNameLoc());
464 SourceRange getLocalSourceRange() const {
465 return SourceRange(getBuiltinLoc(), getBuiltinLoc())
    [all...]
StmtObjC.h 59 SourceRange getSourceRange() const LLVM_READONLY {
60 return SourceRange(ForLoc, SubExprs[BODY]->getLocEnd());
107 SourceRange getSourceRange() const LLVM_READONLY {
108 return SourceRange(AtCatchLoc, Body->getLocEnd());
137 SourceRange getSourceRange() const LLVM_READONLY {
138 return SourceRange(AtFinallyLoc, AtFinallyStmt->getLocEnd());
244 SourceRange getSourceRange() const LLVM_READONLY;
298 SourceRange getSourceRange() const LLVM_READONLY {
299 return SourceRange(AtSynchronizedLoc, getSynchBody()->getLocEnd());
331 SourceRange getSourceRange() const LLVM_READONLY
    [all...]
DeclFriend.h 104 SourceRange getSourceRange() const LLVM_READONLY {
107 return SourceRange(getFriendLoc(), ND->getLocEnd());
109 return SourceRange(getFriendLoc(), TInfo->getTypeLoc().getEndLoc());
111 return SourceRange(getFriendLoc(), getLocation());
StmtCXX.h 41 SourceRange getSourceRange() const LLVM_READONLY {
42 return SourceRange(CatchLoc, HandlerBlock->getLocEnd());
87 SourceRange getSourceRange() const LLVM_READONLY {
88 return SourceRange(getTryLoc(), getEndLoc());
193 SourceRange getSourceRange() const LLVM_READONLY {
194 return SourceRange(ForLoc, SubExprs[BODY]->getLocEnd());
278 SourceRange getSourceRange() const LLVM_READONLY {
279 return SourceRange(KeywordLoc, SubStmt->getLocEnd());
ExprCXX.h 77 SourceRange getSourceRange() const LLVM_READONLY;
187 SourceRange getSourceRange() const LLVM_READONLY {
188 return SourceRange(Loc, RParenLoc);
406 SourceRange getSourceRange() const LLVM_READONLY { return SourceRange(Loc); }
432 SourceRange getSourceRange() const LLVM_READONLY { return SourceRange(Loc); }
453 SourceRange Range;
456 CXXTypeidExpr(QualType Ty, TypeSourceInfo *Operand, SourceRange R)
466 CXXTypeidExpr(QualType Ty, Expr *Operand, SourceRange R
    [all...]
ExprObjC.h 47 SourceRange getSourceRange() const LLVM_READONLY {
48 return SourceRange(AtLoc, String->getLocEnd());
76 SourceRange getSourceRange() const LLVM_READONLY { return SourceRange(Loc); }
97 SourceRange Range;
100 SourceRange R)
117 SourceRange getSourceRange() const LLVM_READONLY {
136 SourceRange Range;
141 SourceRange SR);
150 SourceRange SR)
    [all...]
Stmt.h 352 SourceRange getSourceRange() const LLVM_READONLY;
480 SourceRange getSourceRange() const LLVM_READONLY {
481 return SourceRange(StartLoc, EndLoc);
529 SourceRange getSourceRange() const LLVM_READONLY { return SourceRange(SemiLoc); }
609 SourceRange getSourceRange() const LLVM_READONLY {
610 return SourceRange(LBracLoc, RBracLoc);
654 SourceRange getSourceRange() const LLVM_READONLY { return SourceRange(); }
709 SourceRange getSourceRange() const LLVM_READONLY
    [all...]
  /external/clang/include/clang/Rewrite/
Rewriter.h 168 int getRangeSize(SourceRange Range,
179 std::string getRewrittenText(SourceRange Range) const;
223 bool RemoveText(SourceRange range, RewriteOptions opts = RewriteOptions()) {
236 bool ReplaceText(SourceRange range, StringRef NewStr) {
243 bool ReplaceText(SourceRange range, SourceRange replacementRange);
255 bool IncreaseIndentation(SourceRange range, SourceLocation parentIndent) {
  /external/clang/lib/Edit/
RewriteObjCFoundationAPI.cpp 83 SourceRange RecRange = Receiver->getSourceRange();
95 SourceRange MsgRange = Msg->getSourceRange();
96 SourceRange RecRange = Rec->getSourceRange();
97 SourceRange ArgRange = Msg->getArg(0)->getSourceRange();
102 commit.replaceWithInner(SourceRange(ArgRange.getBegin(), MsgRange.getEnd()),
117 SourceRange MsgRange = Msg->getSourceRange();
118 SourceRange RecRange = Rec->getSourceRange();
119 SourceRange Arg0Range = Msg->getArg(0)->getSourceRange();
120 SourceRange Arg1Range = Msg->getArg(1)->getSourceRange();
128 commit.replaceWithInner(SourceRange(Arg1Range.getBegin(), MsgRange.getEnd())
    [all...]
  /external/clang/include/clang/Basic/
SourceLocation.h 184 /// SourceRange - a trival tuple used to represent a source range.
185 class SourceRange {
189 SourceRange(): B(SourceLocation()), E(SourceLocation()) {}
190 SourceRange(SourceLocation loc) : B(loc), E(loc) {}
191 SourceRange(SourceLocation begin, SourceLocation end) : B(begin), E(end) {}
202 bool operator==(const SourceRange &X) const {
206 bool operator!=(const SourceRange &X) const {
212 /// The underlying SourceRange can either specify the starting/ending character
218 SourceRange Range;
222 CharSourceRange(SourceRange R, bool ITR) : Range(R),IsTokenRange(ITR){
    [all...]
  /external/clang/include/clang/Lex/
PreprocessingRecord.h 77 SourceRange Range;
80 PreprocessedEntity(EntityKind Kind, SourceRange Range)
91 SourceRange getSourceRange() const LLVM_READONLY { return Range; }
128 PreprocessingDirective(EntityKind Kind, SourceRange Range)
145 explicit MacroDefinition(const IdentifierInfo *Name, SourceRange Range)
168 MacroExpansion(IdentifierInfo *BuiltinName, SourceRange Range)
172 MacroExpansion(MacroDefinition *Definition, SourceRange Range)
236 bool InQuotes, const FileEntry *File, SourceRange Range);
274 findPreprocessedEntitiesInRange(SourceRange Range) = 0;
377 findLocalPreprocessedEntitiesInRange(SourceRange Range) const
    [all...]
PPCallbacks.h 170 SourceRange Range) {
187 /// \param Range The SourceRange that was skipped. The range begins at the
189 virtual void SourceRangeSkipped(SourceRange Range) {
194 /// \param ConditionRange The SourceRange of the expression being tested.
196 virtual void If(SourceLocation Loc, SourceRange ConditionRange) {
201 /// \param ConditionRange The SourceRange of the expression being tested.
204 virtual void Elif(SourceLocation Loc, SourceRange ConditionRange,
320 SourceRange Range) {
340 virtual void SourceRangeSkipped(SourceRange Range) {
346 virtual void If(SourceLocation Loc, SourceRange ConditionRange)
    [all...]
  /external/clang/include/clang/Edit/
Commit.h 86 bool insertFromRange(SourceLocation loc, SourceRange TokenRange,
92 bool insertWrap(StringRef before, SourceRange TokenRange, StringRef after) {
95 bool remove(SourceRange TokenRange) {
98 bool replace(SourceRange TokenRange, StringRef text) {
101 bool replaceWithInner(SourceRange TokenRange, SourceRange TokenInnerRange) {
  /external/clang/lib/Sema/
SemaStmtAttr.cpp 37 SourceRange Range) {
  /external/clang/lib/AST/
TypeLoc.cpp 25 class TypeLocRanger : public TypeLocVisitor<TypeLocRanger, SourceRange> {
29 SourceRange Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
36 SourceRange TypeLoc::getLocalSourceRangeImpl(TypeLoc TL) {
37 if (TL.isNull()) return SourceRange();
187 SourceRange TypeOfExprTypeLoc::getLocalSourceRange() const {
189 return SourceRange(getTypeofLoc(), getRParenLoc());
191 return SourceRange(getTypeofLoc(),
  /external/clang/lib/StaticAnalyzer/Checkers/
StackAddrEscapeChecker.cpp 38 static SourceRange GenName(raw_ostream &os, const MemRegion *R,
43 SourceRange StackAddrEscapeChecker::GenName(raw_ostream &os,
48 SourceRange range;
105 SourceRange range = GenName(os, R, C.getSourceManager());
214 SourceRange range = GenName(os, cb.V[i].second,
  /external/clang/bindings/python/tests/cindex/
test_location.py 4 from clang.cindex import SourceRange
80 range1 = SourceRange.from_locations(location1, location2)
81 range2 = SourceRange.from_locations(location1, location2)
85 range3 = SourceRange.from_locations(location1, location3)

Completed in 657 milliseconds

1 2 3 4 5 6 7