OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:rand
(Results
1 - 25
of
145
) sorted by relevancy
1
2
3
4
5
6
/xsrc/external/mit/xf86-video-intel/dist/test/
basic-stippledrect.c
71
int x =
rand
() % out.width;
72
int y =
rand
() % out.height;
73
int w =
rand
() % (out.width - x);
74
int h =
rand
() % (out.height - y);
75
int tx =
rand
() % (2*out.width) - out.width;
76
int ty =
rand
() % (2*out.height) - out.height;
77
uint8_t stipple =
rand
() % 4;
78
uint8_t opaque =
rand
() % 1;
79
uint8_t alu =
rand
() % (GXset + 1);
80
uint32_t fg =
rand
();
[
all
...]
mixed-stress.c
49
int x =
rand
() % (2*out->width) - out->width;
50
int y =
rand
() % (2*out->height) - out->height;
51
int w =
rand
() % (2*out->width);
52
int h =
rand
() % (2*out->height);
53
int red =
rand
() & 0xff;
54
int green =
rand
() & 0xff;
55
int blue =
rand
() & 0xff;
56
int alpha =
rand
() & 0xff;
85
int x =
rand
() % (2*out->width) - out->width;
86
int y =
rand
() % (2*out->height) - out->height
[
all
...]
basic-stress.c
33
int x =
rand
() % (2*out->width) - out->width;
34
int y =
rand
() % (2*out->height) - out->height;
35
int w =
rand
() % (2*out->width);
36
int h =
rand
() % (2*out->height);
37
int color =
rand
();
38
int alu =
rand
() % 16;
47
int sx =
rand
() % (2*out->width) - ref->width;
48
int sy =
rand
() % (2*out->height) - ref->height;
49
int dx =
rand
() % (2*out->width) - ref->width;
50
int dy =
rand
() % (2*out->height) - ref->height
[
all
...]
basic-tiledrect.c
136
int x =
rand
() % out.width;
137
int y =
rand
() % out.height;
138
int w =
rand
() % out.width;
139
int h =
rand
() % 8;
140
int tx =
rand
() % (2*out.width) - out.width;
141
int ty =
rand
() % (2*out.height) - out.height;
142
uint8_t tile =
rand
();
143
uint8_t alu =
rand
() % (GXset + 1);
144
uint32_t fg =
rand
();
145
uint32_t bg =
rand
();
[
all
...]
render-composite-solid-mask.c
65
int x =
rand
() % (2*out.width) - out.width;
66
int y =
rand
() % (2*out.height) - out.height;
67
int w =
rand
() % out.width;
68
int h =
rand
() % out.height;
69
int op = ops[
rand
() % sizeof(ops)];
70
int s_red =
rand
() % 0xff;
71
int s_green =
rand
() % 0xff;
72
int s_blue =
rand
() % 0xff;
73
int s_alpha =
rand
() % 0xff;
74
int m_red =
rand
() % 0xff
[
all
...]
basic-rectangle.c
47
int x =
rand
() % (2*out.width) - out.width;
48
int y =
rand
() % (2*out.height) - out.height;
49
uint8_t alu =
rand
() % (GXset + 1);
50
uint32_t fg =
rand
();
51
uint32_t lw =
rand
() % 4;
88
int x =
rand
() % (2*out.width) - out.width;
89
int y =
rand
() % (2*out.height) - out.height;
90
int w =
rand
() % (2*out.width);
91
uint8_t alu =
rand
() % (GXset + 1);
92
uint32_t fg =
rand
();
[
all
...]
render-composite-solid.c
51
int x =
rand
() % (tt.width - 1);
52
int y =
rand
() % (tt.height - 1);
53
int red =
rand
() % 0xff;
54
int green =
rand
() % 0xff;
55
int blue =
rand
() % 0xff;
56
int alpha =
rand
() % 0xff;
125
int w =
rand
() % tt.width;
126
int h =
rand
() % tt.height;
127
int red =
rand
() % 0xff;
128
int green =
rand
() % 0xff
[
all
...]
render-fill.c
48
int x =
rand
() % (tt.width - 1);
49
int y =
rand
() % (tt.height - 1);
50
int red =
rand
() % 0xff;
51
int green =
rand
() % 0xff;
52
int blue =
rand
() % 0xff;
53
int alpha =
rand
() % 0xff;
117
int w =
rand
() % tt.width;
118
int h =
rand
() % tt.height;
119
int red =
rand
() % 0xff;
120
int green =
rand
() % 0xff
[
all
...]
render-copyarea-mask.c
95
uint8_t red =
rand
();
96
uint8_t green =
rand
();
97
uint8_t blue =
rand
();
98
uint8_t alpha =
rand
();
102
x =
rand
() % (out.width - 1);
103
y =
rand
() % (out.height - 1);
104
w = 1 +
rand
() % (out.width - x - 1);
105
h = 1 +
rand
() % (out.height - y - 1);
106
tmpx = w == out.width ? 0 :
rand
() % (out.width - w);
107
tmpy = h == out.height ? 0 :
rand
() % (out.height - h)
[
all
...]
/xsrc/external/mit/xf86-video-intel-2014/dist/test/
basic-stippledrect.c
71
int x =
rand
() % out.width;
72
int y =
rand
() % out.height;
73
int w =
rand
() % (out.width - x);
74
int h =
rand
() % (out.height - y);
75
int tx =
rand
() % (2*out.width) - out.width;
76
int ty =
rand
() % (2*out.height) - out.height;
77
uint8_t stipple =
rand
() % 4;
78
uint8_t opaque =
rand
() % 1;
79
uint8_t alu =
rand
() % (GXset + 1);
80
uint32_t fg =
rand
();
[
all
...]
mixed-stress.c
49
int x =
rand
() % (2*out->width) - out->width;
50
int y =
rand
() % (2*out->height) - out->height;
51
int w =
rand
() % (2*out->width);
52
int h =
rand
() % (2*out->height);
53
int red =
rand
() & 0xff;
54
int green =
rand
() & 0xff;
55
int blue =
rand
() & 0xff;
56
int alpha =
rand
() & 0xff;
85
int x =
rand
() % (2*out->width) - out->width;
86
int y =
rand
() % (2*out->height) - out->height
[
all
...]
basic-stress.c
33
int x =
rand
() % (2*out->width) - out->width;
34
int y =
rand
() % (2*out->height) - out->height;
35
int w =
rand
() % (2*out->width);
36
int h =
rand
() % (2*out->height);
37
int color =
rand
();
38
int alu =
rand
() % 16;
47
int sx =
rand
() % (2*out->width) - ref->width;
48
int sy =
rand
() % (2*out->height) - ref->height;
49
int dx =
rand
() % (2*out->width) - ref->width;
50
int dy =
rand
() % (2*out->height) - ref->height
[
all
...]
basic-tiledrect.c
136
int x =
rand
() % out.width;
137
int y =
rand
() % out.height;
138
int w =
rand
() % out.width;
139
int h =
rand
() % 8;
140
int tx =
rand
() % (2*out.width) - out.width;
141
int ty =
rand
() % (2*out.height) - out.height;
142
uint8_t tile =
rand
();
143
uint8_t alu =
rand
() % (GXset + 1);
144
uint32_t fg =
rand
();
145
uint32_t bg =
rand
();
[
all
...]
render-composite-solid-mask.c
65
int x =
rand
() % (2*out.width) - out.width;
66
int y =
rand
() % (2*out.height) - out.height;
67
int w =
rand
() % out.width;
68
int h =
rand
() % out.height;
69
int op = ops[
rand
() % sizeof(ops)];
70
int s_red =
rand
() % 0xff;
71
int s_green =
rand
() % 0xff;
72
int s_blue =
rand
() % 0xff;
73
int s_alpha =
rand
() % 0xff;
74
int m_red =
rand
() % 0xff
[
all
...]
basic-rectangle.c
47
int x =
rand
() % (2*out.width) - out.width;
48
int y =
rand
() % (2*out.height) - out.height;
49
uint8_t alu =
rand
() % (GXset + 1);
50
uint32_t fg =
rand
();
51
uint32_t lw =
rand
() % 4;
88
int x =
rand
() % (2*out.width) - out.width;
89
int y =
rand
() % (2*out.height) - out.height;
90
int w =
rand
() % (2*out.width);
91
uint8_t alu =
rand
() % (GXset + 1);
92
uint32_t fg =
rand
();
[
all
...]
render-composite-solid.c
51
int x =
rand
() % (tt.width - 1);
52
int y =
rand
() % (tt.height - 1);
53
int red =
rand
() % 0xff;
54
int green =
rand
() % 0xff;
55
int blue =
rand
() % 0xff;
56
int alpha =
rand
() % 0xff;
125
int w =
rand
() % tt.width;
126
int h =
rand
() % tt.height;
127
int red =
rand
() % 0xff;
128
int green =
rand
() % 0xff
[
all
...]
render-fill.c
48
int x =
rand
() % (tt.width - 1);
49
int y =
rand
() % (tt.height - 1);
50
int red =
rand
() % 0xff;
51
int green =
rand
() % 0xff;
52
int blue =
rand
() % 0xff;
53
int alpha =
rand
() % 0xff;
117
int w =
rand
() % tt.width;
118
int h =
rand
() % tt.height;
119
int red =
rand
() % 0xff;
120
int green =
rand
() % 0xff
[
all
...]
render-trapezoid.c
95
int x =
rand
() % (tt.width - 1);
96
int y =
rand
() % (tt.height - 1);
97
int red =
rand
() % 0xff;
98
int green =
rand
() % 0xff;
99
int blue =
rand
() % 0xff;
100
int alpha =
rand
() % 0xff;
167
int w =
rand
() % tt.width;
168
int h =
rand
() % tt.height;
169
int red =
rand
() % 0xff;
170
int green =
rand
() % 0xff
[
all
...]
/xsrc/external/mit/freetype/dist/src/psaux/
psread.c
59
return (double)
rand
() / RAND_MAX < .00;
66
return (double)
rand
() / RAND_MAX < .00 ?
rand
() : 0;
/xsrc/external/mit/MesaLib/dist/src/util/tests/fast_urem_by_const/
fast_urem_by_const_test.cpp
38
int k =
rand
() % 64;
40
return min + (
rand
() % 16);
42
return UINT32_MAX - (
rand
() % 16);
46
r = 1ull << (
rand
() % 32);
54
r |= ((uint32_t)
rand
() & 0xf) << i * 8;
55
return r >> (31 - (
rand
() % 32));
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/
r600_test_dma.c
161
switch (
rand
() % 4) {
214
bool do_partial_copies =
rand
() & 1;
220
bpp = 1 << (
rand
() % 5);
224
max_tex_layers =
rand
() % 4 ? 1 : 5;
226
tsrc.width0 = (
rand
() % max_tex_side_gen) + 1;
227
tsrc.height0 = (
rand
() % max_tex_side_gen) + 1;
228
tsrc.array_size = (
rand
() % max_tex_layers) + 1;
231
if (
rand
() % 4 == 0) {
241
max_tex_layers =
rand
() % 4 ? 1 : 5;
244
tdst.width0 = (
rand
() % max_tex_side_gen) + 1
[
all
...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
si_test_blit.c
118
return formats[
rand
() % ARRAY_SIZE(formats)];
158
switch (
rand
() % 4) {
211
bool do_partial_copies =
rand
() & 1;
220
max_tex_layers =
rand
() % 4 ? 1 : 5;
222
tsrc.width0 = (
rand
() % max_tex_side_gen) + 1;
223
tsrc.height0 = (
rand
() % max_tex_side_gen) + 1;
224
tsrc.array_size = (
rand
() % max_tex_layers) + 1;
230
if (
rand
() % 4 == 0) {
240
max_tex_layers =
rand
() % 4 ? 1 : 5;
243
tdst.width0 = (
rand
() % max_tex_side_gen) + 1
[
all
...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/
r600_test_dma.c
161
switch (
rand
() % 4) {
215
bool do_partial_copies =
rand
() & 1;
221
bpp = 1 << (
rand
() % 5);
225
max_tex_layers =
rand
() % 4 ? 1 : 5;
227
tsrc.width0 = (
rand
() % max_tex_side_gen) + 1;
228
tsrc.height0 = (
rand
() % max_tex_side_gen) + 1;
229
tsrc.array_size = (
rand
() % max_tex_layers) + 1;
232
if (
rand
() % 4 == 0) {
242
max_tex_layers =
rand
() % 4 ? 1 : 5;
245
tdst.width0 = (
rand
() % max_tex_side_gen) + 1
[
all
...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/
si_test_dma.c
176
switch (
rand
() % 4) {
230
bool do_partial_copies =
rand
() & 1;
236
bpp = 1 << (
rand
() % 5);
240
max_tex_layers =
rand
() % 4 ? 1 : 5;
242
tsrc.width0 = (
rand
() % max_tex_side_gen) + 1;
243
tsrc.height0 = (
rand
() % max_tex_side_gen) + 1;
244
tsrc.array_size = (
rand
() % max_tex_layers) + 1;
247
if (
rand
() % 4 == 0) {
257
max_tex_layers =
rand
() % 4 ? 1 : 5;
260
tdst.width0 = (
rand
() % max_tex_side_gen) + 1
[
all
...]
/xsrc/external/mit/mesa-demos/dist/src/redbook/
pointp.c
83
glColor3f (1.0, ((
rand
()/(float) RAND_MAX) * 0.5) + 0.5,
84
rand
()/(float) RAND_MAX);
87
glVertex3f ( ((
rand
()/(float)RAND_MAX) * 10.0) - 5.0,
88
((
rand
()/(float)RAND_MAX) * 10.0) - 5.0,
89
((
rand
()/(float)RAND_MAX) * 40.0) - 45.0);
Completed in 13 milliseconds
1
2
3
4
5
6
Indexes created Sat Apr 04 00:22:49 UTC 2026