/illumos-gate/usr/src/common/util/ |
H A D | strtoul.c | 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() [all …]
|
H A D | strtoull.c | 70 const unsigned char *ustr = (const unsigned char *)str; in ddi_strtoull() local 73 *ptr = (char *)ustr; /* in case no number is formed */ in ddi_strtoull() 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() 116 c = *(ustr += 2); /* skip over leading "0x" or "0X" */ in ddi_strtoull() 120 for (c = *++ustr; lisalnum(c) && (xx = DIGIT(c)) < base; ) { in ddi_strtoull() [all …]
|
H A D | strtol.c | 73 const unsigned char *ustr = (const unsigned char *)str; in ddi_strtol() local 76 *ptr = (char *)ustr; /* in case no number is formed */ in ddi_strtol() 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() 120 c = *(ustr += 2); /* skip over leading "0x" or "0X" */ in ddi_strtol() 129 for (c = *++ustr; lisalnum(c) && (xx = DIGIT(c)) < base; ) { in ddi_strtol() [all …]
|
H A D | strtoll.c | 71 const unsigned char *ustr = (const unsigned char *)str; in ddi_strtoll() local 74 *ptr = (char *)ustr; /* in case no number is formed */ in ddi_strtoll() 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() 117 c = *(ustr += 2); /* skip over leading "0x" or "0X" */ in ddi_strtoll() 126 for (c = *++ustr; lisalnum(c) && (xx = DIGIT(c)) < base; ) { in ddi_strtoll() [all …]
|
/illumos-gate/usr/src/uts/common/io/usb/usba/ |
H A D | usba_devdb.c | 329 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 D | main.c | 527 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 D | cpuid_drv.c | 154 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 D | topo_snap.c | 317 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 D | cfga_configfile.c | 644 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 D | cpr_impl.c | 551 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 D | digest_md5.c | 458 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 D | mpi.c | 2501 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()
|