| /NextBSD/contrib/ntp/sntp/libevent/test/ |
| HD | bench_cascade.c | 63 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()
|
| HD | bench.c | 68 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/ |
| HD | pipe_overcommit2_test.c | 48 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()
|
| HD | pipe_overcommit1_test.c | 43 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/ |
| HD | filter.c | 137 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/ |
| HD | RPCChannel.inc | 39 // 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/ |
| HD | fstest_nfs.c | 83 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/ |
| HD | aio_test.c | 532 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/ |
| HD | util.c | 198 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/ |
| HD | sb1.md | 6 ;; 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/ |
| HD | testfloat-history.txt | 25 normally joined by explicit command-line pipes.)
|
| /NextBSD/contrib/gcc/config/i386/ |
| HD | pentium.md | 73 ;; 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/ |
| HD | pexecute.txh | 18 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/ |
| HD | CHANGES | 137 *) 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/ |
| HD | AArch64SchedCyclone.td | 25 // 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]
|
| HD | AArch64SchedA57WriteRes.td | 19 // 11 micro-ops to be issued down one I pipe, six S pipes and four V pipes.
|
| HD | AArch64SchedA53.td | 149 // ALU - Most operands in the ALU pipes are not needed for two cycles. Shiftable
|
| /NextBSD/sys/dev/drm/ |
| HD | i915_drm.h | 243 int pipes; member
|
| /NextBSD/contrib/netbsd-tests/lib/libcurses/ |
| HD | testframe.txt | 21 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/ |
| HD | i915_drm.h | 274 int pipes; member
|
| /NextBSD/contrib/tcsh/ |
| HD | NewThings | 127 * eval pipes work
|
| /NextBSD/contrib/apr/include/ |
| HD | apr.hnw | 219 /* Netware can poll on files/pipes.
|
| /NextBSD/contrib/llvm/lib/Target/X86/ |
| HD | X86ScheduleBtVer2.td | 195 // FIXME: integer pipes
|
| /NextBSD/contrib/libreadline/examples/rlfe/ |
| HD | config.h.in | 240 * Define this if your system supports named pipes.
|
| /NextBSD/contrib/gcc/config/arm/ |
| HD | arm1136jfs.md | 59 ;; including the writeback stage, is independent from the ALU & LSU pipes.)
|