Searched refs:pipe1 (Results 1 - 4 of 4) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/tee/ |
H A D | tee01.c | 51 int pipe1[2]; in tee_test() local 58 SAFE_PIPE(pipe1); in tee_test() 61 ret = splice(fd_in, NULL, pipe1[1], NULL, TEST_BLOCK_SIZE, 0); in tee_test() 63 tst_brk(TBROK | TERRNO, "splice(fd_in, pipe1) failed"); in tee_test() 65 ret = tee(pipe1[0], pipe2[1], TEST_BLOCK_SIZE, SPLICE_F_NONBLOCK); in tee_test() 75 SAFE_CLOSE(pipe1[0]); in tee_test() 76 SAFE_CLOSE(pipe1[1]); in tee_test()
|
/third_party/node/test/async-hooks/ |
H A D | test-pipeconnectwrap.js | 15 let pipe1, pipe2; 40 pipe1 = pipes[0]; 44 assert.strictEqual(pipe1.type, 'PIPEWRAP'); 46 for (const a of [ pipeserver, pipe1, pipeconnect ]) { 72 checkInvocations(pipe1, { init: 1 }, 'pipe1, client connected'); 89 checkInvocations(pipe1, { init: 1, before: 2, after: 2, destroy: 1 }, 90 'pipe1, process exiting');
|
H A D | test-pipewrap.js | 33 const pipe1 = pipes[0]; 42 [ pipe1, pipe2, pipe3 ].forEach((x) => { 74 [ pipe1, pipe2, pipe3 ].forEach((x) => { 84 checkInvocations(pipe1, { init: 1, before: 1, after: 1 },
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | splice.c | 88 int pipe1[1 + 1]; in splice_0200() local 89 int result = pipe(pipe1); in splice_0200() 98 ssize_t bytes = splice(fromfd, NULL, pipe1[1], NULL, len, flags); in splice_0200() 104 close(pipe1[1]); in splice_0200() 107 f = fdopen(pipe1[0], "r"); in splice_0200()
|
Completed in 1 milliseconds