Searched refs:kTernary (Results 1 – 17 of 17) sorted by relevance
/third_party/skia/src/sksl/codegen/ |
D | SkSLGLSLCodeGenerator.cpp | 217 case Expression::Kind::kTernary: in writeExpression() 922 if (Precedence::kTernary >= parentPrecedence) { in writeShortCircuitWorkaroundExpression() 929 this->writeExpression(*b.left(), Precedence::kTernary); in writeShortCircuitWorkaroundExpression() 932 this->writeExpression(*b.right(), Precedence::kTernary); in writeShortCircuitWorkaroundExpression() 942 this->writeExpression(*b.right(), Precedence::kTernary); in writeShortCircuitWorkaroundExpression() 944 if (Precedence::kTernary >= parentPrecedence) { in writeShortCircuitWorkaroundExpression() 951 if (Precedence::kTernary >= parentPrecedence) { in writeTernaryExpression() 954 this->writeExpression(*t.test(), Precedence::kTernary); in writeTernaryExpression() 956 this->writeExpression(*t.ifTrue(), Precedence::kTernary); in writeTernaryExpression() 958 this->writeExpression(*t.ifFalse(), Precedence::kTernary); in writeTernaryExpression() [all …]
|
D | SkSLPipelineStageCodeGenerator.cpp | 502 case Expression::Kind::kTernary: in writeExpression() 575 if (Precedence::kTernary >= parentPrecedence) { in writeTernaryExpression() 578 this->writeExpression(*t.test(), Precedence::kTernary); in writeTernaryExpression() 580 this->writeExpression(*t.ifTrue(), Precedence::kTernary); in writeTernaryExpression() 582 this->writeExpression(*t.ifFalse(), Precedence::kTernary); in writeTernaryExpression() 583 if (Precedence::kTernary >= parentPrecedence) { in writeTernaryExpression()
|
D | SkSLMetalCodeGenerator.cpp | 182 case Expression::Kind::kTernary: in writeExpression() 1667 if (Precedence::kTernary >= parentPrecedence) { in writeTernaryExpression() 1670 this->writeExpression(*t.test(), Precedence::kTernary); in writeTernaryExpression() 1672 this->writeExpression(*t.ifTrue(), Precedence::kTernary); in writeTernaryExpression() 1674 this->writeExpression(*t.ifFalse(), Precedence::kTernary); in writeTernaryExpression() 1675 if (Precedence::kTernary >= parentPrecedence) { in writeTernaryExpression() 2602 case Expression::Kind::kTernary: { in requirements()
|
D | SkSLVMCodeGenerator.cpp | 1545 case Expression::Kind::kTernary: in writeExpression()
|
D | SkSLSPIRVCodeGenerator.cpp | 800 case Expression::Kind::kTernary: in writeExpression()
|
/third_party/skia/src/sksl/ |
D | SkSLOperators.h | 43 kTernary = 15, enumerator
|
D | SkSLInliner.cpp | 432 case Expression::Kind::kTernary: { in inlineExpression() 1026 case Expression::Kind::kTernary: { in visitExpression()
|
D | SkSLDehydrator.cpp | 415 case Expression::Kind::kTernary: { in write()
|
D | SkSLAnalysis.cpp | 693 case Expression::Kind::kTernary: { in visitExpression()
|
/third_party/skia/src/sksl/analysis/ |
D | SkSLIsConstantExpression.cpp | 65 case Expression::Kind::kTernary: in visitExpression()
|
/third_party/skia/src/sksl/ir/ |
D | SkSLTernaryExpression.h | 20 inline static constexpr Kind kExpressionKind = Kind::kTernary;
|
D | SkSLExpression.h | 56 kTernary, enumerator
|
D | SkSLBinaryExpression.cpp | 222 case Expression::Kind::kTernary: { in CheckRef()
|
/third_party/flutter/skia/src/sksl/ |
D | SkSLASTNode.cpp | 200 case Kind::kTernary: in description()
|
D | SkSLASTNode.h | 117 kTernary, enumerator
|
D | SkSLIRGenerator.cpp | 1134 case ASTNode::Kind::kTernary: in convertExpression() 1706 SkASSERT(node.fKind == ASTNode::Kind::kTernary); in convertTernaryExpression()
|
D | SkSLParser.cpp | 1567 CREATE_NODE(ternary, getNode(base).fOffset, ASTNode::Kind::kTernary); in ternaryExpression()
|