Home
last modified time | relevance | path

Searched refs:DSLCase (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/src/sksl/dsl/
DDSLCase.cpp16 DSLCase::DSLCase(DSLExpression value, SkSL::StatementArray statements, PositionInfo pos) in DSLCase() function in SkSL::dsl::DSLCase
21 DSLCase::DSLCase(DSLExpression value, SkTArray<DSLStatement> statements, PositionInfo pos) in DSLCase() function in SkSL::dsl::DSLCase
30 DSLCase::DSLCase(DSLCase&& other) in DSLCase() function in SkSL::dsl::DSLCase
34 DSLCase::~DSLCase() {} in ~DSLCase()
36 DSLCase& DSLCase::operator=(DSLCase&& other) { in operator =()
42 void DSLCase::append(DSLStatement stmt) { in append()
DDSLCore.cpp336 static DSLPossibleStatement Switch(DSLExpression value, SkTArray<DSLCase> cases, in Switch()
342 for (DSLCase& c : cases) { in Switch()
478 DSLPossibleStatement PossibleStaticSwitch(DSLExpression value, SkTArray<DSLCase> cases) { in PossibleStaticSwitch()
482 DSLStatement StaticSwitch(DSLExpression value, SkTArray<DSLCase> cases, PositionInfo pos) { in StaticSwitch()
486 DSLPossibleStatement PossibleSwitch(DSLExpression value, SkTArray<DSLCase> cases) { in PossibleSwitch()
490 DSLStatement Switch(DSLExpression value, SkTArray<DSLCase> cases, PositionInfo pos) { in Switch()
/third_party/skia/include/sksl/
DDSLCase.h23 class DSLCase {
27 DSLCase(DSLExpression value, Statements... statements) in DSLCase() function
39 DSLCase(DSLExpression value, SkTArray<DSLStatement> statements,
42 DSLCase(DSLExpression value, SkSL::StatementArray statements,
45 DSLCase(DSLCase&&);
47 ~DSLCase();
49 DSLCase& operator=(DSLCase&&);
DDSLCore.h120 DSLCase Default(Statements... statements) { in Default()
121 return DSLCase(DSLExpression(), std::move(statements)...); in Default()
167 DSLPossibleStatement PossibleStaticSwitch(DSLExpression value, SkTArray<DSLCase> cases);
169 DSLStatement StaticSwitch(DSLExpression value, SkTArray<DSLCase> cases,
177 SkTArray<DSLCase> caseArray; in StaticSwitch()
184 DSLPossibleStatement PossibleSwitch(DSLExpression value, SkTArray<DSLCase> cases);
186 DSLStatement Switch(DSLExpression value, SkTArray<DSLCase> cases,
194 SkTArray<DSLCase> caseArray; in Switch()
DBUILD.bazel8 "DSLCase.h",
DDSL.h18 using Case = DSLCase;
/third_party/skia/gn/
Dsksl.gni23 "$_include/sksl/DSLCase.h",
90 "$_src/sksl/dsl/DSLCase.cpp",
/third_party/skia/src/sksl/
DSkSLDSLParser.cpp997 skstd::optional<DSLCase> DSLParser::switchCase() { in switchCase()
1019 return DSLCase(std::move(value), std::move(statements)); in switchCase()
1042 SkTArray<DSLCase> cases; in switchStatement()
1044 skstd::optional<DSLCase> c = this->switchCase(); in switchStatement()
1066 cases.push_back(DSLCase(DSLExpression(), std::move(statements), this->position(start))); in switchStatement()
DSkSLDSLParser.h201 skstd::optional<dsl::DSLCase> switchCase();
DBUILD.bazel73 "dsl/DSLCase.cpp",