Lines Matching refs:c
22 UChar c = *u; in collator_u_strtod() local
25 while (u_isspace(c)) { in collator_u_strtod()
26 c = *++u; in collator_u_strtod()
30 if (c == 0x2D /*'-'*/ || c == 0x2B /*'+'*/) { in collator_u_strtod()
31 c = *++u; in collator_u_strtod()
34 while (c >= 0x30 /*'0'*/ && c <= 0x39 /*'9'*/) { in collator_u_strtod()
36 c = *++u; in collator_u_strtod()
39 if (c == 0x2E /*'.'*/) { in collator_u_strtod()
40 c = *++u; in collator_u_strtod()
41 while (c >= 0x30 /*'0'*/ && c <= 0x39 /*'9'*/) { in collator_u_strtod()
43 c = *++u; in collator_u_strtod()
47 if ((c == 0x65 /*'e'*/ || c == 0x45 /*'E'*/) && any) { in collator_u_strtod()
51 c = *++u; in collator_u_strtod()
52 if (c == 0x2D /*'-'*/ || c == 0x2B /*'+'*/) { in collator_u_strtod()
53 c = *++u; in collator_u_strtod()
56 while (c >= 0x30 /*'0'*/ && c <= 0x39 /*'9'*/) { in collator_u_strtod()
58 c = *++u; in collator_u_strtod()
117 UChar c; in collator_u_strtol() local
135 c = *s++; in collator_u_strtol()
136 } while (u_isspace(c)); in collator_u_strtol()
137 if (c == 0x2D /*'-'*/) { in collator_u_strtol()
139 c = *s++; in collator_u_strtol()
140 } else if (c == 0x2B /*'+'*/) in collator_u_strtol()
141 c = *s++; in collator_u_strtol()
143 (c == 0x30 /*'0'*/) in collator_u_strtol()
145 c = s[1]; in collator_u_strtol()
150 base = (c == 0x30 /*'0'*/) ? 8 : 10; in collator_u_strtol()
172 for (acc = 0, any = 0;; c = *s++) { in collator_u_strtol()
173 if (c >= 0x30 /*'0'*/ && c <= 0x39 /*'9'*/) in collator_u_strtol()
174 c -= 0x30 /*'0'*/; in collator_u_strtol()
175 else if (c >= 0x41 /*'A'*/ && c <= 0x5A /*'Z'*/) in collator_u_strtol()
176 c -= 0x41 /*'A'*/ - 10; in collator_u_strtol()
177 else if (c >= 0x61 /*'a'*/ && c <= 0x7A /*'z'*/) in collator_u_strtol()
178 c -= 0x61 /*'a'*/ - 10; in collator_u_strtol()
181 if (c >= base) in collator_u_strtol()
184 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in collator_u_strtol()
189 acc += c; in collator_u_strtol()