Searched refs:close (Results 1 - 25 of 47) sorted by relevance

12

/darwin-on-arm/xnu/tools/tests/libMicro/apple/
H A Dlmbench_bw_unix.c219 close(state->control[1]);
220 close(state->pipes[0]);
234 close(state->control[0]);
235 close(state->pipes[1]);
274 close(state->control[1]);
275 close(state->pipes[0]);
H A Dlmbench_openclose.c100 close(fd);
H A Dlmbench_select_file.c150 close(ts->fid);
170 // close(newsock);
266 close(i);
358 close(fid);
H A Dlmbench_bw_mmap_rd.c189 close(sfd);
190 close(dfd);
217 " [-i] io_only (no open/close)\n"
326 close(fd);
343 if (state->fd >= 0) close(state->fd);
H A Dlmbench_select_tcp.c166 close(ts->fid);
184 close(newsock);
405 close(sock);
495 close(i);
578 close(fid);
H A Dlmbench_lat_ctx.c300 if (j != i - 1) close(p[j][0]);
301 if (j != i) close(p[j][1]);
374 close(ts->p[i][0]);
375 close(ts->p[i][1]);
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dsocket_tests.c139 close( my_child_fd );
149 close( my_child_fd );
191 close( my_child_fd );
201 close( my_child_fd );
208 close( my_child_fd );
222 close ( my_child_fd );
248 close( my_child_fd );
252 my_result = close ( my_libsys_fd );
254 printf ( "close failed with error %d - \"%s\" \n", errno, strerror( errno) );
255 close ( my_child_f
[all...]
H A Dpipes_tests.c694 die_on_error(0 != close(pipefds[0]), "close()");
695 die_on_error(0 != close(pipefds[1]), "close()");
713 close(p[0]);
714 close(p[1]);
725 close(p[0]);
726 close(p[1]);
739 close(p[0]);
740 close(
[all...]
H A Dcontent_protection_test.c70 goto close;
78 goto close;
83 close:
484 close(fd);
557 close(fd);
648 close(fd);
755 close(fd);
882 close(subdir_fd);
890 close(subdir_fd);
896 close(f
[all...]
H A Dkqueue_tests.c526 close( my_sockets[0] );
528 close( my_sockets[1] );
530 close( my_kqueue );
532 close( my_kqueue );
534 close( my_fd );
H A Dtests.c111 close( my_fd );
260 close( my_fd );
435 close( my_fd );
446 * Test close, fpathconf, fstat, open, pathconf system calls.
534 close( my_fd );
616 close( my_fd );
699 close( my_fd );
751 close( my_fd );
881 close( my_fd );
1083 close( my_f
[all...]
/darwin-on-arm/xnu/bsd/miscfs/devfs/
H A Dreproto.sh64 close F;
/darwin-on-arm/xnu/tools/tests/libMicro/
H A Dclose_tcp.c32 * benchmark to measure time to close a local tcp connection
67 "notes: measures close() on local TCP connections");
209 if (close(ts->ts_accs[i]) == -1) {
225 (void) close(ts->ts_cons[i]);
238 (void) close(ts->ts_lsns[i]);
H A Dpipe.c259 (void) close(ts->ts_in2);
260 (void) close(ts->ts_out2);
264 (void) close(ts->ts_in2);
265 (void) close(ts->ts_out2);
273 (void) close(ts->ts_in);
274 (void) close(ts->ts_out);
H A DMakefile.benchmarks43 close \
H A Dclose.c32 * benchmark for close
60 " [-f file-to-close (default %s)]\n"
61 " [-b] (try to close an unopened fd)\n"
62 "notes: measures close()",
134 if (close(ts->ts_fds[i]) == -1 && !optb) {
H A Ddup.c135 (void) close(ts->ts_fds[i]);
H A Dopen.c134 (void) close(ts->ts_fds[i]);
H A Dsetsockopt.c76 (void) close(ts->ts_fd);
H A Dsocket.c153 (void) close(ts->ts_fds[i]);
H A Dsocketpair.c114 (void) close(ts->ts_fds[i]);
H A Dmsync.c136 (void) close(fd);
H A Dbind.c161 (void) close(ts->ts_lsns[i]);
/darwin-on-arm/xnu/iokit/IOKit/
H A DIOPolledInterface.h73 virtual IOReturn close(IOOptionBits state) = 0;
/darwin-on-arm/xnu/SETUP/setsegname/
H A Dsetsegname.c115 close(fd);
243 close(fd);

Completed in 112 milliseconds

12