/third_party/skia/src/sksl/dsl/ |
D | DSLStatement.cpp | 26 DSLStatement::DSLStatement() {} in DSLStatement() function in SkSL::dsl::DSLStatement 28 DSLStatement::DSLStatement(DSLBlock block) in DSLStatement() function in SkSL::dsl::DSLStatement 31 DSLStatement::DSLStatement(DSLExpression expr) { in DSLStatement() function in SkSL::dsl::DSLStatement 38 DSLStatement::DSLStatement(std::unique_ptr<SkSL::Expression> expr) in DSLStatement() function in SkSL::dsl::DSLStatement 43 DSLStatement::DSLStatement(std::unique_ptr<SkSL::Statement> stmt) in DSLStatement() function in SkSL::dsl::DSLStatement 48 DSLStatement::DSLStatement(DSLPossibleExpression expr, PositionInfo pos) in DSLStatement() function in SkSL::dsl::DSLStatement 49 : DSLStatement(DSLExpression(std::move(expr), pos)) {} in DSLStatement() 51 DSLStatement::DSLStatement(DSLPossibleStatement stmt, PositionInfo pos) { in DSLStatement() function in SkSL::dsl::DSLStatement 63 DSLStatement::~DSLStatement() { in ~DSLStatement() 81 DSLStatement(std::move(fStatement)); in ~DSLPossibleStatement() [all …]
|
D | DSLCore.cpp | 136 static DSLStatement Break(PositionInfo pos) { in Break() 140 static DSLStatement Continue(PositionInfo pos) { in Continue() 149 static DSLStatement Declare(DSLVar& var, PositionInfo pos) { in Declare() 157 static DSLStatement Declare(SkTArray<DSLVar>& vars, PositionInfo pos) { in Declare() 194 static DSLStatement Discard(PositionInfo pos) { in Discard() 198 static DSLPossibleStatement Do(DSLStatement stmt, DSLExpression test) { in Do() 202 static DSLPossibleStatement For(DSLStatement initializer, DSLExpression test, in For() 203 DSLExpression next, DSLStatement stmt, PositionInfo pos) { in For() 210 static DSLPossibleStatement If(DSLExpression test, DSLStatement ifTrue, DSLStatement ifFalse, in If() 285 static DSLStatement Return(DSLExpression value, PositionInfo pos) { in Return() [all …]
|
D | DSLBlock.cpp | 21 DSLBlock::DSLBlock(SkTArray<DSLStatement> statements, std::shared_ptr<SymbolTable> symbols) in DSLBlock() 24 for (DSLStatement& s : statements) { in DSLBlock() 34 DSLStatement(std::move(*this)); in ~DSLBlock() 43 void DSLBlock::append(DSLStatement stmt) { in append()
|
D | DSLCase.cpp | 21 DSLCase::DSLCase(DSLExpression value, SkTArray<DSLStatement> statements, PositionInfo pos) in DSLCase() 25 for (DSLStatement& stmt : statements) { in DSLCase() 42 void DSLCase::append(DSLStatement stmt) { in append()
|
D | DSLExpression.cpp | 102 DSLStatement(this->release()).release()); in ~DSLExpression()
|
/third_party/skia/include/sksl/ |
D | DSLStatement.h | 33 class DSLStatement { 35 DSLStatement(); 37 DSLStatement(DSLExpression expr); 39 DSLStatement(DSLPossibleExpression expr, PositionInfo pos = PositionInfo::Capture()); 41 DSLStatement(DSLPossibleStatement stmt, PositionInfo pos = PositionInfo::Capture()); 43 DSLStatement(DSLBlock block); 45 DSLStatement(DSLStatement&&) = default; 47 DSLStatement(std::unique_ptr<SkSL::Statement> stmt); 49 DSLStatement(std::unique_ptr<SkSL::Expression> expr); 51 ~DSLStatement(); [all …]
|
D | DSLCore.h | 84 DSLStatement Break(PositionInfo pos = PositionInfo::Capture()); 89 DSLStatement Continue(PositionInfo pos = PositionInfo::Capture()); 99 DSLStatement Declare(DSLVar& var, PositionInfo pos = PositionInfo::Capture()); 104 DSLStatement Declare(SkTArray<DSLVar>& vars, PositionInfo pos = PositionInfo::Capture()); 127 DSLStatement Discard(PositionInfo pos = PositionInfo::Capture()); 132 DSLStatement Do(DSLStatement stmt, DSLExpression test, PositionInfo pos = PositionInfo::Capture()); 137 DSLStatement For(DSLStatement initializer, DSLExpression test, DSLExpression next, 138 DSLStatement stmt, PositionInfo pos = PositionInfo::Capture()); 143 DSLStatement If(DSLExpression test, DSLStatement ifTrue, DSLStatement ifFalse = DSLStatement(), 153 DSLStatement Return(DSLExpression value = DSLExpression(), [all …]
|
D | DSLBlock.h | 33 (static_cast<void>(fStatements.push_back(DSLStatement(statements.release()).release())), in DSLBlock() 42 DSLBlock(SkTArray<DSLStatement> statements, std::shared_ptr<SymbolTable> symbols = nullptr); 51 void append(DSLStatement stmt); 59 friend class DSLStatement; variable
|
D | DSLCase.h | 34 (static_cast<void>(fStatements.push_back(DSLStatement(std::move(statements)).release())), in DSLCase() 39 DSLCase(DSLExpression value, SkTArray<DSLStatement> statements, 51 void append(DSLStatement stmt);
|
D | BUILD.bazel | 15 "DSLStatement.h",
|
D | DSL.h | 26 using Statement = DSLStatement;
|
D | DSLFunction.h | 65 DSLBlock block = DSLBlock(DSLStatement(std::move(stmts))...); in define()
|
D | DSLExpression.h | 34 class DSLStatement; variable
|
/third_party/skia/src/sksl/ |
D | SkSLDSLParser.h | 159 dsl::DSLStatement varDeclarationsOrExpressionStatement(); 161 dsl::DSLStatement varDeclarations(); 174 dsl::DSLStatement localVarDeclarationEnd(PositionInfo position, const dsl::DSLModifiers& mods, 187 dsl::DSLStatement statement(); 193 dsl::DSLStatement ifStatement(); 195 dsl::DSLStatement doStatement(); 197 dsl::DSLStatement whileStatement(); 199 dsl::DSLStatement forStatement(); 203 dsl::DSLStatement switchStatement(); 205 dsl::DSLStatement returnStatement(); [all …]
|
D | SkSLDSLParser.cpp | 484 DSLStatement DSLParser::localVarDeclarationEnd(PositionInfo pos, const dsl::DSLModifiers& mods, in localVarDeclarationEnd() 497 DSLStatement result = Declare(first); in localVarDeclarationEnd() 523 DSLStatement DSLParser::varDeclarationsOrExpressionStatement() { in varDeclarationsOrExpressionStatement() 567 DSLStatement DSLParser::varDeclarations() { in varDeclarations() 771 DSLStatement DSLParser::statement() { in statement() 801 return result ? DSLStatement(std::move(*result)) : DSLStatement(); in statement() 908 DSLStatement DSLParser::ifStatement() { in ifStatement() 924 DSLStatement ifTrue = this->statement(); in ifStatement() 928 DSLStatement ifFalse; in ifStatement() 937 ifFalse.hasValue() ? std::move(ifFalse) : DSLStatement(), this->position(start)); in ifStatement() [all …]
|
D | BUILD.bazel | 79 "dsl/DSLStatement.cpp",
|
/third_party/skia/src/sksl/dsl/priv/ |
D | DSLWriter.h | 29 class DSLStatement; variable 92 static void AddVarDeclaration(DSLStatement& existing, DSLVar& additional);
|
D | DSLWriter.cpp | 98 void DSLWriter::AddVarDeclaration(DSLStatement& existing, DSLVar& additional) { in AddVarDeclaration()
|
/third_party/skia/tests/ |
D | SkSLDSLErrorLineNumbers.cpp | 93 For(DSLStatement(), 5, DSLExpression(), Block()).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
|
D | SkSLDSLTest.cpp | 133 static SkSL::String stringize(DSLStatement& stmt) { return stmt.release()->description(); } in stringize() 1287 SkTArray<DSLStatement> statements; in DEF_GPUTEST_FOR_MOCK_CONTEXT() 1637 SkTArray<DSLStatement> caseStatements; in DEF_GPUTEST_FOR_MOCK_CONTEXT() 1678 DSLStatement(Switch(0, Case(0), Case(0))).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 1683 DSLStatement(Switch(0, Default(a = 0), Default(a = 1))).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 1689 DSLStatement(Switch(0, Case(c))).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
|
/third_party/skia/gn/ |
D | sksl.gni | 30 "$_include/sksl/DSLStatement.h", 96 "$_src/sksl/dsl/DSLStatement.cpp",
|
/third_party/skia/src/sksl/ir/ |
D | SkSLFunctionDefinition.cpp | 61 auto fixupStmt = DSLStatement( in append_rtadjust_fixup_to_vertex_main()
|