Home
last modified time | relevance | path

Searched refs:setup_pipe_end (Results 1 – 4 of 4) sorted by relevance

/external/minijail/
Dsystem_unittest.cc161 TEST(setup_pipe_end, bad_index) { in TEST() argument
162 EXPECT_LT(setup_pipe_end(nullptr, 2), 0); in TEST()
163 EXPECT_LT(setup_pipe_end(nullptr, 3), 0); in TEST()
164 EXPECT_LT(setup_pipe_end(nullptr, 4), 0); in TEST()
168 TEST(setup_pipe_end, index0) { in TEST() argument
172 EXPECT_EQ(fds[0], setup_pipe_end(fds, 0)); in TEST()
179 TEST(setup_pipe_end, index1) { in TEST() argument
183 EXPECT_EQ(fds[1], setup_pipe_end(fds, 1)); in TEST()
Dsystem.h49 int setup_pipe_end(int fds[2], size_t index);
Dsystem.c216 int setup_pipe_end(int fds[2], size_t index) in setup_pipe_end() function
Dlibminijail.c2803 setup_pipe_end(stdin_fds, 1 /* write end */); in minijail_run_internal()
2811 setup_pipe_end(stdout_fds, 0 /* read end */); in minijail_run_internal()
2819 setup_pipe_end(stderr_fds, 0 /* read end */); in minijail_run_internal()