Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/ntp/libntp/
H A Dntp_random.c118 #define TYPE_0 0 /* linear congruential */ macro
266 if (rand_type == TYPE_0) { in ntp_srandom()
357 if (rand_type == TYPE_0) in ntp_initstate()
367 rand_type = TYPE_0; in ntp_initstate()
390 if (rand_type == TYPE_0) in ntp_initstate()
426 if (rand_type == TYPE_0) in ntp_setstate()
431 case TYPE_0: in ntp_setstate()
445 if (rand_type != TYPE_0) { in ntp_setstate()
478 if (rand_type == TYPE_0) { in ntp_random()
/freebsd-14.2/lib/libc/stdlib/
H A Drandom.c217 if (estate->rst_type == TYPE_0) in srandom_r()
255 if (estate->rst_type == TYPE_0) in srandomdev_r()
274 if (estate->rst_type != TYPE_0) { in srandomdev_r()
307 estate->rst_type = TYPE_0; in initstate_r()
363 if (implicit.rst_type == TYPE_0) in initstate()
377 if (implicit.rst_type == TYPE_0) in initstate()
414 if (type != TYPE_0 && rear >= degrees[type]) in setstate()
416 if (implicit.rst_type == TYPE_0) in setstate()
426 if (implicit.rst_type != TYPE_0) { in setstate()
458 if (estate->rst_type == TYPE_0) { in random_r()
H A Drandom.h35 #define TYPE_0 0 /* linear congruential */ macro