/external/chromium_org/ipc/ |
ipc_channel_factory.cc | 48 int new_fd = -1; 49 if (!ServerAcceptConnection(listen_fd_, &new_fd)) { 55 if (new_fd < 0) { 61 file_util::ScopedFD scoped_fd(&new_fd); member in namespace:IPC 64 if (!IsPeerAuthorized(new_fd))
|
/external/chromium_org/base/test/ |
multiprocess_test_android.cc | 51 int new_fd = it->second; local 52 if (dup2(old_fd, new_fd) < 0) {
|
/external/chromium_org/base/memory/ |
shared_memory_nacl.cc | 144 const int new_fd = dup(mapped_file_); local 145 if (new_fd < 0) { 150 new_handle->fd = new_fd;
|
shared_memory_posix.cc | 408 const int new_fd = dup(mapped_file_); local 409 if (new_fd < 0) { 414 new_handle->fd = new_fd;
|
/external/bison/lib/ |
spawni.c | 256 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/ |
syscall_unittest.cc | 64 int new_fd; local 66 ASSERT_GE(new_fd = SandboxSyscall(__NR_dup, 2), 0); 67 int close_return_value = HANDLE_EINTR(SandboxSyscall(__NR_close, new_fd));
|
/external/openssh/ |
mux.c | 312 int new_fd[3]; local 375 if ((new_fd[i] = mm_receive_fd(c->sock)) == -1) { 379 close(new_fd[j]); 398 new_fd[0], new_fd[1], new_fd[2]); 408 close(new_fd[0]); 409 close(new_fd[1]); 410 close(new_fd[2]); 434 if (cctx->want_tty && tcgetattr(new_fd[0], &cctx->tio) == -1 830 int new_fd[2]; local [all...] |
/external/chromium/base/ |
shared_memory_posix.cc | 323 const int new_fd = dup(mapped_file_); local 324 DCHECK_GE(new_fd, 0); 325 new_handle->fd = new_fd;
|
process_util_posix.cc | 544 int new_fd = HANDLE_EINTR(dup2(null_fd, STDIN_FILENO)); local 545 if (new_fd != STDIN_FILENO) { [all...] |
/external/chromium_org/native_client_sdk/src/libraries/nacl_io_test/ |
kernel_proxy_test.cc | 251 int new_fd = ki_open("/bar", O_CREAT | O_RDWR); local 253 EXPECT_EQ(fd, ki_dup2(new_fd, fd)); 254 // fd, new_fd -> "/bar" 261 // fd, new_fd -> "/bar" 265 // fd, new_fd, dup_fd -> "/bar"
|
/external/chromium_org/base/process/ |
launch_posix.cc | 459 int new_fd = HANDLE_EINTR(dup2(null_fd, STDIN_FILENO)); local 460 if (new_fd != STDIN_FILENO) {
|
/external/ppp/pppd/ |
sys-linux.c | 262 /* new_fd is the fd of a tty */ 263 static void set_ppp_fd (int new_fd) 265 ppp_fd = new_fd; 267 ppp_dev_fd = new_fd; [all...] |