Home | History | Annotate | Download | only in patchoat

Lines Matching full:c_str

59   std::string system_filename(GetSystemImageFilename(location.c_str(), isa));
60 if (OS::FileExists(system_filename.c_str())) {
79 if (GetDalvikCacheFilename(location.c_str(), dalvik_cache.c_str(),
171 options.push_back(std::make_pair(img.c_str(), nullptr));
193 std::unique_ptr<File> input_image(OS::OpenFileForReading(input_image_filename.c_str()));
222 input_image->GetPath().c_str(),
237 std::unique_ptr<File> input_oat_file(OS::OpenFileForReading(input_oat_filename.c_str()));
315 output_image_file(CreateOrOpen(output_image_filename.c_str(), &new_oat_out));
334 output_oat_file(CreateOrOpen(output_oat_filename.c_str(), &new_oat_out));
443 unlink(output_oat_filename.c_str());
446 if (symlink(input_oat_filename.c_str(), output_oat_filename.c_str()) < 0) {
912 UsageError("Command: %s", CommandLine().c_str());
1058 Usage("Unable to find filename for input oat location %s", input_oat_location.c_str());
1073 if (!gc::space::ImageSpace::FindImageFilename(patched_image_location.c_str(), isa,
1077 Usage("Unable to determine image file for location %s", patched_image_location.c_str());
1087 Usage("Unable to determine image file for location %s", patched_image_location.c_str());
1096 if (!ReadBaseDelta(patched_image_filename.c_str(), &base_delta, &error_msg)) {
1097 Usage(error_msg.c_str(), patched_image_filename.c_str());
1126 input_oat.reset(OS::OpenFileForReading(input_oat_filename.c_str()));
1157 output_oat.reset(CreateOrOpen(output_oat_filename.c_str(), &new_oat_out));
1170 unlink(output_oat_filename.c_str());