Searched refs:arc4random_uniform (Results 1 – 25 of 49) sorted by relevance
12
273 #undef arc4random_uniform285 u_int32_t arc4random_uniform(u_int32_t);292 #define arc4random_uniform arc4random_uniform macro
179 p->ru_x = arc4random_uniform(p->ru_m); in initid()192 j = arc4random_uniform(p->ru_n); in initid()
38 #define MLD_RANDOM_DELAY(X) (arc4random_uniform(X) + 1)
350 *lastport = first - arc4random_uniform(count);368 *lastport = first + arc4random_uniform(count);
111 stab = &db_symtabs[arc4random_uniform(nsymtabs)]; in db_randomsym()120 dfa.cnt = arc4random_uniform(nsyms); in db_randomsym()
41 arc4random_uniform(uint32_t upper_bound) in arc4random_uniform() function
78 KUSRCS+= arc4random_uniform.c
72 #define IGMP_RANDOM_DELAY(X) (arc4random_uniform(X) + 1)
63 i2 = arc4random_uniform(i + 1); in ip_randomid()
24 MLINKS+=arc4random.3 arc4random_uniform.3
245 next = x.now + 240 + arc4random_uniform(120); in app_RAND_pushback()
188 (hz << 9) - arc4random_uniform(hz << 5)); in arc4random_reinit()
233 timeout_add(&rnd_lopool_timeout, hz + arc4random_uniform(hz << 1)); in rnd_lopool_dequeue()
219 return (1 + arc4random_uniform(h)); in ssl_rand_choosenum()
158 n = arc4random_uniform(qlen(q)) + 1; in _getq_random()
407 if (arc4random_uniform(d) < fp_len) { in drop_early()
765 : (lo + arc4random_uniform(1 + hi - lo))); in intvl_random()766 tp->tv_usec = arc4random_uniform(1000000); in intvl_random()
204 return iplist_setcurpos(list, arc4random_uniform(list->nItems)); in iplist_setrandpos()
111 *p = token0cnv[arc4random_uniform(sizeof(token0cnv) - 1)]; in gentoken()113 *p = tokencnv[arc4random_uniform(sizeof(tokencnv) - 1)]; in gentoken()
101 uint32_t arc4random_uniform(uint32_t);
168 which = arc4random_uniform(bestcount); in choose_dh()
666 return (interval + arc4random_uniform((int)(r + .5)) - (r / 2.)); in scale_interval()675 return (interval + arc4random_uniform((int)(r + .5)) - (r / 2.)); in error_interval()
328 lastpid = randompid ? arc4random_uniform(PID_MAX) : in fork1()
168 i = arc4random_uniform(nfds); in poll_dispatch()
180 i = arc4random_uniform(sop->event_fds + 1); in select_dispatch()