Home
last modified time | relevance | path

Searched refs:SwitchStatement (Results 1 – 25 of 44) sorted by relevance

12

/external/skia/src/sksl/ir/
DSkSLSwitchStatement.cpp24 std::unique_ptr<Statement> SwitchStatement::clone() const { in clone()
30 return std::make_unique<SwitchStatement>(fOffset, in clone()
37 String SwitchStatement::description() const { in description()
112 std::unique_ptr<Statement> SwitchStatement::BlockForCase(StatementArray* cases, in BlockForCase()
167 std::unique_ptr<Statement> SwitchStatement::Convert(const Context& context, in Convert()
229 return SwitchStatement::Make(context, offset, isStatic, std::move(value), std::move(cases), in Convert()
233 std::unique_ptr<Statement> SwitchStatement::Make(const Context& context, in Make()
301 return std::make_unique<SwitchStatement>(offset, isStatic, std::move(value), std::move(cases), in Make()
DSkSLSwitchStatement.h25 class SwitchStatement final : public Statement {
29 SwitchStatement(int offset, bool isStatic, std::unique_ptr<Expression> value, in SwitchStatement() function
/external/skqp/src/sksl/ir/
DSkSLSwitchStatement.h19 struct SwitchStatement : public Statement { struct
20 SwitchStatement(int offset, bool isStatic, std::unique_ptr<Expression> value, in SwitchStatement() argument
34 return std::unique_ptr<Statement>(new SwitchStatement(fOffset, fIsStatic, fValue->clone(), in clone() argument
/external/skqp/src/sksl/
DSkSLPipelineStageCodeGenerator.h47 void writeSwitchStatement(const SwitchStatement& s) override;
DSkSLCPPCodeGenerator.h56 void writeSwitchStatement(const SwitchStatement& s) override;
DSkSLGLSLCodeGenerator.h194 virtual void writeSwitchStatement(const SwitchStatement& s);
DSkSLMetalCodeGenerator.h233 void writeSwitchStatement(const SwitchStatement& s);
DSkSLPipelineStageCodeGenerator.cpp173 void PipelineStageCodeGenerator::writeSwitchStatement(const SwitchStatement& s) { in writeSwitchStatement()
DSkSLMetalCodeGenerator.cpp1021 this->writeSwitchStatement((SwitchStatement&) s); in writeStatement()
1101 void MetalCodeGenerator::writeSwitchStatement(const SwitchStatement& s) { in writeSwitchStatement()
1490 const SwitchStatement& sw = (const SwitchStatement&) s; in requirements()
DSkSLCompiler.cpp958 static std::unique_ptr<Statement> block_for_case(SwitchStatement* s, SwitchCase* c) { in block_for_case()
1053 SwitchStatement& s = (SwitchStatement&) *stmt; in simplifyStatement()
1194 if (((const SwitchStatement&) s).fIsStatic && in scanCFG()
DSkSLCFGGenerator.cpp597 SwitchStatement& ss = (SwitchStatement&) **s; in addStatement()
DSkSLSPIRVCodeGenerator.h261 void writeSwitchStatement(const SwitchStatement& s, OutputStream& out);
/external/llvm-project/clang/include/clang/Tooling/Syntax/
DNodes.h243 class SwitchStatement final : public Statement {
245 SwitchStatement() : Statement(NodeKind::SwitchStatement) {} in SwitchStatement() function
/external/skia/src/sksl/codegen/
DSkSLCPPCodeGenerator.h56 void writeSwitchStatement(const SwitchStatement& s) override;
DSkSLDSLCPPCodeGenerator.h50 void writeSwitchStatement(const SwitchStatement& s) override;
DSkSLGLSLCodeGenerator.h177 virtual void writeSwitchStatement(const SwitchStatement& s);
DSkSLMetalCodeGenerator.h252 void writeSwitchStatement(const SwitchStatement& s);
/external/llvm-project/clang/lib/Tooling/Syntax/
DSynthesis.cpp114 case syntax::NodeKind::SwitchStatement: in allocateTree()
115 return new (A.getAllocator()) syntax::SwitchStatement; in allocateTree()
DNodes.cpp221 syntax::Leaf *syntax::SwitchStatement::getSwitchKeyword() { in getSwitchKeyword()
226 syntax::Statement *syntax::SwitchStatement::getBody() { in getBody()
/external/skia/src/sksl/
DSkSLInliner.cpp524 const SwitchStatement& ss = statement.as<SwitchStatement>(); in inlineStatement()
532 return SwitchStatement::Make(*fContext, offset, ss.isStatic(), expr(ss.value()), in inlineStatement()
890 SwitchStatement& switchStmt = (*stmt)->as<SwitchStatement>(); in visitStatement()
DSkSLDehydrator.cpp512 const SwitchStatement& ss = s->as<SwitchStatement>(); in write()
DSkSLAnalysis.cpp496 const SwitchStatement& s = stmt.as<SwitchStatement>(); in visitStatement()
1265 auto& sw = s.template as<SwitchStatement>(); in visitStatement()
/external/skia/src/sksl/dsl/priv/
DDSLWriter.cpp205 return SwitchStatement::Convert(Context(), /*offset=*/-1, isStatic, std::move(value), in ConvertSwitch()
/external/googletest/googletest/test/
Dgoogletest-death-test-test.cc354 TEST_F(TestForDeathTest, SwitchStatement) { in TEST_F() argument
1519 TEST(ConditionalDeathMacrosSyntaxDeathTest, SwitchStatement) { in TEST() argument
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/test/
Dgoogletest-death-test-test.cc322 TEST_F(TestForDeathTest, SwitchStatement) { in TEST_F() argument
1435 TEST(ConditionalDeathMacrosSyntaxDeathTest, SwitchStatement) { in TEST() argument

12