Searched refs:acc (Results 1 – 4 of 4) sorted by relevance
51 unsigned long acc; in strtoul() local82 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()
52 unsigned long long acc; in strtoull() local83 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()
51 unsigned long acc; in strtol() local85 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()
51 unsigned long long acc; in strtoll() local85 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()