Home
last modified time | relevance | path

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

/openssh-portable/openbsd-compat/
H A Dstrtoll.c53 long long acc, cutoff; in strtoll() local
111 for (acc = 0, any = 0;; c = (unsigned char) *s++) { in strtoll()
123 if (acc < cutoff || (acc == cutoff && c > cutlim)) { in strtoll()
125 acc = LLONG_MIN; in strtoll()
129 acc *= base; in strtoll()
130 acc -= c; in strtoll()
133 if (acc > cutoff || (acc == cutoff && c > cutlim)) { in strtoll()
135 acc = LLONG_MAX; in strtoll()
139 acc *= base; in strtoll()
140 acc += c; in strtoll()
[all …]
H A Dstrtoul.c51 unsigned long acc, cutoff; in strtoul() local
81 for (acc = 0, any = 0;; c = (unsigned char) *s++) { in strtoul()
92 if (acc > cutoff || acc == cutoff && c > cutlim) { in strtoul()
94 acc = ULONG_MAX; in strtoul()
98 acc *= (unsigned long)base; in strtoul()
99 acc += c; in strtoul()
103 acc = -acc; in strtoul()
106 return (acc); in strtoul()
H A Dstrtoull.c53 unsigned long long acc, cutoff; in strtoull() local
83 for (acc = 0, any = 0;; c = (unsigned char) *s++) { in strtoull()
94 if (acc > cutoff || (acc == cutoff && c > cutlim)) { in strtoull()
96 acc = ULLONG_MAX; in strtoull()
100 acc *= (unsigned long long)base; in strtoull()
101 acc += c; in strtoull()
105 acc = -acc; in strtoull()
108 return (acc); in strtoull()
/openssh-portable/
H A DCREDITS64 Martin Johansson <fatbob@acc.umu.se> - Linux fixes