Home
last modified time | relevance | path

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

/external/skqp/bench/
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()
DSortBench.cpp21 array[i] = rand.nextS(); in rand_proc()
/external/skia/bench/
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()
DSortBench.cpp21 array[i] = rand.nextS(); in rand_proc()
/external/skqp/tests/
DWindowRectanglesTest.cpp16 return {r.nextS(), r.nextS(), r.nextS(), r.nextS()}; in next_irect()
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()
165 dummy->fPriority = random.nextS(); in sort_test()
166 dummy->fValue = random.nextS(); in sort_test()
DMathTest.cpp349 int ix = rand.nextS(); in test_copysign()
412 int value = rand.nextS() >> 16; in DEF_TEST()
425 p.setLength((SkScalar) rand.nextS(), in DEF_TEST()
426 (SkScalar) rand.nextS(), in DEF_TEST()
429 p.setLength((SkScalar) (rand.nextS() >> 13), in DEF_TEST()
430 (SkScalar) (rand.nextS() >> 13), in DEF_TEST()
457 SkFixed numer = rand.nextS(); in DEF_TEST()
458 SkFixed denom = rand.nextS(); in DEF_TEST()
550 const T numer = (T)rand.nextS(); in test_divmod()
553 denom = (T)rand.nextS(); in test_divmod()
DUtilsTest.cpp126 array[i] = rand.nextS(); in test_search()
144 int value = rand.nextS(); in test_search()
DSortTest.cpp22 array[j] = rand.nextS() & 0xFF; in rand_array()
DAAClipTest.cpp105 int x = rand.nextS() % n; in rand_rect()
106 int y = rand.nextS() % n; in rand_rect()
/external/skia/tests/
DWindowRectanglesTest.cpp16 return {r.nextS(), r.nextS(), r.nextS(), r.nextS()}; in next_irect()
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()
165 dummy->fPriority = random.nextS(); in sort_test()
166 dummy->fValue = random.nextS(); in sort_test()
DMathTest.cpp349 int ix = rand.nextS(); in test_copysign()
412 int value = rand.nextS() >> 16; in DEF_TEST()
425 p.setLength((SkScalar) rand.nextS(), in DEF_TEST()
426 (SkScalar) rand.nextS(), in DEF_TEST()
429 p.setLength((SkScalar) (rand.nextS() >> 13), in DEF_TEST()
430 (SkScalar) (rand.nextS() >> 13), in DEF_TEST()
457 SkFixed numer = rand.nextS(); in DEF_TEST()
458 SkFixed denom = rand.nextS(); in DEF_TEST()
551 const T numer = (T)rand.nextS(); in test_divmod()
554 denom = (T)rand.nextS(); in test_divmod()
DUtilsTest.cpp126 array[i] = rand.nextS(); in test_search()
144 int value = rand.nextS(); in test_search()
DSortTest.cpp22 array[j] = rand.nextS() & 0xFF; in rand_array()
DAAClipTest.cpp105 int x = rand.nextS() % n; in rand_rect()
106 int y = rand.nextS() % n; in rand_rect()
/external/skqp/include/utils/
DSkRandom.h46 int32_t nextS() { return (int32_t)this->nextU(); } in nextS() function
151 SkFixed nextSFixed1() { return this->nextS() >> 15; } in nextSFixed1()
/external/skia/include/utils/
DSkRandom.h46 int32_t nextS() { return (int32_t)this->nextU(); } in nextS() function
151 SkFixed nextSFixed1() { return this->nextS() >> 15; } in nextSFixed1()
/external/skia/src/effects/
DSkDiscretePathEffect.cpp69 int32_t nextS() { return (int32_t)this->nextU(); } in nextS() function in LCGRandom
74 SkFixed nextSFixed1() { return this->nextS() >> 15; } in nextSFixed1()
/external/skqp/src/effects/
DSkDiscretePathEffect.cpp69 int32_t nextS() { return (int32_t)this->nextU(); } in nextS() function in LCGRandom
74 SkFixed nextSFixed1() { return this->nextS() >> 15; } in nextSFixed1()
/external/skqp/samplecode/
DSamplePathEffects.cpp90 SkScalar tmpY = y + SkIntToScalar(rand.nextS() % 25); in onOnceBeforeDraw()
/external/skia/samplecode/
DSamplePathEffects.cpp90 SkScalar tmpY = y + SkIntToScalar(rand.nextS() % 25); in onOnceBeforeDraw()