Lines Matching refs:writeExpression

116 void MetalCodeGenerator::writeExpression(const Expression& expr, Precedence parentPrecedence) {  in writeExpression()  function in SkSL::MetalCodeGenerator
175 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeIntrinsicCall()
198 this->writeExpression(*c.fArguments[1], kSequence_Precedence); in writeIntrinsicCall()
254 this->writeExpression(arg, kSequence_Precedence); in writeFunctionCall()
342 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeSpecialIntrinsic()
344 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeSpecialIntrinsic()
347 this->writeExpression(*c.fArguments[1], kSequence_Precedence); in writeSpecialIntrinsic()
358 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeSpecialIntrinsic()
360 this->writeExpression(*c.fArguments[1], kSequence_Precedence); in writeSpecialIntrinsic()
362 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeSpecialIntrinsic()
364 this->writeExpression(*c.fArguments[1], kSequence_Precedence); in writeSpecialIntrinsic()
463 this->writeExpression(*c.fArguments[0], parentPrecedence); in writeConstructor()
471 this->writeExpression(arg, kSequence_Precedence); in writeConstructor()
490 this->writeExpression(*arg, kSequence_Precedence); in writeConstructor()
546 this->writeExpression(*expr.fBase, kPostfix_Precedence); in writeIndexExpression()
548 this->writeExpression(*expr.fIndex, kTopLevel_Precedence); in writeIndexExpression()
555 this->writeExpression(*f.fBase, kPostfix_Precedence); in writeFieldAccess()
585 this->writeExpression(*swizzle.fBase, kPostfix_Precedence); in writeSwizzle()
687 this->writeExpression(*b.fLeft, precedence); in writeBinaryExpression()
697 this->writeExpression(*b.fLeft, kAssignment_Precedence); in writeBinaryExpression()
706 this->writeExpression(*b.fRight, precedence); in writeBinaryExpression()
717 this->writeExpression(*t.fTest, kTernary_Precedence); in writeTernaryExpression()
719 this->writeExpression(*t.fIfTrue, kTernary_Precedence); in writeTernaryExpression()
721 this->writeExpression(*t.fIfFalse, kTernary_Precedence); in writeTernaryExpression()
733 this->writeExpression(*p.fOperand, kPrefix_Precedence); in writePrefixExpression()
744 this->writeExpression(*p.fOperand, kPostfix_Precedence); in writePostfixExpression()
1003 this->writeExpression(*size, kTopLevel_Precedence); in writeInterfaceBlock()
1085 this->writeExpression(value, kTopLevel_Precedence); in writeVarInitializer()
1115 this->writeExpression(*size, kTopLevel_Precedence); in writeVarDeclarations()
1143 this->writeExpression(*((ExpressionStatement&) s).fExpression, kTopLevel_Precedence); in writeStatement()
1203 this->writeExpression(*stmt.fTest, kTopLevel_Precedence); in writeIfStatement()
1220 this->writeExpression(*f.fTest, kTopLevel_Precedence); in writeForStatement()
1224 this->writeExpression(*f.fNext, kTopLevel_Precedence); in writeForStatement()
1232 this->writeExpression(*w.fTest, kTopLevel_Precedence); in writeWhileStatement()
1241 this->writeExpression(*d.fTest, kTopLevel_Precedence); in writeDoStatement()
1247 this->writeExpression(*s.fValue, kTopLevel_Precedence); in writeSwitchStatement()
1253 this->writeExpression(*c->fValue, kTopLevel_Precedence); in writeSwitchStatement()
1273 this->writeExpression(*r.fExpression, kTopLevel_Precedence); in writeReturnStatement()