/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/ |
D | MethodsResolutionTest.java | 65 ForStmt outerFor = (ForStmt) methodDeclaration.getBody().get().getStatement(0); in testConsistentMethodResultion() 66 ForStmt innerFor = (ForStmt) ((BlockStmt) outerFor.getBody()).getStatement(0); in testConsistentMethodResultion() 67 IfStmt ifStmt = (IfStmt) ((BlockStmt) innerFor.getBody()).getStatement(4); in testConsistentMethodResultion() 110 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in solveMethodAccessThroughSuper() 151 …MethodCallExpr expression = method.getBody().get().getStatements().get(0).asExpressionStmt().getEx… in solveMethodWithTypePromotionsToLong() 157 …MethodCallExpr expression = method.getBody().get().getStatements().get(1).asExpressionStmt().getEx… in solveMethodWithTypePromotionsToLong() 163 …MethodCallExpr expression = method.getBody().get().getStatements().get(2).asExpressionStmt().getEx… in solveMethodWithTypePromotionsToLong() 169 …MethodCallExpr expression = method.getBody().get().getStatements().get(3).asExpressionStmt().getEx… in solveMethodWithTypePromotionsToLong() 185 …MethodCallExpr expression = method.getBody().get().getStatements().get(0).asExpressionStmt().getEx… in solveMethodWithTypePromotionsToInt() 191 …MethodCallExpr expression = method.getBody().get().getStatements().get(1).asExpressionStmt().getEx… in solveMethodWithTypePromotionsToInt() [all …]
|
D | FieldsResolutionTest.java | 60 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in accessClassFieldThroughThis() 72 … ExpressionStmt expressionStmt = (ExpressionStmt) method.getBody().get().getStatements().get(0); in accessClassFieldThroughThisWithCompetingSymbolInParentContext() 102 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in accessEnumMethodThroughThis() 114 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in accessClassFieldThroughSuper() 130 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in resolveClassFieldThroughThis() 152 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in resolveClassFieldThroughSuper() 175 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in resolveClassFieldOfClassExtendingUnknownClass1() 197 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in resolveClassFieldOfClassExtendingUnknownClass2() 219 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in resolveInheritedFieldFromInterface()
|
D | ConstructorsResolutionTest.java | 37 ObjectCreationExpr objectCreationExpr = method.getBody().get().getStatements().get(0) in solveNormalConstructor() 56 ObjectCreationExpr objectCreationExpr = method.getBody().get().getStatements().get(1) in solveInnerClassConstructor() 75 ObjectCreationExpr objectCreationExpr = method.getBody().get().getStatements().get(0) in solveInnerClassConstructorWithNewScope() 94 ObjectCreationExpr objectCreationExpr = method.getBody().get().getStatements().get(0) in solveInnerInnerClassConstructor() 133 … (ExplicitConstructorInvocationStmt) constructorDeclaration.getBody().getStatement(0); in solveNonPublicParentConstructorReflection()
|
/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 …]
|
/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 …]
|
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/builders/ |
D | FieldDeclarationBuildersTest.java | 61 assertEquals(ReturnStmt.class, getter.getBody().get().getStatement(0).getClass()); in testCreateGetterInAClass() 74 assertEquals(ExpressionStmt.class, setter.getBody().get().getStatement(0).getClass()); in testCreateSetterInAClass() 75 assertEquals("this.myField = myField;", setter.getBody().get().getStatement(0).toString()); in testCreateSetterInAClass() 88 assertEquals(ReturnStmt.class, getter.getBody().get().getStatement(0).getClass()); in testCreateGetterInEnum() 101 assertEquals(ExpressionStmt.class, setter.getBody().get().getStatement(0).getClass()); in testCreateSetterInEnum() 102 assertEquals("this.myField = myField;", setter.getBody().get().getStatement(0).toString()); in testCreateSetterInEnum()
|
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Dialect/lhlo/IR/ |
D | lhlo_ops.cc | 339 for (auto& op : reduce.getBody().front()) { in matchAndRewrite() 352 auto& oldReduceBody = reduce.getBody().front(); in matchAndRewrite() 354 &newReduce.getBody(), newReduce.getBody().end(), in matchAndRewrite() 360 for (auto item : llvm::zip(reduce.getBody().front().getArguments(), in matchAndRewrite() 367 for (auto& op : reduce.getBody().front()) { in matchAndRewrite() 410 regions.push_back(RegionSuccessor(&getBody(), getBody().getArguments())); in getSuccessorRegions() 414 Region& WhileOp::getLoopBody() { return getBody(); } in getLoopBody()
|
/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/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/ |
D | AncestorDescendantTests.java | 26 .getBody().get().getStatement(0).asExpressionStmt() // int a = 42; in nodeIsNotAncestorOfItself() 44 .getBody().get().getStatement(0).asExpressionStmt() // int a = 42; in nodeIsNotDescendantOfItself() 62 .getBody().get().getStatement(0).asExpressionStmt() // int a = 42; in nodeInSameFileIsDescendantOfAncestor() 90 .getBody().get().getStatement(0).asExpressionStmt() // int a = 42; in nodesInTwoDifferentFilesAreNotDescendantOrAncestorOfEachOther() 98 .getBody().get().getStatement(0).asExpressionStmt() // int b = 42; in nodesInTwoDifferentFilesAreNotDescendantOrAncestorOfEachOther()
|
D | FindNodeTest.java | 37 .asMethodDeclaration().getBody().get().getStatement(0) in testFindFirst() 39 .asTryStmt().getCatchClauses().get(0).getBody().getStatement(0) in testFindFirst() 77 .asMethodDeclaration().getBody().get().getStatement(0) in testFindAncestralFinallyBlock()
|
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Dialect/mhlo/transforms/ |
D | expand_hlo_tuples.cc | 79 Location loc = func.getBody().getLoc(); in expandTupledTensorInReturnOp() 87 OpBuilder builder(func.getBody()); in expandTupledTensorInReturnOp() 88 builder.setInsertionPointToStart(&func.getBody().front()); in expandTupledTensorInReturnOp() 100 auto returnOp = cast<mlir::func::ReturnOp>(func.getBody().back().back()); in expandTupledTensorInReturnOp()
|
/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/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()
|
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Dialect/gml_st/transforms/ |
D | gml_st_to_scf.cc | 79 builder.setInsertionPointToStart(nest.loops.back().getBody()); in matchAndRewrite() 81 for (auto &op : loop.getBody()->without_terminator()) in matchAndRewrite() 109 for (auto &op : loop.getBody()->without_terminator()) in matchAndRewrite() 133 bvm.map(loop.getBody()->getArguments().take_back(loop.outputs().size()), in matchAndRewrite() 136 for (auto &op : loop.getBody()->without_terminator()) in matchAndRewrite()
|
D | bufferizable_op_interface_impl.cc | 128 if (!newLoopOp.getBody()->empty()) in bufferize() 129 rewriter.eraseOp(loopOp.getBody()->getTerminator()); in bufferize() 153 rewriter.setInsertionPointToStart(newLoopOp.getBody()); in bufferize() 163 rewriter.mergeBlocks(loopOp.getBody(), newLoopOp.getBody(), newBlockArgs); in bufferize() 167 cast<gml_st::YieldOp>(newLoopOp.getBody()->getTerminator()); in bufferize() 168 rewriter.setInsertionPointToEnd(newLoopOp.getBody()); in bufferize() 387 rewriter.mergeBlocks(loopOp.getBody(), newLoopOp.getBody(), in bufferize() 456 Block *loopBody = newForOp.getBody(); in bufferize() 469 rewriter.mergeBlocks(forOp.getBody(), loopBody, blockArgs); in bufferize()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/visitor/ |
D | NoCommentEqualsVisitor.java | 248 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 270 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 312 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 835 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 853 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 863 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 875 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 897 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 921 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 931 if (!nodeEquals(n.getBody(), n2.getBody())) in visit()
|
D | EqualsVisitor.java | 319 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 343 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 389 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 1025 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 1047 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 1059 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 1073 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 1099 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 1127 if (!nodeEquals(n.getBody(), n2.getBody())) in visit() 1139 if (!nodeEquals(n.getBody(), n2.getBody())) in visit()
|
/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-core-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()
|
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Dialect/lhlo/transforms/ |
D | lhlo_legalize_to_gpu.cc | 120 rewriter.setInsertionPointToStart(loop.getBody()); in matchAndRewrite() 153 mapping.map(reduceOp.getBody().getArgument(0), accumulator); in matchAndRewrite() 154 mapping.map(reduceOp.getBody().getArgument(1), rhs); in matchAndRewrite() 155 mapping.map(reduceOp.getBody().getArgument(2), accumulator); in matchAndRewrite() 156 for (auto& nested : reduceOp.getBody().front().without_terminator()) { in matchAndRewrite()
|
D | lhlo_legalize_to_parallel_loops.cc | 207 &reduceOp.getBody().front(), &rewriter); in matchAndRewrite() 264 rewriter->setInsertionPointToStart(outer.getBody()); in createReduceOpInNestedParallelLoops() 297 rewriter->setInsertionPointToStart(inner.getBody()); in createReduceOpInNestedParallelLoops() 383 &reduceWindowOp.getBody().front(), &rewriter); in matchAndRewrite() 406 rewriter->setInsertionPointToStart(outputLoop.getBody()); in createParallelLoopsToTraverseOutputAndWindow() 425 rewriter->setInsertionPointToStart(windowLoop.getBody()); in createReduceOpInNestedParallelLoops() 501 rewriter.setInsertionPointToStart(loopOverSrc.getBody()); in matchAndRewrite() 513 OpBuilder rmwBuilder = OpBuilder::atBlockEnd(rmw.getBody()); in matchAndRewrite() 531 b->setInsertionPointToStart(loopOverOutput.getBody()); in initializeOutput() 567 if (b->getInsertionBlock() == loopOverSrc.getBody()) { in insertWindowLoops() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/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/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | ir_emission_utils_test.cc | 43 mlir::Operation* op = &func.getBody().front().front(); in TEST() 62 mlir::Operation* op = &func.getBody().front().front(); in TEST() 81 mlir::Operation* op = &func.getBody().front().front(); in TEST()
|
/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;
|