random 48 usr/lib/libc/stdlib/random.c (void)random(); random 76 usr/sample/balls/balls.c x = random() % max_x; random 77 usr/sample/balls/balls.c y = random() % max_y; random 78 usr/sample/balls/balls.c delta_x = (random() % 10) + 1; random 79 usr/sample/balls/balls.c delta_y = (random() % 10) + 1; random 80 usr/sample/balls/balls.c wait_msec = (u_long)((random() % 20) + 1); random 140 usr/sample/tetris/tetris.h #define randshape() (&shapes[random() % 7]) random 44 usr/test/attack/attack.c object_t *objp = (object_t *)random(); random 45 usr/test/attack/attack.c object_t obj = (object_t)random(); random 46 usr/test/attack/attack.c char *name = (char *)random(); random 47 usr/test/attack/attack.c void *msg = (void *)random(); random 48 usr/test/attack/attack.c size_t size = (size_t)random(); random 50 usr/test/attack/attack.c void *addr = (void *)random(); random 51 usr/test/attack/attack.c int attr = random() & 7; random 52 usr/test/attack/attack.c thread_t t = (thread_t)random(); random 53 usr/test/attack/attack.c thread_t *tp = (thread_t *)random(); random 95 usr/test/malloc/malloc.c ptr[i] = alloc(random() & 0xf); random 100 usr/test/malloc/malloc.c ptr[i] = alloc(random() & 0xff); random 105 usr/test/malloc/malloc.c ptr[i] = alloc(random() & 0xfff); random 110 usr/test/malloc/malloc.c ptr[i] = alloc(random() & 0xfff); random 112 usr/test/malloc/malloc.c j = random() % NR_ALLOCS;