/art/runtime/ |
D | zip_archive.cc | 101 const int zip_fd = GetFileDescriptor(handle_); in MapDirectlyFromFile() local 107 CHECK_GE(zip_fd, 0) << in MapDirectlyFromFile() 143 zip_fd, in MapDirectlyFromFile() 158 lseek(zip_fd, 0, SEEK_SET); in MapDirectlyFromFile() 167 while (read(zip_fd, &buf, 1) > 0 && i < count) { in MapDirectlyFromFile()
|
D | oat_file.cc | 100 static OatFileBase* OpenOatFile(int zip_fd, 113 static OatFileBase* OpenOatFile(int zip_fd, 165 bool Setup(int zip_fd, const char* abs_dex_location, std::string* error_msg); 186 OatFileBase* OatFileBase::OpenOatFile(int zip_fd, in OpenOatFile() argument 220 if (!ret->Setup(zip_fd, abs_dex_location, error_msg)) { in OpenOatFile() 228 OatFileBase* OatFileBase::OpenOatFile(int zip_fd, in OpenOatFile() argument 261 if (!ret->Setup(zip_fd, abs_dex_location, error_msg)) { in OpenOatFile() 510 bool OatFileBase::Setup(int zip_fd, const char* abs_dex_location, std::string* error_msg) { in Setup() argument 653 if (zip_fd != -1) { in Setup() 654 loaded = dex_file_loader.OpenZip(zip_fd, in Setup() [all …]
|
D | oat_file.h | 77 static OatFile* OpenWithElfFile(int zip_fd, 87 static OatFile* Open(int zip_fd, 100 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 | 139 int zip_fd); 383 int zip_fd = -1,
|
D | oat_file_assistant.cc | 94 int zip_fd) in OatFileAssistant() argument 100 zip_fd_(zip_fd) { in OatFileAssistant() 103 if (zip_fd < 0) { in OatFileAssistant() 104 CHECK_LE(oat_fd, 0) << "zip_fd must be provided with valid oat_fd. zip_fd=" << zip_fd in OatFileAssistant() 106 CHECK_LE(vdex_fd, 0) << "zip_fd must be provided with valid vdex_fd. zip_fd=" << zip_fd in OatFileAssistant() 122 odex_.Reset(odex_file_name, UseFdToReadFiles(), zip_fd, vdex_fd, oat_fd); in OatFileAssistant() 1248 int zip_fd, in Reset() argument 1254 zip_fd_ = zip_fd; in Reset()
|
D | oat_file_assistant_test.cc | 273 android::base::unique_fd zip_fd(open(dex_location.c_str(), O_RDONLY)); in TEST_F() local 281 zip_fd.get()); in TEST_F() 313 android::base::unique_fd zip_fd(open(dex_location.c_str(), O_RDONLY)); in TEST_F() local 321 zip_fd.get()); in TEST_F() 348 android::base::unique_fd zip_fd(open(dex_location.c_str(), O_RDONLY)); in TEST_F() local 356 zip_fd.get()); in TEST_F() 373 android::base::unique_fd zip_fd(open(dex_location.c_str(), O_RDONLY)); in TEST_F() local 380 zip_fd); in TEST_F()
|
/art/runtime/dex/ |
D | art_dex_file_loader.cc | 89 int zip_fd, in GetMultiDexChecksums() argument 95 if (zip_fd != -1) { in GetMultiDexChecksums() 96 if (ReadMagicAndReset(zip_fd, &magic, error_msg)) { in GetMultiDexChecksums() 97 fd = File(zip_fd, false /* check_usage */); in GetMultiDexChecksums()
|
D | art_dex_file_loader.h | 53 int zip_fd = -1,
|
/art/libdexfile/dex/ |
D | dex_file_loader.h | 111 int zip_fd = -1,
|
D | dex_file_loader.cc | 213 int zip_fd ATTRIBUTE_UNUSED, in GetMultiDexChecksums()
|
/art/dex2oat/linker/ |
D | oat_writer_test.cc | 164 File&& zip_fd, in WriteElf() argument 173 if (!oat_writer.AddZippedDexFilesSource(std::move(zip_fd), location)) { in WriteElf() 801 File zip_fd(dup(zip_file.GetFd()), /* check_usage */ false); in TestZipFileInput() local 802 ASSERT_NE(-1, zip_fd.Fd()); in TestZipFileInput() 807 std::move(zip_fd), in TestZipFileInput()
|
D | oat_writer.h | 150 File&& zip_fd,
|
D | oat_writer.cc | 522 bool OatWriter::AddZippedDexFilesSource(File&& zip_fd, in AddZippedDexFilesSource() argument 527 zip_archives_.emplace_back(ZipArchive::OpenFromFd(zip_fd.Release(), location, &error_msg)); in AddZippedDexFilesSource()
|