Lines Matching refs:DexFile
104 static const DexFile* OpenDexFileBase64(const char* base64, const char* location, in OpenDexFileBase64()
125 std::vector<const DexFile*> tmp; in OpenDexFileBase64()
126 bool success = DexFile::Open(location, location, error_msg, &tmp); in OpenDexFileBase64()
129 const DexFile* dex_file = tmp[0]; in OpenDexFileBase64()
154 std::unique_ptr<const DexFile> raw(OpenDexFileBase64(kGoodTestDex, tmp.GetFilename().c_str(), in TEST_F()
160 DexFile::Header* header = reinterpret_cast<DexFile::Header*>(dex_file); in FixUpChecksum()
163 const uint32_t non_sum = sizeof(DexFile::Header::magic_) + sizeof(DexFile::Header::checksum_); in FixUpChecksum()
169 static const DexFile* FixChecksumAndOpen(byte* bytes, size_t length, const char* location, in FixChecksumAndOpen()
190 std::vector<const DexFile*> tmp; in FixChecksumAndOpen()
191 if (!DexFile::Open(location, location, error_msg, &tmp)) { in FixChecksumAndOpen()
195 const DexFile* dex_file = tmp[0]; in FixChecksumAndOpen()
212 std::unique_ptr<const DexFile> file(FixChecksumAndOpen(dex_bytes.get(), length, location, in ModifyAndLoad()