/art/runtime/ |
vdex_file.cc | 17 #include "vdex_file.h" 100 std::unique_ptr<File> vdex_file; local 102 vdex_file.reset(OS::OpenFileReadWrite(vdex_filename.c_str())); 104 vdex_file.reset(OS::OpenFileForReading(vdex_filename.c_str())); 106 if (vdex_file == nullptr) { 112 int64_t vdex_length = vdex_file->GetLength(); 121 vdex_file->Fd(),
|
oat_file_assistant.cc | 44 #include "vdex_file.h" 744 File* vdex_file = vdex_file_wrapper.GetFile(); local 745 if (vdex_file == nullptr) { 752 if (fchmod(vdex_file->Fd(), file_mode) != 0) { 775 args.push_back("--output-vdex-fd=" + std::to_string(vdex_file->Fd())); 788 if (vdex_file->FlushCloseOrErase() != 0) { [all...] |
oat_file.h | 79 VdexFile* vdex_file,
|
oat_file.cc | 65 #include "vdex_file.h" [all...] |
runtime.cc | 164 #include "vdex_file.h" [all...] |
oat_file_assistant_test.cc | 424 ScratchFile vdex_file(vdex_location.c_str()); [all...] |
/art/dex2oat/linker/ |
oat_writer_test.cc | 49 #include "vdex_file.h" 120 bool WriteElf(File* vdex_file, 140 return DoWriteElf(vdex_file, oat_file, oat_writer, key_value_store, verify); 143 bool WriteElf(File* vdex_file, 159 return DoWriteElf(vdex_file, oat_file, oat_writer, key_value_store, verify); 162 bool WriteElf(File* vdex_file, 176 return DoWriteElf(vdex_file, oat_file, oat_writer, key_value_store, verify); 179 bool DoWriteElf(File* vdex_file, 194 vdex_file, 229 std::make_unique<BufferedOutputStream>(std::make_unique<FileOutputStream>(vdex_file)); [all...] |
oat_writer.h | 161 const VdexFile& vdex_file, 172 bool WriteAndOpenDexFiles(File* vdex_file,
|
image_test.h | 123 for (ScratchFile& vdex_file : vdex_files) { 124 vdex_file.Unlink();
|
oat_writer.cc | 68 #include "vdex_file.h" 559 bool OatWriter::AddVdexDexFilesSource(const VdexFile& vdex_file, 563 DCHECK(vdex_file.HasDexSection()); 565 for (size_t i = 0; i < vdex_file.GetVerifierDepsHeader().GetNumberOfDexFiles(); ++i) { 566 current_dex_data = vdex_file.GetNextDexFileData(current_dex_data); 584 vdex_file.GetLocationChecksum(i), 588 if (vdex_file.GetNextDexFileData(current_dex_data) != nullptr) { 645 File* vdex_file, 678 std::make_unique<BufferedOutputStream>(std::make_unique<FileOutputStream>(vdex_file)); 680 if (!WriteDexFiles(vdex_out.get(), vdex_file, update_input_vdex, copy_dex_files) | [all...] |
/art/dex2oat/ |
dex2oat.cc | 98 #include "vdex_file.h" 672 for (std::unique_ptr<File>& vdex_file : vdex_files_) { 673 vdex_file.release(); 2076 File* vdex_file = vdex_files_[i].get(); local [all...] |
dex2oat_image_test.cc | 131 std::string vdex_file = scratch.GetFilename() + ".vdex"; local 134 int64_t vdex_size = OS::GetFileSizeBytes(vdex_file.c_str()); 137 CHECK_GT(vdex_size, 0u) << vdex_file;
|
dex2oat_test.cc | 44 #include "vdex_file.h" [all...] |
/art/oatdump/ |
oatdump.cc | 79 #include "vdex_file.h" 611 std::unique_ptr<const VdexFile> vdex_file = OpenVdexUnquicken(vdex_filename, local 614 if (vdex_file.get() == nullptr) { 718 std::unique_ptr<VdexFile> vdex_file(new VdexFile(mmap.release())); 719 if (!vdex_file->IsValid()) { 725 if (!vdex_file->OpenAllDexFiles(&tmp_dex_files, error_msg)) { 730 vdex_file->Unquicken(MakeNonOwningPointerVector(tmp_dex_files), 734 return vdex_file; [all...] |
/development/vndk/tools/definition-tool/ |
vndk_definition_tool.py | 978 with open(vdex_file_path, 'rb') as vdex_file: 979 return cls.enumerate_dex_strings_vdex_buf(vdex_file.read()) [all...] |