Home
last modified time | relevance | path

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

/external/skia/tests/
DPathOpsCubicIntersectionTest.cpp470 cubic1[i].fX = static_cast<double>(SK_RAND(seed)) / RAND_MAX * 100; in CubicIntersection_RandTest()
471 cubic1[i].fY = static_cast<double>(SK_RAND(seed)) / RAND_MAX * 100; in CubicIntersection_RandTest()
472 cubic2[i].fX = static_cast<double>(SK_RAND(seed)) / RAND_MAX * 100; in CubicIntersection_RandTest()
473 cubic2[i].fY = static_cast<double>(SK_RAND(seed)) / RAND_MAX * 100; in CubicIntersection_RandTest()
/external/skia/src/pathops/
DSkPathOpsDebug.h26 #define SK_RAND(seed) rand() macro
28 #define SK_RAND(seed) rand_r(&seed) macro