Lines Matching refs:acc
128 unsigned long acc; in strtol() local
182 for (acc = 0, any = 0;; c = *s++) { in strtol()
193 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) { in strtol()
197 acc *= base; in strtol()
198 acc += c; in strtol()
202 acc = neg ? LONG_MIN : LONG_MAX; in strtol()
205 acc = -acc; in strtol()
214 return acc; in strtol()
221 unsigned long acc; in strtoul() local
254 for (acc = 0, any = 0;; c = *s++) { in strtoul()
265 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) { in strtoul()
269 acc *= base; in strtoul()
270 acc += c; in strtoul()
274 acc = ULONG_MAX; in strtoul()
277 acc = -acc; in strtoul()
287 return acc; in strtoul()
300 u_quad_t acc; in strtoq() local
355 for (acc = 0, any = 0;; c = *s++) { in strtoq()
366 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) { in strtoq()
370 acc *= qbase; in strtoq()
371 acc += c; in strtoq()
375 acc = neg ? QUAD_MIN : QUAD_MAX; in strtoq()
378 acc = -acc; in strtoq()
388 return acc; in strtoq()
404 u_quad_t acc; in strtouq() local
437 for (acc = 0, any = 0;; c = *s++) { in strtouq()
448 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) { in strtouq()
452 acc *= qbase; in strtouq()
453 acc += c; in strtouq()
457 acc = UQUAD_MAX; in strtouq()
460 acc = -acc; in strtouq()
470 return acc; in strtouq()