Searched refs:new_fd (Results 1 – 4 of 4) sorted by relevance
323 const int new_fd = dup(mapped_file_); in ShareToProcessCommon() local324 DCHECK_GE(new_fd, 0); in ShareToProcessCommon()325 new_handle->fd = new_fd; in ShareToProcessCommon()
536 int new_fd = HANDLE_EINTR(dup2(null_fd, STDIN_FILENO)); in LaunchAppImpl() local537 if (new_fd != STDIN_FILENO) { in LaunchAppImpl()
2808 int new_fd; in _dbus_dup() local2813 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()
263 static void set_ppp_fd (int new_fd) in set_ppp_fd() argument265 ppp_fd = new_fd; in set_ppp_fd()267 ppp_dev_fd = new_fd; in set_ppp_fd()