Home
last modified time | relevance | path

Searched refs:pipes (Results 1 – 25 of 76) sorted by relevance

1234

/NextBSD/contrib/ntp/sntp/libevent/test/
HDbench_cascade.c63 static evutil_socket_t *pipes; variable
88 pipes = (evutil_socket_t *)calloc(num_pipes * 2, sizeof(evutil_socket_t)); in run_once()
90 if (events == NULL || pipes == NULL) { in run_once()
95 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) { in run_once()
109 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) { in run_once()
119 if (send(pipes[1], "e", 1, 0) < 0) in run_once()
127 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) { in run_once()
133 free(pipes); in run_once()
HDbench.c68 static evutil_socket_t *pipes; variable
88 n = send(pipes[2 * widx + 1], "e", 1, 0); in read_cb()
103 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) { in run_once()
116 (void) send(pipes[i * space + 1], "e", 1, 0); in run_once()
179 pipes = calloc(num_pipes * 2, sizeof(evutil_socket_t));
180 if (events == NULL || pipes == NULL) {
187 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) {
/NextBSD/tests/sys/kern/pipe/
HDpipe_overcommit2_test.c48 int lastfd, pipes[10000], returnval; in main() local
56 for (i = 0; i < nitems(pipes); i++) { in main()
66 returnval = pipe(&pipes[i]); in main()
76 returnval = pipe(&pipes[i]); in main()
HDpipe_overcommit1_test.c43 int pipes[10000]; in main() local
46 for (i = 0; i < nitems(pipes); i++) in main()
47 (void)pipe(&pipes[i]); in main()
/NextBSD/contrib/flex/
HDfilter.c137 int pid, pipes[2]; in filter_apply_chain() local
156 if (pipe (pipes) == -1) in filter_apply_chain()
171 close (pipes[1]); in filter_apply_chain()
173 if (dup2 (pipes[0], fileno (stdin)) == -1) in filter_apply_chain()
175 close (pipes[0]); in filter_apply_chain()
197 close (pipes[0]); in filter_apply_chain()
198 if (dup2 (pipes[1], fileno (stdout)) == -1) in filter_apply_chain()
200 close (pipes[1]); in filter_apply_chain()
/NextBSD/contrib/llvm/tools/lli/Unix/
HDRPCChannel.inc39 // Create two pipes.
48 // Close the parent ends of the pipes
52 // Use our pipes as stdin and stdout
70 // Close the child ends of the pipes
74 // Store the parent ends of the pipes
82 // Store the parent ends of the pipes
/NextBSD/contrib/netbsd-tests/fs/common/
HDfstest_nfs.c83 int pipes[2]; in donewfs() local
106 if (pipe(pipes) == -1) in donewfs()
113 close(pipes[0]); in donewfs()
114 if (dup2(pipes[1], 3) == -1) in donewfs()
121 close(pipes[1]); in donewfs()
132 if (read(pipes[0], &devnull, 4) == -1) in donewfs()
/NextBSD/tests/sys/aio/
HDaio_test.c532 int *pipes = arg; in aio_pipe_cleanup() local
534 close(pipes[0]); in aio_pipe_cleanup()
535 close(pipes[1]); in aio_pipe_cleanup()
544 int pipes[2]; in ATF_TC_BODY() local
548 ATF_REQUIRE_MSG(pipe(pipes) != -1, in ATF_TC_BODY()
551 aio_context_init(&ac, pipes[0], pipes[1], PIPE_LEN, in ATF_TC_BODY()
552 PIPE_TIMEOUT, aio_pipe_cleanup, pipes); in ATF_TC_BODY()
556 aio_pipe_cleanup(pipes); in ATF_TC_BODY()
/NextBSD/contrib/diff/src/
HDutil.c198 int pipes[2]; in begin_output() local
200 if (pipe (pipes) != 0) in begin_output()
209 close (pipes[1]); in begin_output()
210 if (pipes[0] != STDIN_FILENO) in begin_output()
212 if (dup2 (pipes[0], STDIN_FILENO) < 0) in begin_output()
214 close (pipes[0]); in begin_output()
222 close (pipes[0]); in begin_output()
223 outfile = fdopen (pipes[1], "w"); in begin_output()
/NextBSD/contrib/gcc/config/mips/
HDsb1.md6 ;; pipes (one of which can support some ALU operations), 2 alu pipes, 2 FP
7 ;; pipes, and 1 MDMX pipes. It can issue 2 ls insns and 2 exe/fpu/mdmx insns
24 ;; The A1 MDMX pipe is separate from the FP pipes, but uses the same register
53 ;; Can only issue to one of the ex and fp pipes at a time.
58 ;; We can use 2 FP pipes only if we have 64-bit FP code, and exceptions are
/NextBSD/tools/test/testfloat/
HDtestfloat-history.txt25 normally joined by explicit command-line pipes.)
/NextBSD/contrib/gcc/config/i386/
HDpentium.md73 ;; Pentium do have U and V pipes. Instruction to both pipes
85 ;; We add dummy "port" pipes allocated only first cycle of
/NextBSD/contrib/gcclibs/libiberty/
HDpexecute.txh18 Use pipes for communication between processes, if possible.
90 was set in the call to @code{pex_init}, and the system supports pipes
176 On systems that do not support pipes, this function returns
186 Most systems' pipes can buffer only a fixed amount of data; a process
/NextBSD/contrib/apr/
HDCHANGES137 *) Files and pipes on Windows: Don't create an unused pollset when
138 files and pipes are opened. [Mladen Turk]
/NextBSD/contrib/llvm/lib/Target/AArch64/
HDAArch64SchedCyclone.td25 // 4 integer pipes
41 // 2 shifter pipes: I[2..3]
64 // 2 ld/st pipes.
69 // 3 fp/vector pipes.
73 // 2 fp/vector arithmetic and multiply pipes: V[0-1]
HDAArch64SchedA57WriteRes.td19 // 11 micro-ops to be issued down one I pipe, six S pipes and four V pipes.
HDAArch64SchedA53.td149 // ALU - Most operands in the ALU pipes are not needed for two cycles. Shiftable
/NextBSD/sys/dev/drm/
HDi915_drm.h243 int pipes; member
/NextBSD/contrib/netbsd-tests/lib/libcurses/
HDtestframe.txt21 number of pipes and a pseudo-tty (pty). The programs are called the
235 of pipes and a pseudo-tty connected to its standard i/o file
/NextBSD/sys/dev/drm2/i915/
HDi915_drm.h274 int pipes; member
/NextBSD/contrib/tcsh/
HDNewThings127 * eval pipes work
/NextBSD/contrib/apr/include/
HDapr.hnw219 /* Netware can poll on files/pipes.
/NextBSD/contrib/llvm/lib/Target/X86/
HDX86ScheduleBtVer2.td195 // FIXME: integer pipes
/NextBSD/contrib/libreadline/examples/rlfe/
HDconfig.h.in240 * Define this if your system supports named pipes.
/NextBSD/contrib/gcc/config/arm/
HDarm1136jfs.md59 ;; including the writeback stage, is independent from the ALU & LSU pipes.)

1234