/dragonfly/sys/netgraph7/tee/ |
H A D | ng_tee.c | 68 struct hookinfo *dest, *dup; member 190 privdata->right.dup = hinfo; in ng_tee_newhook() 196 privdata->left.dup = hinfo; in ng_tee_newhook() 307 if (hinfo->dup) { in ng_tee_rcvdata() 314 h = hinfo->dup; in ng_tee_rcvdata() 379 sc->left.dest = sc->left.dup; in ng_tee_disconnect() 380 sc->left.dup = NULL; in ng_tee_disconnect() 382 sc->left.dup = NULL; in ng_tee_disconnect() 384 sc->right.dest = sc->right.dup; in ng_tee_disconnect() 385 sc->right.dup = NULL; in ng_tee_disconnect() [all …]
|
/dragonfly/sys/netgraph/tee/ |
H A D | ng_tee.c | 282 struct hookinfo *dup; in ngt_rcvdata() local 287 dup = &sc->left2right; in ngt_rcvdata() 290 dup = &sc->right2left; in ngt_rcvdata() 293 dup = NULL; in ngt_rcvdata() 296 dup = NULL; in ngt_rcvdata() 306 if (dup != NULL) { in ngt_rcvdata() 331 dup->stats.outOctets += m->m_pkthdr.len; in ngt_rcvdata() 332 dup->stats.outFrames++; in ngt_rcvdata() 333 NG_SEND_DATA(error, dup->hook, m2, meta2); in ngt_rcvdata()
|
/dragonfly/sbin/fsck/ |
H A D | pass1b.c | 90 if (dlp->dup == blkno) { in pass1bcheck() 92 dlp->dup = duphead->dup; in pass1bcheck() 93 duphead->dup = blkno; in pass1bcheck()
|
H A D | pass4.c | 129 if (dlp->dup != blkno) in pass4check() 131 dlp->dup = duplist->dup; in pass4check()
|
/dragonfly/libexec/mknetid/ |
H A D | hash.c | 132 mstore(struct member_entry *table[], char *key, int gid, int dup) in mstore() argument 141 if (!dup) { in mstore() 149 if (!dup && !strcmp(cur->key, key)) { in mstore() 160 if (!dup) in mstore()
|
/dragonfly/usr.bin/sort/ |
H A D | mem.c | 76 char *dup; in sort_strdup() local 78 if ((dup = strdup(str)) == NULL) in sort_strdup() 80 return (dup); in sort_strdup()
|
/dragonfly/sbin/hammer/ |
H A D | cmd_remote.c | 45 char *env, *str, *dup; in hammer_cmd_sshremote() local 54 dup = env = strdup(env); in hammer_cmd_sshremote() 79 free(dup); in hammer_cmd_sshremote()
|
H A D | hammer.c | 242 char *elm, *dup; in main() local 244 dup = ptr = strdup(restrictcmd); in main() 254 free(dup); in main() 522 char *p, *dup; in main() local 535 dup = ptr = strdup(av[2]); in main() 546 free(dup); in main()
|
/dragonfly/crypto/libressl/ssl/ |
H A D | tls_content.c | 85 uint8_t *dup; in tls_content_dup_data() local 87 if ((dup = calloc(1, data_len)) == NULL) in tls_content_dup_data() 89 memcpy(dup, data, data_len); in tls_content_dup_data() 91 tls_content_set_data(content, type, dup, data_len); in tls_content_dup_data()
|
/dragonfly/sys/net/pf/ |
H A D | pf_ruleset.c | 189 struct pf_anchor *anchor = NULL, *dup, *parent = NULL; in pf_find_or_create_ruleset() local 240 if ((dup = RB_INSERT(pf_anchor_global, &pf_anchors, anchor)) != in pf_find_or_create_ruleset() 244 anchor->path, anchor->name, dup->path, dup->name); in pf_find_or_create_ruleset() 251 if ((dup = RB_INSERT(pf_anchor_node, &parent->children, in pf_find_or_create_ruleset() 256 dup->path, dup->name); in pf_find_or_create_ruleset()
|
/dragonfly/contrib/gcc-4.7/gcc/ |
H A D | ira-conflicts.c | 251 int curr_alt, c, original, dup; in get_dup_num() local 341 dup = original - '0'; in get_dup_num() 344 if (commutative_constraint_p (recog_data.constraints[dup])) in get_dup_num() 345 dup++; in get_dup_num() 346 else if (dup > 0 in get_dup_num() 348 dup--; in get_dup_num() 352 return dup; in get_dup_num() 501 rtx set, operand, dup; in add_insn_allocno_copies() local 540 dup = recog_data.operand[n]; in add_insn_allocno_copies() 541 if (REG_SUBREG_P (dup) in add_insn_allocno_copies() [all …]
|
/dragonfly/usr.sbin/fstyp/ |
H A D | hammer.c | 164 char *dup = NULL, *p, *volpath, *rootvolpath, x[HAMMER_MAX_VOLUMES]; in __fsvtyp_hammer() local 171 dup = strdup(blkdevs); in __fsvtyp_hammer() 172 p = dup; in __fsvtyp_hammer() 229 free(dup); in __fsvtyp_hammer()
|
H A D | hammer2.c | 403 char *dup = NULL, *target_label = NULL, *p, *volpath, *rootvolpath; in __fsvtyp_hammer2() local 411 p = dup = strdup(blkdevs); in __fsvtyp_hammer2() 416 p = dup; in __fsvtyp_hammer2() 496 free(dup); in __fsvtyp_hammer2()
|
/dragonfly/contrib/grep/lib/ |
H A D | unistd--.h | 23 #undef dup 24 #define dup dup_safer macro
|
/dragonfly/contrib/tcp_wrappers/ |
H A D | shell_cmd.c | 80 } else if (dup(0) != 1 || dup(0) != 2) {
|
H A D | safe_finger.c | 182 if (dup(pipefds[1]) != 1) 191 if (dup(pipefds[0]) != 0)
|
/dragonfly/contrib/mdocml/ |
H A D | mandocd.c | 194 if ((old_stdin = dup(STDIN_FILENO)) == -1 || in main() 195 (old_stdout = dup(STDOUT_FILENO)) == -1 || in main() 196 (old_stderr = dup(STDERR_FILENO)) == -1) { in main()
|
/dragonfly/contrib/less/ |
H A D | lsystem.c | 114 inp = dup(0); in lsystem() 119 dup(inp); in lsystem() 178 dup(inp); in lsystem()
|
/dragonfly/libexec/atrun/ |
H A D | atrun.c | 194 if ((fd_in = dup(fileno(stream))) <0) in run_file() 278 if (dup(fd_in) != STDIN_FILENO) in run_file() 281 if (dup(fd_out) != STDOUT_FILENO) in run_file() 284 if (dup(fd_out) != STDERR_FILENO) in run_file()
|
/dragonfly/gnu/usr.bin/grep/libgreputils/ |
H A D | Makefile | 31 dup-safer-flag.c \ 32 dup-safer.c \
|
/dragonfly/contrib/tcsh-6/ |
H A D | sh.sem.c | 868 TCSH_IGNORE(dup(pipein[0])); in doio() 878 TCSH_IGNORE(dup(OLDSTD)); in doio() 931 TCSH_IGNORE(dup(pipeout[1])); in doio() 936 TCSH_IGNORE(dup(SHOUT)); in doio() 945 TCSH_IGNORE(dup(1)); in doio() 949 TCSH_IGNORE(dup(SHDIAG)); in doio()
|
/dragonfly/contrib/libarchive/libarchive/ |
H A D | filter_fork_posix.c | 96 if ((tmp = dup(stdin_pipe[0])) == -1) in __archive_create_child() 104 if ((tmp = dup(stdout_pipe[1])) == -1) in __archive_create_child()
|
/dragonfly/usr.sbin/rpc.ypupdated/ |
H A D | update.c | 165 dup(pdto[0]); in _openchild() 167 dup(pdfrom[1]); in _openchild()
|
/dragonfly/usr.bin/newkey/ |
H A D | update.c | 169 (void)dup(pdto[0]); 171 (void)dup(pdfrom[1]);
|
/dragonfly/crypto/openssh/ |
H A D | auth2.c | 760 struct sshkey **tmp, *dup; in auth2_record_key() local 763 if ((r = sshkey_from_private(key, &dup)) != 0) in auth2_record_key() 766 authctxt->auth_method_key = dup; in auth2_record_key() 772 if ((r = sshkey_from_private(key, &dup)) != 0) in auth2_record_key() 779 authctxt->prev_keys[authctxt->nprev_keys] = dup; in auth2_record_key()
|