Searched refs:positiveOnly (Results 1 – 2 of 2) sorted by relevance
69 static float make_number(bool positiveOnly) { in make_number() argument70 float f = positiveOnly ? 1.0f : 0.0f; in make_number()88 if (!positiveOnly && (R(4) == 1)) v = -v; in make_number()92 static SkScalar make_scalar(bool positiveOnly = false) { in make_scalar() argument93 return make_number(positiveOnly); in make_scalar()
71 static float make_number(bool positiveOnly) { in make_number() argument72 float f = positiveOnly ? 1.0f : 0.0f; in make_number()90 if (!positiveOnly && (R(4) == 1)) v = -v; in make_number()94 static SkScalar make_scalar(bool positiveOnly = false) { in make_scalar() argument95 return make_number(positiveOnly); in make_scalar()