/external/dagger2/java/dagger/internal/codegen/writing/ |
D | SwitchingProviders.java | 116 protected final Expression getProviderExpression(SwitchCase switchCase) { in getProviderExpression() argument 118 .computeIfAbsent(switchCase.key(), key -> getSwitchingProviderBuilder()) in getProviderExpression() 119 .getProviderExpression(switchCase); in getProviderExpression() 145 Expression getProviderExpression(SwitchCase switchCase) { in getProviderExpression() argument 146 Key key = switchCase.key(); in getProviderExpression() 150 switchCases.put(switchId, createSwitchCaseCodeBlock(switchCase)); in getProviderExpression() 152 return switchCase.getProviderExpression(switchingProviderType, switchIds.get(key)); in getProviderExpression() 155 private CodeBlock createSwitchCaseCodeBlock(SwitchCase switchCase) { in createSwitchCaseCodeBlock() argument 157 switchCase.getReturnExpression(switchingProviderType).box(types).codeBlock(); in createSwitchCaseCodeBlock() 161 .add("case $L: // $L \n", switchIds.get(switchCase.key()), switchCase.key()) in createSwitchCaseCodeBlock()
|
/external/proguard/src/proguard/optimize/evaluation/ |
D | EvaluationSimplifier.java | 918 int switchCase = in replaceSimpleEnumSwitchInstruction() local 924 switchCase >= tableSwitchInstruction.lowCase && in replaceSimpleEnumSwitchInstruction() 925 switchCase <= tableSwitchInstruction.highCase ? in replaceSimpleEnumSwitchInstruction() 926 jumpOffsets[switchCase - tableSwitchInstruction.lowCase] : in replaceSimpleEnumSwitchInstruction() 1006 int switchCase = in replaceSimpleEnumSwitchInstruction() local 1010 int caseIndex = Arrays.binarySearch(cases, switchCase); in replaceSimpleEnumSwitchInstruction()
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | UnusedReturnValueCheck.cpp | 160 auto UnusedInCaseStmt = switchCase(forEach(MatchedCallExpr)); in registerMatchers()
|
/external/skqp/src/sksl/ |
D | SkSLParser.h | 220 std::unique_ptr<ASTSwitchCase> switchCase();
|
D | SkSLParser.cpp | 1243 std::unique_ptr<ASTSwitchCase> Parser::switchCase() { in switchCase() function in SkSL::Parser 1290 std::unique_ptr<ASTSwitchCase> c = this->switchCase(); in switchStatement()
|
/external/skia/src/sksl/ |
D | SkSLParser.h | 212 ASTNode::ID switchCase();
|
D | SkSLInliner.cpp | 896 for (const std::unique_ptr<Statement>& switchCase : switchStmt.cases()) { in visitStatement() local 898 this->visitStatement(&switchCase->as<SwitchCase>().statement()); in visitStatement()
|
D | SkSLParser.cpp | 1276 ASTNode::ID Parser::switchCase() { in switchCase() function in SkSL::Parser 1325 ASTNode::ID c = this->switchCase(); in switchStatement()
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersNodeTest.cpp | 1052 EXPECT_TRUE(matches("void x() { switch(42) { case 42:; } }", switchCase())); in TEST() 1053 EXPECT_TRUE(matches("void x() { switch(42) { default:; } }", switchCase())); in TEST() 1054 EXPECT_TRUE(matches("void x() { switch(42) default:; }", switchCase())); in TEST() 1055 EXPECT_TRUE(notMatches("void x() { switch(42) {} }", switchCase())); in TEST()
|
/external/llvm-project/clang/unittests/ASTMatchers/ |
D | ASTMatchersNodeTest.cpp | 1459 EXPECT_TRUE(matches("void x() { switch(42) { case 42:; } }", switchCase())); in TEST_P() 1460 EXPECT_TRUE(matches("void x() { switch(42) { default:; } }", switchCase())); in TEST_P() 1461 EXPECT_TRUE(matches("void x() { switch(42) default:; }", switchCase())); in TEST_P() 1462 EXPECT_TRUE(notMatches("void x() { switch(42) {} }", switchCase())); in TEST_P()
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 391 REGISTER_MATCHER(switchCase); in RegistryMaps()
|
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 514 REGISTER_MATCHER(switchCase); in RegistryMaps()
|
/external/llvm-project/clang/lib/ASTMatchers/ |
D | ASTMatchersInternal.cpp | 881 const internal::VariadicDynCastAllOfMatcher<Stmt, SwitchCase> switchCase; variable
|
/external/google-java-format/core/src/test/java/com/google/googlejavaformat/java/ |
D | PartialFormattingTest.java | 1193 public void switchCase() throws Exception { in switchCase() method in PartialFormattingTest
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 1565 const internal::VariadicDynCastAllOfMatcher<Stmt, SwitchCase> switchCase; variable
|
/external/llvm-project/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 2199 extern const internal::VariadicDynCastAllOfMatcher<Stmt, SwitchCase> switchCase;
|