/external/skia/src/sksl/ir/ |
D | SkSLBoolLiteral.h | 19 struct BoolLiteral : public Expression { struct 20 BoolLiteral(const Context& context, int offset, bool value) in BoolLiteral() function 37 BoolLiteral& b = (BoolLiteral&) other; in compareConstant() argument 42 return std::unique_ptr<Expression>(new BoolLiteral(fOffset, fValue, &fType)); in clone() argument 50 BoolLiteral(int offset, bool value, const Type* type) in BoolLiteral() argument
|
D | SkSLVariableReference.cpp | 68 return std::unique_ptr<Expression>(new BoolLiteral(irGenerator.fContext, in copy_constant() 70 ((BoolLiteral*) expr)->fValue)); in copy_constant()
|
D | SkSLProgram.h | 57 return std::unique_ptr<Expression>(new BoolLiteral(context, in literal()
|
/external/skqp/src/sksl/ir/ |
D | SkSLBoolLiteral.h | 19 struct BoolLiteral : public Expression { struct 20 BoolLiteral(const Context& context, int offset, bool value) in BoolLiteral() argument 37 BoolLiteral& b = (BoolLiteral&) other; in compareConstant() argument 42 return std::unique_ptr<Expression>(new BoolLiteral(fOffset, fValue, &fType)); in clone() argument 50 BoolLiteral(int offset, bool value, const Type* type) in BoolLiteral() argument
|
D | SkSLVariableReference.cpp | 68 return std::unique_ptr<Expression>(new BoolLiteral(irGenerator.fContext, in copy_constant() 70 ((BoolLiteral*) expr)->fValue)); in copy_constant()
|
D | SkSLProgram.h | 52 return std::unique_ptr<Expression>(new BoolLiteral(context, in literal()
|
/external/deqp/framework/randomshaders/ |
D | rsgExpression.hpp | 143 class BoolLiteral : public Expression class 146 BoolLiteral (GeneratorState& state, ConstValueRangeAccess valueRange); 147 BoolLiteral (bool customValue); 148 virtual ~BoolLiteral (void) {} in ~BoolLiteral()
|
D | rsgExpression.cpp | 285 { getWeight<BoolLiteral>, create<BoolLiteral> }, 483 BoolLiteral::BoolLiteral (GeneratorState& state, ConstValueRangeAccess valueRange) in BoolLiteral() function in rsg::BoolLiteral 502 BoolLiteral::BoolLiteral (bool customValue) in BoolLiteral() function in rsg::BoolLiteral 515 float BoolLiteral::getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange) in getWeight() 527 void BoolLiteral::tokenize (GeneratorState& state, TokenStream& str) const in tokenize()
|
D | rsgBinaryOps.cpp | 308 BoolLiteral* trueLiteral = new BoolLiteral(true); in createNextChild()
|
/external/skia/src/sksl/ |
D | SkSLIRGenerator.cpp | 389 if (((BoolLiteral&) *test).fValue) { in convertIf() 1026 return std::unique_ptr<Expression>(new BoolLiteral(fContext, expr.fOffset, in convertExpression() 1351 bool leftVal = ((BoolLiteral&) left).fValue; in short_circuit_boolean() 1355 : std::unique_ptr<Expression>(new BoolLiteral(context, left.fOffset, false)); in short_circuit_boolean() 1358 return leftVal ? std::unique_ptr<Expression>(new BoolLiteral(context, left.fOffset, true)) in short_circuit_boolean() 1389 bool leftVal = ((BoolLiteral&) left).fValue; in constantFold() 1390 bool rightVal = ((BoolLiteral&) right).fValue; in constantFold() 1398 return std::unique_ptr<Expression>(new BoolLiteral(fContext, left.fOffset, result)); in constantFold() 1473 return std::unique_ptr<Expression>(new BoolLiteral(fContext, -1, in constantFold() 1476 return std::unique_ptr<Expression>(new BoolLiteral(fContext, -1, in constantFold() [all …]
|
D | SkSLGLSLCodeGenerator.cpp | 197 this->writeBoolLiteral((BoolLiteral&) expr); in writeExpression() 959 BoolLiteral boolTrue(fContext, -1, true); in writeFunctionCall() 964 BoolLiteral boolFalse(fContext, -1, false); in writeFunctionCall() 1013 void GLSLCodeGenerator::writeBoolLiteral(const BoolLiteral& b) { in writeFunctionCall() 1371 std::unique_ptr<BoolLiteral>(new BoolLiteral(fContext, -1, in writeFunctionCall()
|
D | SkSLGLSLCodeGenerator.h | 172 void writeBoolLiteral(const BoolLiteral& b);
|
D | SkSLMetalCodeGenerator.h | 215 void writeBoolLiteral(const BoolLiteral& b);
|
D | SkSLSPIRVCodeGenerator.h | 295 SpvId writeBoolLiteral(const BoolLiteral& b);
|
D | SkSLInterpreter.cpp | 384 return Value(((const BoolLiteral&) expr).fValue); in evaluate()
|
D | SkSLMetalCodeGenerator.cpp | 122 this->writeBoolLiteral((BoolLiteral&) expr); in writeExpression() 751 void MetalCodeGenerator::writeBoolLiteral(const BoolLiteral& b) { in writeBoolLiteral()
|
D | SkSLCompiler.cpp | 732 if (((BoolLiteral&) *t->fTest).fValue) { in simplifyExpression() 1016 if (((BoolLiteral&) *i.fTest).fValue) { in simplifyStatement()
|
/external/skqp/src/sksl/ |
D | SkSLIRGenerator.cpp | 383 if (((BoolLiteral&) *test).fValue) { in convertIf() 991 return std::unique_ptr<Expression>(new BoolLiteral(fContext, expr.fOffset, in convertExpression() 1301 bool leftVal = ((BoolLiteral&) left).fValue; in short_circuit_boolean() 1305 : std::unique_ptr<Expression>(new BoolLiteral(context, left.fOffset, false)); in short_circuit_boolean() 1308 return leftVal ? std::unique_ptr<Expression>(new BoolLiteral(context, left.fOffset, true)) in short_circuit_boolean() 1339 bool leftVal = ((BoolLiteral&) left).fValue; in constantFold() 1340 bool rightVal = ((BoolLiteral&) right).fValue; in constantFold() 1348 return std::unique_ptr<Expression>(new BoolLiteral(fContext, left.fOffset, result)); in constantFold() 1424 return std::unique_ptr<Expression>(new BoolLiteral(fContext, -1, in constantFold() 1427 return std::unique_ptr<Expression>(new BoolLiteral(fContext, -1, in constantFold() [all …]
|
D | SkSLGLSLCodeGenerator.cpp | 201 this->writeBoolLiteral((BoolLiteral&) expr); in writeExpression() 940 BoolLiteral boolTrue(fContext, -1, true); in writeFunctionCall() 945 BoolLiteral boolFalse(fContext, -1, false); in writeFunctionCall() 994 void GLSLCodeGenerator::writeBoolLiteral(const BoolLiteral& b) { in writeFunctionCall() 1344 std::unique_ptr<BoolLiteral>(new BoolLiteral(fContext, -1, in writeFunctionCall()
|
D | SkSLGLSLCodeGenerator.h | 172 void writeBoolLiteral(const BoolLiteral& b);
|
D | SkSLMetalCodeGenerator.h | 211 void writeBoolLiteral(const BoolLiteral& b);
|
D | SkSLSPIRVCodeGenerator.h | 243 SpvId writeBoolLiteral(const BoolLiteral& b);
|
D | SkSLInterpreter.cpp | 384 return Value(((const BoolLiteral&) expr).fValue); in evaluate()
|
D | SkSLMetalCodeGenerator.cpp | 120 this->writeBoolLiteral((BoolLiteral&) expr); in writeExpression() 605 void MetalCodeGenerator::writeBoolLiteral(const BoolLiteral& b) { in writeBoolLiteral()
|
D | SkSLCompiler.cpp | 732 if (((BoolLiteral&) *t->fTest).fValue) { in simplifyExpression() 1016 if (((BoolLiteral&) *i.fTest).fValue) { in simplifyStatement()
|