Home
last modified time | relevance | path

Searched refs:TK_MINUS (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/src/sksl/ir/
DSkSLPrefixExpression.cpp43 if (prefix.getOperator().kind() == Token::Kind::TK_MINUS) { in simplify_negation()
104 replacement.push_back(std::make_unique<PrefixExpression>(Token::Kind::TK_MINUS, in negate_operands()
119 return std::make_unique<PrefixExpression>(Token::Kind::TK_MINUS, std::move(value)); in negate_operand()
161 case Token::Kind::TK_MINUS: in Convert()
230 case Token::Kind::TK_MINUS: in Make()
/third_party/skia/src/sksl/
DSkSLOperators.cpp22 case Kind::TK_MINUS: return Precedence::kAdditive; in getBinaryPrecedence()
56 case Kind::TK_MINUS: in isOperator()
99 case Kind::TK_MINUS: return "-"; in operatorName()
160 case Kind::TK_MINUSEQ: return Operator{Kind::TK_MINUS}; in removeAssignment()
208 case Token::Kind::TK_MINUS: in isValidForMatrixOrVector()
DSkSLConstantFolder.cpp104 case Token::Kind::TK_MINUS: foldFn = +[](double a, double b) { return a - b; }; break; in simplify_vector()
261 case Token::Kind::TK_MINUS: in simplify_no_op_arithmetic()
267 return PrefixExpression::Make(context, Token::Kind::TK_MINUS, std::move(val)); in simplify_no_op_arithmetic()
436 case Token::Kind::TK_MINUS: return URESULT(-); in Simplify()
489 case Token::Kind::TK_MINUS: return RESULT(-); in Simplify()
DSkSLLexer.h68 TK_MINUS, enumerator
DSkSLDSLParser.cpp1473 case Token::Kind::TK_MINUS: OPERATOR_RIGHT(-, multiplicativeExpression); break; in additiveExpression()
1502 case Token::Kind::TK_MINUS: in unaryExpression()
1517 case Token::Kind::TK_MINUS: return {{ -std::move(expr)}}; in unaryExpression()
/third_party/skia/src/sksl/dsl/
DDSLExpression.cpp217 OP(-, TK_MINUS)
249 PREFIXOP(-, TK_MINUS)
/third_party/skia/src/sksl/codegen/
DSkSLGLSLCodeGenerator.cpp472 if (p.getOperator().kind() == Token::Kind::TK_MINUS) { in writeFunctionCall()
487 if (p.getOperator().kind() == Token::Kind::TK_MINUS) { in writeFunctionCall()
DSkSLVMCodeGenerator.cpp713 case Token::Kind::TK_MINUS: in writeBinaryExpression()
1425 case Token::Kind::TK_MINUS: { in writePrefixExpression()
DSkSLSPIRVCodeGenerator.cpp2525 case Token::Kind::TK_MINUS: in writeBinaryExpression()
2802 if (p.getOperator().kind() == Token::Kind::TK_MINUS) { in writePrefixExpression()
/third_party/chromium/patch/
D0003-ohos-1115.patch120110 *tokenType = TK_MINUS;
159284 *tokenType = TK_MINUS;
184425 *tokenType = TK_MINUS;