Lines Matching refs:ustr
58 const unsigned char *ustr = (const unsigned char *)str; in ddi_strtoul() local
61 *ptr = (char *)ustr; /* in case no number is formed */ in ddi_strtoul()
71 if (!isalnum(c = *ustr)) { in ddi_strtoul()
73 c = *++ustr; in ddi_strtoul()
79 c = *++ustr; in ddi_strtoul()
85 else if (ustr[1] == 'x' || ustr[1] == 'X') in ddi_strtoul()
101 if (base == 16 && c == '0' && (ustr[1] == 'x' || ustr[1] == 'X') && in ddi_strtoul()
102 isxdigit(ustr[2])) in ddi_strtoul()
103 c = *(ustr += 2); /* skip over leading "0x" or "0X" */ in ddi_strtoul()
107 for (c = *++ustr; lisalnum(c) && (xx = DIGIT(c)) < base; ) { in ddi_strtoul()
114 c = *++ustr; in ddi_strtoul()
117 *ptr = (char *)ustr; in ddi_strtoul()
126 for (c = *++ustr; lisalnum(c) && (xx = DIGIT(c)) < base; (c = *++ustr)) in ddi_strtoul()
129 *ptr = (char *)ustr; in ddi_strtoul()