Home
last modified time | relevance | path

Searched refs:DupCloexec (Results 1 – 17 of 17) sorted by relevance

/art/libartbase/base/
Dzip_archive_test.cc45 std::unique_ptr<File> file(new File(DupCloexec(tmp.GetFd()), tmp.GetFilename(), false)); in TEST_F()
Dscoped_flock.cc119 new LockedFile(DupCloexec(fd), path, /* check_usage= */ false, read_only_mode)); in DupOf()
Dfile_utils.h163 int DupCloexec(int fd);
Dfile_utils.cc650 int DupCloexec(int fd) { in DupCloexec() function
/art/dt_fd_forward/
Ddt_fd_forward.cc113 static int DupCloexec(int fd) { in DupCloexec() function
126 listen_fd_.reset(DupCloexec(listen_fd)); in SetupListen()
360 close_notify_fd_.reset(DupCloexec(listen_fd_)); in ReceiveFdsFromSocket()
/art/adbconnection/
Dadbconnection.cc456 android::base::unique_fd read_fd(art::DupCloexec(adb_connection_socket_)); in SendAgentFds()
458 android::base::unique_fd write_fd(art::DupCloexec(adb_connection_socket_)); in SendAgentFds()
460 android::base::unique_fd write_lock_fd(art::DupCloexec(adb_write_event_fd_)); in SendAgentFds()
/art/runtime/
Doat_file_assistant.cc141 DupCloexec(zip_fd), in OatFileAssistant()
142 DupCloexec(vdex_fd), in OatFileAssistant()
143 DupCloexec(oat_fd)); in OatFileAssistant()
Doat_file.cc1535 int duped_fd = DupCloexec(oat_fd); in Load()
/art/libartbase/base/unix_file/
Dfd_file_test.cc29 int fd = art::DupCloexec(fileno(tmp)); in MakeTestFile()
/art/dex2oat/linker/
Doat_writer_test.cc660 File dex_file_fd(DupCloexec(dex_file->GetFd()), /*check_usage=*/ false); in TestDexFileInput()
805 File zip_fd(DupCloexec(zip_file.GetFd()), /*check_usage=*/ false); in TestZipFileInput()
Doat_writer.cc3348 int dup_fd = DupCloexec(raw_file->Fd()); in LayoutDexFile()
/art/dex2oat/
Ddex2oat_test.cc1622 FILE* file = fdopen(DupCloexec(apk_file.GetFd()), "w+b"); in TEST_F()
1758 FILE* file = fdopen(DupCloexec(dm_file.GetFd()), "w+b"); in TEST_F()
1809 FILE* file = fdopen(DupCloexec(invalid_dex.GetFd()), "w+b"); in TEST_F()
1851 FILE* file = fdopen(DupCloexec(invalid_dex_zip.GetFd()), "w+b"); in TEST_F()
Ddex2oat.cc1237 new File(DupCloexec(oat_fd_), oat_location_, /* check_usage */ true)); in OpenFile()
1274 DupCloexec(output_vdex_fd_), vdex_location, /* check_usage */ true)); in OpenFile()
2377 profile_file.reset(new File(DupCloexec(profile_file_fd_), in LoadProfile()
2473 int dup_fd = DupCloexec(fd); in DupCloexecOrError()
/art/libdexfile/dex/
Dart_dex_file_loader.cc99 fd = File(DupCloexec(zip_fd), /* check_usage= */ false); in GetMultiDexChecksums()
/art/runtime/native/
Ddalvik_system_VMDebug.cc119 int fd = DupCloexec(originalFd); in VMDebug_startMethodTracingFd()
/art/runtime/hprof/
Dhprof.cc764 out_fd = DupCloexec(fd_); in DumpToFile()
/art/libprofile/profile/
Dprofile_compilation_info.cc1368 ZipArchive::OpenFromFd(DupCloexec(fd), "profile", error)); in OpenSource()