/freebsd-13-stable/contrib/bearssl/src/int/ |
H A D | i15_encode.c | 33 uint32_t acc; local 42 acc = 0; 48 acc += (uint32_t)x[u ++] << acc_len; 52 buf[len] = (unsigned char)acc; 53 acc >>= 8;
|
H A D | i15_decode.c | 33 uint32_t acc; local 38 acc = 0; 44 acc |= (b << acc_len); 47 x[v ++] = acc & 0x7FFF; 49 acc >>= 15; 53 x[v ++] = acc;
|
H A D | i31_decode.c | 33 uint32_t acc; local 39 acc = 0; 45 acc |= (b << acc_len); 48 x[v ++] = acc & (uint32_t)0x7FFFFFFF; 50 acc = b >> (8 - acc_len); 54 x[v ++] = acc;
|
H A D | i31_decred.c | 35 uint32_t acc; local 76 acc = 0; 84 acc <<= (8 - acc_len); 85 acc |= v >> acc_len; 86 br_i31_muladd_small(x, acc, m); 87 acc = v & (0xFF >> (8 - acc_len)); 89 acc = (acc << 8) | v; 99 acc = (acc | ( [all...] |
H A D | i15_decred.c | 35 uint32_t acc; local 76 acc = 0; 82 acc = (acc << 8) | v; 85 br_i15_muladd_small(x, acc >> (acc_len - 15), m); 87 acc &= ~((uint32_t)-1 << acc_len); 96 acc = (acc | (x[1] << acc_len)) & 0x7FFF; 98 br_i15_muladd_small(x, acc, m);
|
H A D | i31_encode.c | 33 uint32_t acc; local 43 acc = 0; 51 acc = w; 56 z = acc | (w << acc_len); 58 acc = w >> (31 - acc_len);
|
/freebsd-13-stable/crypto/openssh/openbsd-compat/ |
H A D | strtoll.c | 53 long long acc, cutoff; local 111 for (acc = 0, any = 0;; c = (unsigned char) *s++) { 123 if (acc < cutoff || (acc == cutoff && c > cutlim)) { 125 acc = LLONG_MIN; 129 acc *= base; 130 acc -= c; 133 if (acc > cutoff || (acc == cutoff && c > cutlim)) { 135 acc [all...] |
H A D | strtoul.c | 51 unsigned long acc, cutoff; local 81 for (acc = 0, any = 0;; c = (unsigned char) *s++) { 92 if (acc > cutoff || acc == cutoff && c > cutlim) { 94 acc = ULONG_MAX; 98 acc *= (unsigned long)base; 99 acc += c; 103 acc = -acc; 106 return (acc); [all...] |
H A D | strtoull.c | 53 unsigned long long acc, cutoff; local 83 for (acc = 0, any = 0;; c = (unsigned char) *s++) { 94 if (acc > cutoff || (acc == cutoff && c > cutlim)) { 96 acc = ULLONG_MAX; 100 acc *= (unsigned long long)base; 101 acc += c; 105 acc = -acc; 108 return (acc); [all...] |
/freebsd-13-stable/crypto/openssl/crypto/bn/ |
H A D | bn_nist.c | 363 NIST_INT64 acc; /* accumulator */ local 367 acc = rp[0]; 368 acc += bp[3 * 2 - 6]; 369 acc += bp[5 * 2 - 6]; 370 rp[0] = (unsigned int)acc; 371 acc >>= 32; 373 acc += rp[1]; 374 acc += bp[3 * 2 - 5]; 375 acc += bp[5 * 2 - 5]; 376 rp[1] = (unsigned int)acc; 518 NIST_INT64 acc; /* accumulator */ local 689 NIST_INT64 acc; /* accumulator */ local 935 NIST_INT64 acc; /* accumulator */ local [all...] |
/freebsd-13-stable/lib/libc/iconv/ |
H A D | _strtoul.h | 51 __UINT acc, cutoff; local 96 for (acc = 0, any = 0;; c = *s++) { 107 if (acc > cutoff || (acc == cutoff && i > cutlim)) { 108 acc = __UINT_MAX; 118 acc *= (__UINT)base; 119 acc += i; 123 acc = -acc; 127 return (acc); [all...] |
H A D | _strtol.h | 52 __INT acc, cutoff; local 122 for (acc = 0, any = 0;; c = *s++) { 134 if (acc < cutoff || (acc == cutoff && i > cutlim)) { 135 acc = __INT_MIN; 145 acc *= base; 146 acc -= i; 149 if (acc > cutoff || (acc == cutoff && i > cutlim)) { 150 acc [all...] |
/freebsd-13-stable/contrib/ntp/lib/isc/ |
H A D | strtoul.c | 76 unsigned long acc; local 102 for (acc = 0, any = 0;; c = *s++) { 113 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) 117 acc *= base; 118 acc += c; 122 acc = ULONG_MAX; 125 acc = -acc; 128 return (acc); [all...] |
/freebsd-13-stable/sys/libkern/ |
H A D | strtol.c | 55 unsigned long acc; local 102 for (acc = 0, any = 0;; c = *s++) { 113 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) 117 acc *= base; 118 acc += c; 122 acc = neg ? LONG_MIN : LONG_MAX; 124 acc = -acc; 127 return (acc); [all...] |
H A D | strtoq.c | 53 u_quad_t acc; local 106 for (acc = 0, any = 0;; c = *s++) { 117 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) 121 acc *= qbase; 122 acc += c; 126 acc = neg ? QUAD_MIN : QUAD_MAX; 128 acc = -acc; 131 return (acc); [all...] |
H A D | strtoul.c | 55 unsigned long acc; local 81 for (acc = 0, any = 0;; c = *s++) { 92 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) 96 acc *= base; 97 acc += c; 101 acc = ULONG_MAX; 103 acc = -acc; 106 return (acc); [all...] |
H A D | strtouq.c | 53 u_quad_t acc; local 83 for (acc = 0, any = 0;; c = *s++) { 94 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) 98 acc *= qbase; 99 acc += c; 103 acc = UQUAD_MAX; 105 acc = -acc; 108 return (acc); [all...] |
/freebsd-13-stable/usr.sbin/ppp/ |
H A D | tcpmss.c | 80 * internet checksum. "acc" is a 32-bit 86 #define ADJUST_CHECKSUM(acc, cksum) { \ 87 acc += cksum; \ 88 if (acc < 0) { \ 89 acc = -acc; \ 90 acc = (acc >> 16) + (acc & 0xffff); \ 91 acc [all...] |
/freebsd-13-stable/contrib/sendmail/libsm/ |
H A D | strto.c | 51 register LONGLONG_T acc, cutoff; local 118 for (acc = 0, any = 0;; c = (unsigned char) *s++) 132 if (acc < cutoff || (acc == cutoff && c > cutlim)) 135 acc = LLONG_MIN; 141 acc *= base; 142 acc -= c; 147 if (acc > cutoff || (acc == cutoff && c > cutlim)) 150 acc 191 register ULONGLONG_T acc, cutoff; local [all...] |
/freebsd-13-stable/libexec/rc/rc.d/ |
H A D | syscons | 75 be.iso.acc) echo be.acc;; 79 br275.iso.acc) echo br;; 82 fr_CA.iso.acc) echo ca-fr;; 83 swissgerman.macbook.acc) echo ch.macbook.acc;; 84 swissgerman.iso.acc) echo ch.acc;; 86 swissfrench.iso.acc) echo ch-fr.acc;; [all...] |
/freebsd-13-stable/lib/libc/locale/ |
H A D | wcstol.c | 55 unsigned long acc; local 84 acc = any = 0; 108 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) 112 acc *= base; 113 acc += c; 117 acc = neg ? LONG_MIN : LONG_MAX; 123 acc = -acc; 126 return (acc); [all...] |
H A D | wcstoll.c | 61 unsigned long long acc; local 90 acc = any = 0; 114 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) 118 acc *= base; 119 acc += c; 123 acc = neg ? LLONG_MIN : LLONG_MAX; 129 acc = -acc; 132 return (acc); [all...] |
H A D | wcstoul.c | 55 unsigned long acc; local 84 acc = any = 0; 106 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) 110 acc *= base; 111 acc += c; 115 acc = ULONG_MAX; 121 acc = -acc; 124 return (acc); [all...] |
H A D | wcstoull.c | 61 unsigned long long acc; local 90 acc = any = 0; 112 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) 116 acc *= base; 117 acc += c; 121 acc = ULLONG_MAX; 127 acc = -acc; 130 return (acc); [all...] |
H A D | wcstoumax.c | 61 uintmax_t acc; local 90 acc = any = 0; 112 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) 116 acc *= base; 117 acc += c; 121 acc = UINTMAX_MAX; 127 acc = -acc; 130 return (acc); [all...] |