/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 | 102 static OatFile* Open(int zip_fd, 111 static OatFile* Open(int zip_fd, in Open() argument 118 return Open(zip_fd, in Open() 128 static OatFile* Open(int zip_fd, in Open() argument 134 return Open(zip_fd, in Open() 147 static OatFile* Open(int zip_fd, 165 static OatFile* OpenFromVdex(int zip_fd,
|
D | oat_file_assistant.cc | 101 int zip_fd) in OatFileAssistant() argument 110 zip_fd_(zip_fd) { in OatFileAssistant() 114 if (zip_fd < 0) { in OatFileAssistant() 115 CHECK_LE(oat_fd, 0) << "zip_fd must be provided with valid oat_fd. zip_fd=" << zip_fd in OatFileAssistant() 117 CHECK_LE(vdex_fd, 0) << "zip_fd must be provided with valid vdex_fd. zip_fd=" << zip_fd in OatFileAssistant() 136 odex_.Reset(odex_file_name, UseFdToReadFiles(), zip_fd, vdex_fd, oat_fd); in OatFileAssistant() 141 DupCloexec(zip_fd), in OatFileAssistant() 154 vdex_for_oat_.Reset(vdex_file_name, UseFdToReadFiles(), zip_fd, vdex_fd, oat_fd); in OatFileAssistant() 963 int zip_fd, in Reset() argument 969 zip_fd_ = zip_fd; in Reset()
|
D | oat_file.cc | 108 static OatFileBase* OpenOatFile(int zip_fd, 120 static OatFileBase* OpenOatFile(int zip_fd, 169 bool Setup(int zip_fd, ArrayRef<const std::string> dex_filenames, std::string* error_msg); 196 OatFileBase* OatFileBase::OpenOatFile(int zip_fd, in OpenOatFile() argument 229 if (!ret->Setup(zip_fd, dex_filenames, error_msg)) { in OpenOatFile() 237 OatFileBase* OatFileBase::OpenOatFile(int zip_fd, in OpenOatFile() argument 269 if (!ret->Setup(zip_fd, dex_filenames, error_msg)) { in OpenOatFile() 570 bool OatFileBase::Setup(int zip_fd, in Setup() argument 785 if (zip_fd != -1) { in Setup() 786 loaded = dex_file_loader.OpenZip(zip_fd, in Setup() [all …]
|
D | oat_file_assistant.h | 129 int zip_fd); 327 int zip_fd = -1,
|
D | oat_file_assistant_test.cc | 471 android::base::unique_fd zip_fd(open(dex_location.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_F() local 480 zip_fd.get()); in TEST_F() 510 android::base::unique_fd zip_fd(open(dex_location.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_F() local 519 zip_fd.get()); in TEST_F() 546 android::base::unique_fd zip_fd(open(dex_location.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_F() local 555 zip_fd.get()); in TEST_F() 572 android::base::unique_fd zip_fd(open(dex_location.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_F() local 580 zip_fd); in TEST_F()
|
/art/libdexfile/dex/ |
D | art_dex_file_loader.cc | 91 int zip_fd, in GetMultiDexChecksums() argument 97 if (zip_fd != -1) { in GetMultiDexChecksums() 98 if (ReadMagicAndReset(zip_fd, &magic, error_msg)) { in GetMultiDexChecksums() 99 fd = File(DupCloexec(zip_fd), /* check_usage= */ false); in GetMultiDexChecksums()
|
D | art_dex_file_loader.h | 58 int zip_fd = -1,
|
D | dex_file_loader.h | 125 int zip_fd = -1,
|
D | dex_file_loader.cc | 216 int zip_fd ATTRIBUTE_UNUSED, in GetMultiDexChecksums()
|
/art/dex2oat/linker/ |
D | oat_writer_test.cc | 805 File zip_fd(DupCloexec(zip_file.GetFd()), /*check_usage=*/ false); in TestZipFileInput() local 806 ASSERT_NE(-1, zip_fd.Fd()); in TestZipFileInput() 807 ASSERT_EQ(0, lseek(zip_fd.Fd(), 0, SEEK_SET)); in TestZipFileInput() 812 std::move(zip_fd), in TestZipFileInput()
|