Searched refs:acc (Results 1 – 12 of 12) sorted by relevance
134 register unsigned long acc; in strtoul_l() local160 for (acc = 0, any = 0;; c = *s++) { in strtoul_l()171 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtoul_l()175 acc *= base; in strtoul_l()176 acc += c; in strtoul_l()180 acc = ULONG_MAX; in strtoul_l()183 acc = -acc; in strtoul_l()186 return (acc); in strtoul_l()
130 register unsigned long long acc; in _strtoull_l() local156 for (acc = 0, any = 0;; c = *s++) { in _strtoull_l()167 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in _strtoull_l()171 acc *= base; in _strtoull_l()172 acc += c; in _strtoull_l()176 acc = ULLONG_MAX; in _strtoull_l()179 acc = -acc; in _strtoull_l()182 return (acc); in _strtoull_l()
61 uintmax_t acc; in strtoumax_l() local88 acc = any = 0; in strtoumax_l()105 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtoumax_l()109 acc *= base; in strtoumax_l()110 acc += c; in strtoumax_l()114 acc = UINTMAX_MAX; in strtoumax_l()120 acc = -acc; in strtoumax_l()123 return (acc); in strtoumax_l()
134 register unsigned long long acc; in _strtoll_l() local181 for (acc = 0, any = 0;; c = *s++) { in _strtoll_l()192 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in _strtoll_l()196 acc *= base; in _strtoll_l()197 acc += c; in _strtoll_l()201 acc = neg ? LLONG_MIN : LLONG_MAX; in _strtoll_l()204 acc = -acc; in _strtoll_l()207 return (acc); in _strtoll_l()
134 register unsigned long acc; in wcstol_l() local181 for (acc = 0, any = 0;; c = *s++) { in wcstol_l()192 if (any < 0 || acc > cutoff || (acc == cutoff && (int) c > cutlim)) in wcstol_l()196 acc *= base; in wcstol_l()197 acc += (int) c; in wcstol_l()201 acc = neg ? LONG_MIN : LONG_MAX; in wcstol_l()204 acc = -acc; in wcstol_l()207 return (acc); in wcstol_l()
135 register unsigned long long acc; in wcstoll_l() local182 for (acc = 0, any = 0;; c = *s++) { in wcstoll_l()193 if (any < 0 || acc > cutoff || (acc == cutoff && (int) c > cutlim)) in wcstoll_l()197 acc *= base; in wcstoll_l()198 acc += (int) c; in wcstoll_l()202 acc = neg ? LLONG_MIN : LLONG_MAX; in wcstoll_l()205 acc = -acc; in wcstoll_l()208 return (acc); in wcstoll_l()
135 register unsigned long acc; in wcstoul_l() local161 for (acc = 0, any = 0;; c = *s++) { in wcstoul_l()172 if (any < 0 || acc > cutoff || (acc == cutoff && (int) c > cutlim)) in wcstoul_l()176 acc *= base; in wcstoul_l()177 acc += (unsigned long) c; in wcstoul_l()181 acc = ULONG_MAX; in wcstoul_l()184 acc = -acc; in wcstoul_l()187 return (acc); in wcstoul_l()
126 register unsigned long acc; in _strtol_l() local182 for (acc = 0, any = 0;; c = *s++) { in _strtol_l()193 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) { in _strtol_l()197 acc *= base; in _strtol_l()198 acc += c; in _strtol_l()202 acc = neg ? LONG_MIN : LONG_MAX; in _strtol_l()205 acc = -acc; in _strtol_l()208 return (acc); in _strtol_l()
147 register unsigned long long acc; in wcstoull_l() local177 for (acc = 0, any = 0;; c = *s++) { in wcstoull_l()188 if (any < 0 || acc > cutoff || (acc == cutoff && (int) c > cutlim)) in wcstoull_l()192 acc *= base; in wcstoull_l()193 acc += (unsigned long long) c; in wcstoull_l()197 acc = ULLONG_MAX; in wcstoull_l()200 acc = -acc; in wcstoull_l()203 return (acc); in wcstoull_l()
60 uintmax_t acc; in wcstoumax_l() local87 acc = any = 0; in wcstoumax_l()109 if (any < 0 || acc > cutoff || (acc == cutoff && (int) c > cutlim)) in wcstoumax_l()113 acc *= base; in wcstoumax_l()114 acc += (uintmax_t) c; in wcstoumax_l()118 acc = UINTMAX_MAX; in wcstoumax_l()124 acc = -acc; in wcstoumax_l()127 return (acc); in wcstoumax_l()
61 uintmax_t acc = 0; in strtoimax_l() local126 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtoimax_l()130 acc *= base; in strtoimax_l()131 acc += c; in strtoimax_l()135 acc = neg ? INTMAX_MIN : INTMAX_MAX; in strtoimax_l()141 acc = -acc; in strtoimax_l()144 return (acc); in strtoimax_l()
61 uintmax_t acc; in wcstoimax_l() local88 acc = any = 0; in wcstoimax_l()111 if (any < 0 || acc > cutoff || (acc == cutoff && (int) c > cutlim)) in wcstoimax_l()115 acc *= base; in wcstoimax_l()116 acc += c; in wcstoimax_l()120 acc = neg ? INTMAX_MIN : INTMAX_MAX; in wcstoimax_l()126 acc = -acc; in wcstoimax_l()129 return (acc); in wcstoimax_l()