Lines Matching refs:pipe
116 if (pipe(caller_to_addr2line) == -1) { in Connect()
119 if (pipe(addr2line_to_caller) == -1) { in Connect()
157 std::unique_ptr<Addr2linePipe>* pipe /* inout */, in Drain() argument
159 DCHECK(pipe != nullptr); in Drain()
160 DCHECK(pipe->get() != nullptr); in Drain()
161 int in = pipe->get()->in.Fd(); in Drain()
175 pipe->reset(); in Drain()
186 pipe->reset(); in Drain()
197 pipe->reset(); in Drain()
205 WritePrefix(os, prefix, (*pipe)->odd); in Drain()
221 (*pipe)->odd = !(*pipe)->odd; in Drain()
235 std::unique_ptr<Addr2linePipe>* pipe /* inout */) { in Addr2line() argument
236 DCHECK(pipe != nullptr); in Addr2line()
245 if (*pipe == nullptr || (*pipe)->file != map_src) { in Addr2line()
246 if (*pipe != nullptr) { in Addr2line()
247 Drain(0, prefix, pipe, os); in Addr2line()
249 pipe->reset(); // Close early. in Addr2line()
261 *pipe = Connect(map_src, args); in Addr2line()
264 Addr2linePipe* pipe_ptr = pipe->get(); in Addr2line()
275 pipe->reset(); in Addr2line()
280 Drain(2U, prefix, pipe, os); in Addr2line()