/aosp12/art/runtime/ |
H A 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,
|
H A 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()
|
H A D | oat_file.cc | 108 static OatFileBase* OpenOatFile(int zip_fd, 120 static OatFileBase* OpenOatFile(int zip_fd, 196 OatFileBase* OatFileBase::OpenOatFile(int zip_fd, in OpenOatFile() argument 237 OatFileBase* OatFileBase::OpenOatFile(int zip_fd, in OpenOatFile() argument 570 bool OatFileBase::Setup(int zip_fd, in Setup() argument 785 if (zip_fd != -1) { in Setup() 1492 bool InitializeFromElfFile(int zip_fd, 1724 if (zip_fd != -1) { in Open() 1816 OatFile* OatFile::Open(int zip_fd, in Open() argument 1893 OatFile* OatFile::Open(int zip_fd, in Open() argument [all …]
|
H A D | oat_file_assistant.h | 129 int zip_fd); 327 int zip_fd = -1,
|
H A 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()
|
/aosp12/art/libartbase/base/ |
H A 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()
|
/aosp12/art/libdexfile/dex/ |
H A 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()
|
H A D | art_dex_file_loader.h | 58 int zip_fd = -1,
|
H A D | dex_file_loader.h | 125 int zip_fd = -1,
|
H A D | dex_file_loader.cc | 216 int zip_fd ATTRIBUTE_UNUSED, in GetMultiDexChecksums()
|
/aosp12/art/dex2oat/linker/ |
H A 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()
|
/aosp12/frameworks/native/cmds/installd/ |
H A D | dexopt.cpp | 1180 int zip_fd, in RunDexoptAnalyzer() argument 1187 CHECK_GE(zip_fd, 0); in RunDexoptAnalyzer() 1196 std::string zip_fd_arg = "--zip-fd=" + std::to_string(zip_fd); in RunDexoptAnalyzer() 1570 unique_fd zip_fd; in process_secondary_dex_dexopt() local 1571 zip_fd.reset(open(dex_path.c_str(), O_RDONLY)); in process_secondary_dex_dexopt() 1572 if (zip_fd.get() < 0) { in process_secondary_dex_dexopt() 1614 zip_fd.get(), in process_secondary_dex_dexopt()
|