Home
last modified time | relevance | path

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

/NextBSD/lib/libc/gen/
HD_rand48.c34 unsigned long accu; in _dorand48() local
37 accu = (unsigned long) _rand48_mult[0] * (unsigned long) xseed[0] + in _dorand48()
39 temp[0] = (unsigned short) accu; /* lower 16 bits */ in _dorand48()
40 accu >>= sizeof(unsigned short) * 8; in _dorand48()
41 accu += (unsigned long) _rand48_mult[0] * (unsigned long) xseed[1] + in _dorand48()
43 temp[1] = (unsigned short) accu; /* middle 16 bits */ in _dorand48()
44 accu >>= sizeof(unsigned short) * 8; in _dorand48()
45 accu += _rand48_mult[0] * xseed[2] + _rand48_mult[1] * xseed[1] + _rand48_mult[2] * xseed[0]; in _dorand48()
48 xseed[2] = (unsigned short) accu; in _dorand48()
/NextBSD/contrib/gcc/
HDunwind-dw2-fde.c394 start_fde_sort (struct fde_accumulator *accu, size_t count) in start_fde_sort() argument
401 if ((accu->linear = malloc (size))) in start_fde_sort()
403 accu->linear->count = 0; in start_fde_sort()
404 if ((accu->erratic = malloc (size))) in start_fde_sort()
405 accu->erratic->count = 0; in start_fde_sort()
413 fde_insert (struct fde_accumulator *accu, const fde *this_fde) in fde_insert() argument
415 if (accu->linear) in fde_insert()
416 accu->linear->array[accu->linear->count++] = this_fde; in fde_insert()
563 end_fde_sort (struct object *ob, struct fde_accumulator *accu, size_t count) in end_fde_sort() argument
567 gcc_assert (!accu->linear || accu->linear->count == count); in end_fde_sort()
[all …]
/NextBSD/contrib/ntp/libntp/
HDvint64ops.c103 uint32_t accu; in strtouv64() local
104 accu = (uint32_t)res.W_s.ll * base; in strtouv64()
105 res.W_s.ll = (uint16_t)accu; in strtouv64()
106 accu = (accu >> 16) in strtouv64()
108 res.W_s.lh = (uint16_t)accu; in strtouv64()
110 res.D_s.hi = res.D_s.hi * base + (accu >> 16); in strtouv64()
/NextBSD/contrib/ntp/ntpd/
HDrefclock_gpsdjson.c1087 json_uint accu, limit_lo, limit_hi; in strtojint() local
1115 accu = 0; in strtojint()
1117 flags |= (accu > limit_lo); in strtojint()
1118 accu = accu * 10 + (*(const u_char*)cp++ - '0'); in strtojint()
1119 flags |= (accu > limit_hi); in strtojint()
1129 accu = limit_hi; in strtojint()
1137 if ((flags & 2) && accu) in strtojint()
1138 return -(json_int)(accu - 1) - 1; in strtojint()
1140 return (json_int)accu; in strtojint()