Home
last modified time | relevance | path

Searched refs:fStatement (Results 1 – 20 of 20) sorted by relevance

/external/skia/src/sksl/dsl/
DDSLStatement.cpp28 : fStatement(block.release()) {} in DSLStatement()
33 fStatement = std::make_unique<SkSL::ExpressionStatement>(std::move(skslExpr)); in DSLStatement()
38 : fStatement(std::make_unique<SkSL::ExpressionStatement>(std::move(expr))) {} in DSLStatement()
41 : fStatement(std::move(stmt)) { in DSLStatement()
56 fStatement = std::move(stmt.fStatement); in DSLStatement()
61 if (fStatement && DSLWriter::InFragmentProcessor()) { in ~DSLStatement()
66 SkASSERTF(!fStatement, "Statement destroyed without being incorporated into program"); in ~DSLStatement()
70 : fStatement(std::move(statement)) {} in DSLPossibleStatement()
73 if (fStatement) { in ~DSLPossibleStatement()
75 DSLStatement(std::move(fStatement)); in ~DSLPossibleStatement()
/external/skia/src/sksl/ir/
DSkSLSwitchCase.h27 , fStatement(std::move(statement)) {} in SwitchCase()
38 return fStatement; in statement()
42 return fStatement; in statement()
55 fStatement->description().c_str()); in description()
57 return String::printf("default:\n%s", fStatement->description().c_str()); in description()
63 std::unique_ptr<Statement> fStatement; variable
DSkSLDoStatement.h25 , fStatement(std::move(statement)) in DoStatement()
39 return fStatement; in statement()
43 return fStatement; in statement()
59 std::unique_ptr<Statement> fStatement;
DSkSLForStatement.h32 , fStatement(std::move(statement)) {} in ForStatement()
81 return fStatement; in statement()
85 return fStatement; in statement()
101 std::unique_ptr<Statement> fStatement; variable
/external/skqp/src/sksl/ir/
DSkSLWhileStatement.h24 , fStatement(std::move(statement)) {} in WhileStatement()
28 fStatement->clone())); in clone()
32 return "while (" + fTest->description() + ") " + fStatement->description(); in description()
36 std::unique_ptr<Statement> fStatement; member
DSkSLDoStatement.h23 , fStatement(std::move(statement)) in DoStatement()
27 return std::unique_ptr<Statement>(new DoStatement(fOffset, fStatement->clone(), in clone()
32 return "do " + fStatement->description() + " while (" + fTest->description() + ");"; in description()
35 std::unique_ptr<Statement> fStatement; member
DSkSLForStatement.h29 , fStatement(std::move(statement)) {} in ForStatement()
34 fStatement->clone(), fSymbols)); in clone()
50 result += ") " + fStatement->description(); in description()
60 std::unique_ptr<Statement> fStatement; member
/external/skqp/src/sksl/
DSkSLCFGGenerator.h34 , fStatement(statement) {} in Node()
48 return fStatement; in statement()
53 *fStatement = std::move(stmt); in setStatement()
58 return (*fStatement)->description(); in description()
79 std::unique_ptr<Statement>* fStatement; member
DSkSLInterpreter.h28 const Statement* fStatement; member
DSkSLMetalCodeGenerator.cpp1083 this->writeStatement(*f.fStatement); in writeForStatement()
1090 this->writeStatement(*w.fStatement); in writeWhileStatement()
1095 this->writeStatement(*d.fStatement); in writeDoStatement()
1477 this->requirements(*f.fStatement); in requirements()
1482 this->requirements(*w.fStatement); in requirements()
1487 this->requirements(*d.fStatement); in requirements()
DSkSLCFGGenerator.cpp540 this->addStatement(cfg, &w.fStatement); in addStatement()
553 this->addStatement(cfg, &d.fStatement); in addStatement()
583 this->addStatement(cfg, &f.fStatement); in addStatement()
DSkSLInterpreter.cpp80 const Statement& stmt = *fCurrentIndex.back().fStatement; in runStatement()
127 fCurrentIndex.push_back({ f.fStatement.get(), 0 }); in runStatement()
DSkSLGLSLCodeGenerator.cpp1357 this->writeStatement(*f.fStatement); in writeFunctionCall()
1364 this->writeStatement(*w.fStatement); in writeFunctionCall()
1370 this->writeStatement(*d.fStatement); in writeFunctionCall()
1414 this->writeStatement(*d.fStatement); in writeFunctionCall()
DSkSLJIT.cpp1134 this->compileStatement(builder, *f.fStatement); in compileFor()
1137 if (!ends_with_branch(*f.fStatement)) { in compileFor()
1162 this->compileStatement(builder, *d.fStatement); in compileDo()
1165 if (!ends_with_branch(*d.fStatement)) { in compileDo()
1185 this->compileStatement(builder, *w.fStatement); in compileWhile()
1188 if (!ends_with_branch(*w.fStatement)) { in compileWhile()
DSkSLIRGenerator.cpp423 std::unique_ptr<Statement> statement = this->convertStatement(*f.fStatement); in convertFor()
439 std::unique_ptr<Statement> statement = this->convertStatement(*w.fStatement); in convertWhile()
454 std::unique_ptr<Statement> statement = this->convertStatement(*d.fStatement); in convertDo()
DSkSLSPIRVCodeGenerator.cpp2886 this->writeStatement(*f.fStatement, out); in writeForStatement()
2923 this->writeStatement(*w.fStatement, out); in writeWhileStatement()
2952 this->writeStatement(*d.fStatement, out); in writeDoStatement()
/external/skia/include/sksl/
DDSLStatement.h52 return std::move(fStatement); in release()
60 std::unique_ptr<SkSL::Statement> fStatement; variable
87 return std::move(fStatement); in release()
91 std::unique_ptr<SkSL::Statement> fStatement;
/external/skqp/src/sksl/ast/
DSkSLASTWhileStatement.h23 , fStatement(std::move(statement)) {} in ASTWhileStatement()
26 return "while (" + fTest->description() + ") " + fStatement->description(); in description()
30 const std::unique_ptr<ASTStatement> fStatement; member
DSkSLASTDoStatement.h22 , fStatement(std::move(statement)) in ASTDoStatement()
26 return "do " + fStatement->description() + " while (" + fTest->description() + ");"; in description()
29 const std::unique_ptr<ASTStatement> fStatement; member
DSkSLASTForStatement.h26 , fStatement(std::move(statement)) {} in ASTForStatement()
42 result += fStatement->description(); in description()
49 const std::unique_ptr<ASTStatement> fStatement; member