Home
last modified time | relevance | path

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

/bionic/libc/stdlib/
Dstrtoimax.c46 intmax_t acc, cutoff; in strtoimax() local
100 cutoff = INTMAX_MIN / x; \ in strtoimax()
103 cutoff = INTMAX_MAX / x; \ in strtoimax()
111 cutoff = INTMAX_MIN / 4; in strtoimax()
114 cutoff = INTMAX_MAX / 4; in strtoimax()
122 cutoff = neg ? INTMAX_MIN : INTMAX_MAX; in strtoimax()
123 cutlim = cutoff % base; in strtoimax()
124 cutoff /= base; in strtoimax()
131 cutoff += 1; in strtoimax()
147 if (acc < cutoff || (acc == cutoff && c > cutlim)) { in strtoimax()
[all …]
Dstrtol.c47 long acc, cutoff; in strtol() local
94 cutoff = neg ? LONG_MIN : LONG_MAX; in strtol()
95 cutlim = cutoff % base; in strtol()
96 cutoff /= base; in strtol()
100 cutoff += 1; in strtol()
116 if (acc < cutoff || (acc == cutoff && c > cutlim)) { in strtol()
126 if (acc > cutoff || (acc == cutoff && c > cutlim)) { in strtol()
Dstrtoumax.c46 uintmax_t acc, cutoff; in strtoumax() local
76 case x: cutoff = UINTMAX_MAX / x; \ in strtoumax()
85 cutoff = UINTMAX_MAX / base; in strtoumax()
100 if (acc > cutoff || (acc == cutoff && c > cutlim)) { in strtoumax()
Dstrtoul.c46 unsigned long acc, cutoff; in strtoul() local
74 cutoff = ULONG_MAX / (unsigned long)base; in strtoul()
87 if (acc > cutoff || (acc == cutoff && c > cutlim)) { in strtoul()