/freebsd-11-stable/usr.bin/sort/ |
H A D | mem.c | 78 char *dup; local 80 if ((dup = strdup(str)) == NULL) 82 return (dup);
|
/freebsd-11-stable/contrib/ofed/libibverbs/ |
H A D | sysfs.c | 64 char *dup; local 66 sysfs_path = dup = strndup(env, IBV_SYSFS_PATH_MAX); 67 len = strlen(dup); 68 while (len > 0 && dup[len - 1] == '/') { 70 dup[len] = '\0';
|
/freebsd-11-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-11-stable/contrib/tcp_wrappers/ |
H A D | shell_cmd.c | 83 } else if (dup(0) != 1 || dup(0) != 2) { 84 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-11-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-11-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-11-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-11-stable/lib/libcasper/libcasper/ |
H A D | libcasper_impl.c | 62 nfd = dup(*fdp);
|
/freebsd-11-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-11-stable/contrib/expat/tests/ |
H A D | structdata.c | 61 XML_Char *dup = malloc(byte_count); local 63 assert(dup != NULL); 64 memcpy(dup, s, byte_count); 65 return dup;
|
/freebsd-11-stable/crypto/heimdal/lib/krb5/ |
H A D | store_fd.c | 97 fd = dup(fd_in); 105 fd = dup(fd_in);
|
/freebsd-11-stable/stand/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-11-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-11-stable/libexec/rtld-aout/ |
H A D | shlib.c | 87 register char *cp, *dup; local 93 path = dup = strdup(path); 96 free(dup);
|
/freebsd-11-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-11-stable/contrib/mdocml/ |
H A D | mandocd.c | 193 if ((old_stdin = dup(STDIN_FILENO)) == -1 || 194 (old_stdout = dup(STDOUT_FILENO)) == -1 || 195 (old_stderr = dup(STDERR_FILENO)) == -1) { 196 warn("dup");
|
/freebsd-11-stable/contrib/less/ |
H A D | lsystem.c | 117 inp = dup(0); 127 dup(inp); 186 dup(inp);
|
/freebsd-11-stable/contrib/ntp/ntpsnmpd/ |
H A D | netsnmp_daemonize.c | 259 dup(0); 260 dup(0);
|
/freebsd-11-stable/lib/libc/tests/stdio/ |
H A D | perror_test.c | 60 dup(0);
|
/freebsd-11-stable/sys/netpfil/pf/ |
H A D | pf_ruleset.c | 194 struct pf_anchor *anchor = NULL, *dup, *parent = NULL; local 245 if ((dup = RB_INSERT(pf_anchor_global, &V_pf_anchors, anchor)) != 249 anchor->path, anchor->name, dup->path, dup->name); 256 if ((dup = RB_INSERT(pf_anchor_node, &parent->children, 261 dup->path, dup->name);
|
/freebsd-11-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-11-stable/contrib/groff/src/preproc/html/ |
H A D | pushback.cpp | 74 stdIn = dup(0); 91 dup(stdIn);
|
/freebsd-11-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)
|