Lines Matching refs:c_str

142   std::unique_ptr<File> file(OS::OpenFileForReading(filename.c_str()));  in Open()
226 std::unique_ptr<char> absolute_path(realpath(elf_filename.c_str(), nullptr)); in Dlopen()
228 *error_msg = StringPrintf("Failed to find absolute path for '%s'", elf_filename.c_str()); in Dlopen()
239 *error_msg = StringPrintf("Failed to dlopen '%s': %s", elf_filename.c_str(), dlerror()); in Dlopen()
244 *error_msg = StringPrintf("Failed to find oatdata symbol in '%s': %s", elf_filename.c_str(), in Dlopen()
252 begin_, requested_base, elf_filename.c_str()); in Dlopen()
257 *error_msg = StringPrintf("Failed to find oatlastword symbol in '%s': %s", elf_filename.c_str(), in Dlopen()
273 elf_filename.c_str()); in Dlopen()
343 *error_msg = StringPrintf("Failed to find oatdata symbol in '%s'", file->GetPath().c_str()); in ElfFileOpen()
355 *error_msg = StringPrintf("Failed to find oatlastword symbol in '%s'", file->GetPath().c_str()); in ElfFileOpen()
370 file->GetPath().c_str()); in ElfFileOpen()
383 *error_msg = StringPrintf("Invalid oat header for '%s': %s", GetLocation().c_str(), in Setup()
384 cause.c_str()); in Setup()
390 *error_msg = StringPrintf("In oat file '%s' found truncated OatHeader", GetLocation().c_str()); in Setup()
397 "%p + %zd + %ud <= %p", GetLocation().c_str(), in Setup()
409 GetLocation().c_str(), i); in Setup()
415 "location size", GetLocation().c_str(), i); in Setup()
423 "location", GetLocation().c_str(), i); in Setup()
435 "dex file checksum", GetLocation().c_str(), i, in Setup()
436 dex_file_location.c_str()); in Setup()
443 "file offset", GetLocation().c_str(), i, dex_file_location.c_str()); in Setup()
448 "offset %ud > %zd", GetLocation().c_str(), i, in Setup()
449 dex_file_location.c_str(), dex_file_offset, Size()); in Setup()
455 "after dex file offsets", GetLocation().c_str(), i, in Setup()
456 dex_file_location.c_str()); in Setup()
463 "dex file magic '%s'", GetLocation().c_str(), i, in Setup()
464 dex_file_location.c_str(), dex_file_pointer); in Setup()
469 "dex file version '%s'", GetLocation().c_str(), i, in Setup()
470 dex_file_location.c_str(), dex_file_pointer); in Setup()
479 "method offsets", GetLocation().c_str(), i, in Setup()
480 dex_file_location.c_str()); in Setup()
484 std::string canonical_location = DexFile::GetDexCanonicalLocation(dex_file_location.c_str()); in Setup()
770 out << dex_file->GetLocation().c_str(); in EncodeDexFileDependencies()
798 int64_t converted = strtoll(checksum.c_str(), nullptr, 10); in CheckStaticDexFileDependencies()
801 *msg = StringPrintf("Conversion error for %s", checksum.c_str()); in CheckStaticDexFileDependencies()
807 if (DexFile::GetChecksum(DexFile::GetDexCanonicalLocation(location.c_str()).c_str(), in CheckStaticDexFileDependencies()
812 location.c_str(), converted, dex_checksum); in CheckStaticDexFileDependencies()
818 *msg = StringPrintf("Could not retrieve checksum for %s: %s", location.c_str(), in CheckStaticDexFileDependencies()
819 error_msg.c_str()); in CheckStaticDexFileDependencies()