Lines Matching refs:GetHeader
138 reinterpret_cast<const uint8_t*>(&dex_file->GetHeader()),
139 dex_file->GetHeader().file_size_);
566 const_cast<DexFile::Header*>(&data->GetHeader())->checksum_++;
583 bool success = dex_file1.GetFile()->WriteFully(&dex_file1_data->GetHeader(),
584 dex_file1_data->GetHeader().file_size_);
598 success = dex_file2.GetFile()->WriteFully(&dex_file2_data->GetHeader(),
599 dex_file2_data->GetHeader().file_size_);
645 ASSERT_EQ(dex_file1_data->GetHeader().file_size_, opened_dex_file1->GetHeader().file_size_);
646 ASSERT_EQ(0, memcmp(&dex_file1_data->GetHeader(),
647 &opened_dex_file1->GetHeader(),
648 dex_file1_data->GetHeader().file_size_));
651 ASSERT_EQ(dex_file2_data->GetHeader().file_size_, opened_dex_file2->GetHeader().file_size_);
652 ASSERT_EQ(0, memcmp(&dex_file2_data->GetHeader(),
653 &opened_dex_file2->GetHeader(),
654 dex_file2_data->GetHeader().file_size_));
688 bool success = dex_file1.GetFile()->WriteFully(&dex_file1_data->GetHeader(),
689 dex_file1_data->GetHeader().file_size_);
694 &dex_file1_data->GetHeader(),
695 dex_file1_data->GetHeader().file_size_);
706 success = dex_file2.GetFile()->WriteFully(&dex_file2_data->GetHeader(),
707 dex_file2_data->GetHeader().file_size_);
712 &dex_file2_data->GetHeader(),
713 dex_file2_data->GetHeader().file_size_);
750 ASSERT_EQ(dex_file1_data->GetHeader().file_size_, opened_dex_file1->GetHeader().file_size_);
751 ASSERT_EQ(0, memcmp(&dex_file1_data->GetHeader(),
752 &opened_dex_file1->GetHeader(),
753 dex_file1_data->GetHeader().file_size_));
757 ASSERT_EQ(dex_file2_data->GetHeader().file_size_, opened_dex_file2->GetHeader().file_size_);
758 ASSERT_EQ(0, memcmp(&dex_file2_data->GetHeader(),
759 &opened_dex_file2->GetHeader(),
760 dex_file2_data->GetHeader().file_size_));
799 ASSERT_EQ(dex_file1_data->GetHeader().file_size_, opened_dex_file1->GetHeader().file_size_);
800 ASSERT_EQ(0, memcmp(&dex_file1_data->GetHeader(),
801 &opened_dex_file1->GetHeader(),
802 dex_file1_data->GetHeader().file_size_));
806 ASSERT_EQ(dex_file2_data->GetHeader().file_size_, opened_dex_file2->GetHeader().file_size_);
807 ASSERT_EQ(0, memcmp(&dex_file2_data->GetHeader(),
808 &opened_dex_file2->GetHeader(),
809 dex_file2_data->GetHeader().file_size_));