Home
last modified time | relevance | path

Searched refs:strndup (Results 1 – 23 of 23) sorted by relevance

/titanic_50/usr/src/lib/print/libpapi-common/common/
H A Duri.c63 u->scheme = strndup(string, ptr - string); in uri_from_string()
78 u->host_part = strndup(string, end - string); in uri_from_string()
83 u->user_part = strndup(string, host-string); in uri_from_string()
85 u->host_part = strndup(host + 1, in uri_from_string()
97 u->password = strndup(password + 1, in uri_from_string()
101 u->user = strndup(user, password - user); in uri_from_string()
113 u->port = strndup(port + 1, path - port - 1); in uri_from_string()
116 u->host = strndup(host, port - host); in uri_from_string()
138 u->fragment = strndup(fragment + 1, in uri_from_string()
143 u->path = strndup(path, end - path); in uri_from_string()
/titanic_50/usr/src/lib/libc/port/gen/
H A Dstrndup.c36 strndup(const char *s1, size_t n) in strndup() function
/titanic_50/usr/src/cmd/mdb/common/mdb/
H A Dmdb_string.h52 extern char *strndup(const char *, size_t);
H A Dmdb_strio.c138 sd->str_base = strndup(s, sd->str_len); in mdb_strio_create()
H A Dmdb_string.c265 strndup(const char *s, size_t n) in strndup() function
H A Dmdb_lex.l287 yylval.l_string = strndup(yytext + 1, yyleng - 2);
H A Dmdb.c1365 mdb.m_root = strndup(s, (size_t)(p - s)); in mdb_set_config()
1370 mdb.m_termtype = strndup(s, (size_t)(p - s)); in mdb_set_config()
H A Dmdb_io.c1147 var = strndup(s, len); in iob_getvar()
/titanic_50/usr/src/ucbcmd/users/
H A Dusers.c60 *namp++ = strndup(utmpx->ut_name, sizeof (utmpx->ut_name)); in main()
/titanic_50/usr/src/lib/libdtrace/common/
H A Ddt_lex.l244 yylval.l_str = strndup(v + 1, len - 2);
246 yylval.l_str = strndup(v, len);
383 yylval.l_str = strndup(yytext + 1, yyleng - 2);
/titanic_50/usr/src/lib/libresolv2/common/irs/
H A Dirpmarshall.c94 static char *strndup(const char *str, size_t len);
1249 host = strndup(p, q - p); in irp_unmarshall_ng()
1262 user = strndup(p, q - p); in irp_unmarshall_ng()
1276 domain = strndup(p, q - p); in irp_unmarshall_ng()
1698 *aptr = strndup(p, q - p); in splitarray()
1814 *res = strndup(*ptr, q - *ptr); in getfield()
1850 strndup(const char *str, size_t len) { in strndup() function
/titanic_50/usr/src/head/
H A Dstring.h92 extern char *strndup(const char *, size_t);
/titanic_50/usr/src/cmd/format/
H A Dlabel.c550 *vid = strndup(inquiry.inq_vid, 8); in get_disk_inquiry_uscsi()
551 *pid = strndup(inquiry.inq_pid, 16); in get_disk_inquiry_uscsi()
552 *rid = strndup(inquiry.inq_revision, 4); in get_disk_inquiry_uscsi()
/titanic_50/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_misc.c54 #undef strndup
55 #define strndup my_strndup macro
1794 rdn = strndup(policy_dn, len2 - len1 - 1); /* 1 character for ',' */
1805 *name = strndup(dn[0][0]->la_value.bv_val, dn[0][0]->la_value.bv_len);
/titanic_50/usr/src/cmd/idmap/idmap/
H A Didmap.c1794 *prefix = strndup(from, prefix_end - from - 1); in sid_convert()
1829 out = strndup(*line + 1, qm - *line - 1); in ucp_qm_interior()
1848 token = strndup(*line, length); in ucp_grab_token()
2034 nm->unixname = strndup(unixname, unixname_l); in sup_line2nm()
/titanic_50/usr/src/lib/libc/amd64/
H A DMakefile545 strndup.o \
/titanic_50/usr/src/lib/libc/sparcv9/
H A DMakefile.com563 strndup.o \
/titanic_50/usr/src/lib/libc/i386/
H A DMakefile.com576 strndup.o \
/titanic_50/usr/src/lib/libc/sparc/
H A DMakefile.com603 strndup.o \
/titanic_50/usr/src/man/man3c/
H A DMakefile1231 strndup.3c \
2298 strndup.3c := LINKSRC = string.3c
/titanic_50/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_kvm.c2217 objname = strndup(fullname, tick - fullname); in kmt_add_sbrkpt()
/titanic_50/usr/src/lib/libc/port/
H A Dmapfile-vers565 strndup;
/titanic_50/usr/src/pkg/manifests/
H A Dsystem-library.man3c.inc1300 link path=usr/share/man/man3c/strndup.3c target=string.3c