Lines Matching refs:ustr
68 const unsigned char *ustr = (const unsigned char *)str; in ddi_strtoul() local
71 *ptr = (char *)ustr; /* in case no number is formed */ in ddi_strtoul()
81 if (!isalnum(c = *ustr)) { in ddi_strtoul()
83 c = *++ustr; in ddi_strtoul()
89 c = *++ustr; in ddi_strtoul()
95 else if (ustr[1] == 'x' || ustr[1] == 'X') in ddi_strtoul()
112 if (base == 16 && c == '0' && (ustr[1] == 'x' || ustr[1] == 'X') && in ddi_strtoul()
113 isxdigit(ustr[2])) in ddi_strtoul()
114 c = *(ustr += 2); /* skip over leading "0x" or "0X" */ in ddi_strtoul()
118 for (c = *++ustr; lisalnum(c) && (xx = DIGIT(c)) < base; ) { in ddi_strtoul()
125 c = *++ustr; in ddi_strtoul()
128 *ptr = (char *)ustr; in ddi_strtoul()
137 for (c = *++ustr; lisalnum(c) && (xx = DIGIT(c)) < base; (c = *++ustr)) in ddi_strtoul()
140 *ptr = (char *)ustr; in ddi_strtoul()