Lines Matching refs:c_str

222   UsageError("Command: %s", CommandLine().c_str());  in Usage()
646 LogHelper::LogLineLowStack(__FILE__, __LINE__, LogSeverity::FATAL, message.c_str()); in Fatal()
871 image_base_ = strtoul(option.c_str(), &end, 16); in ParseBase()
872 if (end == option.c_str() || *end != '\0') { in ParseBase()
885 Usage("%s", parser_options->error_msg.c_str()); in ParseInstructionSetVariant()
895 parser_options->error_msg.c_str()); in ParseInstructionSetFeatures()
902 Usage("Error parsing '%s': %s", option.c_str(), parser_options->error_msg.c_str()); in ParseInstructionSetFeatures()
1075 parser_options->error_msg.c_str()); in ProcessOptions()
1160 boot_image_filename_.c_str()); in ProcessOptions()
1179 Usage("Unusable boot image filename %s", image_filenames_[0].c_str()); in ExpandOatAndImageFilenames()
1185 Usage("Unusable boot image oat filename %s", oat_filenames_[0].c_str()); in ExpandOatAndImageFilenames()
1199 Usage("Unusable boot image symbol filename %s", oat_unstripped_[0].c_str()); in ExpandOatAndImageFilenames()
1234 invocation.c_str(), in InsertCompileOptions()
1255 *out = char_backing_storage_.front().c_str(); in AssignIfExists()
1264 out->push_back(char_backing_storage_.front().c_str()); in AssignIfExists()
1303 Usage("Failed to parse command line: %s", error_msg.c_str()); in ParseArgs()
1367 invocation_file_.reset(open(args.Get(M::InvocationFile)->c_str(), in ParseArgs()
1373 args.Get(M::InvocationFile)->c_str(), strerror(err)); in ParseArgs()
1400 class_loader_context_arg.c_str()); in ParseArgs()
1409 str_fds_arg.c_str()); in ParseArgs()
1418 stored_context_arg.c_str()); in ParseArgs()
1425 stored_context_arg.c_str(), in ParseArgs()
1426 class_loader_context_arg.c_str()); in ParseArgs()
1443 Usage(error_msg.c_str()); in ParseArgs()
1468 std::unique_ptr<File> oat_file(OS::CreateEmptyFile(oat_filename.c_str())); in OpenFile()
1495 std::unique_ptr<File> vdex_file(OS::OpenFileReadWrite(vdex_filename.c_str())); in OpenFile()
1498 std::unique_ptr<File> vdex_file(OS::CreateEmptyFile(vdex_filename.c_str())); in OpenFile()
1594 dm_file_.reset(ZipArchive::Open(dm_file_location_.c_str(), &error_msg)); in OpenFile()
1632 std::unique_ptr<File> swap_file(OS::CreateEmptyFile(swap_file_name_.c_str())); in OpenFile()
1638 unlink(swap_file_name_.c_str()); in OpenFile()
1797 CHECK(!DexFileLoader::IsMultiDexLocation(bcp_dex_files[bcp_df_pos]->GetLocation().c_str())); in Setup()
1800 DexFileLoader::IsMultiDexLocation(bcp_dex_files[bcp_df_pos]->GetLocation().c_str())) { in Setup()
2089 if (android::base::StartsWith(dex_location, filter.c_str())) { in Compile()
2438 std::unique_ptr<File> out(OS::CreateEmptyFile(oat_unstripped_[i].c_str())); in CopyOatFilesToSymbolsDirectoryAndStrip()
2582 profile_file.reset(OS::OpenFileForReading(profile_file_.c_str())); in LoadProfile()
2685 if (!OS::FileExists(dex_filenames_[i].c_str())) { in PruneNonExistentDexFiles()
2705 if (!oat_writers_[0]->AddVdexDexFilesSource(*input_vdex_file_.get(), name.c_str())) { in AddDexFileSources()
2711 zip_location_.c_str())) { in AddDexFileSources()
2719 if (!oat_writers_[i]->AddDexFileSource(dex_filenames_[i].c_str(), in AddDexFileSources()
2720 dex_locations_[i].c_str())) { in AddDexFileSources()
2728 if (!oat_writers_[0]->AddDexFileSource(dex_filenames_[i].c_str(), in AddDexFileSources()
2729 dex_locations_[i].c_str())) { in AddDexFileSources()
2762 std::unique_ptr<File> tmp_file(OS::CreateEmptyFile(tmp_file_name.c_str())); in SaveDexInput()
2923 zip_filename, error_msg->c_str()); in ReadCommentedInputFromZip()
2929 zip_filename, error_msg->c_str()); in ReadCommentedInputFromZip()
2951 std::string descriptor((*process)(dot.c_str())); in ReadCommentedInputStream()