Lines Matching refs:pipe
99 if (pipe(caller_to_addr2line) == -1) { in Connect()
102 if (pipe(addr2line_to_caller) == -1) { in Connect()
140 std::unique_ptr<Addr2linePipe>* pipe /* inout */, in Drain() argument
142 DCHECK(pipe != nullptr); in Drain()
143 DCHECK(pipe->get() != nullptr); in Drain()
144 int in = pipe->get()->in.Fd(); in Drain()
158 pipe->reset(); in Drain()
169 pipe->reset(); in Drain()
180 pipe->reset(); in Drain()
188 WritePrefix(os, prefix, (*pipe)->odd); in Drain()
204 (*pipe)->odd = !(*pipe)->odd; in Drain()
218 std::unique_ptr<Addr2linePipe>* pipe /* inout */) { in Addr2line() argument
219 DCHECK(pipe != nullptr); in Addr2line()
228 if (*pipe == nullptr || (*pipe)->file != map_src) { in Addr2line()
229 if (*pipe != nullptr) { in Addr2line()
230 Drain(0, prefix, pipe, os); in Addr2line()
232 pipe->reset(); // Close early. in Addr2line()
243 *pipe = Connect(map_src, args); in Addr2line()
246 Addr2linePipe* pipe_ptr = pipe->get(); in Addr2line()
257 pipe->reset(); in Addr2line()
262 Drain(2U, prefix, pipe, os); in Addr2line()