Searched refs:dup (Results 51 - 75 of 207) sorted by relevance

123456789

/freebsd-current/contrib/libpcap/msdos/
H A Dpkt_rx0.asm49 destinAdr db 6 dup (0) ; packet destination address
50 sourceAdr db 6 dup (0) ; packet source address
52 rxBuffer db RX_BUF_SIZE dup (0) ; RX buffer
58 _pktTemp db 20 dup (0) ; temp work area
59 _pktTxBuf db (TX_BUF_SIZE+14) dup (0) ; TX buffer
60 _pktRxBuf RX_ELEMENT NUM_RX_BUF dup (<>) ; RX structures
/freebsd-current/contrib/netbsd-tests/lib/libc/sys/
H A Dt_dup.c49 static char path[] = "dup";
78 fd = dup(fd1);
281 atf_tc_set_md_var(tc, "descr", "Test error conditions of dup(2)");
288 ATF_REQUIRE_ERRNO(EBADF, dup(-1) == -1);
294 atf_tc_set_md_var(tc, "descr", "Test dup(2) against limits");
312 * reached. Ater that dup(2) family
342 fd = dup(buf[0]);
358 atf_tc_fail("dup(2) dupped more than RLIMIT_NOFILE");
374 atf_tc_set_md_var(tc, "descr", "A basic test of dup(2)");
/freebsd-current/sys/contrib/openzfs/lib/libzfsbootenv/
H A Dlzbe_pair.c49 nvlist_t *nvl, *dup; local
54 rv = nvlist_dup(nvl, &dup, 0);
57 nv = dup;
/freebsd-current/crypto/openssl/crypto/chacha/asm/
H A Dchacha-armv8.pl471 dup $xa0,@{K[0]}[0] // unpack key block
473 dup $xa1,@{K[0]}[1]
475 dup $xa2,@{K[0]}[2]
477 dup $xa3,@{K[0]}[3]
479 dup $xb0,@{K[1]}[0]
481 dup $xb1,@{K[1]}[1]
483 dup $xb2,@{K[1]}[2]
485 dup $xb3,@{K[1]}[3]
487 dup $xd0,@{K[3]}[0]
489 dup
[all...]
/freebsd-current/sys/dev/mlx4/mlx4_core/
H A Dmlx4_port.c189 bool dup = mlx4_is_mf_bonded(dev); local
197 dup ? "with" : "without");
266 if (dup) {
279 if (dup) {
282 dup = false;
311 if (dup) {
384 bool dup = mlx4_is_mf_bonded(dev); local
395 if (dup) {
425 if (dup) {
436 if (dup) {
480 bool dup = mlx4_is_mf_bonded(dev); local
584 bool dup = mlx4_is_mf_bonded(dev); local
766 bool dup = mlx4_is_mf_bonded(dev); local
[all...]
/freebsd-current/contrib/capsicum-test/
H A Dioctl.cc21 int fd_no = dup(fd);
153 int fd_nread = dup(fd);
154 int fd_clex = dup(fd);
H A Dfexecve.cc93 int cap_fd = dup(exec_fd_);
104 int cap_fd = dup(exec_fd_);
H A Dopenat.cc51 int etc_cap = dup(etc);
54 int etc_cap_ro = dup(etc);
57 int etc_cap_base = dup(etc);
H A Dsmoketest.c39 int cap_fd = dup(STDOUT_FILENO);
/freebsd-current/crypto/openssl/test/
H A Dexdatatest.c68 int dup; member in struct:myobj_ex_data_st
106 /* indicate this is a dup */
107 ex_data->dup = 1;
288 if (!TEST_int_eq(ex_data->dup, 1))
/freebsd-current/contrib/less/
H A Dttyin.c102 fd0 = dup(0);
/freebsd-current/crypto/openssl/crypto/evp/
H A Dkeymgmt_meth.c137 if (keymgmt->dup == NULL)
138 keymgmt->dup = OSSL_FUNC_keymgmt_dup(fns);
492 /* We assume no dup if the implementation doesn't have a function */
493 if (keymgmt->dup == NULL)
495 return keymgmt->dup(keydata_from, selection);
/freebsd-current/contrib/arm-optimized-routines/string/aarch64/
H A Dstrchrnul-mte.S43 dup vrepchr.16b, chrin
H A Dstrrchr.S64 dup vrepchr.16b, chrin
66 dup vrepmask_c.4s, wtmp2
/freebsd-current/libexec/atrun/
H A Datrun.c201 if ((fd_in = dup(fileno(stream))) <0)
285 if (dup(fd_in) != STDIN_FILENO)
288 if (dup(fd_out) != STDOUT_FILENO)
291 if (dup(fd_out) != STDERR_FILENO)
/freebsd-current/contrib/cortex-strings/src/aarch64/
H A Dstrchr.S93 dup vrepchr.16b, chrin
95 dup vrepmask_c.4s, wtmp2
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_solaris.cpp137 DECLARE__REAL_AND_INTERNAL(uptr, dup, int oldfd) {
138 return _REAL(dup)(oldfd);
/freebsd-current/usr.bin/gzip/
H A Dunpack.c321 in = dup(in);
323 maybe_err("dup");
324 out = dup(out);
326 maybe_err("dup");
/freebsd-current/tests/sys/fs/fusefs/
H A Drelease.cc75 TEST_F(Release, dup)
90 fd2 = dup(fd);
/freebsd-current/usr.bin/newkey/
H A Dupdate.c158 (void)dup(pdto[0]);
160 (void)dup(pdfrom[1]);
/freebsd-current/usr.sbin/rpc.ypupdated/
H A Dupdate.c162 (void)dup(pdto[0]);
164 (void)dup(pdfrom[1]);
/freebsd-current/contrib/processor-trace/libipt/src/
H A Dpt_image_section_cache.c39 char *dup; local
48 dup = malloc(len + 1);
49 if (!dup)
52 dup[len] = 0;
54 return memcpy(dup, str, len);
H A Dpt_image.c40 char *dup; local
49 dup = malloc(len + 1);
50 if (!dup)
53 dup[len] = 0;
55 return memcpy(dup, str, len);
/freebsd-current/crypto/openssh/
H A Dauth2.c773 struct sshkey **tmp, *dup; local
776 if ((r = sshkey_from_private(key, &dup)) != 0)
779 authctxt->auth_method_key = dup;
785 if ((r = sshkey_from_private(key, &dup)) != 0)
792 authctxt->prev_keys[authctxt->nprev_keys] = dup;
/freebsd-current/contrib/mandoc/
H A Dterm_tag.c54 int ofd; /* In /tmp/, dup(2)ed to stdout. */
81 if ((tag_files.ofd = dup(STDOUT_FILENO)) == -1) {

Completed in 147 milliseconds

123456789