Home
last modified time | relevance | path

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

/external/perfetto/src/traced/probes/ftrace/
Datrace_wrapper.cc51 base::Pipe err_pipe = base::Pipe::Create(base::Pipe::kRdNonBlock); in ExecvAtrace() local
57 if ((dup2(*err_pipe.wr, STDERR_FILENO) == -1)) { in ExecvAtrace()
59 base::ignore_result(write(*err_pipe.wr, kError, sizeof(kError))); in ExecvAtrace()
66 base::ignore_result(write(*err_pipe.wr, kError, sizeof(kError))); in ExecvAtrace()
72 base::ignore_result(write(*err_pipe.wr, kError, sizeof(kError))); in ExecvAtrace()
78 base::ignore_result(write(*err_pipe.wr, kError, sizeof(kError))); in ExecvAtrace()
97 err_pipe.wr.reset(); in ExecvAtrace()
106 fds[0].fd = *err_pipe.rd; in ExecvAtrace()
143 int64_t count = PERFETTO_EINTR(read(*err_pipe.rd, buffer, sizeof(buffer))); in ExecvAtrace()
/external/dnsmasq/src/
Ddnsmasq.c128 int piperead, pipefd[2], err_pipe[2]; in main() local
271 err_pipe[1] = -1; in main()
289 safe_pipe(err_pipe, 0); in main()
298 close(err_pipe[1]); in main()
301 if (read_write(err_pipe[0], (unsigned char*) &ev, sizeof(ev), 1)) fatal_event(&ev); in main()
306 close(err_pipe[0]); in main()
312 if ((pid = fork()) == -1) send_event(err_pipe[1], EVENT_FORK_ERR, errno); in main()
327 send_event(err_pipe[1], EVENT_PIDFILE, errno); in main()
342 log_err = log_start(ent_pw, err_pipe[1]); in main()
348 daemon->helperfd = create_helper(pipewrite, err_pipe[1], script_uid, script_gid, max_fd); in main()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/git-svn/
Dgit-llvm103 err_pipe = subprocess.PIPE
106 err_pipe = get_dev_null()
109 p = subprocess.Popen(cmd, cwd=cwd, stdout=subprocess.PIPE, stderr=err_pipe,
/external/perfetto/test/
Dend_to_end_integrationtest.cc136 base::Pipe err_pipe = base::Pipe::Create(); in Exec() local
143 err_pipe.rd.reset(); in Exec()
150 PERFETTO_CHECK(dup2(*err_pipe.wr, STDERR_FILENO) != -1); in Exec()
171 err_pipe.wr.reset(); in Exec()
190 rsize = PERFETTO_EINTR(read(*err_pipe.rd, &stderr_[stderr_pos], in Exec()