Home
last modified time | relevance | path

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

/freebsd/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/lib/libc/stdlib/
H A Drandom.c214 if (estate->rst_type == TYPE_0) in srandom_r()
252 if (estate->rst_type == TYPE_0) in srandomdev_r()
271 if (estate->rst_type != TYPE_0) { in srandomdev_r()
304 estate->rst_type = TYPE_0; in initstate_r()
360 if (implicit.rst_type == TYPE_0) in initstate()
374 if (implicit.rst_type == TYPE_0) in initstate()
411 if (type != TYPE_0 && rear >= degrees[type]) in setstate()
413 if (implicit.rst_type == TYPE_0) in setstate()
423 if (implicit.rst_type != TYPE_0) { in setstate()
455 if (estate->rst_type == TYPE_0) { in random_r()
H A Drandom.h35 #define TYPE_0 0 /* linear congruential */ macro