/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/ |
D | MethodsResolutionTest.java | 46 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in solveMethodAccessThroughSuper() 87 …MethodCallExpr expression = method.getBody().get().getStatements().get(0).asExpressionStmt().getEx… in solveMethodWithTypePromotionsToLong() 93 …MethodCallExpr expression = method.getBody().get().getStatements().get(1).asExpressionStmt().getEx… in solveMethodWithTypePromotionsToLong() 99 …MethodCallExpr expression = method.getBody().get().getStatements().get(2).asExpressionStmt().getEx… in solveMethodWithTypePromotionsToLong() 105 …MethodCallExpr expression = method.getBody().get().getStatements().get(3).asExpressionStmt().getEx… in solveMethodWithTypePromotionsToLong() 121 …MethodCallExpr expression = method.getBody().get().getStatements().get(0).asExpressionStmt().getEx… in solveMethodWithTypePromotionsToInt() 127 …MethodCallExpr expression = method.getBody().get().getStatements().get(1).asExpressionStmt().getEx… in solveMethodWithTypePromotionsToInt() 133 …MethodCallExpr expression = method.getBody().get().getStatements().get(2).asExpressionStmt().getEx… in solveMethodWithTypePromotionsToInt() 139 …MethodCallExpr expression = method.getBody().get().getStatements().get(3).asExpressionStmt().getEx… in solveMethodWithTypePromotionsToInt() 154 …MethodCallExpr expression = method.getBody().get().getStatements().get(0).asExpressionStmt().getEx… in solveMethodWithTypePromotionsToShort() [all …]
|
D | FieldsResolutionTest.java | 47 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in accessClassFieldThroughThis() 59 … ExpressionStmt expressionStmt = (ExpressionStmt) method.getBody().get().getStatements().get(0); in accessClassFieldThroughThisWithCompetingSymbolInParentContext() 89 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in accessEnumMethodThroughThis() 101 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in accessFieldThroughSuper()
|
/external/clang/lib/Analysis/ |
D | AnalysisDeclContext.cpp | 93 Stmt *AnalysisDeclContext::getBody(bool &IsAutosynthesized) const { in getBody() function in AnalysisDeclContext 96 Stmt *Body = FD->getBody(); in getBody() 99 getBodyFarm(getASTContext(), Manager->Injector.get()).getBody(FD); in getBody() 108 Stmt *Body = MD->getBody(); in getBody() 111 getBodyFarm(getASTContext(), Manager->Injector.get()).getBody(MD); in getBody() 119 return BD->getBody(); in getBody() 122 return FunTmpl->getTemplatedDecl()->getBody(); in getBody() 127 Stmt *AnalysisDeclContext::getBody() const { in getBody() function in AnalysisDeclContext 129 return getBody(Tmp); in getBody() 134 getBody(Tmp); in isBodyAutosynthesized() [all …]
|
D | BodyFarm.h | 37 Stmt *getBody(const FunctionDecl *D); 40 Stmt *getBody(const ObjCMethodDecl *D);
|
/external/clang/lib/CodeGen/ |
D | CodeGenPGO.cpp | 142 CounterMap[D->getBody()] = NextCounter++; in VisitDecl() 252 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitFunctionDecl() 253 CountMap[D->getBody()] = BodyCount; in VisitFunctionDecl() 254 Visit(D->getBody()); in VisitFunctionDecl() 264 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitCapturedDecl() 265 CountMap[D->getBody()] = BodyCount; in VisitCapturedDecl() 266 Visit(D->getBody()); in VisitCapturedDecl() 271 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitObjCMethodDecl() 272 CountMap[D->getBody()] = BodyCount; in VisitObjCMethodDecl() 273 Visit(D->getBody()); in VisitObjCMethodDecl() [all …]
|
D | CoverageMappingGen.cpp | 324 auto Body = D->getBody(); in VisitDecl() 622 Stmt *Body = D->getBody(); in VisitDecl() 672 extendRegion(S->getBody()); in VisitWhileStmt() 673 Counter BackedgeCount = propagateCounts(BodyCount, S->getBody()); in VisitWhileStmt() 695 extendRegion(S->getBody()); in VisitDoStmt() 697 propagateCounts(addCounters(ParentCount, BodyCount), S->getBody()); in VisitDoStmt() 719 extendRegion(S->getBody()); in VisitForStmt() 720 Counter BackedgeCount = propagateCounts(BodyCount, S->getBody()); in VisitForStmt() 751 extendRegion(S->getBody()); in VisitCXXForRangeStmt() 752 Counter BackedgeCount = propagateCounts(BodyCount, S->getBody()); in VisitCXXForRangeStmt() [all …]
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/builders/ |
D | FieldDeclarationBuildersTest.java | 62 assertEquals(ReturnStmt.class, getter.getBody().get().getStatement(0).getClass()); in testCreateGetterInAClass() 75 assertEquals(ExpressionStmt.class, setter.getBody().get().getStatement(0).getClass()); in testCreateSetterInAClass() 76 assertEquals("this.myField = myField;", setter.getBody().get().getStatement(0).toString()); in testCreateSetterInAClass() 89 assertEquals(ReturnStmt.class, getter.getBody().get().getStatement(0).getClass()); in testCreateGetterInEnum() 102 assertEquals(ExpressionStmt.class, setter.getBody().get().getStatement(0).getClass()); in testCreateSetterInEnum() 103 assertEquals("this.myField = myField;", setter.getBody().get().getStatement(0).toString()); in testCreateSetterInEnum()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/constraintformulas/ |
D | ExpressionCompatibleWithType.java | 159 … if (!targetFunctionType.getReturnType().isVoid() && lambdaExpr.getBody() instanceof BlockStmt in reduce() 160 && !isValueCompatibleBlock(lambdaExpr.getBody())) { in reduce() 187 if (lambdaExpr.getBody() instanceof BlockStmt) { in reduce() 188 …ession> resultExpressions = ExpressionHelper.getResultExpressions((BlockStmt)lambdaExpr.getBody()); in reduce() 195 Expression e = ((ExpressionStmt)lambdaExpr.getBody()).getExpression(); in reduce() 205 if (lambdaExpr.getBody() instanceof BlockStmt) { in reduce() 206 …getAllReturnExpressions((BlockStmt)lambdaExpr.getBody()).forEach(e -> constraints.add(new Expressi… in reduce() 214 Expression e = ((ExpressionStmt)lambdaExpr.getBody()).getExpression(); in reduce()
|
/external/clang/lib/ARCMigrate/ |
D | TransEmptyStatementsAndDealloc.cpp | 117 if (!S->getBody()) in VisitWhileStmt() 119 return Visit(S->getBody()); in VisitWhileStmt() 127 if (!S->getBody()) in VisitDoStmt() 129 return Visit(S->getBody()); in VisitDoStmt() 137 if (!S->getBody()) in VisitObjCForCollectionStmt() 139 return Visit(S->getBody()); in VisitObjCForCollectionStmt()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/visitor/ |
D | NoCommentEqualsVisitor.java | 262 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 285 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 329 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 906 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 926 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 937 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 950 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 974 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 1000 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 1011 if (!nodeEquals(n.getBody(), n2.getBody())) in visit()
|
D | EqualsVisitor.java | 333 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 358 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 406 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 1096 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 1120 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 1133 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 1148 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 1176 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 1206 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 1219 if (!nodeEquals(n.getBody(), n2.getBody())) in visit()
|
D | NoCommentHashCodeVisitor.java | 119 return (n.getBody().accept(this, arg)) * 31 + (n.getParameter().accept(this, arg)); in visit() 154 …return (n.getBody().accept(this, arg)) * 31 + (n.getModifiers().hashCode()) * 31 + (n.getName().ac… in visit() 164 return (n.getBody().accept(this, arg)) * 31 + (n.getCondition().accept(this, arg)); in visit() 214 …return (n.getBody().accept(this, arg)) * 31 + (n.getCompare().isPresent() ? n.getCompare().get().a… in visit() 219 …return (n.getBody().accept(this, arg)) * 31 + (n.getIterable().accept(this, arg)) * 31 + (n.getVar… in visit() 234 …return (n.getBody().accept(this, arg)) * 31 + (n.isStatic() ? 1 : 0) * 31 + (n.getAnnotations().ac… in visit() 264 …return (n.getBody().accept(this, arg)) * 31 + (n.isEnclosingParameters() ? 1 : 0) * 31 + (n.getPar… in visit() 299 …return (n.getBody().isPresent() ? n.getBody().get().accept(this, arg) : 0) * 31 + (n.getType().acc… in visit() 392 return (n.getBody().accept(this, arg)) * 31 + (n.getExpression().accept(this, arg)); in visit() 452 return (n.getBody().accept(this, arg)) * 31 + (n.getCondition().accept(this, arg)); in visit()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | VirtualCallChecker.cpp | 72 if (!FD || !FD->getBody()) in Enqueue() 91 assert(FD && FD->getBody()); in Execute() 97 Visit(FD->getBody()); in Execute() 228 if (Stmt *Body = I->getBody()) { in checkASTDecl() 236 if (Stmt *Body = DD->getBody()) { in checkASTDecl()
|
D | ObjCUnusedIVarsChecker.cpp | 47 Scan(M, BE->getBody()); in Scan() 81 Scan(M, I->getBody()); in Scan() 103 Scan(M, FD->getBody()); in Scan()
|
/external/deqp/framework/randomshaders/ |
D | rsgFunctionGenerator.cpp | 48 statementStack.push_back(&m_function.getBody()); in generate() 49 m_function.getBody().init(m_state); in generate() 79 m_function.getBody().addChild(new AssignStatement(m_state, variable, valueRange.asAccess())); in generate()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/ |
D | com_github_javaparser_ast_visitor_EqualsVisitor.txt | 177 …Line 487) nodeEquals(n1.getBody(), n2.getBody()) ==> com.github.javaparser.ast.visitor.EqualsVisit… 178 Line 487) n1.getBody() ==> com.github.javaparser.ast.body.ConstructorDeclaration.getBody() 179 Line 487) n2.getBody() ==> com.github.javaparser.ast.body.ConstructorDeclaration.getBody() 207 …Line 535) nodeEquals(n1.getBody(), n2.getBody()) ==> com.github.javaparser.ast.visitor.EqualsVisit… 208 Line 535) n1.getBody() ==> com.github.javaparser.ast.body.MethodDeclaration.getBody() 209 Line 535) n2.getBody() ==> com.github.javaparser.ast.body.MethodDeclaration.getBody() 537 …Line 1335) nodeEquals(n1.getBody(), n2.getBody()) ==> com.github.javaparser.ast.visitor.EqualsVisi… 538 Line 1335) n1.getBody() ==> com.github.javaparser.ast.stmt.WhileStmt.getBody() 539 Line 1335) n2.getBody() ==> com.github.javaparser.ast.stmt.WhileStmt.getBody() 543 …Line 1355) nodeEquals(n1.getBody(), n2.getBody()) ==> com.github.javaparser.ast.visitor.EqualsVisi… [all …]
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ |
D | ParseErrorRecoveryTest.java | 25 Statement xxx = cu.getBody().get().getStatements().get(0); in bodystatementSemicolonRecovery() 32 Statement xxx = cu.getBody().get(); in bodystatementClosingBraceRecovery() 39 …LabeledStmt xxx = cu.getClassByName("X").get().getMethods().get(0).getBody().get().getStatements()… in labeledStatementSemicolonRecovery()
|
D | JavaParserTest.java | 133 ReturnStmt returnStmt = methodDeclaration.getBody().get().getStatement(0).asReturnStmt(); in rangeOfIntersectionType() 147 ReturnStmt returnStmt = methodDeclaration.getBody().get().getStatement(0).asReturnStmt(); in rangeOfCast() 160 ReturnStmt returnStmt = methodDeclaration.getBody().get().getStatement(0).asReturnStmt(); in rangeOfCastNonIntersection() 173 ReturnStmt returnStmt = methodDeclaration.getBody().get().getStatement(0).asReturnStmt(); in rangeOfLambda() 189 ReturnStmt returnStmt = methodDeclaration.getBody().get().getStatement(0).asReturnStmt(); in rangeOfLambdaBody() 192 Statement lambdaBody = lambdaExpr.getBody(); in rangeOfLambdaBody()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/visitor/ |
D | EqualsVisitor.java | 487 if (!nodeEquals(n1.getBody(), n2.getBody())) { in visit() 535 if (!nodeEquals(n1.getBody(), n2.getBody())) { in visit() 1335 if (!nodeEquals(n1.getBody(), n2.getBody())) { in visit() 1355 if (!nodeEquals(n1.getBody(), n2.getBody())) { in visit() 1377 if (!nodeEquals(n1.getBody(), n2.getBody())) { in visit() 1399 if (!nodeEquals(n1.getBody(), n2.getBody())) { in visit() 1423 if (!nodeEquals(n1.getBody(), n2.getBody())) { in visit() 1459 if (!nodeEquals(n1.getBody(), n2.getBody())) { in visit() 1475 if (!nodeEquals(n1.getBody(), n2.getBody())) { in visit()
|
/external/clang/include/clang/Analysis/ |
D | CodeInjector.h | 41 virtual Stmt *getBody(const FunctionDecl *D) = 0; 42 virtual Stmt *getBody(const ObjCMethodDecl *D) = 0;
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/bdd/steps/ |
D | ParsingSteps.java | 149 assertThat(lambdaExpr.getBody().toString(), is(expectedBody)); in thenLambdaInStatementInMethodInClassBody() 161 assertThat(lambdaExpr.getBody().toString(), is(expectedBody)); in thenLambdaInMethodCallInStatementInMethodInClassBody() 167 BlockStmt blockStmt = lambdaExpr.getBody().asBlockStmt(); in thenLambdaInStatementInMethodInClassBlockStatementIsNull() 183 BlockStmt blockStmt = lambdaExpr.getBody().asBlockStmt(); in thenLambdaInStatementInMethodInClassBlockStatement() 191 Statement body = lambdaExpr.getBody(); in thenLambdaInStatementInMethodInClassIsParentOfContainedBody() 239 return method.getBody().get().getStatement(statementPosition - 1); in getStatementInMethodInClass() 328 ExpressionStmt assignStmt = ctor.getBody().getStatement(0).asExpressionStmt(); in thenTheAssignExprProducedDoesntHaveANullTarget()
|
/external/clang/lib/StaticAnalyzer/Frontend/ |
D | ModelInjector.h | 46 Stmt *getBody(const FunctionDecl *D) override; 47 Stmt *getBody(const ObjCMethodDecl *D) override;
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/ |
D | Issue144.java | 39 …t expressionStmt = (ExpressionStmt)clazz.getMethodsByName("main").get(0).getBody().get().getStatem… in issue144() 51 …t expressionStmt = (ExpressionStmt)clazz.getMethodsByName("main").get(0).getBody().get().getStatem… in issue144WithReflectionTypeSolver() 63 …t expressionStmt = (ExpressionStmt)clazz.getMethodsByName("main").get(0).getBody().get().getStatem… in issue144WithCombinedTypeSolver()
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/ |
D | LexicalPreservingPrinterTest.java | 357 …ent> stmts = cu.getClassByName("A").get().getMethodsByName("foo").get(0).getBody().get().getStatem… in printASimpleMethodAddingAStatement() 420 TryStmt tryStmt = (TryStmt)initializerDeclaration.getBody().getStatements().get(0); in printASingleCatchType() 432 TryStmt tryStmt = (TryStmt)initializerDeclaration.getBody().getStatements().get(0); in printUnionType() 444 TryStmt tryStmt = (TryStmt)initializerDeclaration.getBody().getStatements().get(0); in printParameterHavingUnionType() 607 assertEquals(4, LexicalPreservingPrinter.findIndentation(setter.getBody().get()).size()); in findIndentationOfEmptyMethod() 617 assertEquals(4, LexicalPreservingPrinter.findIndentation(setter.getBody().get()).size()); in findIndentationOfMethodWithStatements() 618 …assertEquals(8, LexicalPreservingPrinter.findIndentation(setter.getBody().get().getStatement(0)).s… in findIndentationOfMethodWithStatements() 631 setter.getBody().get().getStatements().add(new ExpressionStmt( in addingStatementToAnAddedMethodInASimpleClassWithMoreFormatting() 646 setter.getBody().get().getStatements().add(new ExpressionStmt( in addingStatementToAnAddedMethodInASimpleClassWithMoreFormattingFromStep3() 677 nodeText = getTextForNode(setter.getBody().get()); in nodeTextForMethod() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
D | ASN1ObjectIdentifier.java | 305 private synchronized byte[] getBody() in getBody() method in ASN1ObjectIdentifier 327 int length = getBody().length; in encodedLength() 336 byte[] enc = getBody(); in encode() 432 final OidHandle hdl = new OidHandle(getBody()); in intern()
|