Home
last modified time | relevance | path

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

/freebsd/lib/libc/gen/
H A D_rand48.c31 unsigned long accu; in _dorand48() local
34 accu = (unsigned long) _rand48_mult[0] * (unsigned long) xseed[0] + in _dorand48()
36 temp[0] = (unsigned short) accu; /* lower 16 bits */ in _dorand48()
37 accu >>= sizeof(unsigned short) * 8; in _dorand48()
38 accu += (unsigned long) _rand48_mult[0] * (unsigned long) xseed[1] + in _dorand48()
40 temp[1] = (unsigned short) accu; /* middle 16 bits */ in _dorand48()
41 accu >>= sizeof(unsigned short) * 8; in _dorand48()
42 accu += _rand48_mult[0] * xseed[2] + _rand48_mult[1] * xseed[1] + _rand48_mult[2] * xseed[0]; in _dorand48()
45 xseed[2] = (unsigned short) accu; in _dorand48()
/freebsd/contrib/ntp/libntp/
H A Dvint64ops.c85 uint32_t accu; in strtouv64()
86 accu = (uint32_t)res.W_s.ll * base; in strtouv64()
87 res.W_s.ll = (uint16_t)accu; in strtouv64()
88 accu = (accu >> 16) in strtouv64()
90 res.W_s.lh = (uint16_t)accu; in strtouv64()
92 res.D_s.hi = res.D_s.hi * base + (accu >> 16); in strtouv64()
84 uint32_t accu; strtouv64() local
/freebsd/contrib/ntp/ntpd/
H A Drefclock_gpsdjson.c1095 json_uint accu, limit_lo, limit_hi; in strtojint() local
1123 accu = 0; in strtojint()
1125 flags |= (accu > limit_lo); in strtojint()
1126 accu = accu * 10 + (*(const u_char*)cp++ - '0'); in strtojint()
1127 flags |= (accu > limit_hi); in strtojint()
1137 accu = limit_hi; in strtojint()
1145 if ((flags & 2) && accu) in strtojint()
1146 return -(json_int)(accu - 1) - 1; in strtojint()
1148 return (json_int)accu; in strtojint()