Home
last modified time | relevance | path

Searched refs:kTernary_Precedence (Results 1 – 8 of 8) sorted by relevance

/external/skqp/src/sksl/
DSkSLGLSLCodeGenerator.cpp928 if (kTernary_Precedence >= parentPrecedence) { in writeFunctionCall()
935 this->writeExpression(*b.fLeft, kTernary_Precedence); in writeFunctionCall()
938 this->writeExpression(*b.fRight, kTernary_Precedence); in writeFunctionCall()
948 this->writeExpression(*b.fRight, kTernary_Precedence); in writeFunctionCall()
950 if (kTernary_Precedence >= parentPrecedence) { in writeFunctionCall()
957 if (kTernary_Precedence >= parentPrecedence) { in writeFunctionCall()
960 this->writeExpression(*t.fTest, kTernary_Precedence); in writeFunctionCall()
962 this->writeExpression(*t.fIfTrue, kTernary_Precedence); in writeFunctionCall()
964 this->writeExpression(*t.fIfFalse, kTernary_Precedence); in writeFunctionCall()
965 if (kTernary_Precedence >= parentPrecedence) { in writeFunctionCall()
DSkSLGLSLCodeGenerator.h70 kTernary_Precedence = 15, enumerator
DSkSLMetalCodeGenerator.cpp568 if (kTernary_Precedence >= parentPrecedence) { in writeTernaryExpression()
571 this->writeExpression(*t.fTest, kTernary_Precedence); in writeTernaryExpression()
573 this->writeExpression(*t.fIfTrue, kTernary_Precedence); in writeTernaryExpression()
575 this->writeExpression(*t.fIfFalse, kTernary_Precedence); in writeTernaryExpression()
576 if (kTernary_Precedence >= parentPrecedence) { in writeTernaryExpression()
DSkSLMetalCodeGenerator.h74 kTernary_Precedence = 15, enumerator
/external/skia/src/sksl/
DSkSLGLSLCodeGenerator.cpp1125 if (kTernary_Precedence >= parentPrecedence) { in writeFunctionCall()
1132 this->writeExpression(*b.fLeft, kTernary_Precedence); in writeFunctionCall()
1135 this->writeExpression(*b.fRight, kTernary_Precedence); in writeFunctionCall()
1145 this->writeExpression(*b.fRight, kTernary_Precedence); in writeFunctionCall()
1147 if (kTernary_Precedence >= parentPrecedence) { in writeFunctionCall()
1154 if (kTernary_Precedence >= parentPrecedence) { in writeFunctionCall()
1157 this->writeExpression(*t.fTest, kTernary_Precedence); in writeFunctionCall()
1159 this->writeExpression(*t.fIfTrue, kTernary_Precedence); in writeFunctionCall()
1161 this->writeExpression(*t.fIfFalse, kTernary_Precedence); in writeFunctionCall()
1162 if (kTernary_Precedence >= parentPrecedence) { in writeFunctionCall()
DSkSLGLSLCodeGenerator.h70 kTernary_Precedence = 15, enumerator
DSkSLMetalCodeGenerator.h74 kTernary_Precedence = 15, enumerator
DSkSLMetalCodeGenerator.cpp729 if (kTernary_Precedence >= parentPrecedence) { in writeTernaryExpression()
732 this->writeExpression(*t.fTest, kTernary_Precedence); in writeTernaryExpression()
734 this->writeExpression(*t.fIfTrue, kTernary_Precedence); in writeTernaryExpression()
736 this->writeExpression(*t.fIfFalse, kTernary_Precedence); in writeTernaryExpression()
737 if (kTernary_Precedence >= parentPrecedence) { in writeTernaryExpression()