/external/clang/unittests/ASTMatchers/ |
H A D | ASTMatchersNodeTest.cpp | 104 Code, varDecl(hasName("MyVar1"), hasDeclContext(translationUnitDecl())))); 106 Code, varDecl(hasName("MyVar2"), hasDeclContext(translationUnitDecl())))); 109 varDecl(hasName("MyVar2"), 358 varDecl(hasInitializer( 383 cxxMemberCallExpr(on(declRefExpr(to(varDecl(hasName("y")))))); 753 varDecl(hasInitializer(parenListExpr(has(unaryOperator())))))); 758 varDecl(hasInitializer(stmtExpr())))); 952 varDecl(hasInitializer(implicitCastExpr())))); 955 varDecl(hasInitializer(implicitCastExpr())))); 958 varDecl(hasInitialize [all...] |
H A D | ASTMatchersNarrowingTest.cpp | 30 hasArgument(0, declRefExpr(to(varDecl()))))))); 33 hasArgument(0, declRefExpr(to(varDecl()))), 38 hasArgument(0, declRefExpr(to(varDecl()))), 44 hasArgument(0, declRefExpr(to(varDecl()))), 323 cxxCatchStmt(anyOf(hasDescendant(varDecl()), isCatchAll())))); 486 varDecl(hasName("z_float"), 490 varDecl(hasName("z_float"), 494 varDecl(hasName("z_char"), 511 varDecl(hasName("z_float"), 515 varDecl(hasNam [all...] |
H A D | ASTMatchersTraversalTest.cpp | 83 varDecl(hasDescendant(isInteger())).bind("x"))), 105 varDecl(hasName("i"), has(isInteger())))); 107 varDecl(hasName("i"), has(isInteger())))); 117 varDecl(hasName("i"), hasType(qualType(has(builtinType())))))); 120 varDecl(hasName("i"), hasType(qualType(has(pointerType())))))); 126 has(ignoringParenImpCasts(declRefExpr(to(varDecl(hasName("i"))))))); 137 hasDescendant(declRefExpr(to(varDecl(hasName("i")))))); 167 varDecl(hasType(namedDecl(hasName("S")))))); 232 varDecl(hasName("a"), 240 varDecl(hasTyp [all...] |
/external/turbine/java/com/google/turbine/tree/ |
H A D | Pretty.java | 262 public Void visitVarDecl(Tree.VarDecl varDecl, Void input) { argument 263 printVarDecl(varDecl); 268 private void printVarDecl(Tree.VarDecl varDecl) { argument 269 printAnnos(varDecl.annos()); 270 printModifiers(varDecl.mods()); 271 varDecl.ty().accept(this, null); 272 append(' ').append(varDecl.name()); 273 if (varDecl.init().isPresent()) { 275 varDecl.init().get().accept(this, null);
|
H A D | Tree.java | 973 O visitVarDecl(VarDecl varDecl, I input); argument
|
/external/clang/unittests/ASTMatchers/Dynamic/ |
H A D | VariantValueTest.cpp | 130 matches("int x;", VariantValue(VariantMatcher::SingleMatcher(varDecl())) 139 EXPECT_FALSE(VariantValue(VariantMatcher::SingleMatcher(varDecl())) 146 EXPECT_DEATH(VariantValue(VariantMatcher::SingleMatcher(varDecl()))
|
/external/clang/unittests/AST/ |
H A D | ASTImporterTest.cpp | 229 declRefExpr(hasDeclaration(varDecl(hasName("ptr"))), 277 varDecl( 300 varDecl( 308 varDecl( 375 varDecl( 438 varDecl(
|
H A D | SourceLocationTest.cpp | 34 EXPECT_FALSE(Verifier.match("int i", varDecl())); 46 EXPECT_FALSE(Verifier.match("int i;", varDecl())); 52 EXPECT_FALSE(Verifier.match("int i;", varDecl())); 58 EXPECT_FALSE(Verifier.match("int i;", varDecl())); 83 EXPECT_TRUE(Verifier.match("void f(i) {}", varDecl(), Lang_C)); 89 EXPECT_TRUE(Verifier.match("void f(i) {}", varDecl(), Lang_C)); 148 varDecl(), Lang_C89));
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/contexts/ |
H A D | LambdaExprContextResolutionTest.java | 98 VariableDeclarator varDecl = Navigator.demandVariableDeclaration(method, "a").get(); 99 LambdaExpr lambdaExpr = (LambdaExpr) varDecl.getInitializer().get();
|
/external/clang/unittests/Tooling/ |
H A D | RefactoringCallbacksTest.cpp | 86 declRefExpr(to(varDecl(hasName("a"))))))))),
|
/external/v8/tools/clang/empty_string/ |
H A D | EmptyStringConverter.cpp | 93 match_finder->addMatcher(varDecl(forEach(expr(has(constructor_call)))),
|
/external/v8/tools/clang/rewrite_scoped_refptr/ |
H A D | RewriteScopedRefptr.cpp | 309 on(declRefExpr(to(id("var", varDecl(hasLocalStorage()))))); 364 id("var", varDecl(hasInitializer(initialized_with_temporary),
|
/external/skia/src/sksl/ |
H A D | SkSLCompiler.cpp | 923 const auto& varDecl = (VarDeclaration&) *stmt; local 924 if (varDecl.fVar->dead() && 925 (!varDecl.fValue || 926 !varDecl.fValue->hasSideEffects())) { 927 if (varDecl.fValue) { 929 if (!b.tryRemoveExpressionBefore(iter, varDecl.fValue.get())) {
|
H A D | SkSLIRGenerator.cpp | 245 for (const auto& varDecl : decl.fVars) { 248 for (const auto& rawSize : varDecl.fSizes) { 276 varDecl.fName, *type, storage)); 283 if (varDecl.fValue) { 284 value = this->convertExpression(*varDecl.fValue); 295 if (storage == Variable::kGlobal_Storage && varDecl.fName == "sk_FragColor" && 296 (*fSymbolTable)[varDecl.fName]) { 298 } else if (storage == Variable::kGlobal_Storage && (*fSymbolTable)[varDecl.fName] && 299 (*fSymbolTable)[varDecl.fName]->fKind == Symbol::kVariable_Kind && 300 ((Variable*) (*fSymbolTable)[varDecl [all...] |
H A D | SkSLSPIRVCodeGenerator.cpp | 2503 const VarDeclaration& varDecl = (VarDeclaration&) *decl.fVars[i]; local 2504 const Variable* var = varDecl.fVar; 2549 if (varDecl.fValue) { 2552 SpvId value = this->writeExpression(*varDecl.fValue, fGlobalInitializersBuffer); 2570 VarDeclaration& varDecl = (VarDeclaration&) *stmt; local 2571 const Variable* var = varDecl.fVar; 2584 if (varDecl.fValue) { 2585 SpvId value = this->writeExpression(*varDecl.fValue, out);
|
/external/skqp/src/sksl/ |
H A D | SkSLCompiler.cpp | 923 const auto& varDecl = (VarDeclaration&) *stmt; local 924 if (varDecl.fVar->dead() && 925 (!varDecl.fValue || 926 !varDecl.fValue->hasSideEffects())) { 927 if (varDecl.fValue) { 929 if (!b.tryRemoveExpressionBefore(iter, varDecl.fValue.get())) {
|
H A D | SkSLIRGenerator.cpp | 249 for (const auto& varDecl : decl.fVars) { 252 for (const auto& rawSize : varDecl.fSizes) { 280 varDecl.fName, *type, storage)); 287 if (varDecl.fValue) { 288 value = this->convertExpression(*varDecl.fValue); 296 if (storage == Variable::kGlobal_Storage && varDecl.fName == "sk_FragColor" && 297 (*fSymbolTable)[varDecl.fName]) { 299 } else if (storage == Variable::kGlobal_Storage && (*fSymbolTable)[varDecl.fName] && 300 (*fSymbolTable)[varDecl.fName]->fKind == Symbol::kVariable_Kind && 301 ((Variable*) (*fSymbolTable)[varDecl [all...] |
H A D | SkSLSPIRVCodeGenerator.cpp | 2499 const VarDeclaration& varDecl = (VarDeclaration&) *decl.fVars[i]; local 2500 const Variable* var = varDecl.fVar; 2545 if (varDecl.fValue) { 2548 SpvId value = this->writeExpression(*varDecl.fValue, fGlobalInitializersBuffer); 2566 VarDeclaration& varDecl = (VarDeclaration&) *stmt; local 2567 const Variable* var = varDecl.fVar; 2580 if (varDecl.fValue) { 2581 SpvId value = this->writeExpression(*varDecl.fValue, out);
|
/external/v8/tools/clang/value_cleanup/ |
H A D | ListValueRewriter.cpp | 274 auto* var_decl = result.Nodes.getNodeAs<clang::VarDecl>("varDecl"); 470 "varDecl", 471 varDecl(
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fProgramInterfaceQueryTestCase.cpp | 876 const glu::VariableDeclaration* varDecl = (path[0].isInterfaceBlock()) ? (path[1].getDeclaration()) : (path[0].getDeclaration()); 891 else if (varDecl->storage == glu::STORAGE_UNIFORM) 894 return varDecl->layout.location; 896 else if (varDecl->storage == glu::STORAGE_IN || 897 varDecl->storage == glu::STORAGE_OUT || 898 varDecl->storage == glu::STORAGE_PATCH_IN || 899 varDecl->storage == glu::STORAGE_PATCH_OUT) 902 return getIOSubVariableLocation(path, 1, varDecl->layout.location);
|
/external/clang/lib/ASTMatchers/Dynamic/ |
H A D | Registry.cpp | 417 REGISTER_MATCHER(varDecl);
|
/external/v8/tools/clang/rewrite_to_chrome_style/ |
H A D | RewriteToChromeStyle.cpp | 1326 varDecl(hasName("value"), hasStaticStorageDuration(), isPublic(), 1332 id("decl", varDecl(in_blink_namespace, unless(is_type_trait_value)));
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngine.cpp | 593 const VarDecl *varDecl = Dtor.getVarDecl(); local 594 QualType varType = varDecl->getType(); 597 SVal dest = state->getLValue(varDecl, Pred->getLocationContext());
|
/external/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchers.h | 596 /// varDecl(hasInitializer(ignoringImplicit(cxxConstructExpr()))) 601 /// varDecl(hasInitializer(cxxConstructExpr())) 624 /// varDecl(hasInitializer(ignoringImpCasts(integerLiteral()))) 625 /// varDecl(hasInitializer(ignoringImpCasts(declRefExpr()))) 630 /// varDecl(hasInitializer(integerLiteral())) 631 /// varDecl(hasInitializer(declRefExpr())) 651 /// varDecl(hasInitializer(ignoringParenCasts(integerLiteral()))) 654 /// varDecl(hasInitializer(integerLiteral())) 674 /// varDecl(hasInitializer(ignoringParenImpCasts(integerLiteral()))) 675 /// varDecl(hasInitialize 937 const internal::VariadicDynCastAllOfMatcher<Decl, VarDecl> varDecl; member in namespace:clang::ast_matchers [all...] |
/external/guice/extensions/struts2/lib/ |
H A D | core-3.1.1.jar | META-INF/ org/ org/eclipse/ org/eclipse/jdt/ org/eclipse/jdt/core/ org/eclipse/jdt/core/compiler/ org/ ... |