Home | History | Annotate | Download | only in runtime

Lines Matching full:c_str

170   std::unique_ptr<const DexFile> raw(OpenDexFileBase64(kRawDex, tmp.GetFilename().c_str()));
209 EXPECT_TRUE(DexFile::GetChecksum(GetLibCoreDexFileNames()[0].c_str(), &checksum, &error_msg))
362 const char* dex_location = dex_location_str.c_str();
372 UniqueCPtr<const char[]> dex_location_real(realpath(file.GetFilename().c_str(), nullptr));
375 ASSERT_EQ(dex_location, DexFile::GetDexCanonicalLocation(dex_location.c_str()));
376 std::string multidex_location = DexFile::GetMultiDexLocation(1, dex_location.c_str());
377 ASSERT_EQ(multidex_location, DexFile::GetDexCanonicalLocation(multidex_location.c_str()));
380 ASSERT_EQ(0, symlink(dex_location.c_str(), dex_location_sym.c_str()));
382 ASSERT_EQ(dex_location, DexFile::GetDexCanonicalLocation(dex_location_sym.c_str()));
384 std::string multidex_location_sym = DexFile::GetMultiDexLocation(1, dex_location_sym.c_str());
385 ASSERT_EQ(multidex_location, DexFile::GetDexCanonicalLocation(multidex_location_sym.c_str()));
387 ASSERT_EQ(0, unlink(dex_location_sym.c_str()));