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 std::unique_ptr<const DexFile> raw(OpenDexFileBase64(kRawDex40, kLocationString, &dex_bytes)); in TEST_F()
349 std::vector<uint8_t> dex_bytes; in TEST_F() local
350 DecodeDexFile(kRawDex41, &dex_bytes); in TEST_F()
357 ASSERT_FALSE(dex_file_loader.OpenAll(dex_bytes.data(), in TEST_F()
358 dex_bytes.size(), in TEST_F()
368 std::vector<uint8_t> dex_bytes; in TEST_F() local
369 DecodeDexFile(kRawDexZeroLength, &dex_bytes); in TEST_F()
376 ASSERT_FALSE(dex_file_loader.OpenAll(dex_bytes.data(), in TEST_F()
377 dex_bytes.size(), in TEST_F()
413 std::vector<uint8_t> dex_bytes; in TEST_F() local
419 &dex_bytes, in TEST_F()
427 std::vector<uint8_t> dex_bytes; in TEST_F() local
433 &dex_bytes, in TEST_F()
442 std::vector<uint8_t> dex_bytes; in TEST_F() local
448 &dex_bytes, in TEST_F()
456 std::vector<uint8_t> dex_bytes; in TEST_F() local
462 &dex_bytes); in TEST_F()
467 std::vector<uint8_t> dex_bytes; in TEST_F() local
468 std::unique_ptr<const DexFile> raw(OpenDexFileBase64(kRawDex, kLocationString, &dex_bytes)); in TEST_F()
474 std::vector<uint8_t> dex_bytes; in TEST_F() local
479 &dex_bytes); in TEST_F()