Searched refs:DupCloexec (Results 1 – 18 of 18) sorted by relevance
/art/libartbase/base/ |
D | zip_archive_test.cc | 45 std::unique_ptr<File> file(new File(DupCloexec(tmp.GetFd()), tmp.GetFilename(), false)); in TEST_F()
|
D | scoped_flock.cc | 119 new LockedFile(DupCloexec(fd), path, /* check_usage= */ false, read_only_mode)); in DupOf()
|
D | file_utils.h | 186 int DupCloexec(int fd);
|
D | file_utils.cc | 703 int DupCloexec(int fd) { in DupCloexec() function
|
/art/runtime/ |
D | oat_file_assistant.cc | 145 DupCloexec(zip_fd), in OatFileAssistant() 146 DupCloexec(vdex_fd), in OatFileAssistant() 147 DupCloexec(oat_fd)); in OatFileAssistant() 152 DupCloexec(zip_fd), in OatFileAssistant() 153 DupCloexec(vdex_fd), in OatFileAssistant() 154 DupCloexec(oat_fd)); in OatFileAssistant()
|
D | oat_file.cc | 1649 int duped_fd = DupCloexec(oat_fd); in Load()
|
/art/adbconnection/ |
D | adbconnection.cc | 456 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/dt_fd_forward/ |
D | dt_fd_forward.cc | 113 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/libartbase/base/unix_file/ |
D | fd_file_test.cc | 29 int fd = art::DupCloexec(fileno(tmp)); in MakeTestFile()
|
/art/dex2oat/linker/ |
D | oat_writer_test.cc | 660 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()
|
D | oat_writer.cc | 3560 int dup_fd = DupCloexec(raw_file->Fd()); in LayoutDexFile()
|
/art/runtime/native/ |
D | dalvik_system_VMDebug.cc | 119 int fd = DupCloexec(originalFd); in VMDebug_startMethodTracingFd()
|
/art/libdexfile/dex/ |
D | art_dex_file_loader.cc | 99 fd = File(DupCloexec(zip_fd), /* check_usage= */ false); in GetMultiDexChecksums()
|
/art/dex2oat/ |
D | dex2oat_test.cc | 1736 FILE* file = fdopen(DupCloexec(apk_file.GetFd()), "w+b"); in TEST_F() 1871 FILE* file = fdopen(DupCloexec(dm_file.GetFd()), "w+b"); in TEST_F() 1922 FILE* file = fdopen(DupCloexec(invalid_dex.GetFd()), "w+b"); in TEST_F() 1964 FILE* file = fdopen(DupCloexec(invalid_dex_zip.GetFd()), "w+b"); in TEST_F()
|
D | dex2oat.cc | 1284 new File(DupCloexec(oat_fd_), oat_location_, /* check_usage */ true)); in OpenFile() 1323 std::unique_ptr<File> vdex_file(new File(DupCloexec(output_vdex_fd_), in OpenFile() 2360 profile_files.push_back(std::make_unique<File>(DupCloexec(fd), in LoadProfile() 2475 int dup_fd = DupCloexec(fd); in DupCloexecOrError()
|
/art/runtime/gc/space/ |
D | image_space.cc | 1910 ? std::make_unique<File>(DupCloexec(bcp_image_fd), actual_filename, /*check_usage=*/ false) in ReadHeader() 3176 image_fd.reset(DupCloexec(arg_image_fd)); in LoadComponents() 3258 vdex_fd.reset(DupCloexec(arg_vdex_fd)); in LoadComponents() 3268 oat_fd.reset(DupCloexec(arg_oat_fd)); in LoadComponents()
|
/art/runtime/hprof/ |
D | hprof.cc | 764 out_fd = DupCloexec(fd_); in DumpToFile()
|
/art/libprofile/profile/ |
D | profile_compilation_info.cc | 1373 ZipArchive::OpenFromFd(DupCloexec(fd), "profile", error)); in OpenSource()
|