Home
last modified time | relevance | path

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

/freebsd/contrib/ntp/libntp/
H A Dntp_random.c143 #define MAX_TYPES 5 /* max number of types above */ macro
319 #define MAX_TYPES 5 /* max number of types above */ macro
321 static long degrees[MAX_TYPES] = { DEG_0, DEG_1, DEG_2, DEG_3, DEG_4 };
322 static long seps [MAX_TYPES] = { SEP_0, SEP_1, SEP_2, SEP_3, SEP_4 };
360 state[-1] = MAX_TYPES * (rptr - state) + rand_type; in ntp_initstate()
393 long_arg_state[0] = MAX_TYPES * (rptr - state) + rand_type; in ntp_initstate()
422 register long type = new_state[0] % MAX_TYPES; in ntp_setstate()
423 register long rear = new_state[0] / MAX_TYPES; in ntp_setstate()
429 state[-1] = MAX_TYPES * (rptr - state) + rand_type; in ntp_setstate()
/freebsd/lib/libc/stdlib/
H A Drandom.c103 static const int degrees[MAX_TYPES] = { DEG_0, DEG_1, DEG_2, DEG_3, DEG_4 };
104 static const int seps[MAX_TYPES] = { SEP_0, SEP_1, SEP_2, SEP_3, SEP_4 };
105 static const int breaks[MAX_TYPES] = {
363 implicit.rst_state[-1] = MAX_TYPES * in initstate()
377 int_arg_state[0] = MAX_TYPES * in initstate()
407 uint32_t type = new_state[0] % MAX_TYPES; in setstate()
408 uint32_t rear = new_state[0] / MAX_TYPES; in setstate()
416 implicit.rst_state[-1] = MAX_TYPES * in setstate()
496 if (type > (MAX_TYPES - 1)) in allocatestate()
497 type = (MAX_TYPES - 1); in allocatestate()
H A Drandom.h64 #define MAX_TYPES 5 /* max number of types above */ macro