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

12

/external/chromium_org/third_party/skia/tests/
H A DInfRectTest.cpp40 r.set(rand.nextS() >> 2, rand.nextS() >> 2,
41 rand.nextS() >> 2, rand.nextS() >> 2);
H A DRTreeTest.cpp28 rect.fLeft = rand.nextS() % 1000;
29 rect.fRight = rand.nextS() % 1000;
30 rect.fTop = rand.nextS() % 1000;
31 rect.fBottom = rand.nextS() % 1000;
H A DClampRangeTest.cpp89 SkFixed fx = rand.nextS() >> 1;
90 SkFixed sx = rand.nextS() >> 1;
100 SkFixed fx = rand.nextS();
101 SkFixed dx = rand.nextS();
H A DBBoxHierarchyTest.cpp33 rect.fLeft = rand.nextS() % MAX_SIZE;
34 rect.fRight = rand.nextS() % MAX_SIZE;
35 rect.fTop = rand.nextS() % MAX_SIZE;
36 rect.fBottom = rand.nextS() % MAX_SIZE;
H A DSortTest.cpp20 array[j] = rand.nextS() & 0xFF;
H A DMathTest.cpp389 int ix = rand.nextS();
450 p.setLength((SkScalar) rand.nextS(),
451 (SkScalar) rand.nextS(),
454 p.setLength((SkScalar) (rand.nextS() >> 13),
455 (SkScalar) (rand.nextS() >> 13),
471 SkFixed numer = rand.nextS();
472 SkFixed denom = rand.nextS();
563 const T numer = (T)rand.nextS();
566 denom = (T)rand.nextS();
H A DUtilsTest.cpp127 array[i] = rand.nextS();
145 int value = rand.nextS();
/external/skia/tests/
H A DInfRectTest.cpp40 r.set(rand.nextS() >> 2, rand.nextS() >> 2,
41 rand.nextS() >> 2, rand.nextS() >> 2);
H A DRTreeTest.cpp28 rect.fLeft = rand.nextS() % 1000;
29 rect.fRight = rand.nextS() % 1000;
30 rect.fTop = rand.nextS() % 1000;
31 rect.fBottom = rand.nextS() % 1000;
H A DClampRangeTest.cpp89 SkFixed fx = rand.nextS() >> 1;
90 SkFixed sx = rand.nextS() >> 1;
100 SkFixed fx = rand.nextS();
101 SkFixed dx = rand.nextS();
H A DBBoxHierarchyTest.cpp33 rect.fLeft = rand.nextS() % MAX_SIZE;
34 rect.fRight = rand.nextS() % MAX_SIZE;
35 rect.fTop = rand.nextS() % MAX_SIZE;
36 rect.fBottom = rand.nextS() % MAX_SIZE;
H A DSortTest.cpp20 array[j] = rand.nextS() & 0xFF;
H A DMathTest.cpp389 int ix = rand.nextS();
450 p.setLength((SkScalar) rand.nextS(),
451 (SkScalar) rand.nextS(),
454 p.setLength((SkScalar) (rand.nextS() >> 13),
455 (SkScalar) (rand.nextS() >> 13),
471 SkFixed numer = rand.nextS();
472 SkFixed denom = rand.nextS();
563 const T numer = (T)rand.nextS();
566 denom = (T)rand.nextS();
H A DUtilsTest.cpp127 array[i] = rand.nextS();
145 int value = rand.nextS();
/external/chromium_org/third_party/skia/include/utils/
H A DSkRandom.h30 int32_t nextS() { return (int32_t)this->nextU(); } function in class:SkLCGRandom
38 S16CPU nextS16() { return this->nextS() >> 16; }
93 SkFixed nextSFixed1() { return this->nextS() >> 15; }
127 int64_t hi = this->nextS();
183 int32_t nextS() { return (int32_t)this->nextU(); } function in class:SkRandom
191 S16CPU nextS16() { return this->nextS() >> 16; }
247 SkFixed nextSFixed1() { return this->nextS() >> 15; }
281 int64_t hi = this->nextS();
/external/skia/include/utils/
H A DSkRandom.h30 int32_t nextS() { return (int32_t)this->nextU(); } function in class:SkLCGRandom
38 S16CPU nextS16() { return this->nextS() >> 16; }
93 SkFixed nextSFixed1() { return this->nextS() >> 15; }
127 int64_t hi = this->nextS();
183 int32_t nextS() { return (int32_t)this->nextU(); } function in class:SkRandom
191 S16CPU nextS16() { return this->nextS() >> 16; }
247 SkFixed nextSFixed1() { return this->nextS() >> 15; }
281 int64_t hi = this->nextS();
/external/chromium_org/third_party/skia/bench/
H A DMatrixBench.cpp220 fArray[0] = (float) fRnd.nextS();
221 fArray[1] = (float) fRnd.nextS();
222 fArray[2] = (float) fRnd.nextS();
223 fArray[3] = (float) fRnd.nextS();
224 fArray[4] = (float) fRnd.nextS();
225 fArray[5] = (float) fRnd.nextS();
226 fArray[6] = (float) fRnd.nextS();
227 fArray[7] = (float) fRnd.nextS();
228 fArray[8] = (float) fRnd.nextS();
H A DQuadTreeBench.cpp172 out.fLeft = rand.nextS() % GENERATE_EXTENTS;
173 out.fTop = rand.nextS() % GENERATE_EXTENTS;
H A DRTreeBench.cpp182 out.fLeft = rand.nextS() % GENERATE_EXTENTS;
183 out.fTop = rand.nextS() % GENERATE_EXTENTS;
H A DSortBench.cpp18 array[i] = rand.nextS();
/external/skia/bench/
H A DMatrixBench.cpp220 fArray[0] = (float) fRnd.nextS();
221 fArray[1] = (float) fRnd.nextS();
222 fArray[2] = (float) fRnd.nextS();
223 fArray[3] = (float) fRnd.nextS();
224 fArray[4] = (float) fRnd.nextS();
225 fArray[5] = (float) fRnd.nextS();
226 fArray[6] = (float) fRnd.nextS();
227 fArray[7] = (float) fRnd.nextS();
228 fArray[8] = (float) fRnd.nextS();
H A DQuadTreeBench.cpp172 out.fLeft = rand.nextS() % GENERATE_EXTENTS;
173 out.fTop = rand.nextS() % GENERATE_EXTENTS;
H A DRTreeBench.cpp182 out.fLeft = rand.nextS() % GENERATE_EXTENTS;
183 out.fTop = rand.nextS() % GENERATE_EXTENTS;
/external/chromium_org/third_party/skia/src/core/
H A DSkFloat.cpp294 int aa = rand.nextS() >> 14;
295 int bb = rand.nextS() >> 14;
318 aa = rand.nextS() >> 11;
323 bb = rand.nextS() >> 11;
/external/skia/src/core/
H A DSkFloat.cpp294 int aa = rand.nextS() >> 14;
295 int bb = rand.nextS() >> 14;
318 aa = rand.nextS() >> 11;
323 bb = rand.nextS() >> 11;

Completed in 400 milliseconds

12