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

123

/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Ddup.c31 dup(int fd) function
/illumos-gate/usr/src/test/util-tests/tests/ctf/test-merge-dedup/
H A Dtest-merge-2.c22 struct dup { struct
23 int dup; member in struct:dup
27 struct dup dup2;
H A Dtest-merge-1.c22 struct dup { struct
23 int dup; member in struct:dup
27 struct dup dup1;
H A Dtest-merge-3.c22 struct dup { struct
23 int dup; member in struct:dup
27 struct dup dup3;
H A Dtest-merge-dedup.c22 struct dup { struct
23 int dup; member in struct:dup
27 struct dup dupmain;
/illumos-gate/usr/src/lib/libc/port/gen/
H A Ddup.c37 #pragma weak _dup = dup
39 dup(int fildes) function
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dunused.c90 Dbg_unused_path(Lm_list *lml, const char *path, uint_t orig, uint_t dup, argument
102 if (dup)
107 if (dup)
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dpathdup.c50 struct dup { struct
52 struct dup *next;
55 static struct dup *head, *tail, *new;
93 new = calloc(1, sizeof (struct dup));
/illumos-gate/usr/src/cmd/logadm/
H A Dglob.c119 struct fn_list *dup = fn_list_dup(ret); local
122 fn_list_appendrange(dup, left, comma);
123 fn_list_addfn_list(newret, dup);
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_dispatch.c226 rfs4_find_dr(struct svc_req *req, rfs4_drc_t *drc, rfs4_dupreq_t **dup) argument
249 *dup = NULL;
270 *dup = drp;
347 *dup = drp;
505 * or it was replayed from the dup cache; (re)mark it as
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dconsole.c212 char *curpos, *dup, *next; local
214 dup = next = strdup(string);
234 free(dup);
260 char *curpos, *dup, *next; local
268 dup = next = strdup(string);
296 free(dup);
/illumos-gate/usr/src/lib/scsi/libsmp/common/
H A Dsmp_subr.c180 char *dup = smp_alloc(len + 1); local
182 if (dup == NULL)
185 return (strcpy(dup, str));
/illumos-gate/usr/src/cmd/sgs/ar/common/
H A Dcmd.c670 char *dup = NULL; local
683 dup = malloc(f_len+1);
684 if (dup == NULL) {
690 (void) strncpy(dup, f_name, f_len);
692 f_name = dup;
718 if (dup != NULL)
719 free(dup);
737 if (dup != NULL)
738 free(dup);
757 if (dup)
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dneti_stack.c98 net_instance_int_t *dup; local
118 * set in "dup", so it is adequately prepared for the
121 dup = net_instance_int_create(n->nini_instance, n);
124 LIST_INSERT_HEAD(&nts->nts_instances, dup, nini_next);
389 * set in "dup", so it is adequately prepared for the
/illumos-gate/usr/src/tools/protocmp/
H A Dprotodir.c89 elem *dup; local
208 if (!(dup = find_elem(list, e, FOLLOW_LINK))) {
213 } else if (dup->file_type == DIR_T) {
214 if (!(dup->pkgs = add_pkg(dup->pkgs, pkgname))) {
218 pkgname, dup->name);
221 if (e->perm != dup->perm) {
225 pkgname, e->perm, dup->name, dup->perm);
227 if (strcmp(e->owner, dup
262 elem *p, *dup; local
[all...]
/illumos-gate/usr/src/tools/smatch/src/
H A Dinline.c38 struct expression *dup = alloc_expression(expr->pos, expr->type); local
39 *dup = *expr;
40 return dup;
45 struct statement *dup = alloc_statement(stmt->pos, stmt->type); local
46 *dup = *stmt;
47 return dup;
452 /* no need to dup "clobbers", since they are all constant strings */
/illumos-gate/usr/src/lib/scsi/libscsi/common/
H A Dscsi_subr.c177 char *dup = libscsi_alloc(hp, len + 1); local
179 if (dup == NULL)
182 return (strcpy(dup, str));
/illumos-gate/usr/src/cmd/modload/
H A Dplcysubr.c632 char *dup, *tok, *s1; local
634 dup = strdup(entry);
635 if (dup == NULL) {
644 for (tok = strtok_r(dup, "\n", &s1); tok != NULL;
650 free(dup);
655 free(dup);
/illumos-gate/usr/src/cmd/diff3/
H A Ddiff3prog.c108 static void change(int i, struct range *rold, int dup);
115 static int edit(struct diff *diff, int dup, int j);
279 int dup; local
339 dup = duplicate(&d1->old, &d2->old);
341 * dup = 0 means all files differ
342 * dup = 1 meands files 1&2 identical
345 separate(dup?"3":"");
346 change(1, &d1->old, dup);
351 j = edit(d1, dup, j);
396 change(int i, struct range *rold, int dup) argument
515 edit(struct diff *diff, int dup, int j) argument
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Ddup_avl.c126 * For DB_INCR, returns true if the dup was added to the tree.
127 * For DB_DECR, returns true if the dup was in the tree.
133 fragment_t *dup; local
148 dup = avl_find(&dup_frags, (void *)&key, &where);
149 if ((dup == NULL) & (flags & DB_CREATE)) {
150 dup = alloc_dup(fragno);
151 avl_insert(&dup_frags, (void *)dup, where);
154 if (dup != NULL) {
160 added = increment_claimant(dup, ino, lfn);
163 * Note that dup ma
197 fragment_t *dup; local
243 reference_t *dup; local
401 increment_claimant(fragment_t *dup, fsck_ino_t ino, daddr32_t lfn) argument
440 decrement_claimant(fragment_t *dup, fsck_ino_t ino, daddr32_t lfn) argument
[all...]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_typedef.c583 char *dup; local
648 dup = mdb_alloc(strlen(argv[0].a_un.a_str) + 1,
650 (void) strcpy(dup, argv[0].a_un.a_str);
651 if (typedef_parse(dup, argv[1].a_un.a_str, &pr) == DCMD_ERR)
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netbios_cache.c726 struct name_entry *dup; local
740 dup = (struct name_entry *)malloc(size);
741 if (dup == 0)
744 bzero(dup, size);
746 dup->forw = dup->back = dup;
747 dup->attributes = entry->attributes;
748 (void) memcpy(dup->name, entry->name, NETBIOS_NAME_SZ);
749 (void) strlcpy((char *)dup
[all...]
/illumos-gate/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_diskmgt.c73 char *dup = NULL; local
81 dup = strdup(name);
82 if (dup == NULL) {
90 return (dup);
/illumos-gate/usr/src/lib/libshell/amd64/include/ast/
H A Dshell.h249 # define dup sh_dup macro
/illumos-gate/usr/src/lib/libshell/common/include/
H A Dshell.h238 # define dup sh_dup macro

Completed in 271 milliseconds

123