/third_party/node/test/async-hooks/ |
H A D | test-pipewrap.js | 34 const pipe2 = pipes[1]; 42 [ pipe1, pipe2, pipe3 ].forEach((x) => { 74 [ pipe1, pipe2, pipe3 ].forEach((x) => { 79 const ioEvents = Math.min(pipe2.before.length, pipe2.after.length); 86 checkInvocations(pipe2, { init: 1, before: ioEvents, after: ioEvents },
|
H A D | test-pipeconnectwrap.js | 15 let pipe1, pipe2; 66 pipe2 = pipes[1]; 67 assert.strictEqual(typeof pipe2.uid, 'number'); 68 assert.strictEqual(typeof pipe2.triggerAsyncId, 'number'); 75 checkInvocations(pipe2, { init: 1 }, 'pipe2, client connected'); 93 checkInvocations(pipe2, { init: 1, before: 2, after: 2, destroy: 1 }, 94 'pipe2, process exiting');
|
/third_party/ltp/testcases/kernel/syscalls/tee/ |
H A D | tee01.c | 52 int pipe2[2]; in tee_test() local 59 SAFE_PIPE(pipe2); in tee_test() 65 ret = tee(pipe1[0], pipe2[1], TEST_BLOCK_SIZE, SPLICE_F_NONBLOCK); in tee_test() 69 ret = splice(pipe2[0], NULL, fd_out, NULL, TEST_BLOCK_SIZE, 0); in tee_test() 71 tst_brk(TBROK | TERRNO, "splice(pipe2, fd_out) failed"); in tee_test() 73 SAFE_CLOSE(pipe2[0]); in tee_test() 74 SAFE_CLOSE(pipe2[1]); in tee_test()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | genericFunctionInference1.js | 36 declare function pipe2<A, B, C, D>(ab: (a: A) => B, cd: (c: C) => D): (a: [A, C]) => [B, D]; 38 const f20 = pipe2(list, box); 39 const f21 = pipe2(box, list); 40 const f22 = pipe2(list, list); 41 const f23 = pipe2(box, box); 42 const f24 = pipe2(f20, f20); 43 const f25 = pipe2(foo, foo); 44 const f26 = pipe2(f25, f25); 278 const f20 = pipe2(list, box);
279 const f21 = pipe2(bo [all...] |
/base/notification/eventhandler/frameworks/test/moduletest/ |
H A D | event_handler_fd_listener_module_test.cpp | 153 int32_t pipe = pipe2(fds, O_NONBLOCK); in HWTEST_F() 207 int32_t pipe = pipe2(fds, O_NONBLOCK); in HWTEST_F() 232 int32_t pipe = pipe2(fds, O_NONBLOCK); in HWTEST_F() 256 int32_t pipe = pipe2(fds, O_NONBLOCK); in HWTEST_F() 280 int32_t pipe = pipe2(fds, O_NONBLOCK); in HWTEST_F() 314 int32_t pipe = pipe2(fds, O_NONBLOCK); in HWTEST_F() 348 int32_t pipe = pipe2(fds, O_NONBLOCK); in HWTEST_F() 385 int32_t pipe = pipe2(fds, O_NONBLOCK); in HWTEST_F() 415 int32_t pipe = pipe2(fds, O_NONBLOCK); in HWTEST_F() 437 int32_t pipe = pipe2(fd in AddFileDescriptorHelper() [all...] |
H A D | event_handler_press_module_test.cpp | 207 int32_t pipe = pipe2(fds, O_NONBLOCK); in HWTEST_F()
|
/test/xts/hats/kernel/syscalls/async/pipe2/ |
H A D | Pipe2ApiTest.cpp | 73 int ret = pipe2(pipeFds, O_CLOEXEC | O_NONBLOCK); in HWTEST_F() 91 int ret = pipe2(pipeFds, O_CLOEXEC); in HWTEST_F()
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/unistd_gtest/ |
H A D | unistd_pipe2_test.cpp | 24 EXPECT_EQ(0, pipe2(fds.data(), O_CLOEXEC)); in HWTEST_F()
|
/third_party/musl/porting/liteos_a/user/src/unistd/ |
H A D | pipe2.c | 7 int pipe2(int fd[2], int flag) in pipe2() function
|
/third_party/musl/src/unistd/ |
H A D | pipe2.c | 7 int pipe2(int fd[2], int flag) in pipe2() function
|
H A D | faccessat.c | 45 if (pipe2(p, O_CLOEXEC)) return __syscall_ret(-EBUSY); in faccessat()
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | pipe2.c | 28 int ret = pipe2(pipefd, flag); in pipe2_test()
|
/third_party/libwebsockets/lib/plat/unix/ |
H A D | unix-pipe.c | 44 n = pipe2(pt->dummy_pipe_fds, O_NONBLOCK); in lws_plat_pipe_create()
|
/third_party/musl/src/stdio/ |
H A D | popen.c | 29 if (pipe2(p, O_CLOEXEC)) return NULL; in popen()
|
/third_party/nghttp2/src/ |
H A D | shrpx_exec.cc | 45 if (pipe2(pfd, O_CLOEXEC) == -1) { in exec_read_command()
|
/third_party/musl/porting/liteos_a/user/src/stdio/ |
H A D | popen.c | 29 if (pipe2(p, O_CLOEXEC)) return NULL; in popen()
|
/third_party/musl/src/misc/ |
H A D | forkpty.c | 21 if (pipe2(p, O_CLOEXEC)) { in forkpty()
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/async_stack/ |
H A D | fp_unwinder.cpp | 74 if (pipe2(g_validPipe, O_CLOEXEC | O_NONBLOCK) != 0) { in UnwindFallback()
|
/base/msdp/device_status/intention/scheduler/task_scheduler/src/ |
H A D | task_scheduler.cpp | 65 if (::pipe2(fds_, O_CLOEXEC | O_NONBLOCK) != 0) {
in Init() 66 FI_HILOGE("pipe2 failed, errno:%{public}s", ::strerror(errno));
in Init()
|
/base/msdp/device_status/services/delegate_task/src/ |
H A D | delegate_tasks.cpp | 64 if (::pipe2(fds_, O_CLOEXEC | O_NONBLOCK) != 0) {
in Init() 65 FI_HILOGE("pipe2 failed, errno:%{public}s", ::strerror(errno));
in Init()
|
/foundation/multimodalinput/input/intention/scheduler/task_scheduler/src/ |
H A D | task_scheduler.cpp | 65 if (::pipe2(fds_, O_CLOEXEC | O_NONBLOCK) != 0) { in Init() 66 FI_HILOGE("pipe2 failed, errno:%{public}s", ::strerror(errno)); in Init()
|
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/wrapper/ |
H A D | wrapper_listener.cpp | 56 int pipeRet = pipe2(pipe_, O_CLOEXEC); in Start()
|
/third_party/node/deps/cares/src/lib/ |
H A D | ares_event_wake_pipe.c | 70 if (pipe2(p->filedes, O_NONBLOCK | O_CLOEXEC) != 0) { in ares_pipeevent_init()
|
/third_party/ltp/testcases/kernel/watchqueue/ |
H A D | common.h | 100 TEST(pipe2(pipefd, O_NOTIFICATION_PIPE)); in wqueue_watch() 110 tst_brk(TBROK | TTERRNO, "pipe2() returned %ld", TST_RET); in wqueue_watch()
|
/base/hiviewdfx/faultloggerd/services/ |
H A D | fault_logger_pipe.cpp | 75 if (pipe2(fds_, O_NONBLOCK) != 0) { in Init()
|