/art/libartbase/base/ |
D | zip_archive.cc | 97 const int zip_fd = GetFileDescriptor(handle_); in MapDirectlyFromFile() local 103 CHECK_GE(zip_fd, 0) << in MapDirectlyFromFile() 138 zip_fd, in MapDirectlyFromFile() 152 lseek(zip_fd, 0, SEEK_SET); in MapDirectlyFromFile() 161 while (read(zip_fd, &buf, 1) > 0 && i < count) { in MapDirectlyFromFile()
|
/art/runtime/ |
D | oat_file.cc | 106 static OatFileBase* OpenOatFile(int zip_fd, 118 static OatFileBase* OpenOatFile(int zip_fd, 167 bool Setup(int zip_fd, const char* abs_dex_location, std::string* error_msg); 189 OatFileBase* OatFileBase::OpenOatFile(int zip_fd, in OpenOatFile() argument 222 if (!ret->Setup(zip_fd, abs_dex_location, error_msg)) { in OpenOatFile() 230 OatFileBase* OatFileBase::OpenOatFile(int zip_fd, in OpenOatFile() argument 262 if (!ret->Setup(zip_fd, abs_dex_location, error_msg)) { in OpenOatFile() 475 bool OatFileBase::Setup(int zip_fd, const char* abs_dex_location, std::string* error_msg) { in Setup() argument 642 if (zip_fd != -1) { in Setup() 643 loaded = dex_file_loader.OpenZip(zip_fd, in Setup() [all …]
|
D | oat_file.h | 79 static OatFile* OpenWithElfFile(int zip_fd, 89 static OatFile* Open(int zip_fd, 101 static OatFile* Open(int zip_fd, 116 static OatFile* OpenWritable(int zip_fd, 122 static OatFile* OpenReadable(int zip_fd,
|
D | oat_file_assistant.h | 122 int zip_fd); 316 int zip_fd = -1,
|
D | oat_file_assistant.cc | 95 int zip_fd) in OatFileAssistant() argument 101 zip_fd_(zip_fd) { in OatFileAssistant() 104 if (zip_fd < 0) { in OatFileAssistant() 105 CHECK_LE(oat_fd, 0) << "zip_fd must be provided with valid oat_fd. zip_fd=" << zip_fd in OatFileAssistant() 107 CHECK_LE(vdex_fd, 0) << "zip_fd must be provided with valid vdex_fd. zip_fd=" << zip_fd in OatFileAssistant() 123 odex_.Reset(odex_file_name, UseFdToReadFiles(), zip_fd, vdex_fd, oat_fd); in OatFileAssistant() 955 int zip_fd, in Reset() argument 961 zip_fd_ = zip_fd; in Reset()
|
D | oat_file_assistant_test.cc | 384 android::base::unique_fd zip_fd(open(dex_location.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_F() local 392 zip_fd.get()); in TEST_F() 422 android::base::unique_fd zip_fd(open(dex_location.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_F() local 430 zip_fd.get()); in TEST_F() 455 android::base::unique_fd zip_fd(open(dex_location.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_F() local 463 zip_fd.get()); in TEST_F() 480 android::base::unique_fd zip_fd(open(dex_location.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_F() local 487 zip_fd); in TEST_F()
|
/art/libdexfile/dex/ |
D | art_dex_file_loader.cc | 90 int zip_fd, in GetMultiDexChecksums() argument 96 if (zip_fd != -1) { in GetMultiDexChecksums() 97 if (ReadMagicAndReset(zip_fd, &magic, error_msg)) { in GetMultiDexChecksums() 98 fd = File(DupCloexec(zip_fd), /* check_usage= */ false); in GetMultiDexChecksums()
|
D | art_dex_file_loader.h | 53 int zip_fd = -1,
|
D | dex_file_loader.h | 120 int zip_fd = -1,
|
D | dex_file_loader.cc | 215 int zip_fd ATTRIBUTE_UNUSED, in GetMultiDexChecksums()
|
/art/dex2oat/linker/ |
D | oat_writer_test.cc | 149 File&& zip_fd, in WriteElf() argument 160 if (!oat_writer.AddZippedDexFilesSource(std::move(zip_fd), location)) { in WriteElf() 769 File zip_fd(DupCloexec(zip_file.GetFd()), /*check_usage=*/ false); in TestZipFileInput() local 770 ASSERT_NE(-1, zip_fd.Fd()); in TestZipFileInput() 775 std::move(zip_fd), in TestZipFileInput()
|
D | oat_writer.h | 153 File&& zip_fd,
|
D | oat_writer.cc | 538 bool OatWriter::AddZippedDexFilesSource(File&& zip_fd, in AddZippedDexFilesSource() argument 543 zip_archives_.emplace_back(ZipArchive::OpenFromFd(zip_fd.Release(), location, &error_msg)); in AddZippedDexFilesSource()
|