Searched refs:new_fd (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/chrome/browser/apps/app_shim/
H A Dunix_domain_socket_acceptor.cc50 int new_fd = -1;
51 if (!IPC::ServerAcceptConnection(listen_fd_, &new_fd)) {
56 base::ScopedFD scoped_fd(new_fd);
/external/chromium_org/base/test/
H A Dmultiprocess_test_android.cc57 int new_fd = it->second; local
58 if (dup2(old_fd, new_fd) < 0) {
/external/chromium_org/base/memory/
H A Dshared_memory_nacl.cc153 const int new_fd = dup(mapped_file_); local
154 if (new_fd < 0) {
159 new_handle->fd = new_fd;
H A Dshared_memory_posix.cc462 const int new_fd = dup(handle_to_dup); local
463 if (new_fd < 0) {
468 new_handle->fd = new_fd;
/external/bison/lib/
H A Dspawni.c256 int new_fd = open_not_cancel (action->action.open_action.path, local
261 if (new_fd == -1)
266 if (new_fd != action->action.open_action.fd)
268 if (dup2 (new_fd, action->action.open_action.fd)
273 if (close_not_cancel (new_fd) != 0)
/external/chromium_org/sandbox/linux/seccomp-bpf/
H A Dsyscall_unittest.cc77 int new_fd; local
79 ASSERT_GE(new_fd = Syscall::Call(__NR_dup, 2), 0);
80 int close_return_value = IGNORE_EINTR(Syscall::Call(__NR_close, new_fd));
/external/chromium_org/base/process/
H A Dlaunch_posix.cc350 int new_fd = HANDLE_EINTR(dup2(null_fd.get(), STDIN_FILENO)); local
351 if (new_fd != STDIN_FILENO) {
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
H A Dkernel_proxy_test.cc498 int new_fd = ki_open("/bar", O_CREAT | O_RDWR, 0777); local
500 ASSERT_EQ(fd, ki_dup2(new_fd, fd));
501 // fd, new_fd -> "/bar"
508 // fd, new_fd -> "/bar"
512 // fd, new_fd, dup_fd -> "/bar"
/external/ppp/pppd/
H A Dsys-linux.c263 /* new_fd is the fd of a tty */
264 static void set_ppp_fd (int new_fd) argument
266 ppp_fd = new_fd;
268 ppp_dev_fd = new_fd;
/external/chromium_org/net/tools/quic/
H A Dend_to_end_test.cc1205 int new_fd = client_->client()->fd(); local
1206 eps->RegisterFD(new_fd, client_->client(), EPOLLIN | EPOLLOUT | EPOLLET);

Completed in 2240 milliseconds