Home
last modified time | relevance | path

Searched refs:pipe2 (Results 1 - 25 of 68) sorted by relevance

123

/third_party/node/test/async-hooks/
H A Dtest-pipewrap.js34 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 Dtest-pipeconnectwrap.js15 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 Dtee01.c52 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 DgenericFunctionInference1.js36 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 Devent_handler_fd_listener_module_test.cpp153 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 Devent_handler_press_module_test.cpp207 int32_t pipe = pipe2(fds, O_NONBLOCK); in HWTEST_F()
/test/xts/hats/kernel/syscalls/async/pipe2/
H A DPipe2ApiTest.cpp73 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 Dunistd_pipe2_test.cpp24 EXPECT_EQ(0, pipe2(fds.data(), O_CLOEXEC)); in HWTEST_F()
/third_party/musl/porting/liteos_a/user/src/unistd/
H A Dpipe2.c7 int pipe2(int fd[2], int flag) in pipe2() function
/third_party/musl/src/unistd/
H A Dpipe2.c7 int pipe2(int fd[2], int flag) in pipe2() function
H A Dfaccessat.c45 if (pipe2(p, O_CLOEXEC)) return __syscall_ret(-EBUSY); in faccessat()
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
H A Dpipe2.c28 int ret = pipe2(pipefd, flag); in pipe2_test()
/third_party/libwebsockets/lib/plat/unix/
H A Dunix-pipe.c44 n = pipe2(pt->dummy_pipe_fds, O_NONBLOCK); in lws_plat_pipe_create()
/third_party/musl/src/stdio/
H A Dpopen.c29 if (pipe2(p, O_CLOEXEC)) return NULL; in popen()
/third_party/nghttp2/src/
H A Dshrpx_exec.cc45 if (pipe2(pfd, O_CLOEXEC) == -1) { in exec_read_command()
/third_party/musl/porting/liteos_a/user/src/stdio/
H A Dpopen.c29 if (pipe2(p, O_CLOEXEC)) return NULL; in popen()
/third_party/musl/src/misc/
H A Dforkpty.c21 if (pipe2(p, O_CLOEXEC)) { in forkpty()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/async_stack/
H A Dfp_unwinder.cpp74 if (pipe2(g_validPipe, O_CLOEXEC | O_NONBLOCK) != 0) { in UnwindFallback()
/base/msdp/device_status/intention/scheduler/task_scheduler/src/
H A Dtask_scheduler.cpp65 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 Ddelegate_tasks.cpp64 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 Dtask_scheduler.cpp65 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 Dwrapper_listener.cpp56 int pipeRet = pipe2(pipe_, O_CLOEXEC); in Start()
/third_party/node/deps/cares/src/lib/
H A Dares_event_wake_pipe.c70 if (pipe2(p->filedes, O_NONBLOCK | O_CLOEXEC) != 0) { in ares_pipeevent_init()
/third_party/ltp/testcases/kernel/watchqueue/
H A Dcommon.h100 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 Dfault_logger_pipe.cpp75 if (pipe2(fds_, O_NONBLOCK) != 0) { in Init()

Completed in 7 milliseconds

123