Home
last modified time | relevance | path

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

/art/dex2oat/linker/
Doat_writer_test.cc133 dex_file->GetHeader().file_size_); in WriteElf()
594 dex_file1_data->GetHeader().file_size_); in TestDexFileInput()
609 dex_file2_data->GetHeader().file_size_); in TestDexFileInput()
661 ASSERT_EQ(dex_file1_data->GetHeader().file_size_, opened_dex_file1->GetHeader().file_size_); in TestDexFileInput()
664 dex_file1_data->GetHeader().file_size_)); in TestDexFileInput()
667 ASSERT_EQ(dex_file2_data->GetHeader().file_size_, opened_dex_file2->GetHeader().file_size_); in TestDexFileInput()
670 dex_file2_data->GetHeader().file_size_)); in TestDexFileInput()
717 dex_file1_data->GetHeader().file_size_); in TestZipFileInput()
723 dex_file1_data->GetHeader().file_size_); in TestZipFileInput()
735 dex_file2_data->GetHeader().file_size_); in TestZipFileInput()
[all …]
Doat_writer.cc461 if (header->file_size_ < sizeof(DexFile::Header)) { in ValidateDexFileHeader()
509 header->file_size_); in AddDexFileSource()
585 header->file_size_); in AddVdexDexFilesSource()
615 if (data.size() < header->file_size_) { in AddRawDexFileSource()
617 << " file size from header: " << header->file_size_ << " File: " << location; in AddRawDexFileSource()
626 header->file_size_); in AddRawDexFileSource()
3619 header->file_size_, in LayoutAndWriteDexFile()
3642 oat_dex_file->dex_file_size_ = header->file_size_; in LayoutAndWriteDexFile()
3811 if (!out->WriteFully(dex_file, header->file_size_)) { in WriteDexFile()
3908 CHECK_EQ(header->file_size_, oat_dex_file.dex_file_size_) in OpenDexFiles()
[all …]
Dimage_test.h264 dex_file->GetHeader().file_size_); in Compile()
/art/test/983-source-transform-verify/
Dsource_transform_art.cc39 uint32_t header_file_size = header->file_size_; in VerifyClassData()
/art/runtime/
Dvdex_file.cc191 const uint8_t* data = cursor + reinterpret_cast<const DexFile::Header*>(cursor)->file_size_; in GetNextDexFileData()
207 size_t size = reinterpret_cast<const DexFile::Header*>(dex_file_start)->file_size_; in OpenAllDexFiles()
Doat_file.cc738 if (dex_file_offset != 0 && (DexSize() - dex_file_offset < header->file_size_)) { in Setup()
745 header->file_size_, in Setup()
1734 return reinterpret_cast<const DexFile::Header*>(dex_file_pointer_)->file_size_; in FileSize()
/art/dexlayout/
Ddexlayout_test.cc755 header.link_off_ = header.file_size_; in TEST_F()
757 header.file_size_ += header.link_size_; in TEST_F()
758 file_size = header.file_size_; in TEST_F()
Ddex_ir_builder.cc40 disk_header.file_size_, in DexIrBuilder()
Ddex_ir.h542 file_size_(file_size), in Header()
560 uint32_t FileSize() const { return file_size_; } in FileSize()
571 void SetFileSize(uint32_t new_file_size) { file_size_ = new_file_size; } in SetFileSize()
591 uint32_t file_size_; variable
Dcompact_dex_writer.cc278 header.file_size_ = header_->FileSize(); in WriteHeader()
Ddex_writer.cc759 header.file_size_ = header_->FileSize(); in WriteHeader()
/art/libdexfile/dex/
Ddex_file_loader_test.cc282 EXPECT_EQ(904U, header.file_size_); in ValidateDexFileHeader()
Ddex_file_verifier.cc132 if (string_off >= header->file_size_) { in FindMethodName()
138 if (!DecodeUnsignedLeb128Checked(&str_data_ptr, begin + header->file_size_, &dummy)) { in FindMethodName()
364 uint32_t expected_size = header_->file_size_; in CheckHeader()
475 if (UNLIKELY(item->offset_ >= header_->file_size_)) { in CheckMap()
477 item->offset_, header_->file_size_); in CheckMap()
2919 if (!DecodeUnsignedLeb128Checked(&ptr, begin + header->file_size_, &dummy)) { in GetStringOrError()
Dtest_dex_file_builder.h218 header->file_size_ = dex_file_data_.size(); in Build()
Ddex_file.h88 uint32_t file_size_ = 0; // size of entire file member
Ddex_file_verifier_test.cc48 uint32_t expected_size = header->file_size_; in FixUpChecksum()
/art/runtime/native/
Ddalvik_system_DexFile.cc813 file_size += dex_file->GetHeader().file_size_; in DexFile_getStaticSizeOfDexFile()
/art/dex2oat/
Ddex2oat_test.cc2037 header.file_size_ = 4 * KB; in TEST_F()
2065 header.file_size_ = sizeof(CompactDexFile::Header); in TEST_F()
Ddex2oat.cc2383 dex_files_size += dex_file->GetHeader().file_size_; in UseSwap()
2391 dex_files_size += dex_file->GetHeader().file_size_; in IsVeryLarge()
/art/dexdump/
Ddexdump.cc566 fprintf(gOutFile, "file_size : %d\n", pHeader.file_size_); in dumpFileHeader()
/art/oatdump/
Doatdump.cc1179 header->data_off_ = header->file_size_; in ExportDexFile()