/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersNodeTest.cpp | 104 Code, varDecl(hasName("MyVar1"), hasDeclContext(translationUnitDecl())))); in TEST() 106 Code, varDecl(hasName("MyVar2"), hasDeclContext(translationUnitDecl())))); in TEST() 109 varDecl(hasName("MyVar2"), in TEST() 358 varDecl(hasInitializer( in TEST() 383 cxxMemberCallExpr(on(declRefExpr(to(varDecl(hasName("y")))))); in TEST() 753 varDecl(hasInitializer(parenListExpr(has(unaryOperator())))))); in TEST() 758 varDecl(hasInitializer(stmtExpr())))); in TEST() 952 varDecl(hasInitializer(implicitCastExpr())))); in TEST() 955 varDecl(hasInitializer(implicitCastExpr())))); in TEST() 958 varDecl(hasInitializer(implicitCastExpr())))); in TEST() [all …]
|
D | ASTMatchersNarrowingTest.cpp | 30 hasArgument(0, declRefExpr(to(varDecl()))))))); in TEST() 33 hasArgument(0, declRefExpr(to(varDecl()))), in TEST() 38 hasArgument(0, declRefExpr(to(varDecl()))), in TEST() 44 hasArgument(0, declRefExpr(to(varDecl()))), in TEST() 323 cxxCatchStmt(anyOf(hasDescendant(varDecl()), isCatchAll())))); in TEST() 486 varDecl(hasName("z_float"), in TEST() 490 varDecl(hasName("z_float"), in TEST() 494 varDecl(hasName("z_char"), in TEST() 511 varDecl(hasName("z_float"), in TEST() 515 varDecl(hasName("z_float"), in TEST() [all …]
|
D | ASTMatchersTraversalTest.cpp | 83 varDecl(hasDescendant(isInteger())).bind("x"))), in TEST() 105 varDecl(hasName("i"), has(isInteger())))); in TEST() 107 varDecl(hasName("i"), has(isInteger())))); in TEST() 117 varDecl(hasName("i"), hasType(qualType(has(builtinType())))))); in TEST() 120 varDecl(hasName("i"), hasType(qualType(has(pointerType())))))); in TEST() 126 has(ignoringParenImpCasts(declRefExpr(to(varDecl(hasName("i"))))))); in TEST() 137 hasDescendant(declRefExpr(to(varDecl(hasName("i")))))); in TEST() 167 varDecl(hasType(namedDecl(hasName("S")))))); in TEST() 232 varDecl(hasName("a"), in TEST() 240 varDecl(hasType(templateSpecializationType( in TEST() [all …]
|
/external/clang/unittests/AST/ |
D | ASTImporterTest.cpp | 229 declRefExpr(hasDeclaration(varDecl(hasName("ptr"))), in TEST() 277 varDecl( in TEST() 300 varDecl( in TEST() 308 varDecl( in TEST() 375 varDecl( in TEST() 438 varDecl( in TEST()
|
D | SourceLocationTest.cpp | 34 EXPECT_FALSE(Verifier.match("int i", varDecl())); in TEST() 46 EXPECT_FALSE(Verifier.match("int i;", varDecl())); in TEST() 52 EXPECT_FALSE(Verifier.match("int i;", varDecl())); in TEST() 58 EXPECT_FALSE(Verifier.match("int i;", varDecl())); in TEST() 83 EXPECT_TRUE(Verifier.match("void f(i) {}", varDecl(), Lang_C)); in TEST() 89 EXPECT_TRUE(Verifier.match("void f(i) {}", varDecl(), Lang_C)); in TEST() 148 varDecl(), Lang_C89)); in TEST()
|
/external/turbine/java/com/google/turbine/tree/ |
D | Pretty.java | 280 public Void visitVarDecl(Tree.VarDecl varDecl, Void input) { in visitVarDecl() argument 281 printVarDecl(varDecl); in visitVarDecl() 286 private void printVarDecl(Tree.VarDecl varDecl) { in printVarDecl() argument 287 printAnnos(varDecl.annos()); in printVarDecl() 288 printModifiers(varDecl.mods()); in printVarDecl() 289 varDecl.ty().accept(this, null); in printVarDecl() 290 append(' ').append(varDecl.name().value()); in printVarDecl() 291 if (varDecl.init().isPresent()) { in printVarDecl() 293 varDecl.init().get().accept(this, null); in printVarDecl()
|
D | Tree.java | 1267 O visitVarDecl(VarDecl varDecl, I input); in visitVarDecl() argument
|
/external/clang/unittests/ASTMatchers/Dynamic/ |
D | VariantValueTest.cpp | 130 matches("int x;", VariantValue(VariantMatcher::SingleMatcher(varDecl())) in TEST() 139 EXPECT_FALSE(VariantValue(VariantMatcher::SingleMatcher(varDecl())) in TEST() 146 EXPECT_DEATH(VariantValue(VariantMatcher::SingleMatcher(varDecl())) in TEST()
|
/external/clang/docs/ |
D | LibASTMatchersTutorial.rst | 235 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl())))) 242 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl( 258 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl( 277 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl( 369 hasUnaryOperand(declRefExpr(to(varDecl(hasType(isInteger()))))))) 379 varDecl(hasType(isInteger())).bind("incrementVariable")))))) 404 hasLHS(declRefExpr(to(varDecl(hasType(isInteger()))))), 442 to(varDecl(hasType(isInteger())))))), 481 hasSingleDecl(varDecl(hasInitializer(integerLiteral(equals(0)))) 486 to(varDecl(hasType(isInteger())).bind("incVarName")))))), [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/contexts/ |
D | LambdaExprContextResolutionTest.java | 98 VariableDeclarator varDecl = Navigator.demandVariableDeclaration(method, "a").get(); in solveParameterOfLambdaInVarDecl() local 99 LambdaExpr lambdaExpr = (LambdaExpr) varDecl.getInitializer().get(); in solveParameterOfLambdaInVarDecl()
|
/external/skia/src/sksl/ |
D | SkSLIRGenerator.cpp | 271 for (const auto& varDecl : decl.fVars) { in convertVarDeclarations() local 274 varDecl.fName != "sk_FragColor") { in convertVarDeclarations() 280 for (const auto& rawSize : varDecl.fSizes) { in convertVarDeclarations() 308 varDecl.fName, *type, storage)); in convertVarDeclarations() 315 if (varDecl.fValue) { in convertVarDeclarations() 316 value = this->convertExpression(*varDecl.fValue); in convertVarDeclarations() 327 if (storage == Variable::kGlobal_Storage && varDecl.fName == "sk_FragColor" && in convertVarDeclarations() 328 (*fSymbolTable)[varDecl.fName]) { in convertVarDeclarations() 330 } else if (storage == Variable::kGlobal_Storage && (*fSymbolTable)[varDecl.fName] && in convertVarDeclarations() 331 (*fSymbolTable)[varDecl.fName]->fKind == Symbol::kVariable_Kind && in convertVarDeclarations() [all …]
|
D | SkSLCompiler.cpp | 997 const auto& varDecl = (VarDeclaration&) *stmt; in simplifyStatement() local 998 if (varDecl.fVar->dead() && in simplifyStatement() 999 (!varDecl.fValue || in simplifyStatement() 1000 !varDecl.fValue->hasSideEffects())) { in simplifyStatement() 1001 if (varDecl.fValue) { in simplifyStatement() 1003 if (!b.tryRemoveExpressionBefore(iter, varDecl.fValue.get())) { in simplifyStatement()
|
D | SkSLSPIRVCodeGenerator.cpp | 2679 const VarDeclaration& varDecl = (VarDeclaration&) *decl.fVars[i]; in writeGlobalVars() local 2680 const Variable* var = varDecl.fVar; in writeGlobalVars() 2732 if (varDecl.fValue) { in writeGlobalVars() 2735 SpvId value = this->writeExpression(*varDecl.fValue, fGlobalInitializersBuffer); in writeGlobalVars() 2753 VarDeclaration& varDecl = (VarDeclaration&) *stmt; in writeVarDeclarations() local 2754 const Variable* var = varDecl.fVar; in writeVarDeclarations() 2767 if (varDecl.fValue) { in writeVarDeclarations() 2768 SpvId value = this->writeExpression(*varDecl.fValue, out); in writeVarDeclarations()
|
/external/skqp/src/sksl/ |
D | SkSLIRGenerator.cpp | 265 for (const auto& varDecl : decl.fVars) { in convertVarDeclarations() local 268 varDecl.fName != "sk_FragColor") { in convertVarDeclarations() 274 for (const auto& rawSize : varDecl.fSizes) { in convertVarDeclarations() 302 varDecl.fName, *type, storage)); in convertVarDeclarations() 309 if (varDecl.fValue) { in convertVarDeclarations() 310 value = this->convertExpression(*varDecl.fValue); in convertVarDeclarations() 321 if (storage == Variable::kGlobal_Storage && varDecl.fName == "sk_FragColor" && in convertVarDeclarations() 322 (*fSymbolTable)[varDecl.fName]) { in convertVarDeclarations() 324 } else if (storage == Variable::kGlobal_Storage && (*fSymbolTable)[varDecl.fName] && in convertVarDeclarations() 325 (*fSymbolTable)[varDecl.fName]->fKind == Symbol::kVariable_Kind && in convertVarDeclarations() [all …]
|
D | SkSLCompiler.cpp | 997 const auto& varDecl = (VarDeclaration&) *stmt; in simplifyStatement() local 998 if (varDecl.fVar->dead() && in simplifyStatement() 999 (!varDecl.fValue || in simplifyStatement() 1000 !varDecl.fValue->hasSideEffects())) { in simplifyStatement() 1001 if (varDecl.fValue) { in simplifyStatement() 1003 if (!b.tryRemoveExpressionBefore(iter, varDecl.fValue.get())) { in simplifyStatement()
|
D | SkSLSPIRVCodeGenerator.cpp | 2688 const VarDeclaration& varDecl = (VarDeclaration&) *decl.fVars[i]; in writeGlobalVars() local 2689 const Variable* var = varDecl.fVar; in writeGlobalVars() 2741 if (varDecl.fValue) { in writeGlobalVars() 2744 SpvId value = this->writeExpression(*varDecl.fValue, fGlobalInitializersBuffer); in writeGlobalVars() 2762 VarDeclaration& varDecl = (VarDeclaration&) *stmt; in writeVarDeclarations() local 2763 const Variable* var = varDecl.fVar; in writeVarDeclarations() 2776 if (varDecl.fValue) { in writeVarDeclarations() 2777 SpvId value = this->writeExpression(*varDecl.fValue, out); in writeVarDeclarations()
|
/external/clang/unittests/Tooling/ |
D | RefactoringCallbacksTest.cpp | 86 declRefExpr(to(varDecl(hasName("a"))))))))), in TEST()
|
/external/v8/tools/clang/rewrite_scoped_refptr/ |
D | RewriteScopedRefptr.cpp | 309 on(declRefExpr(to(id("var", varDecl(hasLocalStorage()))))); in main() 364 id("var", varDecl(hasInitializer(initialized_with_temporary), in main()
|
/external/v8/tools/clang/empty_string/ |
D | EmptyStringConverter.cpp | 93 match_finder->addMatcher(varDecl(forEach(expr(has(constructor_call)))), in SetupMatchers()
|
/external/deqp/modules/gles31/functional/ |
D | es31fProgramInterfaceQueryTestCase.cpp | 876 …const glu::VariableDeclaration* varDecl = (path[0].isInterfaceBlock()) ? (path[1].getDeclaration()… in getExplicitLocationFromPath() local 891 else if (varDecl->storage == glu::STORAGE_UNIFORM) in getExplicitLocationFromPath() 894 return varDecl->layout.location; in getExplicitLocationFromPath() 896 else if (varDecl->storage == glu::STORAGE_IN || in getExplicitLocationFromPath() 897 varDecl->storage == glu::STORAGE_OUT || in getExplicitLocationFromPath() 898 varDecl->storage == glu::STORAGE_PATCH_IN || in getExplicitLocationFromPath() 899 varDecl->storage == glu::STORAGE_PATCH_OUT) in getExplicitLocationFromPath() 902 return getIOSubVariableLocation(path, 1, varDecl->layout.location); in getExplicitLocationFromPath()
|
/external/v8/tools/clang/rewrite_to_chrome_style/ |
D | RewriteToChromeStyle.cpp | 1573 varDecl(hasName("value"), hasStaticStorageDuration(), isPublic(), in main() 1579 id("decl", varDecl(in_blink_namespace, unless(is_type_trait_value))); in main() 1581 auto type_trait_decl_matcher = id("decl", varDecl(isKnownTraitName())); in main()
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 417 REGISTER_MATCHER(varDecl); in RegistryMaps()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngine.cpp | 593 const VarDecl *varDecl = Dtor.getVarDecl(); in ProcessAutomaticObjDtor() local 594 QualType varType = varDecl->getType(); in ProcessAutomaticObjDtor() 597 SVal dest = state->getLValue(varDecl, Pred->getLocationContext()); in ProcessAutomaticObjDtor()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 937 const internal::VariadicDynCastAllOfMatcher<Decl, VarDecl> varDecl; variable
|
/external/icu/tools/srcgen/currysrc/libs/ |
D | org.eclipse.jdt.core_3.14.0.v20180528-0519.jar | META-INF/MANIFEST.MF
META-INF/ECLIPSE_.SF
META-INF/ECLIPSE_ ... |