Searched refs:dup (Results 1 - 11 of 11) sorted by relevance

/darwin-on-arm/xnu/tools/tests/libMicro/
H A DMakefile.benchmarks46 dup \
H A Ddup.c32 * time dup
62 " [-f file-to-dup (default %s)]\n"
63 "notes: measures dup()\n",
118 ts->ts_fds[i] = dup(fd);
H A Dbench.sh431 dup $OPTS -N "dup" -B 512
H A Dcoreos_bench.sh457 dup $OPTS -N "dup" -B 512
H A Dembd_bench.sh442 dup $OPTS -N "dup" -B 512
/darwin-on-arm/xnu/bsd/net/
H A Dpf_ruleset.c253 struct pf_anchor *anchor = 0, *dup, *parent = NULL; local
304 if ((dup = RB_INSERT(pf_anchor_global, &pf_anchors, anchor)) !=
308 anchor->path, anchor->name, dup->path, dup->name);
315 if ((dup = RB_INSERT(pf_anchor_node, &parent->children,
320 dup->path, dup->name);
/darwin-on-arm/xnu/bsd/man/man2/
H A DMakefile38 dup.2 \
/darwin-on-arm/xnu/tools/tests/libMicro/apple/
H A Dlmbench_select_file.c344 fd = dup(fid);
345 //(void) fprintf(stderr, "benchmark_initworker: dup result is %i\n",fd);
H A Dlmbench_select_tcp.c565 fd = dup(fid);
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_descrip.c449 * dup
453 * Parameters: p Process performing the dup
454 * uap->fd The fd to dup
464 dup(proc_t p, struct dup_args *uap, int32_t *retval) function
493 * Parameters: p Process performing the dup
494 * uap->from The fd to dup
495 * uap->to The fd to dup it to
2135 * Description: Common code for dup, dup2, and fcntl(F_DUPFD).
2137 * Parameters: p Process performing the dup
2138 * old The fd to dup
[all...]
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dtests.c2301 * Test dup, dup2, getdtablesize system calls.
2331 /* test dup, dup2, getdtablesize */
2344 my_newfd = dup( my_fd );
2346 printf( "dup call failed with error %d - \"%s\" \n", errno, strerror( errno) );
2396 /* we do the above tests twice - once for dup and once for dup2 */
3400 /* dup it to a new fd with FD_CLOEXEC forced on */
3425 /* While we're here, dup it via an open of /dev/fd/<fd> .. */

Completed in 139 milliseconds