Searched refs:zip_fd (Results 1 – 7 of 7) sorted by relevance
/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/oat/ |
D | oat_file.h | 110 EXPORT static OatFile* Open(int zip_fd, 120 EXPORT static OatFile* Open(int zip_fd, in Open() argument 127 return Open(zip_fd, in Open() 138 static OatFile* Open(int zip_fd, in Open() argument 144 return Open(zip_fd, in Open() 158 static OatFile* Open(int zip_fd, 178 static OatFile* OpenFromVdex(int zip_fd,
|
D | oat_file.cc | 110 static OatFileBase* OpenOatFile(int zip_fd, 123 static OatFileBase* OpenOatFile(int zip_fd, 173 bool Setup(int zip_fd, 214 OatFileBase* OatFileBase::OpenOatFile(int zip_fd, in OpenOatFile() argument 248 if (!ret->Setup(zip_fd, dex_filenames, dex_files, error_msg)) { in OpenOatFile() 256 OatFileBase* OatFileBase::OpenOatFile(int zip_fd, in OpenOatFile() argument 289 if (!ret->Setup(zip_fd, dex_filenames, dex_files, error_msg)) { in OpenOatFile() 623 bool OatFileBase::Setup(int zip_fd, in Setup() argument 835 CHECK(zip_fd == -1 || dex_files.empty()); // Allow only the supported combinations. in Setup() 836 if (zip_fd != -1) { in Setup() [all …]
|
D | oat_file_assistant.cc | 113 int zip_fd) in OatFileAssistant() argument 124 zip_fd_(zip_fd) { in OatFileAssistant() 128 if (zip_fd < 0) { in OatFileAssistant() 129 CHECK_LE(oat_fd, 0) << "zip_fd must be provided with valid oat_fd. zip_fd=" << zip_fd in OatFileAssistant() 131 CHECK_LE(vdex_fd, 0) << "zip_fd must be provided with valid vdex_fd. zip_fd=" << zip_fd in OatFileAssistant() 171 odex_.Reset(odex_file_name, UseFdToReadFiles(), zip_fd, vdex_fd, oat_fd); in OatFileAssistant() 176 DupCloexec(zip_fd), in OatFileAssistant() 183 DupCloexec(zip_fd), in OatFileAssistant() 200 vdex_for_oat_.Reset(vdex_file_name, UseFdToReadFiles(), zip_fd, vdex_fd, oat_fd); in OatFileAssistant() 202 dm_for_oat_.Reset(dm_file_name, UseFdToReadFiles(), zip_fd, vdex_fd, oat_fd); in OatFileAssistant() [all …]
|
D | oat_file_assistant.h | 183 int zip_fd); 423 int zip_fd = -1,
|
D | oat_file_assistant_test.cc | 214 int zip_fd = -1) { in CreateOatFileAssistant() argument 223 zip_fd); in CreateOatFileAssistant() 654 android::base::unique_fd zip_fd(open(dex_location.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_P() local 663 zip_fd.get()); in TEST_P() 703 android::base::unique_fd zip_fd(open(dex_location.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_P() local 712 zip_fd.get()); in TEST_P() 751 android::base::unique_fd zip_fd(open(dex_location.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_P() local 760 zip_fd.get()); in TEST_P() 781 android::base::unique_fd zip_fd(open(dex_location.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_P() local 790 zip_fd); in TEST_P()
|
/art/dex2oat/linker/ |
D | oat_writer_test.cc | 802 File zip_fd(DupCloexec(zip_file.GetFd()), /*check_usage=*/ false); in TestZipFileInput() local 803 ASSERT_NE(-1, zip_fd.Fd()); in TestZipFileInput() 804 ASSERT_EQ(0, lseek(zip_fd.Fd(), 0, SEEK_SET)); in TestZipFileInput() 809 std::move(zip_fd), in TestZipFileInput()
|