Lines Matching refs:std
34 static inline std::vector<uint8_t> DecodeBase64Vec(const char* src) { in DecodeBase64Vec()
35 std::vector<uint8_t> res; in DecodeBase64Vec()
37 std::unique_ptr<uint8_t[]> data(DecodeBase64(src, &size)); in DecodeBase64Vec()
202 static void DecodeDexFile(const char* base64, std::vector<uint8_t>* dex_bytes) { in DecodeDexFile()
211 std::vector<uint8_t>* dex_bytes, in OpenDexFilesBase64()
212 std::vector<std::unique_ptr<const DexFile>>* dex_files, in OpenDexFilesBase64()
214 std::string* error_msg) { in OpenDexFilesBase64()
219 std::vector<std::unique_ptr<const DexFile>> tmp; in OpenDexFilesBase64()
232 static std::unique_ptr<const DexFile> OpenDexFileBase64(const char* base64, in OpenDexFileBase64()
234 std::vector<uint8_t>* dex_bytes) { in OpenDexFileBase64()
237 std::string error_msg; in OpenDexFileBase64()
238 std::vector<std::unique_ptr<const DexFile>> dex_files; in OpenDexFileBase64()
243 return std::move(dex_files[0]); in OpenDexFileBase64()
246 static std::unique_ptr<const DexFile> OpenDexFileInMemoryBase64(const char* base64, in OpenDexFileInMemoryBase64()
250 std::vector<uint8_t>* dex_bytes) { in OpenDexFileInMemoryBase64()
253 std::string error_message; in OpenDexFileInMemoryBase64()
255 std::unique_ptr<const DexFile> dex_file(dex_file_loader.Open(dex_bytes->data(), in OpenDexFileInMemoryBase64()
271 static void ValidateDexFileHeader(std::unique_ptr<const DexFile> dex_file) { in ValidateDexFileHeader()
309 std::vector<uint8_t> dex_bytes; in TEST_F()
310 std::unique_ptr<const DexFile> raw(OpenDexFileBase64(kRawDex, kLocationString, &dex_bytes)); in TEST_F()
311 ValidateDexFileHeader(std::move(raw)); in TEST_F()
315 std::vector<uint8_t> dex_bytes; in TEST_F()
316 std::unique_ptr<const DexFile> raw = in TEST_F()
318 ValidateDexFileHeader(std::move(raw)); in TEST_F()
322 std::vector<uint8_t> dex_bytes; in TEST_F()
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()
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()
345 std::string error_msg; in TEST_F()
346 std::vector<std::unique_ptr<const DexFile>> dex_files; in TEST_F()
359 std::vector<uint8_t> dex_bytes; in TEST_F()
364 std::string error_msg; in TEST_F()
365 std::vector<std::unique_ptr<const DexFile>> dex_files; in TEST_F()
378 std::vector<uint8_t> dex_bytes; in TEST_F()
383 std::string error_msg; in TEST_F()
384 std::vector<std::unique_ptr<const DexFile>> dex_files; in TEST_F()
404 std::string dex_location_str = "/system/app/framework.jar"; in TEST_F()
423 std::vector<uint8_t> dex_bytes; in TEST_F()
424 std::vector<std::unique_ptr<const DexFile>> dex_files; in TEST_F()
426 std::string error_msg; in TEST_F()
437 std::vector<uint8_t> dex_bytes; in TEST_F()
438 std::vector<std::unique_ptr<const DexFile>> dex_files; in TEST_F()
440 std::string error_msg; in TEST_F()
452 std::vector<uint8_t> dex_bytes; in TEST_F()
453 std::vector<std::unique_ptr<const DexFile>> dex_files; in TEST_F()
455 std::string error_msg; in TEST_F()
466 std::vector<uint8_t> dex_bytes; in TEST_F()
467 std::unique_ptr<const DexFile> raw = in TEST_F()
477 std::vector<uint8_t> dex_bytes; in TEST_F()
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()
485 std::unique_ptr<const DexFile> raw = OpenDexFileInMemoryBase64(kRawDexDebugInfoLocalNullType, in TEST_F()