/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/ |
D | NodeWithRange.java | 14 Optional<Range> getRange(); in getRange() method 22 return getRange().map(r -> r.begin); in getBegin() 29 return getRange().map(r -> r.end); in getEnd() 33 if (getRange().isPresent() && other.getRange().isPresent()) { in containsWithin() 34 return getRange().get().contains(other.getRange().get()); in containsWithin() 44 return getRange().map(r -> r.isAfter(position)).orElse(false); in isPositionedAfter() 52 return getRange().map(r -> r.isBefore(position)).orElse(false); in isPositionedBefore()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/visitor/ |
D | CloneVisitor.java | 119 _n.getRange(), in visit() 131 _n.getRange(), in visit() 144 _n.getRange(), in visit() 156 TypeParameter r = new TypeParameter(_n.getRange(), in visit() 166 return new LineComment(_n.getRange(), _n.getContent()); in visit() 171 return new BlockComment(_n.getRange(), _n.getContent()); in visit() 184 _n.getRange(), in visit() 200 _n.getRange(), in visit() 212 _n.getRange() in visit() 226 _n.getRange(), in visit() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/ |
D | com_github_javaparser_ast_visitor_CloneVisitor.txt | 7 Line 119) _n.getRange() ==> com.github.javaparser.ast.Node.getRange() 14 Line 131) _n.getRange() ==> com.github.javaparser.ast.Node.getRange() 20 Line 144) _n.getRange() ==> com.github.javaparser.ast.Node.getRange() 28 Line 156) _n.getRange() ==> com.github.javaparser.ast.Node.getRange() 33 Line 166) _n.getRange() ==> com.github.javaparser.ast.Node.getRange() 35 Line 171) _n.getRange() ==> com.github.javaparser.ast.Node.getRange() 49 Line 184) _n.getRange() ==> com.github.javaparser.ast.Node.getRange() 64 Line 200) _n.getRange() ==> com.github.javaparser.ast.Node.getRange() 70 Line 212) _n.getRange() ==> com.github.javaparser.ast.Node.getRange() 80 Line 226) _n.getRange() ==> com.github.javaparser.ast.Node.getRange() [all …]
|
/external/llvm/unittests/Support/ |
D | SourceMgrTest.cpp | 36 SMRange getRange(unsigned Offset, unsigned Length) { in getRange() function in __anon97bcb9ee0111::SourceMgrTest 102 printMessage(getLoc(4), SourceMgr::DK_Error, "message", getRange(4, 3), None); in TEST_F() 112 printMessage(getLoc(4), SourceMgr::DK_Error, "message", getRange(3, 3), None); in TEST_F() 122 printMessage(getLoc(4), SourceMgr::DK_Error, "message", getRange(4, 7), None); in TEST_F() 132 SMRange Ranges[] = { getRange(0, 3), getRange(4, 3) }; in TEST_F() 143 SMRange Ranges[] = { getRange(0, 3), getRange(2, 4) }; in TEST_F() 155 makeArrayRef(SMFixIt(getRange(4, 3), "zzz"))); in TEST_F() 167 makeArrayRef(SMFixIt(getRange(3, 1), "zzz"))); in TEST_F()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/ |
D | PositionUtils.java | 67 if(a.getRange().isPresent() && !b.getRange().isPresent()) { in compare() 70 if(!a.getRange().isPresent() && b.getRange().isPresent()) { in compare() 73 if (!a.getRange().isPresent() && !b.getRange().isPresent()) { in compare() 110 return beginNodeWithoutConsideringAnnotations(node).getRange().get().begin.line; in beginLineWithoutConsideringAnnotation() 115 return beginNodeWithoutConsideringAnnotations(node).getRange().get().begin.column; in beginColumnWithoutConsideringAnnotation() 131 final Range containedRange = contained.getRange().get(); in nodeContains() 132 final Range containerRange = container.getRange().get(); in nodeContains()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ |
D | CommentsInserter.java | 104 .filter(c -> c.getRange().isPresent()) in insertComments() 159 .filter(comment -> comment.getRange().isPresent()) in attributeLineCommentsOnSameLine() 162 .filter(child -> child.getRange().isPresent()) in attributeLineCommentsOnSameLine() 164 Range commentRange = comment.getRange().get(); in attributeLineCommentsOnSameLine() 165 Range childRange = child.getRange().get(); in attributeLineCommentsOnSameLine() 176 if (!node.getRange().isPresent() || !lineComment.getRange().isPresent()) { in attributeLineCommentToNodeOrChild() 207 if (!a.getRange().isPresent() || !b.getRange().isPresent()) { in thereAreLinesBetween()
|
D | TokenRange.java | 31 if (begin.getRange().isPresent() && end.getRange().isPresent()) { in toRange() 32 return Optional.of(new Range(begin.getRange().get().begin, end.getRange().get().end)); in toRange()
|
D | Problem.java | 72 …return getLocation().map(l -> l.getBegin().getRange().map(r -> r.begin.toString()).orElse("(line ?… in getVerboseMessage() 86 public Optional<TokenRange> getRange() { in getRange() method in Problem 101 …final Optional<Position> aBegin= a.getLocation().flatMap(l -> l.getBegin().getRange().map(r -> r.b… 102 …final Optional<Position> bBegin = b.getLocation().flatMap(l -> l.getBegin().getRange().map(r -> r.…
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ |
D | JavaParserTest.java | 57 assertEquals(true, memberDeclaration.getRange().isPresent()); in rangeOfAnnotationMemberDeclarationIsCorrect() 58 …ertEquals(new Range(new Position(1, 17), new Position(1, 29)), memberDeclaration.getRange().get()); in rangeOfAnnotationMemberDeclarationIsCorrect() 66 assertEquals(true, memberDeclaration.getRange().isPresent()); in rangeOfAnnotationMemberDeclarationWithArrayTypeIsCorrect() 67 …ertEquals(new Range(new Position(1, 17), new Position(1, 31)), memberDeclaration.getRange().get()); in rangeOfAnnotationMemberDeclarationWithArrayTypeIsCorrect() 76 range = expression.getLevels().get(0).getRange(); in rangeOfArrayCreationLevelWithExpressionIsCorrect() 80 range = expression.getLevels().get(1).getRange(); in rangeOfArrayCreationLevelWithExpressionIsCorrect() 91 range = expression.getLevels().get(0).getRange(); in rangeOfArrayCreationLevelWithoutExpressionIsCorrect() 95 range = expression.getLevels().get(1).getRange(); in rangeOfArrayCreationLevelWithoutExpressionIsCorrect() 136 assertEquals(range(3, 13, 3, 54), type.getRange().get()); in rangeOfIntersectionType() 149 assertEquals(range(3, 12, 3, 101), castExpr.getRange().get()); in rangeOfCast() [all …]
|
/external/clang/lib/Lex/ |
D | PPExpressions.cpp | 51 SourceRange getRange() const { return Range; } in getRange() function in __anondadb1f340111::PPValue 397 << Result.getRange(); in EvaluateValue() 432 PP.Diag(Loc, diag::warn_pp_expr_overflow) << Result.getRange(); in EvaluateValue() 511 PP.Diag(LHS.getRange().getBegin(), diag::err_pp_expr_bad_token_lparen) in diagnoseUnexpectedOperator() 515 << LHS.getRange(); in diagnoseUnexpectedOperator() 621 << LHS.getRange() << RHS.getRange(); in EvaluateDirectiveSubExpr() 626 << LHS.getRange() << RHS.getRange(); in EvaluateDirectiveSubExpr() 640 << LHS.getRange() << RHS.getRange(); in EvaluateDirectiveSubExpr() 652 << LHS.getRange() << RHS.getRange(); in EvaluateDirectiveSubExpr() 739 << LHS.getRange() << RHS.getRange(); in EvaluateDirectiveSubExpr() [all …]
|
/external/clang/lib/Sema/ |
D | SemaDeclAttr.cpp | 351 D->addAttr(::new (S.Context) AttrType(Attr.getRange(), S.Context, in handleSimpleAttribute() 367 if (checkAttrMutualExclusion<IncompatibleAttrType>(S, D, Attr.getRange(), in handleSimpleAttributeWithExclusions() 605 PtGuardedVarAttr(Attr.getRange(), S.Context, in handlePtGuardedVarAttr() 629 D->addAttr(::new (S.Context) GuardedByAttr(Attr.getRange(), S.Context, Arg, in handleGuardedByAttr() 642 D->addAttr(::new (S.Context) PtGuardedByAttr(Attr.getRange(), in handlePtGuardedByAttr() 677 AcquiredAfterAttr(Attr.getRange(), S.Context, in handleAcquiredAfterAttr() 690 AcquiredBeforeAttr(Attr.getRange(), S.Context, in handleAcquiredBeforeAttr() 714 AssertSharedLockAttr(Attr.getRange(), S.Context, StartArg, Size, in handleAssertSharedLockAttr() 727 AssertExclusiveLockAttr(Attr.getRange(), S.Context, in handleAssertExclusiveLockAttr() 758 SharedTrylockFunctionAttr(Attr.getRange(), S.Context, in handleSharedTrylockFunctionAttr() [all …]
|
D | SemaStmtAttr.cpp | 28 FallThroughAttr Attr(A.getRange(), S.Context, in handleFallThroughAttr() 31 S.Diag(A.getRange().getBegin(), diag::err_fallthrough_attr_wrong_target) in handleFallThroughAttr() 42 S.Diag(A.getRange().getBegin(), diag::err_fallthrough_attr_outside_switch); in handleFallThroughAttr() 139 ValueExpr, A.getRange()); in handleLoopHintAttr() 204 SourceLocation OptionLoc = LH->getRange().getBegin(); in CheckForIncompatibleAttributes() 261 S.Diag(A.getRange().getBegin(), in handleOpenCLUnrollHint() 289 S.Diag(A.getRange().getBegin(), diag::err_decl_attribute_invalid_on_stmt) in ProcessStmtAttribute()
|
D | SemaCXXScopeSpec.cpp | 221 if (loc.isInvalid()) loc = SS.getRange().getBegin(); in RequireCompleteDeclContext() 225 SS.getRange())) { in RequireCompleteDeclContext() 226 SS.SetInvalid(SS.getRange()); in RequireCompleteDeclContext() 259 SS.SetInvalid(SS.getRange()); in RequireCompleteDeclContext() 267 << type << SS.getRange(); in RequireCompleteDeclContext() 268 SS.SetInvalid(SS.getRange()); in RequireCompleteDeclContext() 404 Found.setContextRange(SS.getRange()); in isNonTypeNestedNameSpecifier() 510 Found.setContextRange(SS.getRange()); in BuildCXXNestedNameSpecifier() 629 << SS.getRange()); in BuildCXXNestedNameSpecifier() 818 << SS.getRange(); in BuildCXXNestedNameSpecifier() [all …]
|
D | SemaExprMember.cpp | 202 if (SS.isSet()) Range.setBegin(SS.getRange().getBegin()); in diagnoseInstanceReference() 511 << SS.getRange() << rep << BaseType; in DiagnoseQualifiedMemberReference() 644 SemaRef.Diag(SS.getRange().getEnd(), diag::err_typecheck_incomplete_tag) in LookupMemberExprInRecord() 645 << SS.getRange() << DC; in LookupMemberExprInRecord() 653 << DC << SS.getRange(); in LookupMemberExprInRecord() 688 << SS.getRange()); in LookupMemberExprInRecord() 1006 if (SS.getRange().isValid()) in BuildMemberReferenceExpr() 1007 Loc = SS.getRange().getBegin(); in BuildMemberReferenceExpr() 1145 if (SS.getRange().isValid()) in BuildMemberReferenceExpr() 1146 Loc = SS.getRange().getBegin(); in BuildMemberReferenceExpr() [all …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/comments/ |
D | CommentsCollection.java | 72 if (!comment.getRange().isPresent()) { in contains() 75 Range commentRange = comment.getRange().get(); in contains() 77 if (!c.getRange().isPresent()) { in contains() 80 Range cRange = c.getRange().get(); in contains()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/ |
D | Node.java | 134 if (a.getRange().isPresent() && b.getRange().isPresent()) { 135 return a.getRange().get().begin.compareTo(b.getRange().get().begin); 137 if (a.getRange().isPresent() || b.getRange().isPresent()) { 138 if (a.getRange().isPresent()) { 202 public Optional<Range> getRange() { in getRange() method in Node 215 … (tokenRange == null || !(tokenRange.getBegin().getRange().isPresent() && tokenRange.getBegin().ge… in setTokenRange() 218 …range = new Range(tokenRange.getBegin().getRange().get().begin, tokenRange.getEnd().getRange().get… in setTokenRange()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/ |
D | PhantomNodeLogic.java | 58 !node.getParentNode().get().getRange().get().contains(node.getRange().get()) in isPhantomNode()
|
/external/parameter-framework/upstream/parameter/ |
D | FixedPointParameterType.cpp | 156 getRange(dMin, dMax); in setOutOfRangeError() 277 void CFixedPointParameterType::getRange(double &dMin, double &dMax) const in getRange() function in CFixedPointParameterType 336 getRange(dMin, dMax); in checkValueAgainstRange()
|
/external/clang/tools/libclang/ |
D | CIndexDiagnostic.h | 83 virtual CXSourceRange getRange(unsigned Range) const = 0; 144 CXSourceRange getRange(unsigned Range) const override;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
D | ANTLRBufferedTokenStream.h | 60 @property (assign, getter=getRange,setter=setRange) NSInteger range; 68 - (NSInteger) getRange;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
D | ANTLRBufferedTokenStream.h | 60 @property (assign, getter=getRange,setter=setRange) NSInteger range; 68 - (NSInteger) getRange;
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
D | ANTLRBufferedTokenStream.h | 62 @property (assign, getter=getRange,setter=setRange:) NSInteger range; 71 - (NSInteger) getRange;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
D | ANTLRBufferedTokenStream.h | 60 @property (assign, getter=getRange,setter=setRange) NSInteger range; 68 - (NSInteger) getRange;
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/bdd/steps/ |
D | CommentParsingSteps.java | 154 Range underTestRange = lineCommentUnderTest.getRange().get(); in thenTheLineCommentsHaveTheFollowingPositions() 155 Range expectedRange = expectedLineComment.getRange().get(); in thenTheLineCommentsHaveTheFollowingPositions() 172 Range underTestRange = lineCommentUnderTest.getRange().get(); in thenTheBlockCommentsHaveTheFollowingPositions() 173 Range expectedRange = expectedLineComment.getRange().get(); in thenTheBlockCommentsHaveTheFollowingPositions() 190 Range underTestRange = lineCommentUnderTest.getRange().get(); in thenTheJavadocCommentsHaveTheFollowingPositions() 191 Range expectedRange = expectedLineComment.getRange().get(); in thenTheJavadocCommentsHaveTheFollowingPositions()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceRangeSpec.cpp | 49 void getRange(const std::string &Token, uint32_t *First, uint32_t *Last) { in getRange() function 81 getRange(Token, &First, &Last); in record()
|