Home
last modified time | relevance | path

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

/art/dex2oat/linker/
Doat_writer_test.cc287 ASSERT_EQ(dex_file_data->GetHeader().file_size_, opened_dex_file->GetHeader().file_size_); in CheckOatWriteResult()
290 dex_file_data->GetHeader().file_size_)); in CheckOatWriteResult()
597 dex_file1_data->GetHeader().file_size_); in TestDexFileInput()
614 dex_file2_data->GetHeader().file_size_); in TestDexFileInput()
721 dex_file1_data->GetHeader().file_size_); in TestZipFileInput()
727 dex_file1_data->GetHeader().file_size_); in TestZipFileInput()
739 dex_file2_data->GetHeader().file_size_); in TestZipFileInput()
745 dex_file2_data->GetHeader().file_size_); in TestZipFileInput()
784 ASSERT_EQ(dex_file1_data->GetHeader().file_size_, opened_dex_file1->GetHeader().file_size_); in TestZipFileInput()
787 dex_file1_data->GetHeader().file_size_)); in TestZipFileInput()
[all …]
Doat_writer.cc400 if (header->file_size_ < sizeof(DexFile::Header)) { in ValidateDexFileHeader()
3492 CHECK_EQ(header->file_size_, oat_dex_file.dex_file_size_) in OpenDexFiles()
3494 << oat_dex_file.dex_file_size_ << " Actual: " << header->file_size_ in OpenDexFiles()
/art/libdexfile/dex/
Dcode_item_accessors_test.cc40 header->file_size_ = data->size(); in CreateFakeDex()
46 header->file_size_ = data->size(); in CreateFakeDex()
Ddex_file.cc118 return HasDexContainer() ? reinterpret_cast<const HeaderV41*>(this)->container_size_ : file_size_; in ContainerSize()
124 DCHECK_LE(file_size_, container_size - header_offset); in SetDexContainer()
133 DCHECK_EQ(container_size, file_size_); in SetDexContainer()
220 if (container_size < header_->file_size_) { in Init()
224 header_->file_size_); in Init()
268 size = header->file_size_; in GetDataRange()
Ddex_file_loader.cc215 if (size < header->file_size_) { in GetMultiDexChecksum()
220 ptr += header->file_size_; in GetMultiDexChecksum()
424 size_t file_size = dex_files->back()->GetHeader().file_size_; in Open()
580 size_t file_size = dex_files->back()->GetHeader().file_size_; in OpenFromZipEntry()
Ddex_file_loader_test.cc424 EXPECT_EQ(904U, header.file_size_); in ValidateDexFileHeader()
Ddex_file.h144 uint32_t file_size_ = 0; // size of entire file member
815 size_t Size() const { return header_->file_size_; } in Size()
Dtest_dex_file_builder.h221 header->file_size_ = dex_file_data.size();
Ddex_file_verifier.cc633 size_t file_size = header_->file_size_; in CheckHeader()
678 if (headerV41->file_size_ > remainder) { in CheckHeader()
680 "Header file_size(%ud) is past multi-dex size(%ud)", headerV41->file_size_, remainder); in CheckHeader()
Ddex_file_verifier_test.cc51 uint32_t expected_size = header->file_size_; in FixUpChecksum()
/art/test/983-source-transform-verify/
Dsource_transform_art.cc40 uint32_t header_file_size = header->file_size_; in VerifyClassData()
/art/tools/hiddenapi/
Dhiddenapi.cc729 CHECK_EQ(header->file_size_, header_offset[i + 1] - header_offset[i]); in WriteTo()
733 header->file_size_ = output.size() - header_offset[i]; in WriteTo()
736 size_t sha1_start = offsetof(DexFile::Header, file_size_); in WriteTo()
737 SHA1(begin + sha1_start, header->file_size_ - sha1_start, header->signature_.data()); in WriteTo()
738 header->checksum_ = DexFile::CalculateChecksum(begin, header->file_size_); in WriteTo()
/art/libdexfile/external/
Ddex_file_ext.cc165 uint32_t dex_size = header->file_size_; // Size of "one dex file" excluding any shared data. in ADexFile_create()
/art/runtime/oat/
Doat_file.cc934 if (dex_file_offset != 0 && (DexSize() - dex_file_offset < header->file_size_)) { in Setup()
940 header->file_size_, in Setup()
1757 if (UNLIKELY(!vdex_file->Contains(dex_file_start, header->file_size_))) { in Open()
1763 header->file_size_, in Open()
2254 return reinterpret_cast<const DexFile::Header*>(dex_file_pointer_)->file_size_; in FileSize()
Doat_file_assistant.cc565 checksum, header->checksum_, header->file_size_ - DexFile::kNumNonChecksumBytes); in AnonymousDexVdexLocation()
/art/dex2oat/
Ddex2oat_test.cc1516 header.file_size_ = 4 * KB; in TEST_F()
1555 header.file_size_ = sizeof(LegacyCompactDexFile::Header); in TEST_F()
1672 ASSERT_GT(header->file_size_, in TEST_F()
1686 header->SetDexContainer(0, header->file_size_); in TEST_F()
Ddex2oat.cc2512 dex_files_size += dex_file->GetHeader().file_size_; in UseSwap()
2520 dex_files_size += dex_file->GetHeader().file_size_; in IsVeryLarge()
/art/runtime/
Dvdex_file.cc192 const uint8_t* data = cursor + reinterpret_cast<const DexFile::Header*>(cursor)->file_size_; in GetNextDexFileData()
/art/libprofile/profile/
Dprofile_compilation_info.cc254 file_size_(file_size), in FileSectionInfo()
272 return file_size_; in GetFileSize()
280 return inflated_size_ != 0u ? inflated_size_ : file_size_; in GetMemSize()
286 uint32_t file_size_; member in art::ProfileCompilationInfo::FileSectionInfo
/art/runtime/native/
Ddalvik_system_DexFile.cc968 file_size += dex_file->GetHeader().file_size_; in DexFile_getStaticSizeOfDexFile()
/art/dexdump/
Ddexdump.cc664 fprintf(gOutFile, "file_size : %d\n", pHeader.file_size_); in dumpFileHeader()