Lines Matching refs:dex_bytes

350 static void DecodeDexFile(const char* base64, std::vector<uint8_t>* dex_bytes) {  in DecodeDexFile()  argument
353 *dex_bytes = DecodeBase64Vec(base64); in DecodeDexFile()
354 CHECK_NE(dex_bytes->size(), 0u); in DecodeDexFile()
359 std::vector<uint8_t>* dex_bytes, in OpenDexFilesBase64() argument
363 DecodeDexFile(base64, dex_bytes); in OpenDexFilesBase64()
368 DexFileLoader dex_file_loader(dex_bytes->data(), dex_bytes->size(), location); in OpenDexFilesBase64()
376 std::vector<uint8_t>* dex_bytes, in OpenDexFileBase64() argument
382 bool success = OpenDexFilesBase64(base64, location, dex_bytes, &dex_files, &error_code, in OpenDexFileBase64()
393 std::vector<uint8_t>* dex_bytes) { in OpenDexFileInMemoryBase64() argument
394 DecodeDexFile(base64, dex_bytes); in OpenDexFileInMemoryBase64()
397 DexFileLoader dex_file_loader(dex_bytes->data(), dex_bytes->size(), location); in OpenDexFileInMemoryBase64()
447 std::vector<uint8_t> dex_bytes; in TEST_F() local
448 std::unique_ptr<const DexFile> raw(OpenDexFileBase64(kRawDex, kLocationString, &dex_bytes)); in TEST_F()
453 std::vector<uint8_t> dex_bytes; in TEST_F() local
455 OpenDexFileInMemoryBase64(kRawDex, kLocationString, 0x00d87910U, true, &dex_bytes); in TEST_F()
460 std::vector<uint8_t> dex_bytes; in TEST_F() local
461 std::unique_ptr<const DexFile> raw(OpenDexFileBase64(kRawDex38, kLocationString, &dex_bytes)); in TEST_F()
469 std::vector<uint8_t> dex_bytes; in TEST_F() local
470 std::unique_ptr<const DexFile> raw(OpenDexFileBase64(kRawDex39, kLocationString, &dex_bytes)); in TEST_F()
478 std::vector<uint8_t> dex_bytes; in TEST_F() local
479 std::unique_ptr<const DexFile> raw(OpenDexFileBase64(kRawDex40, kLocationString, &dex_bytes)); in TEST_F()
487 std::vector<uint8_t> dex_bytes; in TEST_F() local
488 std::unique_ptr<const DexFile> raw(OpenDexFileBase64(kRawDex41, kLocationString, &dex_bytes, 1)); in TEST_F()
496 std::vector<uint8_t> dex_bytes; in TEST_F() local
497 DecodeDexFile(kRawDex42, &dex_bytes); in TEST_F()
503 DexFileLoader dex_file_loader(dex_bytes.data(), dex_bytes.size(), kLocationString); in TEST_F()
509 std::vector<uint8_t> dex_bytes; in TEST_F() local
511 OpenDexFileBase64(kRawContainerDex, kLocationString, &dex_bytes, 2)); in TEST_F()
519 std::vector<uint8_t> dex_bytes; in TEST_F() local
520 DecodeDexFile(kRawDexZeroLength, &dex_bytes); in TEST_F()
526 DexFileLoader dex_file_loader(dex_bytes.data(), dex_bytes.size(), kLocationString); in TEST_F()
558 std::vector<uint8_t> dex_bytes; in TEST_F() local
564 &dex_bytes, in TEST_F()
572 std::vector<uint8_t> dex_bytes; in TEST_F() local
578 &dex_bytes, in TEST_F()
587 std::vector<uint8_t> dex_bytes; in TEST_F() local
593 &dex_bytes, in TEST_F()
601 std::vector<uint8_t> dex_bytes; in TEST_F() local
607 &dex_bytes); in TEST_F()
612 std::vector<uint8_t> dex_bytes; in TEST_F() local
617 &dex_bytes); in TEST_F()
627 std::vector<uint8_t> dex_bytes; in OpenAndVerify() local
632 dex_file_base64, kLocationString, &dex_bytes, &dex_files, &error_code, &error_msg); in OpenAndVerify()