/external/v8/tools/clang/value_cleanup/ |
D | ValueRewriter.cpp | 21 auto* callExpr = result.Nodes.getNodeAs<clang::CXXMemberCallExpr>(method()); in run() local 24 clang::CharSourceRange::getTokenRange(callExpr->getExprLoc()); in run() 48 callExpr(callee(functionDecl(hasName(callback.method())))) in RegisterMatchers()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/ |
D | VariadicResolutionTest.java | 64 MethodCallExpr callExpr = Navigator.findMethodCall(method, "variadicMethod").get(); in methodCallWithReferenceTypeAsVaridicArgumentIsSolved() local 68 MethodUsage callee = javaParserFacade.solveMethodAsUsage(callExpr); in methodCallWithReferenceTypeAsVaridicArgumentIsSolved() 78 MethodCallExpr callExpr = Navigator.findMethodCall(method, "variadicWithGenericArg").get(); in resolveVariadicMethodWithGenericArgument() local 82 MethodUsage callee = javaParserFacade.solveMethodAsUsage(callExpr); in resolveVariadicMethodWithGenericArgument()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/ |
D | TypeExtractor.java | 363 MethodCallExpr callExpr = (MethodCallExpr) requireParentNode(node); in visit() local 365 SymbolReference<ResolvedMethodDeclaration> refMethod = facade.solve(callExpr); in visit() 367 ….resolution.UnsolvedSymbolException(requireParentNode(node).toString(), callExpr.getName().getId()… in visit() 375 if (callExpr.getScope().isPresent()) { in visit() 376 Expression scope = callExpr.getScope().get(); in visit() 474 MethodCallExpr callExpr = (MethodCallExpr) requireParentNode(node); in visit() local 476 SymbolReference<ResolvedMethodDeclaration> refMethod = facade.solve(callExpr, false); in visit() 478 ….resolution.UnsolvedSymbolException(requireParentNode(node).toString(), callExpr.getName().getId()… in visit() 483 MethodUsage usage = facade.solveMethodAsUsage(callExpr); in visit()
|
/external/v8/tools/clang/traffic_annotation_extractor/ |
D | traffic_annotation_extractor.cpp | 306 callExpr(hasDeclaration(functionDecl( in RunMatchers() 315 callExpr(hasDeclaration(functionDecl(anyOf( in RunMatchers() 325 callExpr(hasDeclaration(functionDecl( in RunMatchers() 334 callExpr(hasDeclaration(functionDecl(anyOf( in RunMatchers() 346 callExpr(hasDeclaration(functionDecl( in RunMatchers()
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersTraversalTest.cpp | 315 StatementMatcher CallMethodX = callExpr(callee(cxxMethodDecl(hasName("x")))); in TEST() 320 CallMethodX = callExpr(callee(cxxConversionDecl())); in TEST() 329 callExpr(callee(memberExpr())))); in TEST() 331 notMatches("class Y { void x() { this->x(); } };", callExpr(callee(callExpr())))); in TEST() 335 StatementMatcher CallArgumentY = callExpr( in TEST() 343 StatementMatcher WrongIndex = callExpr( in TEST() 349 StatementMatcher CallArgumentY = callExpr( in TEST() 356 StatementMatcher ImplicitCastedArgument = callExpr( in TEST() 366 callExpr(forEachArgumentWithParam(ArgumentY, IntParam)); in TEST() 379 callExpr(forEachArgumentWithParam(ArgumentY, IntParam)); in TEST() [all …]
|
D | ASTMatchersNarrowingTest.cpp | 29 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST() 32 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST() 37 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST() 43 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST() 563 callExpr(callee(cxxMethodDecl(hasName("x")))).bind("x"); in TEST() 715 callExpr(hasArgument(0, declRefExpr( in TEST() 722 callExpr(hasArgument(0, declRefExpr( in TEST() 794 StatementMatcher Call1Arg = callExpr(argumentCountIs(1)); in TEST()
|
D | ASTMatchersNodeTest.cpp | 25 EXPECT_TRUE(Finder.addDynamicMatcher(callExpr(), nullptr)); in TEST() 196 callExpr(hasDeclaration(cxxMethodDecl(hasName("x")))); in TEST() 440 StatementMatcher CallFunctionF = callExpr(callee(functionDecl(hasName("f")))); in TEST()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/ |
D | com_github_javaparser_symbolsolver_javaparsermodel_TypeExtractor.txt | 159 …Line 363) facade.solve(callExpr) ==> com.github.javaparser.symbolsolver.javaparsermodel.JavaParser… 163 …Line 365) callExpr.getName().getId() ==> com.github.javaparser.ast.nodeTypes.NodeWithIdentifier.ge… 164 Line 365) callExpr.getName() ==> com.github.javaparser.ast.expr.MethodCallExpr.getName() 171 Line 373) callExpr.getScope().isPresent() ==> java.util.Optional.isPresent() 172 Line 373) callExpr.getScope() ==> com.github.javaparser.ast.expr.MethodCallExpr.getScope() 173 Line 374) callExpr.getScope().get() ==> java.util.Optional.get() 174 Line 374) callExpr.getScope() ==> com.github.javaparser.ast.expr.MethodCallExpr.getScope() 255 …Line 483) facade.solve(callExpr, false) ==> com.github.javaparser.symbolsolver.javaparsermodel.Jav… 259 …Line 485) callExpr.getName().getId() ==> com.github.javaparser.ast.nodeTypes.NodeWithIdentifier.ge… 260 Line 485) callExpr.getName() ==> com.github.javaparser.ast.expr.MethodCallExpr.getName() [all …]
|
D | com_github_javaparser_symbolsolver_javaparsermodel_TypeExtractor_J9.txt | 159 …Line 363) facade.solve(callExpr) ==> com.github.javaparser.symbolsolver.javaparsermodel.JavaParser… 163 …Line 365) callExpr.getName().getId() ==> com.github.javaparser.ast.nodeTypes.NodeWithIdentifier.ge… 164 Line 365) callExpr.getName() ==> com.github.javaparser.ast.expr.MethodCallExpr.getName() 171 Line 373) callExpr.getScope().isPresent() ==> java.util.Optional.isPresent() 172 Line 373) callExpr.getScope() ==> com.github.javaparser.ast.expr.MethodCallExpr.getScope() 173 Line 374) callExpr.getScope().get() ==> java.util.Optional.get() 174 Line 374) callExpr.getScope() ==> com.github.javaparser.ast.expr.MethodCallExpr.getScope() 255 …Line 483) facade.solve(callExpr, false) ==> com.github.javaparser.symbolsolver.javaparsermodel.Jav… 259 …Line 485) callExpr.getName().getId() ==> com.github.javaparser.ast.nodeTypes.NodeWithIdentifier.ge… 260 Line 485) callExpr.getName() ==> com.github.javaparser.ast.expr.MethodCallExpr.getName() [all …]
|
D | com_github_javaparser_symbolsolver_javaparsermodel_contexts_LambdaExprContext.txt | 78 Line 186) callExpr.getArguments() ==> com.github.javaparser.ast.expr.MethodCallExpr.getArguments()
|
/external/v8/tools/clang/base_bind_rewriters/ |
D | BaseBindRewriters.cpp | 72 return callExpr(is_bind_once_call, in GetMatcher() 74 callExpr(callee(is_passed)).bind("target")))); in GetMatcher() 157 callExpr(callee(namedDecl(hasName("::base::Bind")))).bind("target"); in GetMatcher() 606 callExpr( in GetMatcher()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ |
D | LambdaExprContext.java | 183 private int pos(MethodCallExpr callExpr, Expression param) { in pos() argument 185 for (Expression p : callExpr.getArguments()) { in pos()
|
/external/v8/tools/clang/blink_gc_plugin/ |
D | BadPatternFinder.cpp | 34 callExpr( in Register()
|
/external/v8/tools/clang/rewrite_scoped_refptr/ |
D | RewriteScopedRefptr.cpp | 389 callExpr(callee(is_logging_helper), argumentCountIs(3), in main() 400 callExpr(callee(is_gtest_helper), in main()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 3444 static StringLiteral* getCFSTR_value(CallExpr *callExpr) { in getCFSTR_value() argument 3445 if (callExpr->getNumArgs() != 1) { in getCFSTR_value() 3450 auto *arg = callExpr->getArg(0); in getCFSTR_value() 3461 S = static_cast<StringLiteral *>(callExpr->getArg(0)); in getCFSTR_value() 3526 CallExpr *callExpr; in evaluateExpr() local 3601 callExpr = static_cast<CallExpr *>(CC->getSubExpr()); in evaluateExpr() 3602 StringLiteral *S = getCFSTR_value(callExpr); in evaluateExpr() 3616 callExpr = static_cast<CallExpr *>(expr); in evaluateExpr() 3617 rettype = callExpr->getCallReturnType(ctx); in evaluateExpr() 3619 if (rettype->isVectorType() || callExpr->getNumArgs() > 1) in evaluateExpr() [all …]
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 1020 const internal::VariadicDynCastAllOfMatcher<Stmt, CallExpr> callExpr; variable 2575 return callExpr(hasDeclaration(InnerMatcher)).matches(Node, Finder, Builder); 3222 callExpr(callee(functionDecl( in AST_POLYMORPHIC_MATCHER_P2()
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 117 REGISTER_MATCHER(callExpr); in RegistryMaps()
|
/external/clang/lib/Sema/ |
D | SemaObjCProperty.cpp | 1330 Expr *callExpr = Res.getAs<Expr>(); in ActOnPropertyImplDecl() local 1332 dyn_cast_or_null<CXXOperatorCallExpr>(callExpr)) in ActOnPropertyImplDecl()
|
/external/v8/tools/clang/rewrite_to_chrome_style/ |
D | RewriteToChromeStyle.cpp | 1376 auto matcher = stmt(hasParent(callExpr(callee(equalsNode(&expr))))); in IsCallee()
|