Home
last modified time | relevance | path

Searched refs:kWriteFD (Results 1 – 2 of 2) sorted by relevance

/external/v8/src/
Dd8-posix.cc265 static const int kWriteFD = 1; variable
277 dup2(stdout_fds[kWriteFD], 1); // Dup pipe fd to stdout. in ExecSubprocess()
278 close(stdout_fds[kWriteFD]); // Don't need the original fd now. in ExecSubprocess()
279 fcntl(exec_error_fds[kWriteFD], F_SETFD, FD_CLOEXEC); in ExecSubprocess()
286 bytes_written = write(exec_error_fds[kWriteFD], &err, sizeof(err)); in ExecSubprocess()
497 close(exec_error_fds[kWriteFD]); in System()
498 close(stdout_fds[kWriteFD]); in System()
/external/chromium_org/v8/src/
Dd8-posix.cc267 static const int kWriteFD = 1; variable
279 dup2(stdout_fds[kWriteFD], 1); // Dup pipe fd to stdout. in ExecSubprocess()
280 close(stdout_fds[kWriteFD]); // Don't need the original fd now. in ExecSubprocess()
281 fcntl(exec_error_fds[kWriteFD], F_SETFD, FD_CLOEXEC); in ExecSubprocess()
288 bytes_written = write(exec_error_fds[kWriteFD], &err, sizeof(err)); in ExecSubprocess()
515 close(exec_error_fds[kWriteFD]); in System()
516 close(stdout_fds[kWriteFD]); in System()