Home
last modified time | relevance | path

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

/rk3399_ARM-atf/lib/libc/
H A Dstrtoul.c51 unsigned long acc; in strtoul() local
82 acc = any = 0; in strtoul()
97 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtoul()
101 acc = acc * (unsigned)base + (unsigned)c; in strtoul()
105 acc = ULONG_MAX; in strtoul()
107 acc = -acc; in strtoul()
110 return (acc); in strtoul()
H A Dstrtoull.c52 unsigned long long acc; in strtoull() local
83 acc = any = 0; in strtoull()
98 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtoull()
102 acc = acc * (unsigned long long)base + (unsigned long long)c; in strtoull()
106 acc = ULLONG_MAX; in strtoull()
108 acc = -acc; in strtoull()
111 return (acc); in strtoull()
H A Dstrtol.c51 unsigned long acc; in strtol() local
85 acc = any = 0; in strtol()
119 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtol()
123 acc *= base; in strtol()
124 acc += c; in strtol()
131 result = neg ? -(long)acc : (long)acc; in strtol()
H A Dstrtoll.c51 unsigned long long acc; in strtoll() local
85 acc = any = 0; in strtoll()
120 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtoll()
124 acc *= base; in strtoll()
125 acc += c; in strtoll()
132 result = neg ? -(long long)acc : (long long)acc; in strtoll()