ScopedFD 50 base/debug/proc_maps_linux.cc base::ScopedFD fd(HANDLE_EINTR(open("/proc/self/maps", O_RDONLY))); ScopedFD 169 base/file_util_posix.cc ScopedFD fd(CreateAndOpenFdForTemporaryFile(FilePath("/dev/shm"), &path)); ScopedFD 2474 base/file_util_unittest.cc TEST(ScopedFD, ScopedFDDoesClose) { ScopedFD 2479 base/file_util_unittest.cc base::ScopedFD read_end_closer(fds[0]); ScopedFD 2481 base/file_util_unittest.cc base::ScopedFD write_end_closer(fds[1]); ScopedFD 2495 base/file_util_unittest.cc base::ScopedFD fd_closer(fd); ScopedFD 2499 base/file_util_unittest.cc TEST(ScopedFD, ScopedFDCrashesOnCloseFailure) { ScopedFD 2502 base/file_util_unittest.cc base::ScopedFD read_end_closer(fds[0]); ScopedFD 298 base/files/file.h ScopedFD file_; ScopedFD 69 base/memory/discardable_memory_allocator_android.cc base::ScopedFD fd(ashmem_create_region(name, size)); ScopedFD 265 base/memory/shared_memory.h bool PrepareMapFile(ScopedFILE fp, ScopedFD readonly); ScopedFD 133 base/memory/shared_memory_posix.cc ScopedFD readonly_fd; ScopedFD 267 base/memory/shared_memory_posix.cc ScopedFD readonly_fd(HANDLE_EINTR(open(path.value().c_str(), O_RDONLY))); ScopedFD 352 base/memory/shared_memory_posix.cc bool SharedMemory::PrepareMapFile(ScopedFILE fp, ScopedFD readonly_fd) { ScopedFD 29 base/posix/unix_domain_socket_linux_unittest.cc ScopedFD scoped_fd0(fds[0]); ScopedFD 30 base/posix/unix_domain_socket_linux_unittest.cc ScopedFD scoped_fd1(fds[1]); ScopedFD 66 base/posix/unix_domain_socket_linux_unittest.cc ScopedFD scoped_fd1(fds[1]); ScopedFD 80 base/process/kill_mac.cc ScopedFD kq(HANDLE_EINTR(kqueue())); ScopedFD 277 base/process/kill_posix.cc ScopedFD kq(kqueue()); ScopedFD 336 base/process/launch_posix.cc base::ScopedFD null_fd(HANDLE_EINTR(open("/dev/null", O_RDONLY))); ScopedFD 248 base/test/launcher/test_launcher.cc base::ScopedFD output_file_fd; ScopedFD 18 base/test/test_file_util_linux.cc ScopedFD fd(open(file.value().c_str(), O_RDONLY)); ScopedFD 60 chrome/browser/chromeos/system/automatic_reboot_manager.cc base::ScopedFD fd( ScopedFD 112 chrome/browser/chromeos/system/automatic_reboot_manager.cc base::ScopedFD fd(HANDLE_EINTR( ScopedFD 62 chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc base::ScopedFD read_pipe_read_fd(read_pipe_fds[0]); ScopedFD 63 chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc base::ScopedFD read_pipe_write_fd(read_pipe_fds[1]); ScopedFD 71 chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc base::ScopedFD write_pipe_read_fd(write_pipe_fds[0]); ScopedFD 72 chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc base::ScopedFD write_pipe_write_fd(write_pipe_fds[1]); ScopedFD 136 chrome/browser/mac/relauncher.cc base::ScopedFD pipe_read_fd(pipe_fds[0]); ScopedFD 137 chrome/browser/mac/relauncher.cc base::ScopedFD pipe_write_fd(pipe_fds[1]); ScopedFD 189 chrome/browser/mac/relauncher.cc base::ScopedFD relauncher_sync_fd(kRelauncherSyncFD); ScopedFD 203 chrome/browser/mac/relauncher.cc base::ScopedFD kq(kqueue()); ScopedFD 43 chrome/browser/process_singleton_mac_unittest.cc base::ScopedFD fd(HANDLE_EINTR(open(lock_path_.value().c_str(), O_RDONLY))); ScopedFD 253 chrome/test/chromedriver/chrome_launcher.cc base::ScopedFD devnull; ScopedFD 51 chrome/utility/importer/firefox_importer_unittest_utils_mac.cc base::ScopedFD ipcfd(channel->TakeClientFileDescriptor()); ScopedFD 232 content/browser/child_process_launcher.cc base::ScopedFD ipcfd_closer(ipcfd); ScopedFD 323 content/browser/child_process_launcher.cc base::ScopedFD ipcfd_closer(ipcfd_); ScopedFD 322 content/browser/zygote_host/zygote_host_impl_linux.cc std::vector<linked_ptr<base::ScopedFD> > autodelete_fds; ScopedFD 330 content/browser/zygote_host/zygote_host_impl_linux.cc linked_ptr<base::ScopedFD> ptr(new base::ScopedFD(fds.back())); ScopedFD 72 content/child/npapi/np_channel_base.cc base::ScopedFD fd(channel_handle.socket.auto_close ? ScopedFD 129 content/common/gpu/media/exynos_v4l2_video_device.cc scoped_ptr<base::ScopedFD[]> dmabuf_fds(new base::ScopedFD[planes_count]); ScopedFD 209 content/common/sandbox_linux/sandbox_linux.cc base::ScopedFD proc_self_task(OpenProcTaskFd(proc_fd_)); ScopedFD 397 content/common/sandbox_linux/sandbox_linux.cc base::ScopedFD proc_self_task(OpenProcTaskFd(proc_fd_)); ScopedFD 55 ipc/ipc_channel_factory.cc base::ScopedFD scoped_fd(new_fd); ScopedFD 49 ipc/unix_domain_socket_util.cc base::ScopedFD fd(socket(AF_UNIX, SOCK_STREAM, 0)); ScopedFD 81 ipc/unix_domain_socket_util.cc base::ScopedFD fd( ScopedFD 125 ipc/unix_domain_socket_util.cc base::ScopedFD fd( ScopedFD 187 ipc/unix_domain_socket_util.cc base::ScopedFD accept_fd(HANDLE_EINTR(accept(server_listen_fd, NULL, 0))); ScopedFD 123 media/video/capture/linux/video_capture_device_linux.cc base::ScopedFD fd(HANDLE_EINTR(open(unique_id.c_str(), O_RDONLY))); ScopedFD 149 media/video/capture/linux/video_capture_device_linux.cc base::ScopedFD fd(HANDLE_EINTR(open(device.id().c_str(), O_RDONLY))); ScopedFD 258 media/video/capture/linux/video_capture_device_linux.cc base::ScopedFD fd(HANDLE_EINTR(open(device_name.id().c_str(), O_RDONLY))); ScopedFD 64 media/video/capture/linux/video_capture_device_linux.h base::ScopedFD device_fd_; // File descriptor for the opened camera device. ScopedFD 70 mojo/system/raw_shared_buffer_posix.cc base::ScopedFD fd(dup(fileno(fp.get()))); ScopedFD 111 net/test/spawned_test_server/local_test_server.h base::ScopedFD child_fd_; ScopedFD 125 net/test/spawned_test_server/local_test_server_posix.cc base::ScopedFD write_closer(pipefd[1]); ScopedFD 151 net/test/spawned_test_server/local_test_server_posix.cc base::ScopedFD our_fd(child_fd_.release()); ScopedFD 271 sandbox/linux/services/broker_process_unittest.cc base::ScopedFD fd_closer(fd); ScopedFD 283 sandbox/linux/services/broker_process_unittest.cc base::ScopedFD cpuinfo_fd_closer(cpuinfo_fd); ScopedFD 292 sandbox/linux/services/broker_process_unittest.cc base::ScopedFD cpuinfo_fd2_closer(cpuinfo_fd2); ScopedFD 67 sandbox/linux/services/credentials_unittest.cc base::ScopedFD dev_fd_closer(dev_fd); ScopedFD 77 sandbox/linux/services/credentials_unittest.cc base::ScopedFD proc_fd_closer(proc_fd); ScopedFD 89 sandbox/linux/services/credentials_unittest.cc base::ScopedFD dev_fd_closer(dev_fd); ScopedFD 77 sandbox/linux/services/scoped_process_unittest.cc base::ScopedFD read_end_closer(pipe_fds[0]); ScopedFD 78 sandbox/linux/services/scoped_process_unittest.cc base::ScopedFD write_end_closer(pipe_fds[1]); ScopedFD 112 sandbox/linux/services/scoped_process_unittest.cc base::ScopedFD read_end_closer(pipe_fds[0]); ScopedFD 113 sandbox/linux/services/scoped_process_unittest.cc base::ScopedFD write_end_closer(pipe_fds[1]); ScopedFD 82 sandbox/linux/services/yama.cc base::ScopedFD yama_scope(HANDLE_EINTR(open(kPtraceScopePath, O_RDONLY))); ScopedFD 440 tools/android/memdump/memdump.cc base::ScopedFD pagemap_fd(HANDLE_EINTR(open( ScopedFD 492 tools/android/memdump/memdump.cc base::ScopedFD page_count_fd( ScopedFD 499 tools/android/memdump/memdump.cc base::ScopedFD page_flags_fd(open("/proc/kpageflags", O_RDONLY));