/art/runtime/ |
vdex_file.cc | 17 #include "vdex_file.h" 67 std::unique_ptr<File> vdex_file; local 69 vdex_file.reset(OS::OpenFileReadWrite(vdex_filename.c_str())); 71 vdex_file.reset(OS::OpenFileForReading(vdex_filename.c_str())); 73 if (vdex_file == nullptr) { 79 int64_t vdex_length = vdex_file->GetLength(); 85 return Open(vdex_file->Fd(), vdex_length, vdex_filename, writable, low_4gb, unquicken, error_msg);
|
oat_file_assistant.cc | 38 #include "vdex_file.h" 658 std::unique_ptr<File> vdex_file(OS::CreateEmptyFile(vdex_file_name.c_str())); 659 if (vdex_file.get() == nullptr) { 666 if (fchmod(vdex_file->Fd(), file_mode) != 0) { 689 args.push_back("--output-vdex-fd=" + std::to_string(vdex_file->Fd())); 697 vdex_file->Erase(); 704 if (vdex_file->FlushCloseOrErase() != 0) { [all...] |
oat_file.h | 71 VdexFile* vdex_file,
|
oat_file.cc | 59 #include "vdex_file.h" [all...] |
runtime.cc | 155 #include "vdex_file.h" 908 std::unique_ptr<VdexFile> vdex_file(VdexFile::Open(vdex_filename, [all...] |
oat_file_assistant_test.cc | 299 ScratchFile vdex_file(vdex_location.c_str()); [all...] |
/art/compiler/ |
oat_test.cc | 126 bool WriteElf(File* vdex_file, 145 return DoWriteElf(vdex_file, oat_file, oat_writer, key_value_store, verify); 148 bool WriteElf(File* vdex_file, 161 return DoWriteElf(vdex_file, oat_file, oat_writer, key_value_store, verify); 164 bool WriteElf(File* vdex_file, 177 return DoWriteElf(vdex_file, oat_file, oat_writer, key_value_store, verify); 180 bool DoWriteElf(File* vdex_file, 194 if (!oat_writer.WriteAndOpenDexFiles(kIsVdexEnabled ? vdex_file : oat_file, 227 MakeUnique<BufferedOutputStream>(MakeUnique<FileOutputStream>(vdex_file))); 605 ScratchFile oat_file, vdex_file(oat_file, ".vdex") [all...] |
oat_writer.h | 153 const VdexFile& vdex_file, 164 bool WriteAndOpenDexFiles(File* vdex_file,
|
oat_writer.cc | 57 #include "vdex_file.h" 410 bool OatWriter::AddVdexDexFilesSource(const VdexFile& vdex_file, 415 for (size_t i = 0; i < vdex_file.GetHeader().GetNumberOfDexFiles(); ++i) { 416 current_dex_data = vdex_file.GetNextDexFileData(current_dex_data); 431 oat_dex_files_.back().dex_file_location_checksum_ = vdex_file.GetLocationChecksum(i); 434 if (vdex_file.GetNextDexFileData(current_dex_data) != nullptr) { 482 File* vdex_file, 516 MakeUnique<BufferedOutputStream>(MakeUnique<FileOutputStream>(vdex_file))); 518 if (!WriteDexFiles(vdex_out.get(), vdex_file, update_input_vdex) || 519 !OpenDexFiles(vdex_file, verify, &dex_files_map, &dex_files)) [all...] |
image_test.cc | 117 for (ScratchFile& vdex_file : vdex_files) { 118 vdex_file.Unlink();
|
/art/dex2oat/ |
dex2oat.cc | 85 #include "vdex_file.h" 582 for (std::unique_ptr<File>& vdex_file : vdex_files_) { 583 vdex_file.release(); 1879 File* vdex_file = vdex_files_[i].get(); local [all...] |
/art/compiler/driver/ |
compiler_driver.h | 126 VdexFile* vdex_file,
|
compiler_driver.cc | 77 #include "vdex_file.h" 435 VdexFile* vdex_file, 437 if (vdex_file != nullptr) { 445 VdexFile::Unquicken(dex_files, vdex_file->GetQuickeningInfo()); 448 new verifier::VerifierDeps(dex_files, vdex_file->GetVerifierDepsData())); [all...] |