Home
last modified time | relevance | path

Searched refs:nextS (Results 1 – 12 of 12) sorted by relevance

/external/skia/bench/
DMatrixBench.cpp101 fArray[0] = (float) fRnd.nextS(); in GetTypeMatrixBench()
102 fArray[1] = (float) fRnd.nextS(); in GetTypeMatrixBench()
103 fArray[2] = (float) fRnd.nextS(); in GetTypeMatrixBench()
104 fArray[3] = (float) fRnd.nextS(); in GetTypeMatrixBench()
105 fArray[4] = (float) fRnd.nextS(); in GetTypeMatrixBench()
106 fArray[5] = (float) fRnd.nextS(); in GetTypeMatrixBench()
107 fArray[6] = (float) fRnd.nextS(); in GetTypeMatrixBench()
108 fArray[7] = (float) fRnd.nextS(); in GetTypeMatrixBench()
109 fArray[8] = (float) fRnd.nextS(); in GetTypeMatrixBench()
DSortBench.cpp20 array[i] = rand.nextS(); in rand_proc()
/external/skia/tests/
DInfRectTest.cpp40 r.set(rand.nextS() >> 2, rand.nextS() >> 2, in test_center()
41 rand.nextS() >> 2, rand.nextS() >> 2); in test_center()
DMathTest.cpp476 int ix = rand.nextS(); in test_copysign()
537 p.setLength((SkScalar) rand.nextS(), in DEF_TEST()
538 (SkScalar) rand.nextS(), in DEF_TEST()
541 p.setLength((SkScalar) (rand.nextS() >> 13), in DEF_TEST()
542 (SkScalar) (rand.nextS() >> 13), in DEF_TEST()
561 SkFixed numer = rand.nextS(); in DEF_TEST()
562 SkFixed denom = rand.nextS(); in DEF_TEST()
656 const T numer = (T)rand.nextS(); in test_divmod()
659 denom = (T)rand.nextS(); in test_divmod()
DTDPQueueTest.cpp92 dummy->fPriority = random.nextS(); in random_test()
93 dummy->fValue = random.nextS(); in random_test()
144 array[item].fPriority = random.nextS(); in random_test()
DClampRangeTest.cpp91 SkFixed fx = rand.nextS() >> 1; in DEF_TEST()
92 SkFixed sx = rand.nextS() >> 1; in DEF_TEST()
DUtilsTest.cpp127 array[i] = rand.nextS(); in test_search()
145 int value = rand.nextS(); in test_search()
DSortTest.cpp22 array[j] = rand.nextS() & 0xFF; in rand_array()
DAAClipTest.cpp93 int x = rand.nextS() % n; in rand_rect()
94 int y = rand.nextS() % n; in rand_rect()
/external/skia/include/utils/
DSkRandom.h44 int32_t nextS() { return (int32_t)this->nextU(); } in nextS() function
52 S16CPU nextS16() { return this->nextS() >> 16; } in nextS16()
108 SkFixed nextSFixed1() { return this->nextS() >> 15; } in nextSFixed1()
142 int64_t hi = this->nextS(); in next64()
/external/skia/src/effects/
DSkDiscretePathEffect.cpp57 int32_t nextS() { return (int32_t)this->nextU(); } in nextS() function in LCGRandom
62 SkFixed nextSFixed1() { return this->nextS() >> 15; } in nextSFixed1()
/external/skia/samplecode/
DSamplePathEffects.cpp111 SkScalar tmpY = y + SkIntToScalar(rand.nextS() % 25); in onOnceBeforeDraw()