Home
last modified time | relevance | path

Searched refs:file_size_ (Results 1 – 23 of 23) sorted by relevance

/art/dex2oat/linker/
Doat_writer_test.cc116 dex_file->GetHeader().file_size_); in WriteElf()
296 ASSERT_EQ(dex_file_data->GetHeader().file_size_, opened_dex_file->GetHeader().file_size_); in CheckOatWriteResult()
299 dex_file_data->GetHeader().file_size_)); in CheckOatWriteResult()
615 dex_file1_data->GetHeader().file_size_); in TestDexFileInput()
632 dex_file2_data->GetHeader().file_size_); in TestDexFileInput()
739 dex_file1_data->GetHeader().file_size_); in TestZipFileInput()
745 dex_file1_data->GetHeader().file_size_); in TestZipFileInput()
757 dex_file2_data->GetHeader().file_size_); in TestZipFileInput()
763 dex_file2_data->GetHeader().file_size_); in TestZipFileInput()
802 ASSERT_EQ(dex_file1_data->GetHeader().file_size_, opened_dex_file1->GetHeader().file_size_); in TestZipFileInput()
[all …]
Doat_writer.cc479 if (header->file_size_ < sizeof(DexFile::Header)) { in ValidateDexFileHeader()
544 header->file_size_); in AddDexFileSource()
608 header->file_size_); in AddVdexDexFilesSource()
638 if (data.size() < header->file_size_) { in AddRawDexFileSource()
640 << " file size from header: " << header->file_size_ << " File: " << location; in AddRawDexFileSource()
649 header->file_size_); in AddRawDexFileSource()
3467 header->file_size_, in LayoutAndWriteDexFile()
3496 oat_dex_file->dex_file_size_ = header->file_size_; in LayoutAndWriteDexFile()
3669 if (!out->WriteFully(dex_file, header->file_size_)) { in WriteDexFile()
3766 CHECK_EQ(header->file_size_, oat_dex_file.dex_file_size_) in OpenDexFiles()
[all …]
Dimage_test.h251 dex_file->GetHeader().file_size_); in DoCompile()
/art/test/983-source-transform-verify/
Dsource_transform_art.cc40 uint32_t header_file_size = header->file_size_; in VerifyClassData()
/art/libdexfile/external/
Ddex_file_ext.cc158 uint32_t file_size = header->file_size_; in ExtDexFileOpenFromMemory()
248 if (__builtin_add_overflow(offset, header->file_size_, &file_size)) { in ExtDexFileOpenFromFd()
/art/dexlayout/
Ddexlayout_test.cc747 header.link_off_ = header.file_size_; in TEST_F()
749 header.file_size_ += header.link_size_; in TEST_F()
750 file_size = header.file_size_; in TEST_F()
Ddex_ir.h420 uint32_t FileSize() const { return file_size_; } in FileSize()
431 void SetFileSize(uint32_t new_file_size) { file_size_ = new_file_size; } in SetFileSize()
519 uint32_t file_size_; variable
539 file_size_ = file_size; in ConstructorHelper()
Dcompact_dex_writer.cc276 header.file_size_ = header_->FileSize(); in WriteHeader()
Ddex_writer.cc810 header.file_size_ = header_->FileSize(); in WriteHeader()
Ddex_ir_builder.cc258 disk_header.file_size_, in DexIrBuilder()
/art/runtime/
Dvdex_file.cc211 const uint8_t* data = cursor + reinterpret_cast<const DexFile::Header*>(cursor)->file_size_; in GetNextDexFileData()
231 size_t size = reinterpret_cast<const DexFile::Header*>(dex_file_start)->file_size_; in OpenAllDexFiles()
Doat_file.cc798 if (dex_file_offset != 0 && (DexSize() - dex_file_offset < header->file_size_)) { in Setup()
805 header->file_size_, in Setup()
1918 return reinterpret_cast<const DexFile::Header*>(dex_file_pointer_)->file_size_; in FileSize()
Doat_file_assistant.cc449 header->file_size_ - DexFile::kNumNonChecksumBytes); in AnonymousDexVdexLocation()
/art/libdexfile/dex/
Ddex_file_loader_test.cc286 EXPECT_EQ(904U, header.file_size_); in ValidateDexFileHeader()
Dtest_dex_file_builder.h219 header->file_size_ = dex_file_data_.size(); in Build()
Ddex_file.h94 uint32_t file_size_ = 0; // size of entire file member
Ddex_file_verifier.cc578 uint32_t expected_size = header_->file_size_; in CheckHeader()
689 if (UNLIKELY(item->offset_ >= header_->file_size_)) { in CheckMap()
691 item->offset_, header_->file_size_); in CheckMap()
Ddex_file_verifier_test.cc51 uint32_t expected_size = header->file_size_; in FixUpChecksum()
/art/dex2oat/
Ddex2oat_test.cc2097 header.file_size_ = 4 * KB; in TEST_F()
2125 header.file_size_ = sizeof(CompactDexFile::Header); in TEST_F()
2239 ASSERT_GT(header->file_size_, in TEST_F()
Ddex2oat.cc2599 dex_files_size += dex_file->GetHeader().file_size_; in UseSwap()
2607 dex_files_size += dex_file->GetHeader().file_size_; in IsVeryLarge()
/art/runtime/native/
Ddalvik_system_DexFile.cc874 file_size += dex_file->GetHeader().file_size_; in DexFile_getStaticSizeOfDexFile()
/art/tools/hiddenapi/
Dhiddenapi.cc775 header.file_size_ += delta; in UpdateDataSize()
/art/dexdump/
Ddexdump.cc564 fprintf(gOutFile, "file_size : %d\n", pHeader.file_size_); in dumpFileHeader()