Home
last modified time | relevance | path

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

/external/chromium/base/
Dshared_memory_posix.cc323 const int new_fd = dup(mapped_file_); in ShareToProcessCommon() local
324 DCHECK_GE(new_fd, 0); in ShareToProcessCommon()
325 new_handle->fd = new_fd; in ShareToProcessCommon()
Dprocess_util_posix.cc536 int new_fd = HANDLE_EINTR(dup2(null_fd, STDIN_FILENO)); in LaunchAppImpl() local
537 if (new_fd != STDIN_FILENO) { in LaunchAppImpl()
/external/dbus/dbus/
Ddbus-sysdeps-unix.c2808 int new_fd; in _dbus_dup() local
2813 new_fd = fcntl(fd, F_DUPFD_CLOEXEC, 3); in _dbus_dup()
2814 cloexec_done = new_fd >= 0; in _dbus_dup()
2816 if (new_fd < 0 && errno == EINVAL) in _dbus_dup()
2819 new_fd = fcntl(fd, F_DUPFD, 3); in _dbus_dup()
2822 if (new_fd < 0) { in _dbus_dup()
2833 _dbus_fd_set_close_on_exec(new_fd); in _dbus_dup()
2836 return new_fd; in _dbus_dup()
/external/ppp/pppd/
Dsys-linux.c263 static void set_ppp_fd (int new_fd) in set_ppp_fd() argument
265 ppp_fd = new_fd; in set_ppp_fd()
267 ppp_dev_fd = new_fd; in set_ppp_fd()