Home
last modified time | relevance | path

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

/titanic_50/usr/src/common/util/
H A Dstrtoul.c58 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()
[all …]
H A Dstrtoull.c58 const unsigned char *ustr = (const unsigned char *)str; in ddi_strtoull() local
61 *ptr = (char *)ustr; /* in case no number is formed */ in ddi_strtoull()
71 if (!isalnum(c = *ustr)) { in ddi_strtoull()
73 c = *++ustr; in ddi_strtoull()
79 c = *++ustr; in ddi_strtoull()
85 else if (ustr[1] == 'x' || ustr[1] == 'X') in ddi_strtoull()
101 if (base == 16 && c == '0' && (ustr[1] == 'x' || ustr[1] == 'X') && in ddi_strtoull()
102 isxdigit(ustr[2])) in ddi_strtoull()
103 c = *(ustr += 2); /* skip over leading "0x" or "0X" */ in ddi_strtoull()
107 for (c = *++ustr; lisalnum(c) && (xx = DIGIT(c)) < base; ) { in ddi_strtoull()
[all …]
H A Dstrtol.c63 const unsigned char *ustr = (const unsigned char *)str; in ddi_strtol() local
66 *ptr = (char *)ustr; /* in case no number is formed */ in ddi_strtol()
76 if (!isalnum(c = *ustr)) { in ddi_strtol()
78 c = *++ustr; in ddi_strtol()
84 c = *++ustr; in ddi_strtol()
90 else if (ustr[1] == 'x' || ustr[1] == 'X') in ddi_strtol()
107 if (base == 16 && c == '0' && (ustr[1] == 'x' || ustr[1] == 'X') && in ddi_strtol()
108 isxdigit(ustr[2])) in ddi_strtol()
109 c = *(ustr += 2); /* skip over leading "0x" or "0X" */ in ddi_strtol()
118 for (c = *++ustr; lisalnum(c) && (xx = DIGIT(c)) < base; ) { in ddi_strtol()
[all …]
H A Dstrtoll.c59 const unsigned char *ustr = (const unsigned char *)str; in ddi_strtoll() local
62 *ptr = (char *)ustr; /* in case no number is formed */ in ddi_strtoll()
72 if (!isalnum(c = *ustr)) { in ddi_strtoll()
74 c = *++ustr; in ddi_strtoll()
80 c = *++ustr; in ddi_strtoll()
86 else if (ustr[1] == 'x' || ustr[1] == 'X') in ddi_strtoll()
102 if (base == 16 && c == '0' && (ustr[1] == 'x' || ustr[1] == 'X') && in ddi_strtoll()
103 isxdigit(ustr[2])) in ddi_strtoll()
104 c = *(ustr += 2); /* skip over leading "0x" or "0X" */ in ddi_strtoll()
113 for (c = *++ustr; lisalnum(c) && (xx = DIGIT(c)) < base; ) { in ddi_strtoll()
[all …]
/titanic_50/usr/src/common/net/wanboot/
H A Dauxutil.c149 utf82ascstr(ASN1_UTF8STRING *ustr) argument
157 if (ustr == NULL || ustr->type != V_ASN1_UTF8STRING) {
166 ret = ASN1_mbstring_copy(&astr, ustr->data, ustr->length, mbflag,
331 ASN1_UTF8STRING *ustr = NULL; local
347 ustr = ASN1_UTF8STRING_new();
348 if (ustr == NULL) {
354 ASN1_UTF8STRING_free(ustr);
359 if (ASN1_STRING_set(ustr, fname, len) == 0) {
360 ASN1_UTF8STRING_free(ustr);
371 if (nid == NID_friendlyName && ustr != NULL) {
[all …]
/titanic_50/usr/src/uts/common/io/usb/usba/
H A Dusba_devdb.c328 char *ustr, *hstr; in usb_devdb_compare_pathnames() local
358 ustr = strrchr(p2, '/'); in usb_devdb_compare_pathnames()
361 MAX(_PTRDIFF(ustr, p2), in usb_devdb_compare_pathnames()
372 ustr = p2 + strlen(p2) -1; in usb_devdb_compare_pathnames()
374 if (*hstr < *ustr) { in usb_devdb_compare_pathnames()
377 } else if (*hstr > *ustr) { in usb_devdb_compare_pathnames()
/titanic_50/usr/src/cmd/fmtmsg/
H A Dmain.c526 char *ustr; /* Ptr to -u (subclass) arg */ in main() local
630 ustr = optarg; in main()
698 p = strcpy(malloc((unsigned int) strlen(ustr)+1), ustr); in main()
718 "Invalid subclass: %s", ustr); in main()
/titanic_50/usr/src/uts/common/io/
H A Dcpuid_drv.c153 void *ustr; in cpuid_ioctl() local
163 if ((ustr = STRUCT_FGETP(h, cgh_archname)) != NULL && in cpuid_ioctl()
164 copyinstr(ustr, areq, sizeof (areq), NULL) != 0) in cpuid_ioctl()
/titanic_50/usr/src/lib/libpkg/common/
H A Dp12lib.c2351 utf82ascstr(ASN1_UTF8STRING *ustr) argument
2359 if (ustr == NULL || ustr->type != V_ASN1_UTF8STRING) {
2368 ret = ASN1_mbstring_copy(&astr, ustr->data, ustr->length, mbflag,
2597 ASN1_UTF8STRING *ustr = NULL; local
2613 ustr = ASN1_UTF8STRING_new();
2614 if (ustr == NULL) {
2620 ASN1_UTF8STRING_free(ustr);
2625 if (ASN1_STRING_set(ustr, fname, len) == 0) {
2626 ASN1_UTF8STRING_free(ustr);
2637 if (nid == NID_friendlyName && ustr != NULL) {
[all …]
/titanic_50/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_snap.c270 char *ustr = NULL; in topo_snap_create() local
289 if ((ustr = topo_hdl_strdup(thp, thp->th_uuid)) == NULL) { in topo_snap_create()
320 topo_hdl_strfree(thp, ustr); in topo_snap_create()
336 return (ustr); in topo_snap_create()
/titanic_50/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_configfile.c646 char *ustr, *cstr; in usb_cmp_rec() local
674 ustr = strrchr(user_rec->pathname, '/'); in usb_cmp_rec()
678 MAX(ustr - user_rec->pathname, in usb_cmp_rec()
/titanic_50/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()
/titanic_50/usr/src/lib/libldap5/sources/ldap/common/
H A Ddigest_md5.c460 static const char ustr[] = "username"; in digest_parse() local
581 if (lstreqcase(ustr, attr, alen)) { in digest_parse()
/titanic_50/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()