Searched refs:ts_fd (Results 1 - 9 of 9) sorted by relevance
/darwin-on-arm/xnu/tools/tests/libMicro/ |
H A D | isatty.c | 47 int ts_fd; member in struct:__anon1389 88 ts->ts_fd = ((optb == 0) ? 90 if (ts->ts_fd == -1) { 103 if (isatty(ts->ts_fd) == -1) {
|
H A D | write.c | 44 int ts_fd; member in struct:__anon1424 110 ts->ts_fd = open(optf, O_WRONLY); 114 (void) directio(ts->ts_fd, DIRECTIO_ON); 125 (void) lseek(ts->ts_fd, 0, SEEK_SET); 137 if (write(ts->ts_fd, ts->ts_buf, opts) != opts) {
|
H A D | lseek.c | 54 int ts_fd; member in struct:__anon1393 97 ts->ts_fd = open(optf, O_RDONLY); 110 if (lseek(ts->ts_fd, 0L, SEEK_SET) != 0) { 113 if (lseek(ts->ts_fd, opts, SEEK_SET) != opts) {
|
H A D | read.c | 45 int ts_fd; member in struct:__anon1411 108 ts->ts_fd = open(optf, O_RDONLY); 111 (void) lseek(ts->ts_fd, 0, SEEK_SET); 123 if (read(ts->ts_fd, ts->ts_buf, opts) != opts) {
|
H A D | setsockopt.c | 47 int ts_fd; member in struct:__anon1413 66 if ((ts->ts_fd = socket(AF_INET, SOCK_STREAM, 0)) < 0) 76 (void) close(ts->ts_fd); 91 if (setsockopt(ts->ts_fd, IPPROTO_TCP, TCP_NODELAY,
|
H A D | writev.c | 47 int ts_fd; member in struct:__anon1425 108 ts->ts_fd = open(optf, O_WRONLY); 109 if (ts->ts_fd == -1) { 120 (void) lseek(ts->ts_fd, 0, SEEK_SET); 132 if (writev(ts->ts_fd, ts->ts_iov, optv) != opts * optv) {
|
/darwin-on-arm/xnu/tools/tests/libMicro/apple/ |
H A D | lmbench_write.c | 47 int ts_fd; member in struct:__anon1369 113 ts->ts_fd = open(optf, O_WRONLY); 117 (void) directio(ts->ts_fd, DIRECTIO_ON); 128 (void) lseek(ts->ts_fd, 0, SEEK_SET); 150 if (write(ts->ts_fd, ts->ts_buf, opts) != opts) {
|
H A D | lmbench_fstat.c | 46 int ts_fd; member in struct:__anon1360 95 ts->ts_fd = open(optf, O_RDONLY); 98 /* (void) lseek(ts->ts_fd, 0, SEEK_SET); */ 126 if (fstat(ts->ts_fd, &sbuf) == -1)
|
H A D | lmbench_read.c | 48 int ts_fd; member in struct:__anon1366 111 ts->ts_fd = open(optf, O_RDONLY); 114 (void) lseek(ts->ts_fd, 0, SEEK_SET); 136 if (read(ts->ts_fd, ts->ts_buf, opts) != opts) {
|
Completed in 27 milliseconds