Home
last modified time | relevance | path

Searched refs:dup (Results 1 – 25 of 109) sorted by relevance

12345

/dragonfly/sys/netgraph7/tee/
H A Dng_tee.c68 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 Dng_tee.c282 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 Dpass1b.c90 if (dlp->dup == blkno) { in pass1bcheck()
92 dlp->dup = duphead->dup; in pass1bcheck()
93 duphead->dup = blkno; in pass1bcheck()
H A Dpass4.c129 if (dlp->dup != blkno) in pass4check()
131 dlp->dup = duplist->dup; in pass4check()
/dragonfly/libexec/mknetid/
H A Dhash.c132 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 Dmem.c76 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 Dcmd_remote.c45 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 Dhammer.c242 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 Dtls_content.c85 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 Dpf_ruleset.c189 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 Dira-conflicts.c251 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 Dhammer.c164 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 Dhammer2.c403 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 Dunistd--.h23 #undef dup
24 #define dup dup_safer macro
/dragonfly/contrib/tcp_wrappers/
H A Dshell_cmd.c80 } else if (dup(0) != 1 || dup(0) != 2) {
H A Dsafe_finger.c182 if (dup(pipefds[1]) != 1)
191 if (dup(pipefds[0]) != 0)
/dragonfly/contrib/mdocml/
H A Dmandocd.c194 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 Dlsystem.c114 inp = dup(0); in lsystem()
119 dup(inp); in lsystem()
178 dup(inp); in lsystem()
/dragonfly/libexec/atrun/
H A Datrun.c194 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 DMakefile31 dup-safer-flag.c \
32 dup-safer.c \
/dragonfly/contrib/tcsh-6/
H A Dsh.sem.c868 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 Dfilter_fork_posix.c96 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 Dupdate.c165 dup(pdto[0]); in _openchild()
167 dup(pdfrom[1]); in _openchild()
/dragonfly/usr.bin/newkey/
H A Dupdate.c169 (void)dup(pdto[0]);
171 (void)dup(pdfrom[1]);
/dragonfly/crypto/openssh/
H A Dauth2.c760 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()

12345