Lines Matching refs:dex_bytes

202 static void DecodeDexFile(const char* base64, std::vector<uint8_t>* dex_bytes) {  in DecodeDexFile()  argument
205 *dex_bytes = DecodeBase64Vec(base64); in DecodeDexFile()
206 CHECK_NE(dex_bytes->size(), 0u); in DecodeDexFile()
211 std::vector<uint8_t>* dex_bytes, in OpenDexFilesBase64() argument
215 DecodeDexFile(base64, dex_bytes); in OpenDexFilesBase64()
221 bool success = dex_file_loader.OpenAll(dex_bytes->data(), in OpenDexFilesBase64()
222 dex_bytes->size(), in OpenDexFilesBase64()
234 std::vector<uint8_t>* dex_bytes) { in OpenDexFileBase64() argument
239 bool success = OpenDexFilesBase64(base64, location, dex_bytes, &dex_files, &error_code, in OpenDexFileBase64()
250 std::vector<uint8_t>* dex_bytes) { in OpenDexFileInMemoryBase64() argument
251 DecodeDexFile(base64, dex_bytes); in OpenDexFileInMemoryBase64()
255 std::unique_ptr<const DexFile> dex_file(dex_file_loader.Open(dex_bytes->data(), in OpenDexFileInMemoryBase64()
256 dex_bytes->size(), in OpenDexFileInMemoryBase64()
309 std::vector<uint8_t> dex_bytes; in TEST_F() local
310 std::unique_ptr<const DexFile> raw(OpenDexFileBase64(kRawDex, kLocationString, &dex_bytes)); in TEST_F()
315 std::vector<uint8_t> dex_bytes; in TEST_F() local
317 OpenDexFileInMemoryBase64(kRawDex, kLocationString, 0x00d87910U, true, &dex_bytes); in TEST_F()
322 std::vector<uint8_t> dex_bytes; in TEST_F() local
323 std::unique_ptr<const DexFile> raw(OpenDexFileBase64(kRawDex38, kLocationString, &dex_bytes)); in TEST_F()
331 std::vector<uint8_t> dex_bytes; in TEST_F() local
332 std::unique_ptr<const DexFile> raw(OpenDexFileBase64(kRawDex39, kLocationString, &dex_bytes)); in TEST_F()
340 std::vector<uint8_t> dex_bytes; in TEST_F() local
341 DecodeDexFile(kRawDex40, &dex_bytes); in TEST_F()
348 ASSERT_FALSE(dex_file_loader.OpenAll(dex_bytes.data(), in TEST_F()
349 dex_bytes.size(), in TEST_F()
359 std::vector<uint8_t> dex_bytes; in TEST_F() local
360 DecodeDexFile(kRawDex41, &dex_bytes); in TEST_F()
367 ASSERT_FALSE(dex_file_loader.OpenAll(dex_bytes.data(), in TEST_F()
368 dex_bytes.size(), in TEST_F()
378 std::vector<uint8_t> dex_bytes; in TEST_F() local
379 DecodeDexFile(kRawDexZeroLength, &dex_bytes); in TEST_F()
386 ASSERT_FALSE(dex_file_loader.OpenAll(dex_bytes.data(), in TEST_F()
387 dex_bytes.size(), in TEST_F()
423 std::vector<uint8_t> dex_bytes; in TEST_F() local
429 &dex_bytes, in TEST_F()
437 std::vector<uint8_t> dex_bytes; in TEST_F() local
443 &dex_bytes, in TEST_F()
452 std::vector<uint8_t> dex_bytes; in TEST_F() local
458 &dex_bytes, in TEST_F()
466 std::vector<uint8_t> dex_bytes; in TEST_F() local
472 &dex_bytes); in TEST_F()
477 std::vector<uint8_t> dex_bytes; in TEST_F() local
478 std::unique_ptr<const DexFile> raw(OpenDexFileBase64(kRawDex, kLocationString, &dex_bytes)); in TEST_F()
484 std::vector<uint8_t> dex_bytes; in TEST_F() local
489 &dex_bytes); in TEST_F()