Home
last modified time | relevance | path

Searched refs:ustr (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/common/util/
H A Dstrtoul.c68 const unsigned char *ustr = (const unsigned char *)str; in ddi_strtoul() local
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()
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()
[all …]
H A Dstrtoull.c70 const unsigned char *ustr = (const unsigned char *)str; in ddi_strtoull() local
83 if (!isalnum(c = *ustr)) { in ddi_strtoull()
85 c = *++ustr; in ddi_strtoull()
91 c = *++ustr; in ddi_strtoull()
97 else if (ustr[1] == 'x' || ustr[1] == 'X') in ddi_strtoull()
114 if (base == 16 && c == '0' && (ustr[1] == 'x' || ustr[1] == 'X') && in ddi_strtoull()
115 isxdigit(ustr[2])) in ddi_strtoull()
127 c = *++ustr; in ddi_strtoull()
130 *ptr = (char *)ustr; in ddi_strtoull()
139 for (c = *++ustr; lisalnum(c) && (xx = DIGIT(c)) < base; (c = *++ustr)) in ddi_strtoull()
[all …]
H A Dstrtol.c73 const unsigned char *ustr = (const unsigned char *)str; in ddi_strtol() local
86 if (!isalnum(c = *ustr)) { in ddi_strtol()
88 c = *++ustr; in ddi_strtol()
94 c = *++ustr; in ddi_strtol()
100 else if (ustr[1] == 'x' || ustr[1] == 'X') in ddi_strtol()
118 if (base == 16 && c == '0' && (ustr[1] == 'x' || ustr[1] == 'X') && in ddi_strtol()
119 isxdigit(ustr[2])) in ddi_strtol()
137 c = *++ustr; in ddi_strtol()
140 *ptr = (char *)ustr; in ddi_strtol()
149 for (c = *++ustr; lisalnum(c) && (xx = DIGIT(c)) < base; (c = *++ustr)) in ddi_strtol()
[all …]
H A Dstrtoll.c71 const unsigned char *ustr = (const unsigned char *)str; in ddi_strtoll() local
84 if (!isalnum(c = *ustr)) { in ddi_strtoll()
86 c = *++ustr; in ddi_strtoll()
92 c = *++ustr; in ddi_strtoll()
98 else if (ustr[1] == 'x' || ustr[1] == 'X') in ddi_strtoll()
115 if (base == 16 && c == '0' && (ustr[1] == 'x' || ustr[1] == 'X') && in ddi_strtoll()
116 isxdigit(ustr[2])) in ddi_strtoll()
134 c = *++ustr; in ddi_strtoll()
137 *ptr = (char *)ustr; in ddi_strtoll()
146 for (c = *++ustr; lisalnum(c) && (xx = DIGIT(c)) < base; (c = *++ustr)) in ddi_strtoll()
[all …]
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusba_devdb.c329 char *ustr, *hstr; in usb_devdb_compare_pathnames() local
359 ustr = strrchr(p2, '/'); in usb_devdb_compare_pathnames()
362 MAX(_PTRDIFF(ustr, p2), in usb_devdb_compare_pathnames()
373 ustr = p2 + strlen(p2) -1; in usb_devdb_compare_pathnames()
375 if (*hstr < *ustr) { in usb_devdb_compare_pathnames()
378 } else if (*hstr > *ustr) { in usb_devdb_compare_pathnames()
/illumos-gate/usr/src/cmd/fmtmsg/
H A Dmain.c527 char *ustr; /* Ptr to -u (subclass) arg */ in main() local
631 ustr = optarg; in main()
699 p = strcpy(malloc((unsigned int) strlen(ustr)+1), ustr); in main()
719 "Invalid subclass: %s", ustr); in main()
/illumos-gate/usr/src/uts/common/io/
H A Dcpuid_drv.c154 void *ustr; in cpuid_ioctl() local
164 if ((ustr = STRUCT_FGETP(h, cgh_archname)) != NULL && in cpuid_ioctl()
165 copyinstr(ustr, areq, sizeof (areq), NULL) != 0) in cpuid_ioctl()
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_snap.c317 char *ustr = NULL; in topo_snap_create() local
336 if ((ustr = topo_hdl_strdup(thp, thp->th_uuid)) == NULL) { in topo_snap_create()
367 topo_hdl_strfree(thp, ustr); in topo_snap_create()
383 return (ustr); in topo_snap_create()
/illumos-gate/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_configfile.c644 char *ustr, *cstr; in usb_cmp_rec() local
672 ustr = strrchr(user_rec->pathname, '/'); in usb_cmp_rec()
676 MAX(ustr - user_rec->pathname, in usb_cmp_rec()
/illumos-gate/usr/src/uts/sun4u/os/
H A Dcpr_impl.c551 const char ustr[] = ": unix-tte 2drop false ;"; in i_cpr_write_machdep() local
564 cmach.md_size = sizeof (m_info) + sizeof (ustr); in i_cpr_write_machdep()
618 if (rc = cpr_write(vp, (caddr_t)ustr, sizeof (ustr))) in i_cpr_write_machdep()
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Ddigest_md5.c458 static const char ustr[] = "username"; in digest_parse() local
579 if (lstreqcase(ustr, attr, alen)) { in digest_parse()
/illumos-gate/usr/src/common/mpi/
H A Dmpi.c2501 unsigned char *ustr = (unsigned char *)str; in mp_read_raw() local
2508 if(ustr[0]) in mp_read_raw()
2517 if((res = mp_add_d(mp, ustr[ix], mp)) != MP_OKAY) in mp_read_raw()