state 212 user/lib/libc/stdlib/random.c static long *state = &randtbl[1]; state 237 user/lib/libc/stdlib/random.c state[0] = x; state 239 user/lib/libc/stdlib/random.c state[0] = x; state 241 user/lib/libc/stdlib/random.c state[i] = 1103515245L * state[i - 1] + 12345L; state 242 user/lib/libc/stdlib/random.c fptr = &state[rand_sep]; state 243 user/lib/libc/stdlib/random.c rptr = &state[0]; state 287 user/lib/libc/stdlib/random.c void *ostate = (void *)(&state[-1]); state 296 user/lib/libc/stdlib/random.c state[-1] = rand_type; state 298 user/lib/libc/stdlib/random.c state[-1] = MAX_TYPES * (rptr - state) + rand_type; state 323 user/lib/libc/stdlib/random.c state = (long *) (long_arg_state + 1); /* first location */ state 324 user/lib/libc/stdlib/random.c end_ptr = &state[rand_deg]; /* must set end_ptr before srandom */ state 329 user/lib/libc/stdlib/random.c long_arg_state[0] = MAX_TYPES * (rptr - state) + rand_type; state 359 user/lib/libc/stdlib/random.c void *ostate = (void *)(&state[-1]); state 369 user/lib/libc/stdlib/random.c state[-1] = rand_type; state 371 user/lib/libc/stdlib/random.c state[-1] = MAX_TYPES * (rptr - state) + rand_type; state 386 user/lib/libc/stdlib/random.c state = (long *) (new_state + 1); state 388 user/lib/libc/stdlib/random.c rptr = &state[rear]; state 389 user/lib/libc/stdlib/random.c fptr = &state[(rear + rand_sep) % rand_deg]; state 391 user/lib/libc/stdlib/random.c end_ptr = &state[rand_deg]; /* set end_ptr too */ state 421 user/lib/libc/stdlib/random.c i = state[0]; state 422 user/lib/libc/stdlib/random.c state[0] = i = (i * 1103515245L + 12345L) & 0x7fffffff; state 432 user/lib/libc/stdlib/random.c f = state; state 436 user/lib/libc/stdlib/random.c r = state;