Searched defs:dup (Results 1 - 21 of 21) sorted by relevance

/osnet-11/usr/src/lib/libc/port/gen/
H A Ddup.c34 #pragma weak _dup = dup
36 dup(int fildes) function
/osnet-11/usr/src/lib/scsi/libsmp/common/
H A Dsmp_subr.c181 char *dup = smp_alloc(len + 1); local
183 if (dup == NULL)
186 return (strcpy(dup, str));
/osnet-11/usr/src/lib/scsi/libscsi/common/
H A Dscsi_subr.c178 char *dup = libscsi_alloc(hp, len + 1); local
180 if (dup == NULL)
183 return (strcpy(dup, str));
/osnet-11/usr/src/lib/libsmbns/common/
H A Dsmbns_krb.c779 char **dup = NULL; local
785 dup = calloc(count + 1, sizeof (char *));
786 if (dup == NULL)
790 dup[i] = strdup(orig[i]);
791 if (dup[i] == NULL) {
792 smb_krb5_cfg_free_list(dup);
797 return (dup);
H A Dsmbns_netbios_cache.c728 struct name_entry *dup; local
742 dup = (struct name_entry *)calloc(1, size);
743 if (dup == 0)
746 bzero(dup, size);
748 dup->forw = dup->back = dup;
749 dup->attributes = entry->attributes;
750 (void) memcpy(dup->name, entry->name, NETBIOS_NAME_SZ);
751 (void) strlcpy((char *)dup
[all...]
/osnet-11/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_diskmgt.c71 char *dup; local
79 dup = strdup(name);
80 if (dup == NULL) {
88 return (dup);
/osnet-11/usr/src/lib/libshell/amd64/include/ast/
H A Dshell.h252 # define dup sh_dup macro
/osnet-11/usr/src/lib/libshell/common/include/
H A Dshell.h241 # define dup sh_dup macro
/osnet-11/usr/src/lib/libshell/i386/include/ast/
H A Dshell.h252 # define dup sh_dup macro
/osnet-11/usr/src/lib/libshell/sparc/include/ast/
H A Dshell.h252 # define dup sh_dup macro
/osnet-11/usr/src/lib/libshell/sparcv9/include/ast/
H A Dshell.h252 # define dup sh_dup macro
/osnet-11/usr/src/lib/libnisdb/
H A Dldap_ruleval.c440 int iv, v, dup; local
/osnet-11/usr/src/lib/libast/common/misc/
H A Dmime.c245 register Cap_t* dup; local
248 for (pud = 0, dup = ent->cap; dup; pud = dup, dup = dup->next)
249 if (!cap->test && !dup->test || cap->test && dup->test && streq(cap->test, dup->test))
257 if (!(cap->next = dup
[all...]
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Dindex.c369 INDEX_ENTRY *dup; local
373 dup = ntfs_malloc(le16_to_cpu(ie->length));
374 if (dup)
375 memcpy(dup, ie, le16_to_cpu(ie->length));
376 return dup;
381 INDEX_ENTRY *dup; local
389 dup = ntfs_malloc(size);
390 if (dup) {
391 memcpy(dup, ie, size);
392 dup
[all...]
/osnet-11/usr/src/lib/libcmd/common/
H A Dod.c236 } dup; member in struct:State_s
1020 if (state->dup.size == (n = ep - bp) && !memcmp(state->dup.data, bp, n))
1022 if (!state->dup.mark)
1024 state->dup.mark = 1;
1029 state->dup.mark = 0;
1179 memcpy(state->dup.data = state->dup.buf, state->span, state->dup.size = m);
1230 state->dup
[all...]
/osnet-11/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_utils.c371 char c, *dp = NULL, *dup = NULL; local
380 if ((dup = calloc(1, strlen(path) + 1)) == NULL) {
386 for (sp = path, dp = dup; (c = *sp) != '\0'; sp++) {
398 if (prev_was_slash && dp != dup && dp - 1 != dup) {
404 return (dup);
/osnet-11/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_utils.c292 char c, *dp = NULL, *dup = NULL; local
301 if ((dup = calloc(1, strlen(path) + 1)) == NULL) {
307 for (sp = path, dp = dup; (c = *sp) != '\0'; sp++) {
319 if (prev_was_slash && dp != dup && dp - 1 != dup) {
325 return (dup);
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dio.c823 if((fd=dup(fd))<0)
879 fdnew = sh_iomovefd(dup(fdold));
2510 #undef dup macro
2514 register int fd = dup(old);
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_common.c1128 int all = 0, dup = 0; local
1212 dupsrvs[dup++] = *tsrvs;
1241 dupsrvs[dup++] = *tsrvs;
1247 if (dup) {
/osnet-11/usr/src/lib/libkmf/plugins/kmf_nss/common/
H A Dnss_spi.c1612 SECItem *dup = NULL; local
1617 dup = SECITEM_DupItem(&it);
1623 if (p12u_SwapUnicodeBytes(dup) != SECSuccess) {
1624 SECITEM_ZfreeItem(dup, PR_TRUE);
1629 ret = PORT_UCS2_UTF8Conversion(toUnicode, dup->data, dup->len,
1631 if (dup)
1632 SECITEM_ZfreeItem(dup, PR_TRUE);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A DXSUB.h431 # define dup PerlLIO_dup macro

Completed in 114 milliseconds