Home
last modified time | relevance | path

Searched refs:nextS (Results 1 - 11 of 11) sorted by relevance

/third_party/skia/bench/
H A DMatrixBench.cpp100 fArray[0] = (float) fRnd.nextS(); in GetTypeMatrixBench()
101 fArray[1] = (float) fRnd.nextS(); in GetTypeMatrixBench()
102 fArray[2] = (float) fRnd.nextS(); in GetTypeMatrixBench()
103 fArray[3] = (float) fRnd.nextS(); in GetTypeMatrixBench()
104 fArray[4] = (float) fRnd.nextS(); in GetTypeMatrixBench()
105 fArray[5] = (float) fRnd.nextS(); in GetTypeMatrixBench()
106 fArray[6] = (float) fRnd.nextS(); in GetTypeMatrixBench()
107 fArray[7] = (float) fRnd.nextS(); in GetTypeMatrixBench()
108 fArray[8] = (float) fRnd.nextS(); in GetTypeMatrixBench()
H A DSortBench.cpp22 array[i] = rand.nextS(); in rand_proc()
/third_party/skia/tests/
H A DWindowRectanglesTest.cpp16 return {r.nextS(), r.nextS(), r.nextS(), r.nextS()}; in next_irect()
H A DTDPQueueTest.cpp92 mock->fPriority = random.nextS(); in random_test()
93 mock->fValue = random.nextS(); in random_test()
144 array[item].fPriority = random.nextS(); in random_test()
165 mock->fPriority = random.nextS(); in sort_test()
166 mock->fValue = random.nextS(); in sort_test()
H A DMathTest.cpp389 int ix = rand.nextS(); in test_copysign()
456 p.setLength((SkScalar) rand.nextS(), in DEF_TEST()
457 (SkScalar) rand.nextS(), in DEF_TEST()
460 p.setLength((SkScalar) (rand.nextS() >> 13), in DEF_TEST()
461 (SkScalar) (rand.nextS() >> 13), in DEF_TEST()
489 SkFixed numer = rand.nextS(); in DEF_TEST()
490 SkFixed denom = rand.nextS(); in DEF_TEST()
584 const T numer = (T)rand.nextS(); in test_divmod()
587 denom = (T)rand.nextS(); in test_divmod()
H A DSortTest.cpp22 array[j] = rand.nextS() & 0xFF; in rand_array()
H A DAAClipTest.cpp126 int x = rand.nextS() % n; in rand_rect()
127 int y = rand.nextS() % n; in rand_rect()
H A DUtilsTest.cpp132 array[i] = rand.nextS(); in test_search()
150 int value = rand.nextS(); in test_search()
/third_party/skia/include/utils/
H A DSkRandom.h46 int32_t nextS() { return (int32_t)this->nextU(); } in nextS() function in SkRandom
151 SkFixed nextSFixed1() { return this->nextS() >> 15; } in nextSFixed1()
/third_party/skia/src/effects/
H A DSkDiscretePathEffect.cpp44 int32_t nextS() { return (int32_t)this->nextU(); } in nextS() function in LCGRandom
49 SkFixed nextSFixed1() { return this->nextS() >> 15; } in nextSFixed1()
/third_party/skia/samplecode/
H A DSamplePathEffects.cpp90 SkScalar tmpY = y + SkIntToScalar(rand.nextS() % 25);

Completed in 7 milliseconds