Home
last modified time | relevance | path

Searched refs:rand_type (Results 1 – 3 of 3) sorted by relevance

/original-bsd/games/fortune/
H A Drnd.c173 static int rand_type = TYPE_3; variable
200 if( rand_type == TYPE_0 ) {
242 if( rand_type == TYPE_0 ) state[ -1 ] = rand_type;
249 rand_type = TYPE_0;
255 rand_type = TYPE_1;
261 rand_type = TYPE_2;
267 rand_type = TYPE_3;
272 rand_type = TYPE_4;
282 if( rand_type == TYPE_0 ) state[ -1 ] = rand_type;
311 if( rand_type == TYPE_0 ) state[ -1 ] = rand_type;
[all …]
/original-bsd/lib/libc/stdlib/
H A Drandom.c190 if (rand_type == TYPE_0)
235 if (rand_type == TYPE_0)
236 state[-1] = rand_type;
245 rand_type = TYPE_0;
249 rand_type = TYPE_1;
253 rand_type = TYPE_2;
257 rand_type = TYPE_3;
261 rand_type = TYPE_4;
268 if (rand_type == TYPE_0)
304 state[-1] = rand_type;
[all …]
/original-bsd/games/rogue/
H A Drandom.c40 static int rand_type = 3; variable
52 if (rand_type != 0) {
69 if (rand_type == 0) { in rrandom()