Home
last modified time | relevance | path

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

/bionic/libc/upstream-openbsd/lib/libc/locale/
D_wcstol.h52 int_type acc, cutoff; in FUNCNAME() local
102 for (acc = 0, any = 0;; wc = (wchar_t) *s++) { in FUNCNAME()
111 if (acc < cutoff || (acc == cutoff && i > cutlim)) { in FUNCNAME()
113 acc = MIN_VALUE; in FUNCNAME()
117 acc *= base; in FUNCNAME()
118 acc -= i; in FUNCNAME()
121 if (acc > cutoff || (acc == cutoff && i > cutlim)) { in FUNCNAME()
123 acc = MAX_VALUE; in FUNCNAME()
127 acc *= base; in FUNCNAME()
128 acc += i; in FUNCNAME()
[all …]
D_wcstoul.h51 uint_type acc, cutoff; in FUNCNAME() local
92 for (acc = 0, any = 0;; wc = (wchar_t) *s++) { in FUNCNAME()
100 if (acc > cutoff || (acc == cutoff && i > cutlim)) { in FUNCNAME()
102 acc = MAX_VALUE; in FUNCNAME()
106 acc *= (uint_type)base; in FUNCNAME()
107 acc += i; in FUNCNAME()
111 acc = -acc; in FUNCNAME()
114 return (acc); in FUNCNAME()
/bionic/libc/bionic/
Dstrtol.cpp73 T acc = 0; in StrToI() local
84 if (acc < cutoff || (acc == cutoff && c > cutlim)) { in StrToI()
86 acc = Min; in StrToI()
90 acc *= base; in StrToI()
91 acc -= c; in StrToI()
96 if (acc == Min) { in StrToI()
98 acc = Max; in StrToI()
100 acc = -acc; in StrToI()
103 return acc; in StrToI()
135 T acc = 0; in StrToU() local
[all …]