OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nextU
(Results
1 - 25
of
96
) sorted by null
1
2
3
4
/external/skia/include/utils/
SkRandom.h
36
uint32_t
nextU
() {
44
int32_t nextS() { return (int32_t)this->
nextU
(); }
48
U16CPU nextU16() { return this->
nextU
() >> 16; }
58
unsigned int floatint = 0x3f800000 | (this->
nextU
() >> 9);
76
return this->
nextU
() >> (32 - bitCount);
86
return this->
nextU
();
88
return min + this->
nextU
() % range;
103
SkFixed nextUFixed1() { return this->
nextU
() >> 16; }
129
bool nextBool() { return this->
nextU
() >= 0x80000000; }
143
return (hi << 32) | this->
nextU
();
[
all
...]
/external/skia/fuzz/
Fuzz.h
21
uint32_t
nextU
();
/external/skia/bench/
ColorPrivBench.cpp
31
fSrcs[i] = SkPreMultiplyColor(rand.
nextU
());
32
fDsts[i] = SkPreMultiplyColor(rand.
nextU
());
TopoSortBench.cpp
37
int numEdges = fRand.
nextU
() % (kMaxEdges+1);
40
int dep = fRand.
nextU
() % i;
RegionBench.cpp
84
int x = rand.
nextU
() % W;
85
int y = rand.
nextU
() % H;
86
int w = rand.
nextU
() % W;
87
int h = rand.
nextU
() % H;
RectBench.cpp
55
int x = rand.
nextU
() % W;
56
int y = rand.
nextU
() % H;
57
int w = rand.
nextU
() % W;
58
int h = rand.
nextU
() % H;
66
fColors[i] = rand.
nextU
() | 0xFF808080;
259
alpha = rand.
nextU
() & 255;
ChecksumBench.cpp
31
fData[i] = rand.
nextU
();
FSRectBench.cpp
36
fColors[i] = rand.
nextU
() | 0xFF000000;
PathIterBench.cpp
19
int n = rand.
nextU
() & 3;
RegionContainBench.cpp
32
int w = rand.
nextU
() % W;
/external/skia/tests/
ChecksumTest.cpp
28
data[i] = tweaked[i] = rand.
nextU
();
45
tweaked[j] = rand.
nextU
();
ColorTest.cpp
52
SkColor colorSrc = r.
nextU
();
53
SkColor colorDst = r.
nextU
();
69
SkColor colorSrc = r.
nextU
();
70
SkColor colorDst = r.
nextU
();
RandomTest.cpp
65
bins[(rand.
nextU
() >> shift) & 0xff]++;
116
unsigned int rnd = rand.
nextU
();
123
unsigned int rnd = rand.
nextU
();
GrGetCoeffBlendKnownComponentsTest.cpp
38
GrColor src = GrPremulColor(random.
nextU
());
39
GrColor dst = GrPremulColor(random.
nextU
());
RegionTest.cpp
110
int x = rand.
nextU
() % W;
111
int y = rand.
nextU
() % H;
112
int w = rand.
nextU
() % W;
113
int h = rand.
nextU
() % H;
207
rect->set(rand.
nextU
() >> shift, rand.
nextU
() >> shift,
208
rand.
nextU
() >> shift, rand.
nextU
() >> shift);
/external/skia/gm/
arcofzorro.cpp
45
SkColor color = rand.
nextU
();
beziers.cpp
24
paint->setColor(rand.
nextU
());
38
paint->setColor(rand.
nextU
());
discard.cpp
61
SkColor color = sk_tool_utils::color_to_565(rand.
nextU
() | 0xFF404040);
degeneratesegments.cpp
321
StyleAndName style = gStyles[(rand.
nextU
() >> 16) % numStyles];
322
CapAndName cap = gCaps[(rand.
nextU
() >> 16) % numCaps];
323
FillAndName fill = gFills[(rand.
nextU
() >> 16) % numFills];
325
unsigned s1 = (rand.
nextU
() >> 16) % numSegments;
326
unsigned s2 = (rand.
nextU
() >> 16) % numSegments;
327
unsigned s3 = (rand.
nextU
() >> 16) % numSegments;
328
unsigned s4 = (rand.
nextU
() >> 16) % numSegments;
329
unsigned s5 = (rand.
nextU
() >> 16) % numSegments;
/external/skia/samplecode/
SampleClip.cpp
28
paint.setColor((SK_A32_MASK << SK_A32_SHIFT) | rand.
nextU
());
46
paint.setColor(rand.
nextU
());
51
paint.setColor(rand.
nextU
());
75
paint.setColor(rand.
nextU
());
80
paint.setColor(rand.
nextU
());
88
paint.setColor(rand.
nextU
());
SampleAnimBlur.cpp
55
paint.setColor(random.
nextU
() | 0xff000000);
SampleManyRects.cpp
64
paint.setColor(fRandom.
nextU
());
SampleTextAlpha.cpp
64
paint.setColor(rand.
nextU
() | (0xFF << 24));
/external/skia/src/effects/
SkDiscretePathEffect.cpp
53
uint32_t
nextU
() { uint32_t r = fSeed * kMul + kAdd; fSeed = r; return r; }
57
int32_t nextS() { return (int32_t)this->
nextU
(); }
/external/skia/src/gpu/vk/
GrVkResource.h
51
fKey = fRandom.
nextU
();
Completed in 6403 milliseconds
1
2
3
4