Searched refs:pipe_read (Results 1 – 4 of 4) sorted by relevance
/system/core/debuggerd/client/ |
D | debuggerd_client_test.cpp | 86 unique_fd pipe_read, pipe_write; in TEST() local 87 ASSERT_TRUE(Pipe(&pipe_read, &pipe_write)); in TEST() 91 ASSERT_EQ(PIPE_SIZE, fcntl(pipe_read.get(), F_SETPIPE_SZ, PIPE_SIZE)); in TEST() 100 ASSERT_TRUE(android::base::ReadFdToString(pipe_read.get(), &result)); in TEST() 118 unique_fd pipe_read, pipe_write; in TEST() local 119 ASSERT_TRUE(Pipe(&pipe_read, &pipe_write)); in TEST() 126 TEMP_FAILURE_RETRY(read(pipe_read.get(), &dummy, sizeof(dummy))); in TEST() 130 pipe_read.reset(); in TEST()
|
D | debuggerd_client.cpp | 178 unique_fd pipe_read, pipe_write; in debuggerd_trigger_dump() local 179 if (!Pipe(&pipe_read, &pipe_write)) { in debuggerd_trigger_dump() 194 if (fcntl(pipe_read.get(), F_SETPIPE_SZ, pipe_buffer_size) != pipe_buffer_size) { in debuggerd_trigger_dump() 262 .fd = pipe_read.get(), .events = POLLIN, .revents = 0, in debuggerd_trigger_dump() 286 rc = TEMP_FAILURE_RETRY(read(pipe_read.get(), buf, sizeof(buf))); in debuggerd_trigger_dump()
|
/system/core/debuggerd/handler/ |
D | debuggerd_fallback.cpp | 219 unique_fd pipe_read, pipe_write; in trace_handler() local 220 if (!Pipe(&pipe_read, &pipe_write)) { in trace_handler() 248 bool success = forward_output(pipe_read.get(), output_fd.get(), tid); in trace_handler()
|
/system/vold/ |
D | Utils.cpp | 708 android::base::unique_fd pipe_read, pipe_write; in ForkExecvp() local 709 if (!android::base::Pipe(&pipe_read, &pipe_write)) { in ForkExecvp() 722 pipe_read.reset(); in ForkExecvp() 738 auto st = ReadLinesFromFdAndLog(output, std::move(pipe_read)); in ForkExecvp()
|