Home
last modified time | relevance | path

Searched refs:positiveOnly (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/skia/samplecode/
DSampleFilterFuzz.cpp69 static float make_number(bool positiveOnly) { in make_number() argument
70 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() argument
93 return make_number(positiveOnly); in make_scalar()
/external/skia/samplecode/
DSampleFilterFuzz.cpp71 static float make_number(bool positiveOnly) { in make_number() argument
72 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() argument
95 return make_number(positiveOnly); in make_scalar()