/dports/www/chromium-legacy/chromium-88.0.4324.182/native_client/tests/pwrite/ |
H A D | pwrite_test.c | 78 int *rd_fd) { in InitializeFile() argument 100 *rd_fd = open(filename, O_RDONLY, 0); in InitializeFile() 101 if (-1 == *rd_fd) { in InitializeFile() 248 if (!VerifyContents(rd_fd, in PwriteDoesNotAffectReadPos() 254 if (!VerifyContents(rd_fd, in PwriteDoesNotAffectReadPos() 308 if (!VerifyContents(rd_fd, overwrite, in PwriteDoesNotAffectWritePos() 315 if (!VerifyContents(rd_fd, second_seq_write, in PwriteDoesNotAffectWritePos() 338 if (!VerifyContents(rd_fd, in PwriteDoesNotAffectWritePos() 501 int rd_fd; in main() local 530 if ((*g_test_cases[ix].test_func)(wr_fd, rd_fd, in main() [all …]
|
/dports/benchmarks/stress-ng/stress-ng-0.13.09/ |
H A D | stress-sigio.c | 43 static int rd_fd; variable 61 if (rd_fd > 0) { in stress_sigio_handler() 70 ret = read(rd_fd, buffer, sizeof(buffer)); in stress_sigio_handler() 91 rd_fd = -1; in stress_sigio() 102 rd_fd = fds[0]; in stress_sigio()
|
/dports/chinese/bitchx/bitchx-1.2.1/source/ |
H A D | scr-bx.c | 385 fd_set rd_fd; in reattach_tty() local 488 FD_ZERO(&rd_fd); in reattach_tty() 489 FD_SET(0, &rd_fd); in reattach_tty() 490 FD_SET(s, &rd_fd); in reattach_tty() 493 switch(select(s+1, &rd_fd, NULL, NULL, &tm)) in reattach_tty() 511 if (FD_ISSET(0, &rd_fd)) in reattach_tty() 516 if (FD_ISSET(s, &rd_fd)) in reattach_tty()
|
/dports/irc/bitchx/bitchx-1.2.1/source/ |
H A D | scr-bx.c | 385 fd_set rd_fd; in reattach_tty() local 488 FD_ZERO(&rd_fd); in reattach_tty() 489 FD_SET(0, &rd_fd); in reattach_tty() 490 FD_SET(s, &rd_fd); in reattach_tty() 493 switch(select(s+1, &rd_fd, NULL, NULL, &tm)) in reattach_tty() 511 if (FD_ISSET(0, &rd_fd)) in reattach_tty() 516 if (FD_ISSET(s, &rd_fd)) in reattach_tty()
|
/dports/shells/yash/yash-2.51/ |
H A D | redir.c | 323 if (r->rd_fd < 0) { in open_redirections() 326 } else if (is_shellfd(r->rd_fd)) { in open_redirections() 328 r->rd_fd); in open_redirections() 347 save_fd(r->rd_fd, save); in open_redirections() 392 fd = parse_and_exec_pipe(r->rd_fd, filename, save); in open_redirections() 421 if (fd != r->rd_fd) { in open_redirections() 423 if (xdup2(fd, r->rd_fd) < 0) in open_redirections() 428 xclose(r->rd_fd); in open_redirections()
|
H A D | parser.h | 304 int rd_fd; /* file descriptor to redirect */ member
|
H A D | parser.c | 2246 result->rd_fd = fd; in tryparse_redirect() 3846 wb_wprintf(&pr->buffer, L"%d%ls", rd->rd_fd, s); in print_redirections()
|
/dports/news/trn4/trn-4.0-test77/ |
H A D | inews.c | 151 int rd_fd, wr_fd; local 152 if (sscanf(cp,"%d.%d",&rd_fd,&wr_fd) == 2) { 153 nntplink.rd_fp = fdopen(rd_fd, "r");
|
/dports/net/openmpi/openmpi-4.1.1/opal/mca/pmix/pmix3x/pmix/test/ |
H A D | test_server.c | 41 close(s->rd_fd); in sdes() 57 s->rd_fd = -1; in scon() 549 rc = read(server->rd_fd, &msg_hdr, sizeof(msg_hdr_t)); in server_read_cb() 555 rc += read(server->rd_fd, msg_buf, msg_hdr.size); in server_read_cb() 876 server_info->rd_fd = fd1[0]; in server_init() 888 server_info->rd_fd = fd2[0]; in server_init() 897 server_info->rd_fd = fd1[0]; in server_init() 927 server->evread = pmix_event_new(pmix_globals.evbase, server->rd_fd, in server_init()
|
H A D | test_server.h | 43 int rd_fd; member
|
/dports/net/mpich2/mpich2-1.5/src/pm/hydra/tools/topo/hwloc/hwloc/tests/ports/include/ |
H A D | radset.h | 46 int rd_fd; member
|
/dports/devel/hwloc/hwloc-1.11.13/tests/ports/include/osf/ |
H A D | radset.h | 46 int rd_fd; member
|
/dports/sysutils/busybox/busybox-1.26.2/shell/ |
H A D | hush.c | 482 int rd_fd; /* fd to redirect */ member 3021 r->rd_fd, redir_table[r->rd_type].descrip); in free_pipe() 3686 debug_printf_parse("redirect type %d %s\n", redir->rd_fd, in parse_redirect() 3695 redir->rd_fd, redir->rd_dup); in parse_redirect() 6317 xmove_fd(pair.rd, redir->rd_fd); in setup_heredoc() 6352 close(redir->rd_fd); /* read side of the pipe */ in setup_heredoc() 6454 save_fds_on_redirect(redir->rd_fd, squirrel); in setup_redirects() 6492 if (openfd != redir->rd_fd) { in setup_redirects() 6493 int closed = save_fds_on_redirect(redir->rd_fd, squirrel); in setup_redirects() 6499 close(redir->rd_fd); in setup_redirects() [all …]
|
/dports/devel/aegis/aegis-4.25.D510/libaegis/ |
H A D | glue.cc | 341 proxy(int rd_fd, int wr_fd) in proxy() argument 343 trace(("proxy(%d, %d)\n{\n", rd_fd, wr_fd)); in proxy() 345 FILE *command = fdopen(rd_fd, "r"); in proxy()
|
/dports/sysutils/rsyslog8/rsyslog-8.2112.0/runtime/ |
H A D | queue.c | 1818 int rd_fd = -1; in ATTR_NONNULL() local 1823 rd_fd = strmGetCurrFileNum(pThis->tVars.disk.pReadDeq); in ATTR_NONNULL() 1830 if(rd_fd != -1 && rd_fd == wr_fd && rd_offs == wr_offs) { in ATTR_NONNULL() 1835 rd_fd, rd_offs); in ATTR_NONNULL()
|
/dports/net-p2p/shx/shx-0.2.4/src/ |
H A D | hx_commands.c | 4354 rd_wr (int rd_fd, int wr_fd, u_int32_t data_len, struct htxf_conn *htxf) argument 4365 if ((len = read(rd_fd, buf, (bufsiz < data_len) ? bufsiz : data_len)) < 1)
|