Searched refs:coercionCost (Results 1 – 13 of 13) sorted by relevance
13 int Type::coercionCost(const Type& other) const { in coercionCost() function in SkSL::Type18 int result = this->componentType().coercionCost(other); in coercionCost()29 return this->componentType().coercionCost(other.componentType()); in coercionCost()35 return this->componentType().coercionCost(other.componentType()); in coercionCost()
40 int coercionCost(const Type& target) const override { in coercionCost() function44 return INHERITED::coercionCost(target); in coercionCost()
47 int coercionCost(const Type& target) const override { in coercionCost() function51 return INHERITED::coercionCost(target); in coercionCost()
106 virtual int coercionCost(const Type& target) const { in coercionCost() function107 return fType.coercionCost(target); in coercionCost()
288 return coercionCost(other) != INT_MAX; in canCoerceTo()296 int coercionCost(const Type& other) const;
13 int Type::coercionCost(const Type& other) const { in coercionCost() function in SkSL::Type19 return this->componentType().coercionCost(other.componentType()); in coercionCost()25 return this->componentType().coercionCost(other.componentType()); in coercionCost()
105 virtual int coercionCost(const Type& target) const { in coercionCost() function106 return fType.coercionCost(target); in coercionCost()
266 return coercionCost(other) != INT_MAX; in canCoerceTo()274 int coercionCost(const Type& other) const;
120 int coercionCost(const Expression& expr, const Type& type);
1096 if (expr->coercionCost(type) == INT_MAX) { in coerce()1618 int cost = arguments[i]->coercionCost(*types[i]); in callCost()
1133 if (expr->coercionCost(type) == INT_MAX) { in coerce()1667 int cost = arguments[i]->coercionCost(*types[i]); in callCost()