/art/libdexfile/dex/ |
D | art_dex_file_loader.cc | 46 int zip_fd, in GetMultiDexChecksums() argument 52 if (zip_fd != -1) { in GetMultiDexChecksums() 53 if (ReadMagicAndReset(zip_fd, &magic, error_msg)) { in GetMultiDexChecksums() 54 fd = File(DupCloexec(zip_fd), /* check_usage= */ false); in GetMultiDexChecksums()
|
D | art_dex_file_loader.h | 59 int zip_fd = -1,
|
/art/libartbase/base/ |
D | zip_archive.cc | 105 const int zip_fd = GetFileDescriptor(handle_); in MapDirectlyFromFile() local 111 CHECK_GE(zip_fd, 0) << in MapDirectlyFromFile() 146 zip_fd, in MapDirectlyFromFile() 160 lseek(zip_fd, 0, SEEK_SET); in MapDirectlyFromFile() 169 while (read(zip_fd, &buf, 1) > 0 && i < count) { in MapDirectlyFromFile()
|
/art/runtime/ |
D | oat_file.h | 107 static OatFile* Open(int zip_fd, 117 static OatFile* Open(int zip_fd, in Open() argument 124 return Open(zip_fd, in Open() 135 static OatFile* Open(int zip_fd, in Open() argument 141 return Open(zip_fd, in Open() 155 static OatFile* Open(int zip_fd, 175 static OatFile* OpenFromVdex(int zip_fd,
|
D | oat_file.cc | 109 static OatFileBase* OpenOatFile(int zip_fd, 122 static OatFileBase* OpenOatFile(int zip_fd, 172 bool Setup(int zip_fd, 198 OatFileBase* OatFileBase::OpenOatFile(int zip_fd, in OpenOatFile() argument 232 if (!ret->Setup(zip_fd, dex_filenames, dex_fds, error_msg)) { in OpenOatFile() 240 OatFileBase* OatFileBase::OpenOatFile(int zip_fd, in OpenOatFile() argument 273 if (!ret->Setup(zip_fd, dex_filenames, dex_fds, error_msg)) { in OpenOatFile() 574 bool OatFileBase::Setup(int zip_fd, in Setup() argument 791 CHECK(zip_fd == -1 || dex_fds.empty()); // Allow only the supported combinations. in Setup() 792 if (zip_fd != -1) { in Setup() [all …]
|
D | oat_file_assistant.cc | 116 int zip_fd) in OatFileAssistant() argument 127 zip_fd_(zip_fd) { in OatFileAssistant() 131 if (zip_fd < 0) { in OatFileAssistant() 132 CHECK_LE(oat_fd, 0) << "zip_fd must be provided with valid oat_fd. zip_fd=" << zip_fd in OatFileAssistant() 134 CHECK_LE(vdex_fd, 0) << "zip_fd must be provided with valid vdex_fd. zip_fd=" << zip_fd in OatFileAssistant() 174 odex_.Reset(odex_file_name, UseFdToReadFiles(), zip_fd, vdex_fd, oat_fd); in OatFileAssistant() 179 DupCloexec(zip_fd), in OatFileAssistant() 186 DupCloexec(zip_fd), in OatFileAssistant() 203 vdex_for_oat_.Reset(vdex_file_name, UseFdToReadFiles(), zip_fd, vdex_fd, oat_fd); in OatFileAssistant() 205 dm_for_oat_.Reset(dm_file_name, UseFdToReadFiles(), zip_fd, vdex_fd, oat_fd); in OatFileAssistant() [all …]
|
D | oat_file_assistant.h | 182 int zip_fd); 423 int zip_fd = -1,
|
D | oat_file_assistant_test.cc | 210 int zip_fd = -1) { in CreateOatFileAssistant() argument 219 zip_fd); in CreateOatFileAssistant() 631 android::base::unique_fd zip_fd(open(dex_location.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_P() local 640 zip_fd.get()); in TEST_P() 680 android::base::unique_fd zip_fd(open(dex_location.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_P() local 689 zip_fd.get()); in TEST_P() 728 android::base::unique_fd zip_fd(open(dex_location.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_P() local 737 zip_fd.get()); in TEST_P() 758 android::base::unique_fd zip_fd(open(dex_location.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_P() local 767 zip_fd); in TEST_P()
|
/art/dex2oat/linker/ |
D | oat_writer_test.cc | 808 File zip_fd(DupCloexec(zip_file.GetFd()), /*check_usage=*/ false); in TestZipFileInput() local 809 ASSERT_NE(-1, zip_fd.Fd()); in TestZipFileInput() 810 ASSERT_EQ(0, lseek(zip_fd.Fd(), 0, SEEK_SET)); in TestZipFileInput() 815 std::move(zip_fd), in TestZipFileInput()
|