Searched refs:pmod (Results 1 – 1 of 1) sorted by relevance
/bionic/libc/upstream-openbsd/lib/libc/net/ |
D | res_random.c | 106 static u_int16_t pmod(u_int16_t, u_int16_t, u_int16_t); 114 pmod(u_int16_t gen, u_int16_t exp, u_int16_t mod) in pmod() function 190 ru_a = pmod(RU_AGEN, (tmp >> 16) & 0xfffe, RU_M); in res_initid() 213 ru_g = pmod(RU_GEN, j, RU_N); in res_initid() 249 r = permute15(ru_seed ^ pmod(ru_g, ru_seed2 + ru_x, RU_N)) | ru_msb; in __res_randomid()
|