Lines Matching refs:c_str

197     arg_vector.push_back(compiler_options[i].c_str());  in GenerateImage()
221 if (OS::FileExists(system_image_filename.c_str())) { in FindImageFilenameImpl()
244 dalvik_cache->c_str(), in FindImageFilenameImpl()
250 *has_cache = OS::FileExists(cache_filename->c_str()); in FindImageFilenameImpl()
312 if (access(dalvik_cache.c_str(), O_RDWR) == 0) { in CanWriteToDalvikCache()
942 *error_msg = StringPrintf("Failed to map image bitmap: %s", error_msg->c_str()); in Init()
963 *error_msg = StringPrintf("Could not create bitmap '%s'", bitmap_name.c_str()); in Init()
983 space.GetImageFilename().c_str(), in CheckImageComponentCount()
997 space.GetImageFilename().c_str(), in CheckImageReservationSize()
1610 std::string(*oat_checksums).c_str(), in CheckAndRemoveImageChecksum()
1611 image_checksum.c_str()); in CheckAndRemoveImageChecksum()
1822 *error_msg = StringPrintf("Invalid boot class path component: %s", bcp_component.c_str()); in VerifyImageLocation()
1843 component.c_str()); in VerifyImageLocation()
1848 *error_msg = StringPrintf("Multiple profile delimiters in %s", component.c_str()); in VerifyImageLocation()
1853 component.c_str()); in VerifyImageLocation()
1858 component.c_str()); in VerifyImageLocation()
1866 component.c_str()); in VerifyImageLocation()
1872 component.c_str()); in VerifyImageLocation()
1880 *error_msg = StringPrintf("Unsupported wildcard (*) position in %s", component.c_str()); in VerifyImageLocation()
1886 component.c_str()); in VerifyImageLocation()
1890 *error_msg = StringPrintf("Primary component contains wildcard (*): %s", component.c_str()); in VerifyImageLocation()
1952 component.c_str()); in MatchNamedComponents()
2071 if (!ReadSpecificImageHeader(actual_filename.c_str(), &header, error_msg)) { in ReadHeader()
2074 const char* file_description = actual_filename.c_str(); in ReadHeader()
2127 *error_msg = StringPrintf("Missing extension dependency \"%s\"", dependencies[i].c_str()); in CompileExtension()
2136 std::unique_ptr<File> profile_file(OS::OpenFileForReading(profile_filename.c_str())); in CompileExtension()
2139 profile_filename.c_str(), in CompileExtension()
2153 *error_msg = StringPrintf("Failed to scan profile from %s", profile_filename.c_str()); in CompileExtension()
2174 boot_class_path_locations_[bcp_index].c_str()); in CompileExtension()
2182 android::base::unique_fd art_fd(memfd_create_compat(art_filename.c_str(), /*flags=*/ 0)); in CompileExtension()
2183 android::base::unique_fd vdex_fd(memfd_create_compat(vdex_filename.c_str(), /*flags=*/ 0)); in CompileExtension()
2184 android::base::unique_fd oat_fd(memfd_create_compat(oat_filename.c_str(), /*flags=*/ 0)); in CompileExtension()
2187 boot_class_path_locations_[bcp_index].c_str()); in CompileExtension()
2310 std::string(*oat_checksums).c_str()); in CheckAndRemoveLastChunkChecksum()
2368 std::string(*oat_checksums).c_str()); in LoadOrValidate()
2452 bcp_component.c_str(), in LoadOrValidate()
2453 std::string(*oat_checksums).c_str()); in LoadOrValidate()
2470 *filename = GetSystemImageFilename(location.c_str(), image_isa); in LoadOrValidateFromSystem()
2483 return GetDalvikCacheFilename(location.c_str(), dalvik_cache.c_str(), filename, err_msg); in LoadOrValidateFromDalvikCache()
2518 bool found_image = FindImageFilenameImpl(image_location.c_str(), in FindImageFiles()
2631 boot_class_path_locations_[chunk.start_index].c_str(), in LoadImage()
2632 extension_error_msg.c_str(), in LoadImage()
2633 remap_error_msg.c_str()); in LoadImage()
3066 VLOG(startup) << "Using image file " << image_filename.c_str() << " for image location " in Load()
3071 image_filename.c_str(), in Load()
3072 image_location.c_str(), in Load()
3073 profile_file.c_str(), in Load()
3094 ScopedFlock image = LockedFile::Open(image_filename.c_str(), in Load()
3099 VLOG(startup) << "Using image file " << image_filename.c_str() << " for image location " in Load()
3108 return Loader::Init(image_filename.c_str(), in Load()
3109 image_location.c_str(), in Load()
3164 oat_filename.c_str(), in OpenOatFile()
3166 error_msg->c_str()); in OpenOatFile()
3204 expected_boot_class_path.c_str(), in OpenOatFile()
3221 local_error_msg.c_str()); in OpenOatFile()
3231 oat_filename.c_str(), in OpenOatFile()
3283 boot_class_path_locations_[chunk.start_index].c_str(), in LoadComponents()
3326 space->GetImageFilename().c_str(), in LoadComponents()
3500 if (FindImageFilename(image_location.c_str(), in IsBootClassPathOnDisk()
3512 image_header = ReadSpecificImageHeader(filename.c_str(), &error_msg); in IsBootClassPathOnDisk()
3527 int res = TEMP_FAILURE_RETRY(statvfs(cache_filename.c_str(), &buf)); in CheckSpace()
3684 loader.GetCacheFilename().c_str(), in LoadBootImage()
3685 local_error_msg.c_str())); in LoadBootImage()
3761 if (DexFileLoader::IsMultiDexLocation(dex_file_location.c_str())) { in ValidateOatFile()
3766 if (!dex_file_loader.GetMultiDexChecksums(dex_file_location.c_str(), &checksums, error_msg)) { in ValidateOatFile()
3769 dex_file_location.c_str(), in ValidateOatFile()
3770 oat_file.GetLocation().c_str(), in ValidateOatFile()
3771 error_msg->c_str()); in ValidateOatFile()
3778 oat_file.GetLocation().c_str(), in ValidateOatFile()
3779 dex_file_location.c_str(), in ValidateOatFile()
3789 dex_file_location.c_str()); in ValidateOatFile()
3790 const OatDexFile* multi_dex = oat_file.GetOatDexFile(multi_dex_location.c_str(), in ValidateOatFile()
3795 oat_file.GetLocation().c_str(), in ValidateOatFile()
3796 multi_dex_location.c_str()); in ValidateOatFile()
3803 oat_file.GetLocation().c_str(), in ValidateOatFile()
3804 multi_dex_location.c_str(), in ValidateOatFile()
3856 !DexFileLoader::IsMultiDexLocation(boot_class_path_tail.front()->GetLocation().c_str())); in GetBootClassPathChecksums()
3858 if (!DexFileLoader::IsMultiDexLocation(dex_file->GetLocation().c_str())) { in GetBootClassPathChecksums()
3894 std::string(oat_boot_class_path).c_str(), in CheckAndCountBCPComponents()
3895 Join(boot_class_path, ':').c_str()); in CheckAndCountBCPComponents()
3935 if (!FindImageFilename(primary_image_location.c_str(), in VerifyBootClassPathChecksums()
3944 image_location.c_str(), in VerifyBootClassPathChecksums()
3964 std::string(oat_checksums).c_str()); in VerifyBootClassPathChecksums()
3972 if (!dex_file_loader.Open(bcp_filename.c_str(), in VerifyBootClassPathChecksums()
3985 std::string(oat_checksums).c_str(), in VerifyBootClassPathChecksums()
3986 dex_file_checksum.c_str()); in VerifyBootClassPathChecksums()
3994 std::string(oat_checksums).c_str()); in VerifyBootClassPathChecksums()
4002 std::string(oat_checksums).c_str()); in VerifyBootClassPathChecksums()
4059 CHECK(!DexFileLoader::IsMultiDexLocation(main_location.c_str())); in VerifyBootClassPathChecksums()
4063 oat_file->GetOatDexFiles()[i]->GetDexFileLocation().c_str())) { in VerifyBootClassPathChecksums()
4081 std::string(oat_checksums).c_str()); in VerifyBootClassPathChecksums()