Lines Matching full:c_str
132 arg_vector.push_back(compiler_options[i].c_str());
153 if (OS::FileExists(system_image_filename.c_str())) {
171 if (!GetDalvikCacheFilename(image_location, dalvik_cache.c_str(), cache_filename, &error_msg)) {
175 *has_cache = OS::FileExists(cache_filename->c_str());
264 if (!ReadSpecificImageHeader(system_filename.c_str(), sys_hdr.get())) {
266 image_location, system_filename.c_str());
269 if (!ReadSpecificImageHeader(cache_filename.c_str(), cache_hdr.get())) {
271 image_location, cache_filename.c_str());
286 return ReadSpecificImageHeader(cache_filename.c_str(), error_msg);
292 std::unique_ptr<ImageHeader> system(ReadSpecificImageHeader(system_filename.c_str(),
294 std::unique_ptr<ImageHeader> cache(ReadSpecificImageHeader(cache_filename.c_str(),
303 return ReadSpecificImageHeader(system_filename.c_str(), error_msg);
305 return ReadSpecificImageHeader(cache_filename.c_str(), error_msg);
345 int res = TEMP_FAILURE_RETRY(statvfs(cache_filename.c_str(), &buf));
402 image_location, system_filename.c_str());
406 if (has_cache && ChecksumsMatch(system_filename.c_str(), cache_filename.c_str())) {
436 success = RelocateImage(image_location, cache_filename.c_str(), image_isa, &reason);
444 image_location, system_filename.c_str(),
445 cache_filename.c_str(), reason.c_str());
462 if (ChecksumsMatch(system_filename.c_str(), cache_filename.c_str())) {
489 image_lock.Init(image_filename->c_str(),
493 VLOG(startup) << "Using image file " << image_filename->c_str() << " for image location "
501 space = ImageSpace::Init(image_filename->c_str(),
528 image_location, cache_filename.c_str(), system_filename.c_str(),
529 error_msg->c_str());
535 image_filename->c_str(), error_msg->c_str());
556 cache_filename.c_str(), error_msg->c_str());
576 image_lock.Init(cache_filename.c_str(), error_msg);
577 space = ImageSpace::Init(cache_filename.c_str(), image_location, true, nullptr, error_msg);
580 cache_filename.c_str(), error_msg->c_str());
957 (app_oat_file != nullptr) ? app_oat_file->GetLocation().c_str() : "");
1325 *error_msg = StringPrintf("Failed to map image bitmap: %s", error_msg->c_str());
1349 *error_msg = StringPrintf("Could not create bitmap '%s'", bitmap_name.c_str());
1450 oat_filename.c_str(), GetName(), error_msg->c_str());
1477 if (!DexFile::GetChecksum(dex_file_location.c_str(), &dex_file_location_checksum, error_msg)) {
1479 "%s", dex_file_location.c_str(), GetName(), error_msg->c_str());
1485 oat_file_->GetLocation().c_str(), dex_file_location.c_str(),