Lines Matching refs:ustr
199 const unsigned char *ustr = (const unsigned char *)str;
202 *ptr = (char *)ustr; /* in case no number is formed */
207 if (!isalnum(c = *ustr)) {
209 c = *++ustr;
215 c = *++ustr;
221 else if (ustr[1] == 'x' || ustr[1] == 'X')
231 if (base == 16 && c == '0' && (ustr[1] == 'x' || ustr[1] == 'X') &&
232 isxdigit(ustr[2]))
233 c = *(ustr += 2); /* skip over leading "0x" or "0X" */
237 for (c = *++ustr; lisalnum(c) && (xx = DIGIT(c)) < base; ) {
244 c = *++ustr;
247 *ptr = (char *)ustr;
252 for (c = *++ustr; lisalnum(c) && (xx = DIGIT(c)) < base; (c = *++ustr))
255 *ptr = (char *)ustr;