/freebsd-10-stable/usr.bin/sort/ |
H A D | mem.c | 77 char *dup; local 79 if ((dup = strdup(str)) == NULL) 81 return (dup);
|
/freebsd-10-stable/contrib/gcc/ |
H A D | opts-common.c | 152 char *dup; local 157 dup = XNEWVEC (char, len + 1); 158 dup[0] = '-'; 159 dup[1] = opt[1]; 160 memcpy (dup + 2, opt + 5, len - 2 + 1); 161 opt = dup; 164 free (dup);
|
/freebsd-10-stable/contrib/tcp_wrappers/ |
H A D | shell_cmd.c | 84 } else if (dup(0) != 1 || dup(0) != 2) { 85 error = "dup: %m";
|
H A D | safe_finger.c | 182 if (dup(pipefds[1]) != 1) 183 perror_exit("dup"); 191 if (dup(pipefds[0]) != 0) 192 perror_exit("dup");
|
/freebsd-10-stable/libexec/mknetid/ |
H A D | hash.c | 132 void mstore (struct member_entry *table[], char *key, int gid, int dup) argument 141 if (!dup) { 149 if (!dup && !strcmp(cur->key, key)) { 160 if (!dup)
|
/freebsd-10-stable/sbin/fsck_ffs/ |
H A D | pass1b.c | 102 if (dlp->dup == blkno) { 104 dlp->dup = duphead->dup; 105 duphead->dup = blkno;
|
H A D | pass4.c | 138 if (dlp->dup != blkno) 140 dlp->dup = duplist->dup;
|
/freebsd-10-stable/sys/netgraph/ |
H A D | ng_tee.c | 68 struct hookinfo *dest, *dup; member in struct:hookinfo 175 privdata->left.dup = privdata->left.dest; 181 privdata->right.dup = privdata->right.dest; 187 privdata->right.dup = hinfo; 193 privdata->left.dup = hinfo; 304 if (hinfo->dup) { 311 h = hinfo->dup; 376 sc->left.dest = sc->left.dup; 377 sc->left.dup = NULL; 378 } else if (sc->left.dup [all...] |
/freebsd-10-stable/tools/regression/sockets/socketpair/ |
H A D | socketpair.c | 130 fd1 = dup(STDIN_FILENO); 131 fd2 = dup(STDIN_FILENO); 152 fd3 = dup(STDIN_FILENO);
|
/freebsd-10-stable/contrib/ipfilter/rules/ |
H A D | example.13 | 9 pass in on le0 dup-to le1:10.3.3.3 proto tcp all flags S/SA
|
/freebsd-10-stable/tools/regression/sockets/accept_fd_leak/ |
H A D | accept_fd_leak.c | 77 fd1 = dup(STDIN_FILENO); 78 fd2 = dup(STDIN_FILENO); 134 fd3 = dup(STDIN_FILENO); 208 fd3 = dup(STDIN_FILENO);
|
/freebsd-10-stable/crypto/heimdal/lib/krb5/ |
H A D | store_fd.c | 97 fd = dup(fd_in); 105 fd = dup(fd_in);
|
/freebsd-10-stable/sys/boot/common/ |
H A D | console.c | 190 char *curpos, *dup, *next; local 192 dup = next = strdup(string); 207 free(dup); 228 char *curpos, *dup, *next; local 236 dup = next = strdup(string); 259 free(dup);
|
/freebsd-10-stable/contrib/unbound/libunbound/ |
H A D | libunbound.c | 341 char* dup = strdup(ta); local 342 if(!dup) return UB_NOMEM; 346 free(dup); 349 if(!cfg_strlist_insert(&ctx->env->cfg->trust_anchor_list, dup)) { 351 free(dup); 361 char* dup = strdup(fname); local 362 if(!dup) return UB_NOMEM; 366 free(dup); 369 if(!cfg_strlist_insert(&ctx->env->cfg->trust_anchor_file_list, dup)) { 371 free(dup); 380 char* dup = strdup(fname); local 401 char* dup = strdup(fname); local [all...] |
/freebsd-10-stable/contrib/gcclibs/libiberty/ |
H A D | pex-djgpp.c | 130 org_in = dup (STDIN_FILE_NO); 134 *errmsg = "dup"; 153 org_out = dup (STDOUT_FILE_NO); 157 *errmsg = "dup"; 177 org_errdes = dup (STDERR_FILE_NO); 181 *errmsg = "dup";
|
/freebsd-10-stable/crypto/heimdal/lib/roken/ |
H A D | socket_wrapper.h | 134 #ifdef dup 135 #undef dup macro 137 #define dup(oldd) swrap_dup(oldd) macro
|
/freebsd-10-stable/libexec/rtld-aout/ |
H A D | shlib.c | 87 register char *cp, *dup; local 93 path = dup = strdup(path); 96 free(dup);
|
/freebsd-10-stable/contrib/less/ |
H A D | lsystem.c | 112 inp = dup(0); 120 dup(inp); 179 dup(inp);
|
/freebsd-10-stable/contrib/ntp/ntpsnmpd/ |
H A D | netsnmp_daemonize.c | 259 dup(0); 260 dup(0);
|
/freebsd-10-stable/lib/libc/tests/stdio/ |
H A D | perror_test.c | 60 dup(0);
|
/freebsd-10-stable/sys/netpfil/pf/ |
H A D | pf_ruleset.c | 193 struct pf_anchor *anchor = NULL, *dup, *parent = NULL; local 244 if ((dup = RB_INSERT(pf_anchor_global, &V_pf_anchors, anchor)) != 248 anchor->path, anchor->name, dup->path, dup->name); 255 if ((dup = RB_INSERT(pf_anchor_node, &parent->children, 260 dup->path, dup->name);
|
/freebsd-10-stable/contrib/groff/src/roff/groff/ |
H A D | pipeline.c | 239 if ((save_stdin = dup(STDIN_FILENO)) < 0) 240 sys_fatal("dup stdin"); 242 if ((save_stdout = dup(STDOUT_FILENO)) < 0) 243 sys_fatal("dup stdout"); 361 int save_stdin = dup(0); 362 int save_stdout = dup(1); 471 if (dup(last_input) < 0) 472 sys_fatal("dup"); 479 if (dup(pdes[1]) < 0) 480 sys_fatal("dup"); [all...] |
/freebsd-10-stable/contrib/groff/src/preproc/html/ |
H A D | pushback.cpp | 74 stdIn = dup(0); 91 dup(stdIn);
|
/freebsd-10-stable/contrib/unbound/libunbound/python/ |
H A D | file_py3.i | 84 fp = fdopen(dup(fd), fdfl_to_str(fdfl)); /* the FILE* must be flushed
|
/freebsd-10-stable/contrib/libarchive/libarchive/ |
H A D | filter_fork_posix.c | 96 if ((tmp = dup(stdin_pipe[0])) == -1) 104 if ((tmp = dup(stdout_pipe[1])) == -1)
|