Searched refs:pmod (Results 1 – 1 of 1) sorted by relevance
/bionic/libc/netbsd/resolv/ |
D | res_random.c | 110 static u_int16_t pmod(u_int16_t, u_int16_t, u_int16_t); 118 pmod(u_int16_t gen, u_int16_t exp, u_int16_t mod) in pmod() function 194 ru_a = pmod(RU_AGEN, (tmp >> 16) & 0xfffe, RU_M); in res_initid() 217 ru_g = pmod(RU_GEN, j, RU_N); in res_initid() 246 result = permute15(ru_seed ^ pmod(ru_g, ru_seed2 + ru_x, RU_N)) | ru_msb; in res_randomid()
|