Home
last modified time | relevance | path

Searched refs:rd_fd (Results 1 – 16 of 16) sorted by relevance

/dports/www/chromium-legacy/chromium-88.0.4324.182/native_client/tests/pwrite/
H A Dpwrite_test.c78 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 Dstress-sigio.c43 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 Dscr-bx.c385 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 Dscr-bx.c385 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 Dredir.c323 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 Dparser.h304 int rd_fd; /* file descriptor to redirect */ member
H A Dparser.c2246 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 Dinews.c151 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 Dtest_server.c41 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 Dtest_server.h43 int rd_fd; member
/dports/net/mpich2/mpich2-1.5/src/pm/hydra/tools/topo/hwloc/hwloc/tests/ports/include/
H A Dradset.h46 int rd_fd; member
/dports/devel/hwloc/hwloc-1.11.13/tests/ports/include/osf/
H A Dradset.h46 int rd_fd; member
/dports/sysutils/busybox/busybox-1.26.2/shell/
H A Dhush.c482 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 Dglue.cc341 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 Dqueue.c1818 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 Dhx_commands.c4354 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)