HomeSort by relevance Sort by last modified time
    Searched refs:nextU (Results 1 - 20 of 20) sorted by null

  /external/skia/gpu/include/
GrRandom.h 28 uint32_t nextU() {
33 int32_t nextS() { return (int32_t)this->nextU(); }
40 return (float)(this->nextU() * 2.32830644e-10);
  /external/skia/include/core/
SkRandom.h 36 uint32_t nextU() { uint32_t r = fSeed * kMul + kAdd; fSeed = r; return r; }
40 int32_t nextS() { return (int32_t)this->nextU(); }
44 U16CPU nextU16() { return this->nextU() >> 16; }
56 return this->nextU() >> (32 - bitCount);
64 return min + this->nextU() % (max - min + 1);
70 SkFixed nextUFixed1() { return this->nextU() >> 16; }
91 a->set(this->nextS(), this->nextU());
  /external/skia/tests/
RegionTest.cpp 8 rect->set(rand.nextU() >> shift, rand.nextU() >> shift,
9 rand.nextU() >> shift, rand.nextU() >> shift);
StreamTest.cpp 11 *p++ = (char)(rand.nextU() >> 8);
24 int size = rand.nextU() % MAX_SIZE;
29 int bufferSize = 1 + (rand.nextU() & 0xFFFF);
35 int s = 17 + (rand.nextU() & 0xFFFF);
60 copyPtr += buff.read(copyPtr, rand.nextU() & 15);
ClampRangeTest.cpp 109 int count = rand.nextU() % 1000 + 1;
118 int count = rand.nextU() % 1000 + 1;
PackBitsTest.cpp 13 buffer[i] = (uint16_t)gRand.nextU();
63 buffer[i] = (uint8_t)((gRand.nextU() >> 8) & 0x3);
108 size_t skip = gRand.nextU() % size;
109 size_t write = gRand.nextU() % size;
ColorFilterTest.cpp 37 SkColor color = rand.nextU();
MathTest.cpp 79 data.fSignBitInt = rand.nextU();
176 int ival = rand.nextU() & 0xFFFFFF;
448 SkFract x = rand.nextU() >> 1;
Sk64Test.cpp 127 int bits = rand.nextU() & 63;
  /external/skia/bench/
RectBench.cpp 23 int x = rand.nextU() % W;
24 int y = rand.nextU() % H;
25 int w = rand.nextU() % W;
26 int h = rand.nextU() % H;
34 fColors[i] = rand.nextU() | 0xFF808080;
184 alpha = rand.nextU() & 255;
  /external/skia/samplecode/
SampleFontCache.cpp 17 text[j] = (uint16_t)((rand.nextU() & 0xFF) + 32);
36 text[j] = (uint16_t)((rand.nextU() & 0xFF) + 32);
SampleTextAlpha.cpp 72 paint.setColor(rand.nextU() | (0xFF << 24));
SampleFuzz.cpp 121 paint.setAlpha(gRand.nextU() & 0xFF);
SamplePicture.cpp 224 rand.nextU() | 0xFF000000);
SampleApp.cpp     [all...]
SampleDraw.cpp 274 return (SkColor)fRand.nextU() | 0xFF000000;
SampleTextOnPath.cpp 27 text[i] = rand.nextU() & 0x7F;
  /external/skia/gpu/src/
GrMatrix.cpp 538 MatrixType type = (MatrixType)(rand.nextU() % kMatrixTypeCount);
615 int num = rand.nextU() % 6;
GrGpu.cpp 365 #define SET_RANDOM_COLOR this->setColor(0xff000000 | gRandom.nextU());
GrRedBlackTree.h 965 int x = r.nextU()%100;
    [all...]

Completed in 405 milliseconds