Home
last modified time | relevance | path

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

/art/dex2oat/linker/
Doat_writer_test.cc115 dex_file->GetHeader().file_size_); in WriteElf()
564 dex_file1_data->GetHeader().file_size_); in TestDexFileInput()
579 dex_file2_data->GetHeader().file_size_); in TestDexFileInput()
630 ASSERT_EQ(dex_file1_data->GetHeader().file_size_, opened_dex_file1->GetHeader().file_size_); in TestDexFileInput()
633 dex_file1_data->GetHeader().file_size_)); in TestDexFileInput()
636 ASSERT_EQ(dex_file2_data->GetHeader().file_size_, opened_dex_file2->GetHeader().file_size_); in TestDexFileInput()
639 dex_file2_data->GetHeader().file_size_)); in TestDexFileInput()
686 dex_file1_data->GetHeader().file_size_); in TestZipFileInput()
692 dex_file1_data->GetHeader().file_size_); in TestZipFileInput()
704 dex_file2_data->GetHeader().file_size_); in TestZipFileInput()
[all …]
Doat_writer.cc477 if (header->file_size_ < sizeof(DexFile::Header)) { in ValidateDexFileHeader()
525 header->file_size_); in AddDexFileSource()
601 header->file_size_); in AddVdexDexFilesSource()
631 if (data.size() < header->file_size_) { in AddRawDexFileSource()
633 << " file size from header: " << header->file_size_ << " File: " << location; in AddRawDexFileSource()
642 header->file_size_); in AddRawDexFileSource()
3450 header->file_size_, in LayoutAndWriteDexFile()
3479 oat_dex_file->dex_file_size_ = header->file_size_; in LayoutAndWriteDexFile()
3652 if (!out->WriteFully(dex_file, header->file_size_)) { in WriteDexFile()
3749 CHECK_EQ(header->file_size_, oat_dex_file.dex_file_size_) in OpenDexFiles()
[all …]
Dimage_test.h252 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.cc750 header.link_off_ = header.file_size_; in TEST_F()
752 header.file_size_ += header.link_size_; in TEST_F()
753 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.cc807 header.file_size_ = header_->FileSize(); in WriteHeader()
Ddex_ir_builder.cc257 disk_header.file_size_, in DexIrBuilder()
/art/runtime/
Dvdex_file.cc201 const uint8_t* data = cursor + reinterpret_cast<const DexFile::Header*>(cursor)->file_size_; in GetNextDexFileData()
217 size_t size = reinterpret_cast<const DexFile::Header*>(dex_file_start)->file_size_; in OpenAllDexFiles()
Doat_file.cc727 if (dex_file_offset != 0 && (DexSize() - dex_file_offset < header->file_size_)) { in Setup()
734 header->file_size_, in Setup()
1928 return reinterpret_cast<const DexFile::Header*>(dex_file_pointer_)->file_size_; in FileSize()
Doat_file_assistant.cc445 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_verifier.cc307 uint32_t expected_size = header_->file_size_; in CheckHeader()
418 if (UNLIKELY(item->offset_ >= header_->file_size_)) { in CheckMap()
420 item->offset_, header_->file_size_); in CheckMap()
3069 if (!DecodeUnsignedLeb128Checked(&ptr, begin + header->file_size_, &dummy)) { in GetStringOrError()
Ddex_file.h91 uint32_t file_size_ = 0; // size of entire file member
/art/runtime/native/
Ddalvik_system_DexFile.cc871 file_size += dex_file->GetHeader().file_size_; in DexFile_getStaticSizeOfDexFile()
/art/tools/hiddenapi/
Dhiddenapi.cc775 header.file_size_ += delta; in UpdateDataSize()
/art/dex2oat/
Ddex2oat.cc2315 dex_files_size += dex_file->GetHeader().file_size_; in UseSwap()
2323 dex_files_size += dex_file->GetHeader().file_size_; in IsVeryLarge()
Ddex2oat_test.cc2065 header.file_size_ = 4 * KB; in TEST_F()
2093 header.file_size_ = sizeof(CompactDexFile::Header); in TEST_F()
/art/dexdump/
Ddexdump.cc564 fprintf(gOutFile, "file_size : %d\n", pHeader.file_size_); in dumpFileHeader()