reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

examples/BrainF/BrainFDriver.cpp
  136     in = new std::ifstream(InputFilename.c_str());
examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp
  109     NumVal = strtod(NumStr.c_str(), nullptr);
  747   return Builder->CreateLoad(V, Name.c_str());
  959   Value *CurVar = Builder->CreateLoad(Alloca, VarName.c_str());
examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp
  109     NumVal = strtod(NumStr.c_str(), nullptr);
  747   return Builder->CreateLoad(V, Name.c_str());
  959   Value *CurVar = Builder->CreateLoad(Alloca, VarName.c_str());
examples/Kaleidoscope/BuildingAJIT/Chapter3/toy.cpp
  109     NumVal = strtod(NumStr.c_str(), nullptr);
  746   return Builder.CreateLoad(V, Name.c_str());
  958   Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
examples/Kaleidoscope/BuildingAJIT/Chapter4/toy.cpp
  111     NumVal = strtod(NumStr.c_str(), nullptr);
  732   return Builder.CreateLoad(V, Name.c_str());
  944   Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
examples/Kaleidoscope/BuildingAJIT/Chapter5/toy.cpp
  128     NumVal = strtod(NumStr.c_str(), nullptr);
  756   return Builder.CreateLoad(V, Name.c_str());
  968   Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
 1236   hostent *server = gethostbyname(HostName.c_str());
examples/Kaleidoscope/Chapter2/toy.cpp
   59     NumVal = strtod(NumStr.c_str(), nullptr);
examples/Kaleidoscope/Chapter3/toy.cpp
   71     NumVal = strtod(NumStr.c_str(), nullptr);
examples/Kaleidoscope/Chapter4/toy.cpp
   81     NumVal = strtod(NumStr.c_str(), nullptr);
examples/Kaleidoscope/Chapter5/toy.cpp
   99     NumVal = strtod(NumStr.c_str(), nullptr);
examples/Kaleidoscope/Chapter6/toy.cpp
  107     NumVal = strtod(NumStr.c_str(), nullptr);
examples/Kaleidoscope/Chapter7/toy.cpp
  114     NumVal = strtod(NumStr.c_str(), nullptr);
  752   return Builder.CreateLoad(V, Name.c_str());
  964   Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
examples/Kaleidoscope/Chapter8/toy.cpp
  115     NumVal = strtod(NumStr.c_str(), nullptr);
  751   return Builder.CreateLoad(V, Name.c_str());
  963   Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
examples/Kaleidoscope/Chapter9/toy.cpp
  167     NumVal = strtod(NumStr.c_str(), nullptr);
  891                            VarName.c_str());
  907   return Builder.CreateLoad(V, Name.c_str());
 1128   Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
gen/tools/lldb/scripts/LLDBWrapPython.cpp
80506     const char* python_function_name = python_function_name_string.c_str();
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h
  180       ArgV[Idx++] = Arg.c_str();
include/llvm/IR/ModuleSummaryIndexYAML.h
   79     io.mapRequired(Key.str().c_str(), V[Args]);
   91       io.mapRequired(Key.c_str(), P.second);
  122     io.mapRequired(Key.str().c_str(), V[KeyInt]);
  126       io.mapRequired(llvm::utostr(P.first).c_str(), P.second);
  207     io.mapRequired(Key.str().c_str(), FSums);
  256         io.mapRequired(llvm::utostr(P.first).c_str(), FSums);
  264     io.mapRequired(Key.str().c_str(), TId);
  269       io.mapRequired(TidIter->second.first.c_str(), TidIter->second.second);
include/llvm/Support/DynamicLibrary.h
  117       return SearchForAddressOfSymbol(symbolName.c_str());
include/llvm/Support/Error.h
  711     Msg = OS.str().c_str();
  742     Msg = OS.str().c_str();
  773     Msg = OS.str().c_str();
 1208   return createStringError(EC, S.str().c_str());
include/llvm/Support/YAMLTraits.h
 1939     io.mapRequired(key.str().c_str(), v[key]);
 1944       io.mapRequired(p.first.c_str(), p.second);
lib/Analysis/Analysis.cpp
  114     *OutMessages = strdup(MsgsOS.str().c_str());
lib/BinaryFormat/MsgPackDocumentYAML.cpp
  213     IO.mapRequired(Key.str().c_str(), M.getMap()[KeyObj]);
  218       IO.mapRequired(I.first.toString().c_str(), I.second);
lib/Bitcode/Reader/BitReader.cpp
   49       *OutMessage = strdup(Message.c_str());
   95       *OutMessage = strdup(Message.c_str());
lib/Bitcode/Reader/BitcodeAnalyzer.cpp
   38       return Info->Name.c_str();
  112         return Info->RecordNames[i].second.c_str();
lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
  222         AP->PrintSpecial(MI, OS, Val.c_str());
  364         AP->PrintSpecial(MI, OS, Val.c_str());
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  219                               ? TmpBuf->Comments[Byte.index()].c_str()
lib/CodeGen/GlobalISel/IRTranslator.cpp
 1538     .addExternalSymbol(IA.getAsmString().c_str())
lib/CodeGen/MachineVerifier.cpp
  310       unsigned FoundErrors = MachineVerifier(this, Banner.c_str()).verify(MF);
lib/CodeGen/RegisterScavenging.cpp
  514       report_fatal_error(Msg.c_str());
lib/CodeGen/SelectionDAG/FastISel.cpp
 1310         .addExternalSymbol(IA->getAsmString().c_str())
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 8178       IA->getAsmString().c_str(), TLI.getPointerTy(DAG.getDataLayout())));
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 4170   return atoi(ConstraintCode.c_str());
 4396       getSingleConstraintMatchWeight(info, (*rCodes)[i].c_str());
lib/DebugInfo/DWARF/DWARFContext.cpp
 1843                              TargetLookupError.c_str());
lib/DebugInfo/DWARF/DWARFUnit.cpp
  598                              toString(CUDIERangesOrError.takeError()).c_str());
lib/DebugInfo/Symbolize/Symbolize.cpp
  516     char *DemangledName = itaniumDemangle(Name.c_str(), nullptr, nullptr, &status);
  528         Name.c_str(), nullptr, nullptr, &status,
lib/Demangle/Demangle.cpp
   25     Demangled = itaniumDemangle(MangledName.c_str(), nullptr, nullptr, nullptr);
   28         microsoftDemangle(MangledName.c_str(), nullptr, nullptr, nullptr);
lib/ExecutionEngine/ExecutionEngineBindings.cpp
  114   *OutError = strdup(Error.c_str());
  129   *OutError = strdup(Error.c_str());
  146   *OutError = strdup(Error.c_str());
  212   *OutError = strdup(Error.c_str());
  365                                        SectionName.str().c_str());
  372                                        SectionName.str().c_str(),
lib/ExecutionEngine/Orc/ExecutionUtils.cpp
  213     if (void *Addr = Dylib.getAddressOfSymbol(Tmp.c_str())) {
lib/ExecutionEngine/Orc/OrcCBindings.cpp
   31   return J.getErrorMessage().c_str();
   39   strcpy(*MangledName, Mangled.c_str());
lib/ExecutionEngine/Orc/OrcCBindingsStack.h
  198         return JITSymbol(ExternalResolver(Name.c_str(), ExternalResolverCtx),
lib/ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp
  278   const char *NameStr = Name.c_str();
lib/FuzzMutate/FuzzerCLI.cpp
   69     CLArgs.push_back(S.c_str());
  133     CLArgs.push_back(S.c_str());
lib/IR/Core.cpp
  204   return LLVMCreateMessage(MsgStorage.c_str());
  246   return Str.c_str();
  256   return Str.c_str();
  265   return unwrap(M)->getDataLayoutStr().c_str();
  278   return unwrap(M)->getTargetTriple().c_str();
  400     *ErrorMessage = strdup(EC.message().c_str());
  410     *ErrorMessage = strdup(E.c_str());
  424   return strdup(buf.c_str());
  443   return Str.c_str();
  541   return strdup(buf.c_str());
  852   return strdup(buf.c_str());
 2354   return strdup(Str.c_str());
 2377   return F->hasGC()? F->getGC().c_str() : nullptr;
 4004     *OutMessage = strdup(EC.message().c_str());
 4015     *OutMessage = strdup(EC.message().c_str());
lib/IR/InlineAsm.cpp
  147       unsigned N = atoi(pCodes->back().c_str());
lib/IRReader/IRReader.cpp
  132       *OutMessage = strdup(buf.c_str());
lib/LTO/LTOCodeGenerator.cpp
  292   *Name = NativeObjectPath.c_str();
  639       CodegenArgv.push_back(Arg.c_str());
  672   (*DiagHandler)(Severity, MsgStorage.c_str(), DiagContext);
  712     (*DiagHandler)(LTO_DS_ERROR, ErrMsg.c_str(), DiagContext);
  719     (*DiagHandler)(LTO_DS_WARNING, ErrMsg.c_str(), DiagContext);
lib/LineEditor/LineEditor.cpp
  115     return Data->LE->getPrompt().c_str();
  131       ::fwrite(Data->ContinuationOutput.c_str(),
  137       ::el_push(EL, const_cast<char *>(Prevs.c_str()));
  150       ::el_insertstr(EL, Action.Text.c_str());
  211   Data->EL = ::el_init(ProgName.str().c_str(), In, Out, Err);
  245     ::history(Data->Hist, &HE, H_SAVE, HistoryPath.c_str());
  252     ::history(Data->Hist, &HE, H_LOAD, HistoryPath.c_str());
lib/MC/WinCOFFObjectWriter.cpp
  447     std::memcpy(S.Header.Name, S.Name.c_str(), S.Name.size());
  853         memcpy(&Aux.Aux, Name.c_str() + Offset, SymbolSize);
  856         memcpy(&Aux.Aux, Name.c_str() + Offset, Length);
lib/Object/COFFImportFile.cpp
   83     strcpy(reinterpret_cast<char *>(&B[Pos]), S.c_str());
lib/Object/Object.cpp
   71     *ErrorMessage = strdup(toString(ObjOrErr.takeError()).c_str());
  143     *ErrorMessage = strdup(toString(ObjOrErr.takeError()).c_str());
lib/ObjectYAML/CodeViewYAMLSymbols.cpp
   80     io.enumCase(Value, E.Name.str().c_str(), E.Value);
   87     io.bitSetCase(Flags, E.Name.str().c_str(),
   96     io.bitSetCase(Flags, E.Name.str().c_str(),
  104     io.bitSetCase(Flags, E.Name.str().c_str(),
  112     io.bitSetCase(Flags, E.Name.str().c_str(),
  120     io.bitSetCase(Flags, E.Name.str().c_str(),
  128     io.bitSetCase(Flags, E.Name.str().c_str(),
  137     io.bitSetCase(Flags, E.Name.str().c_str(),
  145     io.enumCase(Cpu, E.Name.str().c_str(), static_cast<CPUType>(E.Value));
  152     io.enumCase(Reg, E.Name.str().c_str(), static_cast<RegisterId>(E.Value));
  161     io.enumCase(Tramp, E.Name.str().c_str(),
  170     io.enumCase(Ord, E.Name.str().c_str(), static_cast<ThunkOrdinal>(E.Value));
  178     io.enumCase(FC, E.Name.str().c_str(),
lib/ObjectYAML/MachOEmitter.cpp
  148     OS.write(LC.PayloadString.c_str(), LC.PayloadString.length());
lib/Option/ArgList.cpp
  213   ArgStrings.push_back(SynthesizedStrings.back().c_str());
lib/Passes/PassPlugin.cpp
   19       sys::DynamicLibrary::getPermanentLibrary(Filename.c_str(), &Error);
lib/Remarks/RemarkParser.cpp
  123   const char *getMessage() const { return Err ? Err->c_str() : nullptr; };
lib/Support/Chrono.cpp
   89   size_t Len = strftime(Buffer, sizeof(Buffer), Format.c_str(), &LT);
lib/Support/ErrorHandling.cpp
  221   handler(reason.c_str());
lib/Support/FileUtilities.cpp
  323                           /*to=*/FinalPath.str().c_str())) {
lib/Support/PluginLoader.cpp
   28   if (sys::DynamicLibrary::LoadLibraryPermanently(Filename.c_str(), &Error)) {
lib/Support/Signals.cpp
  141                              MainExecutableName.c_str(), StrPool))
lib/Support/Twine.cpp
   45       return StringRef(str->c_str(), str->size());
lib/Support/Unix/Path.inc
  275   if (::STATVFS(const_cast<char *>(Path.str().c_str()), &Vfs))
  479   if (::STATVFS(const_cast<char *>(Path.str().c_str()), &Vfs))
  608   Entry = ::getpwnam(User.c_str());
lib/Support/Unix/Process.inc
  168   const char *Val = ::getenv(NameStr.c_str());
lib/Support/Unix/Program.inc
  107   int InFD = open(File.c_str(), FD == 0 ? O_RDONLY : O_WRONLY|O_CREAT, 0666);
  134     File = Path->c_str();
  254       Err = posix_spawn(&PID, Program.str().c_str(), FileActions,
  309         execve(PathStr.c_str(), const_cast<char **>(Argv),
  312         execv(PathStr.c_str(), const_cast<char **>(Argv));
lib/Support/Unix/Signals.inc
  103   FileToRemoveList(const std::string &str) : Filename(strdup(str.c_str())) {}
lib/Support/VirtualFileSystem.cpp
 1121   OS << "'" << Name.str().c_str() << "'"
lib/Support/YAMLParser.cpp
 2377     StringRef NullTerminatedStr(T.Value.c_str(), T.Value.length() + 1);
lib/TableGen/SetTheory.cpp
  224       OS << format(Format.c_str(), unsigned(From));
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
 2903       return TokError(Str.c_str());
 2913       return TokError(Str.c_str());
 2923       return TokError(Str.c_str());
 2933       return TokError(Str.c_str());
 2944       return TokError(Str.c_str());
lib/Target/AMDGPU/AMDGPULibCalls.cpp
  952                         << FInfo.getName().c_str() << "(" << *opr0 << ")\n");
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
  334       std::string fmtstr = itostr(++UniqID) + ":" + Sizes.str().c_str();
lib/Target/AVR/AsmParser/AVRAsmParser.cpp
  457   ModifierKind = AVRMCExpr::getKindByName(ModifierName.str().c_str());
  465       ModifierKind = AVRMCExpr::getKindByName(GSModName.c_str());
  662         AVRMCExpr::getKindByName(ModifierName.str().c_str());
  706       RegNum = MatchRegisterName(RegName.str().c_str());
lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp
   51       llvm_unreachable(Diagnostic.c_str());
   69       llvm_unreachable(Diagnostic.c_str());
lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
 1496         Sym = getContext().getOrCreateSymbol(StringRef(myCharStr.c_str() + 16));
lib/Target/Hexagon/HexagonBitTracker.cpp
  129       (Twine("Unhandled physical register") + TRI.getName(Reg)).str().c_str());
lib/Target/Hexagon/HexagonISelDAGToDAGHVX.cpp
  734   OS << format("%8s", EVT(Ty).getEVTString().c_str()) << "  "
lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
  405     llvm_unreachable(errStr.str().c_str());
lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
  392     errs() << "error: invalid CPU \"" << CPUName.str().c_str()
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
  987       llvm_unreachable(msg.c_str());
lib/Target/NVPTX/NVPTXISelLowering.cpp
 1699       nvTM->getManagedStrPool()->getManagedString(Proto.c_str())->c_str();
 1699       nvTM->getManagedStrPool()->getManagedString(Proto.c_str())->c_str();
 2434     nvTM->getManagedStrPool()->getManagedString(ParamSym.c_str());
 2435   return DAG.getTargetExternalSymbol(SavedStr->c_str(), v);
lib/Target/NVPTX/NVPTXMachineFunctionInfo.h
   45     return ImageHandleList[Idx].c_str();
lib/Target/NVPTX/NVPTXRegisterInfo.h
   54     return getStrPool()->getManagedString(O.str().c_str())->c_str();
   54     return getStrPool()->getManagedString(O.str().c_str())->c_str();
lib/Target/NVPTX/NVPTXReplaceImageHandles.cpp
  164     Idx = MFI->getImageHandleSymbolIndex(NewSymStr.str().c_str());
lib/Target/PowerPC/PPCVSXSwapRemoval.cpp
  978     dbgs() << format("  %14s  ", TII->getName(MI->getOpcode()).str().c_str());
lib/Target/Target.cpp
   70   return strdup(StringRep.c_str());
lib/Target/TargetMachineC.cpp
   74       *ErrorMessage = strdup(Error.c_str());
  163   return strdup(StringRep.c_str());
  168   return strdup(StringRep.c_str());
  173   return strdup(StringRep.c_str());
  209     *ErrorMessage = strdup(error.c_str());
  224     *ErrorMessage = strdup(EC.message().c_str());
  246   return strdup(sys::getDefaultTargetTriple().c_str());
  250   return strdup(Triple::normalize(StringRef(triple)).c_str());
  265   return strdup(Features.getString().c_str());
lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
  763       Out.EmitBytes(StringRef(S.c_str(), S.length() + 1));
lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp
  896     llvm_unreachable(message.c_str());
lib/TextAPI/ELF/TBEHandler.cpp
  119     IO.mapRequired(Key.str().c_str(), Sym);
  125       IO.mapRequired(Sym.Name.c_str(), const_cast<ELFSymbol &>(Sym));
lib/Transforms/Instrumentation/ControlHeightReduction.cpp
 1984         dumpIR(F, oss.str().c_str(), nullptr));
lib/Transforms/Instrumentation/GCOVProfiling.cpp
   70   memcpy(Options.Version, DefaultGCOVVersion.c_str(), 4);
lib/Transforms/Scalar/JumpThreading.cpp
 2120     SplitLandingPadPredecessors(BB, Preds, Suffix, NewName.c_str(), NewBBs);
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
 1218         llvm_unreachable(RSO.str().c_str());
lib/Transforms/Utils/BasicBlockUtils.cpp
  609     SplitLandingPadPredecessors(BB, Preds, Suffix, NewName.c_str(), NewBBs, DT,
lib/Transforms/Utils/SimplifyLibCalls.cpp
  125   long long int Result = strtoll(nptr.c_str(), &End, Base);
tools/bugpoint/ExecutionDriver.cpp
  219           Path.c_str(), Message, CCBinary, &SafeToolArgs, &CCToolArgv);
  227           Path.c_str(), Message, CCBinary, &SafeToolArgs, &CCToolArgv);
  238         Path.c_str(), Message, CCBinary, &SafeToolArgs, &CCToolArgv,
  370     std::ofstream outFile(OutputFile.c_str(), std::ios_base::app);
tools/bugpoint/OptimizerDriver.cpp
  223     Args.push_back(I->c_str());
  224   Args.push_back(Temp->TmpName.c_str());
tools/bugpoint/ToolRunner.cpp
   92     std::ifstream ErrorFile(StdOutFileName.c_str());
  751       std::ofstream outFile(OutputFile.c_str(), std::ios_base::app);
tools/clang/include/clang/Driver/Driver.h
  322     return ClangExecutable.c_str();
  328       return InstalledDir.c_str();
  329     return Dir.c_str();
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConv.h
  326     return Solver->mkSymbol(Name.str().c_str(), mkSort(Solver, Ty, BitWidth));
tools/clang/lib/ARCMigrate/ObjCMT.cpp
  409   const char *argPtr = TypeString.c_str();
  546                                               PropertyNameString.c_str());
tools/clang/lib/AST/ExprConstant.cpp
 2939     return APSInt::getUnsigned(Str.c_str()[Index]);
tools/clang/lib/AST/RawCommentList.cpp
  195   memcpy(BriefTextPtr, Result.c_str(), BriefTextLength + 1);
tools/clang/lib/ASTMatchers/Dynamic/Parser.cpp
  222       double doubleValue = strtod(Text.c_str(), &end);
tools/clang/lib/Basic/Diagnostic.cpp
 1076                                         (intptr_t)getArgStdStr(ArgNo).c_str()));
tools/clang/lib/Basic/TargetInfo.cpp
  544   const char *Name = Info.getConstraintStr().c_str();
  643   const char *Name = Info.ConstraintStr.c_str();
tools/clang/lib/CodeGen/BackendUtil.cpp
  744     BackendArgs.push_back(CodeGenOpts.DebugPass.c_str());
  748     BackendArgs.push_back(CodeGenOpts.LimitFloatPrecision.c_str());
tools/clang/lib/CodeGen/CGCUDANV.cpp
   86     auto ConstStr = CGM.GetAddrOfConstantCString(Str, Name.c_str());
tools/clang/lib/CodeGen/CGExpr.cpp
 2771       auto C = CGM.GetAddrOfConstantCString(Name, GVName.c_str());
 2774       auto C = CGM.GetAddrOfConstantCString(FnName, GVName.c_str());
tools/clang/lib/CodeGen/CGObjCGNU.cpp
 3571       NULLPtr, NULLPtr, 0x12L, ClassName.c_str(), nullptr, Zeros[0],
 3579       MetaClassStruct, SuperClass, 0x11L, ClassName.c_str(), nullptr,
tools/clang/lib/CodeGen/CGObjCMac.cpp
 5485            OMD->getClassInterface()->getName().str().c_str());
tools/clang/lib/CodeGen/CGStmt.cpp
 2021     OutputConstraint = SimplifyConstraint(OutputConstraint.c_str() + 1,
 2151     InputConstraint = SimplifyConstraint(InputConstraint.c_str(), getTarget(),
tools/clang/lib/CodeGen/CodeGenModule.cpp
 4970   StringRef StrWithNull(Str.c_str(), Str.size() + 1);
tools/clang/lib/DirectoryWatcher/linux/DirectoryWatcher-linux.cpp
  338       InotifyFD, Path.str().c_str(),
tools/clang/lib/Driver/Driver.cpp
 1530   getOpts().PrintHelp(llvm::outs(), Usage.c_str(), DriverTitle.c_str(),
 1530   getOpts().PrintHelp(llvm::outs(), Usage.c_str(), DriverTitle.c_str(),
tools/clang/lib/Driver/Job.cpp
  152     Out.push_back(ResponseFileFlag.c_str());
tools/clang/lib/Driver/ToolChains/Clang.cpp
 4232   CmdArgs.push_back(D.ResourceDir.c_str());
tools/clang/lib/Driver/ToolChains/CommonArgs.cpp
  510     CmdArgs.push_back(Args.MakeArgString(CandidateRPath.c_str()));
tools/clang/lib/Driver/ToolChains/Gnu.cpp
  185     GCCName = customGCCName.c_str();
  422     CmdArgs.push_back(Opt.c_str());
tools/clang/lib/Driver/ToolChains/Hexagon.cpp
  233     CmdArgs.push_back(Opt.c_str());
  291     std::string P = HTC.GetFilePath(RelName.c_str());
tools/clang/lib/Driver/ToolChains/MSVC.cpp
  282           VSInstallPath.c_str(), VSInstallPath.find(R"(\Common7\IDE)")));
  581     linkPath = TC.GetProgramPath(Linker.str().c_str());
 1071   std::sscanf(RegistrySDKVersion.c_str(), "v%d.", &Major);
tools/clang/lib/Driver/ToolChains/NaCl.h
   71   const char *GetNaClArmMacrosPath() const { return NaClArmMacrosPath.c_str(); }
tools/clang/lib/Driver/ToolChains/NetBSD.cpp
  263         ToolChain.getCompilerRTPath().c_str()));
tools/clang/lib/Frontend/CompilerInstance.cpp
 1499         Sysroot.empty() ? "" : Sysroot.c_str(), PPOpts.DisablePCHValidation,
 2026         llvm::MemoryBuffer::getMemBuffer(NullTerminatedSource.c_str()));
tools/clang/lib/Frontend/FrontendActions.cpp
  337       Sysroot.empty() ? "" : Sysroot.c_str(),
tools/clang/lib/Frontend/LayoutOverrideSource.cpp
   30   std::ifstream Input(Filename.str().c_str());
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
 2333   const char *argPtr = TypeString.c_str();
 2349   const char *argPtr = TypeString.c_str();
 4126   const char *cstr = RewrittenStr.c_str();
 5344       IdentifierInfo *II = &Context->Idents.get(RecName.c_str()
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp
 2245   const char *argPtr = TypeString.c_str();
 2261   const char *argPtr = TypeString.c_str();
 3336   const char *cstr = RewrittenStr.c_str();
 4481       IdentifierInfo *II = &Context->Idents.get(RecName.c_str()
tools/clang/lib/Frontend/SerializedDiagnosticPrinter.cpp
  778       if (SDiagsMerger(*this).mergeRecordsFromFile(State->OutputFile.c_str()))
  783   auto OS = std::make_unique<llvm::raw_fd_ostream>(State->OutputFile.c_str(),
  847   FileLookup[ID] = Writer.getEmitFile(Name.str().c_str());
tools/clang/lib/Frontend/TestModuleFileExtension.cpp
   73               toString(MaybeRecCode.takeError()).c_str());
   78               Message.str().c_str());
tools/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
  209     if (llvm::sys::DynamicLibrary::LoadLibraryPermanently(Path.c_str(), &Error))
  235       Args[i + 1] = Clang->getFrontendOpts().LLVMArgs[i].c_str();
tools/clang/lib/Rewrite/HTMLRewrite.cpp
  662                    Expansion.c_str(), LLoc.isTokenRange());
tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
  819           BR.markInvalid(getTag(), MacroName.c_str());
tools/clang/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp
  137         DynamicLibrary::getPermanentLibrary(Plugin.c_str(), &ErrorMsg);
tools/clang/lib/Tooling/CompilationDatabase.cpp
  281   Args.insert(Args.begin(), Argv0.c_str());
tools/clang/lib/Tooling/Inclusions/HeaderIncludes.cpp
  361       llvm_unreachable(ErrMsg.c_str());
tools/clang/lib/Tooling/InterpolatingCompilationDatabase.cpp
  144         TmpArgv.push_back(S.c_str());
tools/clang/lib/Tooling/Tooling.cpp
  318     Argv.push_back(Str.c_str());
tools/clang/tools/c-index-test/core_main.cpp
  356     return printSourceSymbols(Executable.c_str(), CompArgs,
tools/clang/tools/clang-import-test/clang-import-test.cpp
  175     ID Id = lookupTypeForTypeSpecifier(Input.c_str());
tools/clang/tools/driver/cc1as_main.cpp
  602       Args[i + 1] = Asm.LLVMArgs[i].c_str();
tools/clang/tools/driver/cc1gen_reproducer_main.cpp
  179     DriverArgs.push_back(Arg.c_str());
  181   DriverArgs[0] = Path.c_str();
tools/clang/tools/driver/driver.cpp
   72   return SavedStrings.insert(S).first->c_str();
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp
  189     llvm_unreachable(llvm::toString(std::move(Err)).c_str());
tools/clang/tools/extra/clang-query/tool/ClangQuery.cpp
   67   std::ifstream Input(FileName.c_str());
tools/clang/tools/extra/clang-tidy/modernize/UseNoexceptCheck.cpp
   94           ? NoexceptMacro.empty() ? "noexcept" : NoexceptMacro.c_str()
tools/clang/tools/extra/clang-tidy/readability/IdentifierNamingCheck.cpp
  867                                    KindName.c_str(), Name.str().c_str()));
  867                                    KindName.c_str(), Name.str().c_str()));
  904                                  KindName.c_str(), Name.str().c_str()));
  904                                  KindName.c_str(), Name.str().c_str()));
tools/clang/tools/extra/clangd/ClangdLSPServer.cpp
  663                 ("edits were not applied: " + Reason).c_str()));
tools/clang/tools/extra/clangd/Compiler.cpp
   48     ArgStrs.push_back(S.c_str());
tools/clang/tools/extra/clangd/FileDistance.cpp
  194       QueryScopes.empty() ? "" : QueryScopes.front().c_str();
tools/clang/tools/extra/clangd/URI.cpp
  210         ("Not a valid absolute path: " + AbsolutePath).str().c_str());
  229     llvm_unreachable(llvm::toString(U.takeError()).c_str());
  244     llvm_unreachable(("Not a valid absolute path: " + AbsPath).str().c_str());
tools/clang/tools/extra/clangd/XRefs.cpp
  114   SymLoc.FileURI = URIStorage.c_str();
tools/clang/tools/extra/clangd/index/SymbolCollector.cpp
  161   Result.FileURI = FileURIStorage.c_str();
  534             R.Location.FileURI = FileURI->c_str();
tools/clang/tools/extra/clangd/refactor/tweaks/ExpandAutoType.cpp
  118                                  ErrorMessage.c_str());
tools/clang/tools/extra/clangd/tool/ClangdMain.cpp
  483     clang::format::DefaultFallbackStyle = FallbackStyle.c_str();
tools/clang/tools/extra/clangd/unittests/CodeCompleteTests.cpp
  667   CDB.ExtraClangFlags = {SearchDirArg.c_str()};
  675   Sym.CanonicalDeclaration.FileURI = BarURI.c_str();
  716   SymX.CanonicalDeclaration.FileURI = BarURI.c_str();
  717   SymY.CanonicalDeclaration.FileURI = BarURI.c_str();
 1432   NoArgsGFunc.CanonicalDeclaration.FileURI = DeclFile.c_str();
 2177   Sym.CanonicalDeclaration.FileURI = DeclFile.c_str();
 2199   Sym.CanonicalDeclaration.FileURI = DeclFile.c_str();
 2343   CDB.ExtraClangFlags = {SearchDirArg.c_str()};
tools/clang/tools/extra/clangd/unittests/DiagnosticsTests.cpp
  524     Sym.CanonicalDeclaration.FileURI = S.DeclaringFile.c_str();
  525     Sym.Definition.FileURI = S.DeclaringFile.c_str();
tools/clang/tools/extra/clangd/unittests/HeadersTests.cpp
   33     CDB.ExtraClangFlags = {SearchDirArg.c_str()};
  225   CDB.ExtraClangFlags = {SearchDirArg.c_str()};
tools/clang/tools/extra/clangd/unittests/TestTU.cpp
   41     Cmd.push_back(ImplicitHeaderGuard ? ImportThunk.c_str()
   42                                       : FullHeaderName.c_str());
   51   Cmd.push_back(FullFilename.c_str());
tools/clang/tools/extra/clangd/unittests/URITests.cpp
   34     llvm_unreachable(toString(Uri.takeError()).c_str());
   41     llvm_unreachable(toString(U.takeError()).c_str());
   66     llvm_unreachable(toString(Path.takeError()).c_str());
  143     llvm_unreachable(toString(Path.takeError()).c_str());
tools/clang/tools/extra/modularize/Modularize.cpp
  344     Argv.push_back(I->c_str());
  605     if (!PPTracker.checkForIncludesInBlock(PP, BlockRange, Label.c_str(),
tools/clang/tools/extra/modularize/ModuleAssistant.cpp
   96     if (IsProblem || strstr((*I).c_str(), ".inl"))
tools/clang/tools/extra/pp-trace/PPCallbacksTracker.cpp
  461   appendArgument(Name, Value.c_str());
  506   appendArgument(Name, getSourceLocationString(PP, Value).c_str());
  531   appendArgument(Name, getSourceString(Value).str().c_str());
  559   appendArgument(Name, Value->getName().str().c_str());
  634   appendArgument(Name, Value->Name.c_str());
tools/clang/tools/extra/unittests/clang-include-fixer/find-all-symbols/FindAllSymbolsTests.cpp
   80         {R"(internal_.*\.h$)", TopHeader.c_str()},
tools/clang/tools/extra/unittests/clang-move/ClangMoveTests.cpp
  343     auto Results = runClangMoveOnCode(Spec, Header.c_str(), Code);
  363     auto Results = runClangMoveOnCode(Spec, Header.c_str(), Code);
  389     auto Results = runClangMoveOnCode(Spec, Header.c_str(), Code);
  411     auto Results = runClangMoveOnCode(Spec, Header.c_str(), TestCode);
  507   auto Results = runClangMoveOnCode(Spec, TestHeader.c_str(), TestCode.c_str());
  507   auto Results = runClangMoveOnCode(Spec, TestHeader.c_str(), TestCode.c_str());
tools/clang/tools/libclang/CIndex.cpp
 3860       strncpy((char *)result->EvalData.stringVal, strRef.c_str(),
 3881     strncpy((char *)result->EvalData.stringVal, strRef.c_str(), strRef.size());
 3900         strncpy((char *)result->EvalData.stringVal, strLiteral.c_str(),
 3925         strncpy((char *)result->EvalData.stringVal, strLiteral.c_str(),
 3938       strncpy(result->EvalData.stringVal, strName.c_str(), strName.size());
tools/clang/tools/libclang/CIndexCodeCompletion.cpp
  348   return cxstring::createRef(FixIt.CodeToInsert.c_str());
  751     CArgs.push_back(Arg.c_str());
  955   return cxstring::createRef(Results->ContainerUSR.c_str());
tools/clang/tools/libclang/CIndexDiagnostic.cpp
   59     return cxstring::createRef(Message.c_str());
tools/clang/tools/libclang/CXCompilationDatabase.cpp
   21     fprintf(stderr, "LIBCLANG TOOLING ERROR: %s\n", ErrorMsg.c_str());
  109   return cxstring::createRef(cmd->Directory.c_str());
  119   return cxstring::createRef(cmd->Filename.c_str());
  142   return cxstring::createRef(Cmd->CommandLine[Arg].c_str());
tools/clang/tools/libclang/CXSourceLocation.cpp
  135                            File->getName().str().c_str(), line, column);
  142     *Log << llvm::format("(\"%s\", %d, %d) = ", File->getName().str().c_str(),
tools/clang/tools/libclang/CXType.cpp
  437       return cxstring::createDup(TD->getNameAsString().c_str());
tools/clang/tools/libclang/FatalErrorHandler.cpp
   17   fprintf(stderr, "LIBCLANG FATAL ERROR: %s\n", reason.c_str());
tools/clang/unittests/Frontend/CompilerInstanceTest.cpp
   47   File.os() << format(VFSYaml, CurrentPathStr.c_str(), FileName.c_str());
   52   const char *Args[] = {"clang", VFSArg.c_str(), "-xc++", "-"};
tools/clang/unittests/Lex/LexerTest.cpp
  492   String2 += String1.c_str();
  500   String4 += String3.c_str();
  506   String6 += String5.c_str();
tools/clang/unittests/Rename/ClangRenameTest.h
   54         "#include \"%s\"\n%s", HeaderName.c_str(), Code.str().c_str());
   54         "#include \"%s\"\n%s", HeaderName.c_str(), Code.str().c_str());
   91         "#include \"%s\"\n%s", HeaderName.c_str(), Expected.str().c_str());
   91         "#include \"%s\"\n%s", HeaderName.c_str(), Expected.str().c_str());
tools/clang/unittests/Tooling/RefactoringActionRulesTest.cpp
  127                  YAMLString.c_str());
tools/clang/unittests/Tooling/RefactoringTest.cpp
 1140                YAMLString.c_str());
tools/clang/unittests/Tooling/ReplacementsYamlTest.cpp
   46                YamlContentStream.str().c_str());
   70                YamlContentStream.str().c_str());
tools/clang/unittests/libclang/CrashTests/LibclangCrashTest.cpp
   21   EXPECT_DEATH(clang_parseTranslationUnit(Index, Main.c_str(), nullptr, 0,
   35       Index, Main.c_str(), nullptr, 0, nullptr, 0, TUFlags),
tools/clang/unittests/libclang/LibclangTest.cpp
   69       EXPECT_STREQ(Contents, BufStr.c_str());
  351   EXPECT_STREQ(Contents, BufStr.c_str());
  368   ClangTU = clang_parseTranslationUnit(Index, Main.c_str(), nullptr, 0,
  399   ClangTU = clang_parseTranslationUnit(Index, Main.c_str(), nullptr, 0, nullptr,
  462   ClangTU = clang_parseTranslationUnit(Index, CppName.c_str(), nullptr, 0,
  464   CXFile cxf = clang_getFile(ClangTU, CppName.c_str());
  467   ASSERT_STREQ(clang_getCString(cxname), CppName.c_str());
  485   ClangTU = clang_parseTranslationUnit(Index, CppName.c_str(), nullptr, 0,
  517   const char *Args[] = { "-fmodules", ModulesCache.c_str(),
  518                          "-I", TestDir.c_str() };
  520   ClangTU = clang_parseTranslationUnit(Index, MName.c_str(), Args, NumArgs,
  554   const char *Argv[] = {Clang.c_str(), "-target", "arm-linux-gnueabi",
  558             clang_parseTranslationUnit2FullArgv(Index, Filename.c_str(), Argv,
  573     ClangTU = clang_parseTranslationUnit(Index, File.c_str(), nullptr, 0,
  618     ClangTU = clang_parseTranslationUnit(Index, Main.c_str(), nullptr, 0,
  655     CXFile cxf = clang_getFile(ClangTU, Header.c_str());
  663     cxf = clang_getFile(ClangTU, Main.c_str());
  680     if (clang_saveTranslationUnit(ClangTU, Filename.c_str(), options) !=
  688     ClangTU = clang_createTranslationUnit(Index, Filename.c_str());
  707   ClangTU = clang_parseTranslationUnit(Index, HeaderName.c_str(), Argv,
tools/clang/unittests/libclang/TestUtils.h
   72         it.first->first->c_str(),   // filename
   73         it.first->second->c_str(),  // contents
tools/dsymutil/dsymutil.cpp
  455         outs(), (std::string(argv[0]) + " [options] <input files>").c_str(),
tools/gold/gold-plugin.cpp
  476   message(Level, "LLVM gold plugin: %s",  ErrStorage.c_str());
  481     message(LDPL_FATAL, "%s: %s", Msg.c_str(), EIB.message().c_str());
  481     message(LDPL_FATAL, "%s: %s", Msg.c_str(), EIB.message().c_str());
  519       message(LDPL_ERROR, EC.message().c_str());
  538                 EI.message().c_str());
  573     sym.name = strdup(Name.str().c_str());
  610       sym.comdat_key = strdup(C.str().c_str());
  710             toString(ObjOrErr.takeError()).c_str());
  779   if (add_input_file(Filename.c_str()) != LDPS_OK)
  782             Filename.c_str());
  798               EC.message().c_str());
  807               EC.message().c_str());
  953               (NewModulePath + ".thinlto.bc").c_str(), EC.message().c_str());
  953               (NewModulePath + ".thinlto.bc").c_str(), EC.message().c_str());
  966               (NewModulePath + ".imports").c_str(), EC.message().c_str());
  966               (NewModulePath + ".imports").c_str(), EC.message().c_str());
  981             options::thinlto_linked_objects_file.c_str(), EC.message().c_str());
  981             options::thinlto_linked_objects_file.c_str(), EC.message().c_str());
 1102       set_extra_library_path(options::extra_library_path.c_str()) != LDPS_OK)
 1120         message(LDPL_ERROR, "Failed to delete '%s': %s", output_name.c_str(),
 1121                 EC.message().c_str());
 1133       message(LDPL_ERROR, "Failed to delete '%s': %s", Name.c_str(),
 1134               EC.message().c_str());
tools/lld/COFF/DebugTypes.cpp
  192         *p, createStringError(inconvertibleErrorCode(), pdb.first.c_str()));
tools/lld/COFF/DriverUtils.cpp
  911                            (std::string(argv0) + " [options] file...").c_str(),
tools/lld/Common/Timer.cpp
   71   stream << format("%-30s%5d ms (%5.1f%%)", s.c_str(), (int)millis(), p);
tools/lld/ELF/DriverUtils.cpp
  148       outs(), (config->progName + " [options] file...").str().c_str(), "lld",
tools/lld/MinGW/Driver.cpp
   86       outs(), (std::string(argv0) + " [options] file...").c_str(), "lld",
  383     vec.push_back(s.c_str());
tools/lld/lib/Driver/DarwinLdDriver.cpp
  386                         (std::string(args[0]) + " [options] file...").c_str(),
tools/lld/lib/ReaderWriter/MachO/LayoutPass.cpp
  119                          .c_str());
  128                            .c_str());
tools/lld/wasm/Driver.cpp
  652                      (std::string(argsArr[0]) + " [options] file...").c_str(),
tools/lldb/include/lldb/Breakpoint/Breakpoint.h
  449   const char *GetBreakpointKind() const { return m_kind_description.c_str(); }
tools/lldb/include/lldb/Breakpoint/BreakpointName.h
  191     return m_help.c_str();
tools/lldb/include/lldb/Core/Disassembler.h
   68     return m_opcode_name.c_str();
   73     return m_mnemonics.c_str();
   78     return m_comment.c_str();
  464   const char *GetFlavor() const { return m_flavor.c_str(); }
tools/lldb/include/lldb/DataFormatters/FormatClasses.h
  138       return m_type.m_type_name.c_str();
tools/lldb/include/lldb/DataFormatters/FormattersContainer.h
  281         new TypeNameSpecifierImpl(regex.GetText().str().c_str(), true));
tools/lldb/include/lldb/DataFormatters/StringPrinter.h
   39     const char *GetPrefixToken() const { return m_prefix_token.c_str(); }
   45     const char *GetSuffixToken() const { return m_suffix_token.c_str(); }
tools/lldb/include/lldb/DataFormatters/TypeSummary.h
  286   const char *GetSummaryString() const { return m_format_str.c_str(); }
  321   const char *GetTextualInfo() const { return m_description.c_str(); }
  359   const char *GetFunctionName() const { return m_function_name.c_str(); }
  361   const char *GetPythonScript() const { return m_python_script.c_str(); }
tools/lldb/include/lldb/DataFormatters/TypeSynthetic.h
  294     return m_expression_paths[i].c_str();
  392   const char *GetPythonClassName() { return m_python_class.c_str(); }
  394   const char *GetPythonCode() { return m_python_code.c_str(); }
tools/lldb/include/lldb/Expression/ExpressionSourceCode.h
   30   const char *GetName() const { return m_name.c_str(); }
tools/lldb/include/lldb/Expression/FunctionCaller.h
  279   const char *Text() override { return m_wrapper_function_text.c_str(); }
  284     return m_wrapper_function_name.c_str();
tools/lldb/include/lldb/Expression/LLVMUserExpression.h
   68   const char *Text() override { return m_transformed_text.c_str(); }
tools/lldb/include/lldb/Expression/UserExpression.h
  184   const char *Text() override { return m_expr_text.c_str(); }
  187   const char *GetUserText() { return m_expr_text.c_str(); }
  276     return m_fixed_text.c_str();
tools/lldb/include/lldb/Expression/UtilityFunction.h
   81   const char *Text() override { return m_function_text.c_str(); }
   85   const char *FunctionName() override { return m_function_name.c_str(); }
tools/lldb/include/lldb/Host/ProcessLaunchInfo.h
  142   const char *GetLaunchEventData() const { return m_event_data.c_str(); }
tools/lldb/include/lldb/Interpreter/CommandAlias.h
   65   const char *GetOptionString() { return m_option_string.c_str(); }
tools/lldb/include/lldb/Interpreter/CommandObject.h
   45       matches.AppendString(iter->first.c_str());
tools/lldb/include/lldb/Interpreter/OptionValue.h
  104     error.SetErrorStringWithFormat("'%s' is not a value subvalue", name.str().c_str());
tools/lldb/include/lldb/Interpreter/OptionValueString.h
  104     return m_current_value.c_str();
  107   const char *GetCurrentValue() const { return m_current_value.c_str(); }
  110   const char *GetDefaultValue() const { return m_default_value.c_str(); }
tools/lldb/include/lldb/Target/Platform.h
  586   virtual const char *GetRSyncOpts() { return m_rsync_opts.c_str(); }
  590   virtual const char *GetRSyncPrefix() { return m_rsync_prefix.c_str(); }
  600   virtual const char *GetSSHOpts() { return m_ssh_opts.c_str(); }
tools/lldb/include/lldb/Target/Process.h
  142     return (m_plugin_name.empty() ? nullptr : m_plugin_name.c_str());
  439                   ? m_restarted_reasons[idx].c_str()
tools/lldb/include/lldb/Target/ProcessStructReader.h
   64       ConstString const_name = ConstString(name.c_str());
tools/lldb/include/lldb/Target/StackFrameRecognizer.h
   82   const char *GetPythonClassName() { return m_python_class.c_str(); }
tools/lldb/include/lldb/Target/StopInfo.h
   71   virtual const char *GetDescription() { return m_description.c_str(); }
tools/lldb/include/lldb/Target/Target.h
  273     return (m_prefix.empty() ? nullptr : m_prefix.c_str());
  374     return (m_pound_line_file.empty() ? nullptr : m_pound_line_file.c_str());
tools/lldb/include/lldb/Target/ThreadPlan.h
  366   const char *GetName() const { return m_name.c_str(); }
tools/lldb/include/lldb/Utility/Broadcaster.h
  481         return pos->second.c_str();
tools/lldb/include/lldb/Utility/Listener.h
   59   const char *GetName() { return m_name.c_str(); }
tools/lldb/include/lldb/Utility/StreamString.h
   43   const char *GetData() const { return m_packet.c_str(); }
tools/lldb/include/lldb/Utility/StringExtractor.h
  102       return m_packet.c_str() + m_index;
tools/lldb/source/API/SBBreakpoint.cpp
  710       names.AppendString(name.c_str());
tools/lldb/source/API/SBBreakpointName.cpp
   60     return m_name.c_str();
tools/lldb/source/API/SBCommandInterpreter.cpp
  403     lldb_matches.InsertStringAtIndex(0, common_prefix.c_str());
tools/lldb/source/API/SBCommandReturnObject.cpp
  318     ref().AppendMessage(buffer.c_str());
tools/lldb/source/API/SBDebugger.cpp
   65       llvm::sys::DynamicLibrary::getPermanentLibrary(spec.GetPath().c_str());
  322     FILE *fh = nextfile ? FileSystem::Instance().Fopen(nextfile->c_str(), "r")
  606         ::snprintf(arch_name, arch_name_len, "%s", triple_str.c_str());
 1306             (m_opaque_sp ? m_opaque_sp->GetPrompt().str().c_str() : ""));
tools/lldb/source/API/SBLaunchInfo.cpp
  230   ConstString shell(m_opaque_sp->GetShell().GetPath().c_str());
tools/lldb/source/API/SBModule.cpp
  605     ConstString const_triple(triple.c_str());
tools/lldb/source/API/SBModuleSpec.cpp
  119   ConstString const_triple(triple.c_str());
tools/lldb/source/API/SBPlatform.cpp
   98   return m_opaque_ptr->m_url.c_str();
  192   return m_opaque_ptr->m_command.c_str();
  211   return m_opaque_ptr->m_working_dir.c_str();
  260   return m_opaque_ptr->m_output.c_str();
  376       return ConstString(arch.GetTriple().getTriple().c_str()).GetCString();
  392         return ConstString(s.c_str()).GetCString();
  409         return ConstString(s.c_str()).GetCString();
  486                                        src.ref().GetPath().c_str());
  501                                        src.ref().GetPath().c_str());
tools/lldb/source/API/SBReproducer.cpp
  112     return error.c_str();
  122     return error.c_str();
  131     return error.c_str();
  137     return error.c_str();
  143     return error.c_str();
tools/lldb/source/API/SBStructuredData.cpp
  147     keys.AppendString(key.str().c_str());
tools/lldb/source/API/SBTarget.cpp
 1205       names.AppendString(name.c_str());
 1679     ConstString const_triple(triple.c_str());
tools/lldb/source/API/SBThread.cpp
  523             strm.Printf("%s", node->GetAsString()->GetValue().str().c_str());
tools/lldb/source/API/SBType.cpp
  470           name.SetCString(name_sstr.c_str());
tools/lldb/source/API/SBTypeCategory.cpp
  436               summary.SetFunctionName(output.c_str());
  560               synth.SetClassName(output.c_str());
tools/lldb/source/API/SBTypeFilter.cpp
   70     description.Printf("%s\n", m_opaque_sp->GetDescription().c_str());
tools/lldb/source/API/SBTypeFormat.cpp
  112     description.Printf("%s\n", m_opaque_sp->GetDescription().c_str());
tools/lldb/source/API/SBTypeSummary.cpp
  325     description.Printf("%s\n", m_opaque_sp->GetDescription().c_str());
  432         current_summary_ptr->m_description.c_str()));
tools/lldb/source/API/SBTypeSynthetic.cpp
  131     description.Printf("%s\n", m_opaque_sp->GetDescription().c_str());
tools/lldb/source/API/SBValue.cpp
  406         cstr = validation.second.c_str();
  466       stream.Printf("%s", buffer.c_str());
tools/lldb/source/Breakpoint/Breakpoint.cpp
  206       target.AddNameToBreakpoint(result_sp, name.str().c_str(), error);
  663             old_module_sp->GetSpecificationDescription().c_str());
  856   m_name_list.insert(new_name.str().c_str());
  914           s->Printf("%s\n", name.c_str());
tools/lldb/source/Breakpoint/BreakpointID.cpp
  108                                    str.str().c_str());
  116                                    str.str().c_str());
tools/lldb/source/Breakpoint/BreakpointIDList.cpp
  129           current_arg.str().c_str());
  201                                    range_from.str().c_str());
  210                                    range_to.str().c_str());
  316           if (bkpt_sp->MatchesName(name.c_str())) {
tools/lldb/source/Breakpoint/BreakpointLocation.cpp
  271           diagnostics.GetString().c_str());
  329                                    diagnostics.GetString().c_str());
tools/lldb/source/Breakpoint/BreakpointName.cpp
   59     s->Printf("Help: %s\n", m_help.c_str());
tools/lldb/source/Breakpoint/BreakpointOptions.cpp
  313       condition_ref.str().c_str(), enabled, 
  329                 .c_str());
  499     return m_condition_text.c_str();
  575       s->Printf("Condition: %s\n", m_condition_text.c_str());
  594               ScriptInterpreter::LanguageToString(data->interpreter).c_str());
tools/lldb/source/Breakpoint/BreakpointResolver.cpp
  301               log_ident.str().c_str(), line_start.GetFileAddress());
  309               log_ident.str().c_str(), line_start.GetFileAddress());
tools/lldb/source/Breakpoint/BreakpointResolverFileLine.cpp
  256   s->Printf("file = '%s', line = %u, ", m_file_spec.GetPath().c_str(),
tools/lldb/source/Breakpoint/BreakpointResolverFileRegex.cpp
  158             m_regex.GetText().str().c_str(), m_exact_match);
tools/lldb/source/Breakpoint/BreakpointResolverName.cpp
   69     AddNameLookup(ConstString(name.c_str(), name.size()), name_type_mask);
  181         bkpt, names[0].c_str(), name_masks[0], language,
  407     s->Printf("regex = '%s'", m_regex.GetText().str().c_str());
tools/lldb/source/Breakpoint/BreakpointResolverScripted.cpp
   53         m_class_name.c_str(), m_args_ptr, bkpt_sp);
  148     s->PutCString(short_help.c_str());
  150     s->Printf("python class = %s", m_class_name.c_str());
tools/lldb/source/Breakpoint/Watchpoint.cpp
  200       s->Printf("\n    declare @ '%s'", m_decl_str.c_str());
  202       s->Printf("\n    watchpoint spec = '%s'", m_watch_spec_str.c_str());
tools/lldb/source/Commands/CommandCompletions.cpp
  307       g_property_names.SplitIntoLines(str.c_str(), str.size());
tools/lldb/source/Commands/CommandObjectBreakpoint.cpp
   73       m_bp_opts.SetCondition(option_arg.str().c_str());
   93             option_arg.str().c_str());
  101                                        option_arg.str().c_str());
  114             option_arg.str().c_str());
  122                                          option_arg.str().c_str());
  128       m_bp_opts.GetThreadSpec()->SetName(option_arg.str().c_str());
  131       m_bp_opts.GetThreadSpec()->SetQueueName(option_arg.str().c_str());
  139                                          option_arg.str().c_str());
  299                                          option_arg.str().c_str());
  328               option_arg.str().c_str());
  333               option_arg.str().c_str());
  352               option_arg.str().c_str());
  371               option_arg.str().c_str());
  377                                          option_arg.str().c_str());
  385               option_arg.str().c_str());
  400               option_arg.str().c_str());
  419                                          option_arg.str().c_str());
  459               option_arg.str().c_str());
  643               llvm::toString(std::move(err)).c_str());
  674             llvm::toString(std::move(err)).c_str());
  702           m_python_class_options.GetName().c_str(), &(m_options.m_modules),
  725           target.AddNameToBreakpoint(bp_sp, name.c_str(), name_error);
  728                                          name.c_str());
 1322       const ConstString filename(m_options.m_filename.c_str());
 1536             option_arg.str().c_str());
 1542             option_arg.str().c_str());
 1595               option_arg.str().c_str());
 1605               option_arg.str().c_str());
 1615               option_arg.str().c_str());
 1720         bp_name->SetHelp(m_bp_id.m_help_string.GetStringValue().str().c_str());
 1931         const char *name = name_str.c_str();
tools/lldb/source/Commands/CommandObjectBreakpointCommand.cpp
  248       cmd_data->user_source.SplitIntoLines(line.c_str(), line.size());
  320               option_arg.str().c_str());
  419               m_bp_options_vec, m_options.m_one_liner.c_str());
  422               m_bp_options_vec, m_func_options.GetName().c_str(),
  434                                        m_options.m_one_liner.c_str());
tools/lldb/source/Commands/CommandObjectCommands.cpp
  281           GetCommandName().str().c_str());
  531     const char *remainder = args_with_suffix.GetRawPart().c_str();
  594                                    original_raw_command_string.str().c_str());
  624             alias_command.str().c_str());
  668           alias_command.c_str());
  679                                    actual_command.c_str());
  696             args[0].c_str(), actual_command.c_str());
  724           "Overwriting existing definition for '%s'.\n", alias_command.c_str());
  860                                    GetCommandName().str().c_str());
 1123       m_regex_cmd_up->AddRegexCommand(regex.c_str(), subst.c_str());
 1123       m_regex_cmd_up->AddRegexCommand(regex.c_str(), subst.c_str());
 1176       return (m_help.empty() ? nullptr : m_help.c_str());
 1180       return (m_syntax.empty() ? nullptr : m_syntax.c_str());
 1206       stream.Printf("For more information run 'help %s'", name.c_str());
 1229         scripter->GetDocumentationForItem(m_function_name.c_str(), docstring);
 1245         !scripter->RunScriptBasedCommand(m_function_name.c_str(),
 1279     stream.Printf("For more information run 'help %s'", name.c_str());
 1559               option_arg.str().c_str());
 1691           m_options.m_class_name.c_str());
tools/lldb/source/Commands/CommandObjectDisassemble.cpp
   61                                      option_arg.str().c_str());
   68           option_arg.str().c_str());
  289     ConstString name(m_options.func_name.c_str());
tools/lldb/source/Commands/CommandObjectDisassemble.h
   36       return (plugin_name.empty() ? nullptr : plugin_name.c_str());
   42       return flavor_string.c_str();
tools/lldb/source/Commands/CommandObjectExpression.cpp
   73           option_arg.str().c_str());
   83           option_arg.str().c_str());
   96           option_arg.str().c_str());
  108           option_arg.str().c_str());
  116                                      option_arg.str().c_str());
  128           option_arg.str().c_str());
  143           option_arg.str().c_str());
  164           option_arg.str().c_str());
  431                            m_fixed_expression.c_str());
  504   EvaluateExpression(line.c_str(), output_sp.get(), error_sp.get());
tools/lldb/source/Commands/CommandObjectFrame.cpp
   81                                          option_arg.str().c_str());
   90                                          option_arg.str().c_str());
  253                                          option_arg.str().c_str());
  576                     "error: %s\n", llvm::toString(std::move(err)).c_str());
  713                                       m_cmd_name.c_str());
  855         "%s needs a Python class name (-l argument).\n", m_cmd_name.c_str());
  862                                  m_cmd_name.c_str());
  869                                  m_cmd_name.c_str());
  877       !interpreter->CheckObjectExists(m_options.m_class_name.c_str())) {
  885           interpreter, m_options.m_class_name.c_str()));
  945                                    m_cmd_name.c_str());
  977               "%d: %s, module %s, function %s%s\n", recognizer_id, name.c_str(),
  978               function.c_str(), symbol.c_str(), regexp ? " (regexp)" : "");
  978               function.c_str(), symbol.c_str(), regexp ? " (regexp)" : "");
 1032           "'%s' takes exactly one frame index argument.\n", m_cmd_name.c_str());
tools/lldb/source/Commands/CommandObjectHelp.cpp
   31   s->Printf("'%s' is not a known command.\n", command_str.c_str());
   33             prefix.str().c_str());
   36       prefix_str.c_str(), lookup_str.c_str());
   36       prefix_str.c_str(), lookup_str.c_str());
   41       prefix_str.c_str(), lookup_str.c_str());
   41       prefix_str.c_str(), lookup_str.c_str());
  121               sub_cmd_obj->GetSubcommandObject(sub_command.c_str(), &matches);
  135           s.Printf("ambiguous command %s", cmd_string.c_str());
  147               &error_msg_stream, cmd_string.c_str(),
  148               m_interpreter.GetCommandPrefix(), sub_command.c_str());
  154               &result.GetOutputStream(), cmd_string.c_str(),
  155               m_interpreter.GetCommandPrefix(), sub_command.c_str());
  158               sub_cmd_obj->GetCommandName().str().c_str());
tools/lldb/source/Commands/CommandObjectLog.cpp
  163           m_cmd_name.c_str());
  237           m_cmd_name.c_str());
  370       result.AppendErrorWithFormat("Usage: %s\n", m_cmd_syntax.c_str());
tools/lldb/source/Commands/CommandObjectMemory.cpp
   75             option_value.str().c_str());
  350     return m_cmd_name.c_str();
  364                                    m_cmd_name.c_str());
  461       ConstString lookup_type_name(type_str.c_str());
  792                 append ? "appended" : "written", path.c_str());
  797                                          (uint64_t)bytes_read, path.c_str());
  809                                      path.c_str(), append ? "append" : "write");
 1216                                          option_value.str().c_str());
 1224                                          option_value.str().c_str());
 1324             m_cmd_name.c_str());
 1331           m_cmd_name.c_str());
 1626     return m_cmd_name.c_str();
 1635                                    m_cmd_name.c_str());
 1703                                      m_cmd_name.c_str(), m_cmd_syntax.c_str());
 1703                                      m_cmd_name.c_str(), m_cmd_syntax.c_str());
 1761     return m_cmd_name.c_str();
tools/lldb/source/Commands/CommandObjectMultiword.cpp
  109                                  GetCommandName().str().c_str());
  147   result.AppendRawError(error_msg.c_str());
  172                                             indented_command.c_str(), "--",
  173                                             help_text.c_str(), max_len);
  176                                             indented_command.c_str(), "--",
  241     const char *command_name = pos->first.c_str();
tools/lldb/source/Commands/CommandObjectPlatform.cpp
   80                                        option_arg.str().c_str());
   88                                        option_arg.str().c_str());
  362               ostrm.Printf("Disconnected from \"%s\"\n", hostname.c_str());
  553           StringConvert::ToUInt64(cmd_line.c_str(), UINT64_MAX);
  593           StringConvert::ToUInt64(cmd_line.c_str(), UINT64_MAX);
  599       result.AppendMessageWithFormat("Data = \"%s\"\n", buffer.c_str());
  626                                          option_arg.str().c_str());
  631                                          option_arg.str().c_str());
  681           StringConvert::ToUInt64(cmd_line.c_str(), UINT64_MAX);
  712                                          option_arg.str().c_str());
  890                                        remote_file_path.c_str(), size);
  895             remote_file_path.c_str());
 1173                                          option_arg.str().c_str());
 1181               option_arg.str().c_str());
 1188                                          option_arg.str().c_str());
 1197               option_arg.str().c_str());
 1204                                          option_arg.str().c_str());
 1213               option_arg.str().c_str());
 1345                                            entry.ref().str().c_str());
 1406                                          option_arg.str().c_str());
 1579               option_arg.str().c_str());
 1613       result.GetOutputStream().Printf("%s\n", this->GetSyntax().str().c_str());
 1618     const char *expr = args.GetRawPart().c_str();
tools/lldb/source/Commands/CommandObjectProcess.cpp
   57                      m_new_process_action.c_str());
   61                      m_new_process_action.c_str());
   65                      m_new_process_action.c_str());
  238             exe_module_sp->GetFileSpec().GetPath().c_str(), archname);
  286                                          option_arg.str().c_str());
  418                                    m_cmd_name.c_str(), m_cmd_syntax.c_str());
  418                                    m_cmd_name.c_str(), m_cmd_syntax.c_str());
  471           target->GetArchitecture().GetTriple().getTriple().c_str());
  475           old_arch_spec.GetTriple().getTriple().c_str(),
  476           target->GetArchitecture().GetTriple().getTriple().c_str());
  530               option_arg.str().c_str());
  558             m_cmd_name.c_str());
  673                                          option_arg.str().c_str());
  799           "'%s' takes exactly one argument:\nUsage: %s\n", m_cmd_name.c_str(),
  800           m_cmd_syntax.c_str());
  817       plugin_name = m_options.plugin_name.c_str();
  949             "Loading \"%s\"...ok\nImage %u loaded.\n", image_path.str().c_str(),
  954                                      image_path.str().c_str(),
  989                                      entry.ref().str().c_str());
 1069           m_cmd_name.c_str(), m_cmd_syntax.c_str());
 1069           m_cmd_name.c_str(), m_cmd_syntax.c_str());
 1111                                    m_cmd_name.c_str(), m_cmd_syntax.c_str());
 1111                                    m_cmd_name.c_str(), m_cmd_syntax.c_str());
 1152                                    m_cmd_name.c_str(), m_cmd_syntax.c_str());
 1152                                    m_cmd_name.c_str(), m_cmd_syntax.c_str());
 1190                                      m_cmd_name.c_str(), m_cmd_syntax.c_str());
 1190                                      m_cmd_name.c_str(), m_cmd_syntax.c_str());
 1322       real_value = StringConvert::ToUInt32(option.c_str(), 3);
tools/lldb/source/Commands/CommandObjectRegister.cpp
  219                                          arg_str.str().c_str());
  366               reg_name.str().c_str(), value_str.str().c_str(),
  366               reg_name.str().c_str(), value_str.str().c_str(),
  371               reg_name.str().c_str(), value_str.str().c_str());
  371               reg_name.str().c_str(), value_str.str().c_str());
  376                                      reg_name.str().c_str());
tools/lldb/source/Commands/CommandObjectReproducer.cpp
   90                                    m_cmd_name.c_str());
  136                                    m_cmd_name.c_str());
  156                                  toString(std::move(err)).c_str());
  194                                          option_arg.str().c_str());
  220                                    m_cmd_name.c_str());
tools/lldb/source/Commands/CommandObjectSettings.cpp
  384     StreamFile out_file(path.c_str(), options,
  388       result.AppendErrorWithFormat("%s: unable to write to file", path.c_str());
tools/lldb/source/Commands/CommandObjectSource.cpp
   54                                          option_arg.str().c_str());
   60                                          option_arg.str().c_str());
   66                                          option_arg.str().c_str());
  386     ConstString name(m_options.symbol_name.c_str());
  422                                    m_options.symbol_name.c_str());
  503     const char *filename = m_options.file_name.c_str();
  557                                    GetCommandName().str().c_str());
  587                                            m_options.modules[i].c_str());
  654                                          option_arg.str().c_str());
  660                                          option_arg.str().c_str());
  742       return m_cmd_name.c_str();
  748     return m_reverse_name.c_str();
  856                                      start_file.GetPath().c_str());
  865           m_options.symbol_name.c_str());
  933                                    GetCommandName().str().c_str());
  942       ConstString name(m_options.symbol_name.c_str());
  971                                      m_options.symbol_name.c_str());
 1161       const char *filename = m_options.file_name.c_str();
 1190                                      m_options.file_name.c_str());
 1214               m_options.file_name.c_str());
 1243                                        m_options.file_name.c_str());
tools/lldb/source/Commands/CommandObjectStats.cpp
   85               .c_str(),
tools/lldb/source/Commands/CommandObjectTarget.cpp
  278                                      core_file.GetPath().c_str());
  284                                      core_file.GetPath().c_str());
  296                                          symfile.GetPath().c_str());
  392               target_sp->SetArg0(remote_path.c_str());
  453               file_spec.GetPath().c_str(),
  464                                    m_cmd_name.c_str());
  820                    sc.comp_unit->GetPath().c_str(),
  821                    sc.module_sp->GetFileSpec().GetPath().c_str());
  824                    sc.module_sp->GetFileSpec().GetPath().c_str());
  827         s.Printf("Global variables for %s\n", sc.comp_unit->GetPath().c_str());
  934                   comp_unit->GetPath().c_str());
  968                   module_file.GetPath().c_str());
 1009                                       m_cmd_name.c_str());
 1304       strm.Printf("%-*s", width, arch_str.c_str());
 1353       strm.Printf("%-*s", width, fullpath.c_str());
 1437                   module->GetSpecificationDescription().c_str(),
 2514                     strm.GetData(), module_spec.GetFileSpec().GetPath().c_str(),
 2515                     module_spec.GetSymbolFileSpec().GetPath().c_str());
 2521                     module_spec.GetFileSpec().GetPath().c_str());
 2584                 entry.ref().str().c_str(), resolved_path.c_str());
 2584                 entry.ref().str().c_str(), resolved_path.c_str());
 2858               path, !uuid_str.empty() ? " uuid=" : "", uuid_str.c_str());
 2869               uuid_str.c_str());
 3273                                          option_arg.str().c_str());
 3350       ConstString function_name(m_options.m_str.c_str());
 3375                                    m_options.m_str.c_str());
 3599                                          option_arg.str().c_str());
 3619                                          option_arg.str().c_str());
 3745                            *sym_ctx.module_sp, m_options.m_str.c_str(),
 3778                                  module, m_options.m_str.c_str(),
 3803                 m_options.m_str.c_str(), m_options.m_use_regex,
 3817                                m_options.m_str.c_str(),
 4145                 module_fs.GetPath().c_str());
 4352                     entry.c_str(), resolved_symfile_path.c_str());
 4438                                          option_arg.str().c_str());
 4452               option_arg.str().c_str());
 4458                                          option_arg.str().c_str());
 4487                                          option_arg.str().c_str());
 4504                                          option_arg.str().c_str());
 4625             m_options.m_module_name.c_str(),
 4631             m_options.m_class_name.c_str(),
 4636         specifier_up->AddSpecification(m_options.m_file_name.c_str(),
 4653             m_options.m_function_name.c_str(),
 4674           thread_spec->SetName(m_options.m_thread_name.c_str());
 4677           thread_spec->SetQueueName(m_options.m_queue_name.c_str());
 4687             cmd.c_str());
tools/lldb/source/Commands/CommandObjectThread.cpp
  455                                        option_arg.str().c_str());
  471                                        option_arg.str().c_str());
  606                      m_class_options.GetName().c_str())) {
  609             m_class_options.GetName().c_str());
  687             m_options.m_step_in_target.c_str(), stop_other_threads,
  694           step_in_range_plan->SetAvoidRegexp(m_options.m_avoid_regexp.c_str());
  725           abort_other_plans, m_class_options.GetName().c_str(), 
 1016                                          option_arg.str().c_str());
 1023                                          option_arg.str().c_str());
 1123                                      GetSyntax().str().c_str());
 1332           m_cmd_name.c_str(), m_cmd_syntax.c_str());
 1332           m_cmd_name.c_str(), m_cmd_syntax.c_str());
 1550               option_arg.str().c_str());
 1722           return Status("invalid line number: '%s'.", option_arg.str().c_str());
 1726           return Status("invalid line offset: '%s'.", option_arg.str().c_str());
 1817         result.AppendWarning(warnings.c_str());
tools/lldb/source/Commands/CommandObjectType.cpp
   91           next.str().c_str(), next.str().c_str());
   91           next.str().c_str(), next.str().c_str());
  193                     options->m_flags, funct_name_str.c_str(),
  194                     lines.CopyList("    ").c_str());
  304                                          option_arg.str().c_str());
  428                     class_name_str.c_str());
  432                     ConstString(options->m_category.c_str()), category);
  531                                          option_value.str().c_str());
  641                                    m_cmd_name.c_str());
  650                                    m_cmd_name.c_str());
  665           ConstString(m_command_options.m_custom_type_name.c_str()),
  790       result.AppendErrorWithFormat("%s takes 1 arg.\n", m_cmd_name.c_str());
  827           ConstString(m_options.m_category.c_str()), category);
 1042             m_options.m_category_regex.GetCurrentValueAsRef().str().c_str());
 1087                                           format_sp->GetDescription().c_str());
 1109                                           regex.GetText().str().c_str(),
 1110                                           format_sp->GetDescription().c_str());
 1187                                      option_arg.str().c_str());
 1265                                  m_cmd_name.c_str());
 1275     const char *funct_name = m_options.m_python_function.c_str();
 1286         m_options.m_flags, funct_name, code.c_str());
 1306     funct_sl << m_options.m_python_script.c_str();
 1323         m_options.m_flags, funct_name_str.c_str(), code.c_str());
 1323         m_options.m_flags, funct_name_str.c_str(), code.c_str());
 1390                                  m_cmd_name.c_str());
 1404                                  : m_options.m_format_string.c_str());
 1602     type_name.SetCString(type_name_str.c_str());
 1614   DataVisualization::Categories::GetCategory(ConstString(category_name.c_str()),
 1697                 summary_sp->GetDescription().c_str());
 1782                                    m_cmd_name.c_str());
 1826                                            option_arg.str().c_str());
 1878                                    m_cmd_name.c_str());
 1940                                    m_cmd_name.c_str());
 1993                                            option_arg.str().c_str());
 2045                                    m_cmd_name.c_str());
 2113                                    m_cmd_name.c_str());
 2134               "Category: %s\n", category_sp->GetDescription().c_str());
 2256                                  m_cmd_name.c_str());
 2264                                  m_cmd_name.c_str());
 2276       m_options.m_class_name.c_str());
 2291       ConstString(m_options.m_category.c_str()), category);
 2338   DataVisualization::Categories::GetCategory(ConstString(category_name.c_str()),
 2400                                          option_arg.str().c_str());
 2464         ConstString(category_name.c_str()), category);
 2561                                    m_cmd_name.c_str());
 2568                                    m_cmd_name.c_str());
 2590         ConstString(m_options.m_category.c_str()), category);
 2734     const char *name_of_type = args.GetRawPart().c_str();
tools/lldb/source/Commands/CommandObjectWatchpoint.cpp
  534                                          option_arg.str().c_str());
  698       wp_sp->SetCondition(m_options.m_condition.c_str());
  715           wp_sp->SetCondition(m_options.m_condition.c_str());
tools/lldb/source/Commands/CommandObjectWatchpointCommand.cpp
  347               option_arg.str().c_str());
  441                 wp_options, m_options.m_one_liner.c_str());
  451                 wp_options, oneliner.c_str());
  461                                          m_options.m_one_liner.c_str());
tools/lldb/source/Core/AddressResolverName.cpp
  195     s->Printf("'%s' (regular expression)", m_regex.GetText().str().c_str());
tools/lldb/source/Core/Communication.cpp
  261     ::memcpy(dst, m_bytes.c_str(), len);
tools/lldb/source/Core/Disassembler.cpp
  823         data_value_sp = std::make_shared<OptionValueString>(value.c_str(), "");
  887       ConstString const_key(key.c_str());
  920         value_sp = std::make_shared<OptionValueString>(value.c_str(), "");
  928         if (strcmp(value.c_str(), "uint32_t") == 0)
 1274     m_arch.SetTriple(thumb_arch_name.c_str());
tools/lldb/source/Core/DumpDataExtractor.cpp
  126     s->Write(apint_str.c_str(), apint_str.size());
  249           s->Printf("0b%s", binary_value.c_str() + 64 - item_bit_size);
  251           s->Printf("0b%s", binary_value.c_str() + 64 - item_byte_size * 8);
  617         s->Printf("%s", ss.str().c_str());
tools/lldb/source/Core/DumpRegisterValue.cpp
   39         s->Printf(fmt.c_str(), reg_info->name);
   42         s->Printf(fmt.c_str(), reg_info->alt_name);
   51         s->Printf(fmt.c_str(), reg_info->alt_name);
   56         s->Printf(fmt.c_str(), reg_info->name);
tools/lldb/source/Core/FileLineResolver.cpp
   73             m_file_spec.GetPath().c_str(), m_line_number);
tools/lldb/source/Core/FormatEntity.cpp
  378     s.Printf("string = \"%s\"", string.c_str());
  380     s.Printf("printf_format = \"%s\"", printf_format.c_str());
  407         s.Printf("%s", script_output.c_str());
  630             ptr_deref_buffer.c_str());
  638       ptr_deref_buffer.c_str(), &reason_to_stop, &final_value_type, options,
  747     return RunScriptFormatKeyword(s, sc, exe_ctx, valobj, entry.string.c_str());
  772               expr_path.c_str());
  776             ->GetValueForExpressionPath(expr_path.c_str(), &reason_to_stop,
 1024         token_format = entry.printf_format.c_str();
 1158           format = entry.printf_format.c_str();
 1183                                       entry.string.c_str());
 1209             format = entry.printf_format.c_str();
 1224           format = entry.printf_format.c_str();
 1237           format = entry.printf_format.c_str();
 1325                                       entry.string.c_str());
 1361                                       entry.string.c_str());
 1406           format = entry.printf_format.c_str();
 1472         if (DumpRegister(s, frame, entry.string.c_str(),
 1491                                       entry.string.c_str());
 1717                   s.Printf("%s=%s", var_name, var_representation.str().c_str());
 1808         format = entry.printf_format.c_str();
 1818         format = entry.printf_format.c_str();
 1938               "'%s' followed by '%s' but it has no children", key.str().c_str(),
 1939               value.str().c_str());
 1949         key.str().c_str());
 1952                       key.str().c_str(), parent->name);
 2160                       entry.printf_format.c_str(), false, entry.fmt)) {
 2208                                                  entry.printf_format.c_str());
 2212                              entry.printf_format.c_str(), true, entry.fmt)) {
 2218                                                entry.printf_format.c_str());
 2265                   variable.str().c_str());
 2303         format_str.str().c_str());
tools/lldb/source/Core/IOHandler.cpp
  318   std::string line = StringRef(line_buffer.c_str(), pos).rtrim("\n\r");
  465   return m_prompt.c_str();
  473     m_editline_up->SetPrompt(m_prompt.empty() ? nullptr : m_prompt.c_str());
  480                                         : m_continuation_prompt.c_str());
  490                                              : m_continuation_prompt.c_str());
 1289   const char *GetName() const { return m_name.c_str(); }
 1483       const char *name = m_name.c_str();
 1502       window.PutCString(m_name.c_str());
 1516       window.Printf(" (%s)", m_key_name.c_str());
 1641           run_menu_sp->GetName().c_str(), menu_bounds, true);
 2408           window.PutCStringTruncated(strm.GetString().str().c_str(), right_pad);
 2467         window.PutCStringTruncated(strm.GetString().str().c_str(), right_pad);
 2557         window.PutCStringTruncated(strm.GetString().str().c_str(), right_pad);
 3581               MenuSP(new Menu(thread_menu_title.GetString().str().c_str(),
 3741           window.PutCStringTruncated(strm.GetString().str().c_str(), 1);
 3967       window.PutCStringTruncated(m_title.GetString().str().c_str(), 1);
tools/lldb/source/Core/Mangled.cpp
   87         ConstString result(shortname.c_str());
tools/lldb/source/Core/Module.cpp
  143               module_spec.GetFileSpec().GetPath().c_str(),
  241               m_file.GetPath().c_str(), m_object_name.IsEmpty() ? "" : "(",
  273               m_file.GetPath().c_str(), m_object_name.IsEmpty() ? "" : "(",
  585                      file_spec.GetPath().c_str(), line,
 1199   s->Printf("Module %s%s%s%s\n", m_file.GetPath().c_str(),
 1243                       GetFileSpec().GetPath().c_str());
 1348       regex.GetText().str().c_str(), symbol_type);
 1508                     scripting_fspec.GetPath().c_str());
 1605            m_arch.GetTriple().getTriple().c_str(),
 1606            arch_spec.GetTriple().getTriple().c_str());
tools/lldb/source/Core/ModuleList.cpp
  589                 module->GetUUID().GetAsString().c_str(),
  591                 module_file_spec.GetPath().c_str());
  868                 arch.GetArchitectureName(), uuid_str.c_str());
  946                 "cannot locate a module for UUID '%s'", uuid_str.c_str());
tools/lldb/source/Core/PluginManager.cpp
  115           plugin_file_spec.GetPath().c_str(), &pluginLoadError);
 1300     return instances[idx].description.c_str();
 1416     return instances[idx].description.c_str();
tools/lldb/source/Core/Value.cpp
  454                     module->GetFileSpec().GetPath().c_str());
  459                     address, module->GetFileSpec().GetPath().c_str());
tools/lldb/source/Core/ValueObject.cpp
  416   return m_location_str.c_str();
  671       child_name.SetCString(child_name_str.c_str());
  736   return m_summary_str.c_str();
 1116     return m_object_desc_str.c_str();
 1129         return m_object_desc_str.c_str();
 1196   return m_value_str.c_str();
 2855         child_name.SetCString(child_name_str.c_str());
 2915             compiler_type.GetPointerType(), ConstString(name.c_str()), addr,
tools/lldb/source/Core/ValueObjectConstResultImpl.cpp
   91       child_name.SetCString(child_name_str.c_str());
  133         ConstString(new_name.c_str()), buffer, endian::InlHostByteOrder(),
tools/lldb/source/DataFormatters/TypeSummary.cpp
  104   sstr.Printf("`%s`%s%s%s%s%s%s%s%s%s", m_format_str.c_str(),
  142               m_description.c_str());
  178       m_function_name.c_str(), valobj->GetSP(), m_script_function_sp, options,
tools/lldb/source/DataFormatters/TypeSynthetic.cpp
   93               m_description.c_str());
  144         m_python_class.c_str(), backend.GetSP());
  214               m_python_class.c_str());
tools/lldb/source/DataFormatters/TypeValidator.cpp
   48   sstr.Printf("%s%s%s%s", m_description.c_str(),
tools/lldb/source/DataFormatters/ValueObjectPrinter.cpp
  161                                      : m_options.m_root_valobj_name.c_str();
  267       typeName.Printf("%s", type_name_str.c_str());
  410       m_stream->Printf(" <%s>\n", m_error.c_str());
  426           m_stream->Printf(" %s", m_value.c_str());
  432         m_stream->Printf(" %s", m_summary.c_str());
  822   m_stream->Printf(" ! validation error: %s", m_validation.second.c_str());
tools/lldb/source/Expression/DiagnosticManager.cpp
   31   log->PutCString(str.c_str());
tools/lldb/source/Expression/FunctionCaller.cpp
  236             m_name.c_str());
  276             m_name.c_str());
  345             m_name.c_str());
  366                 m_name.c_str());
  371                 m_name.c_str());
tools/lldb/source/Expression/IRExecutionUnit.cpp
  210                                   diagnostic.getMessage().str().c_str());
  257     LLDB_LOGF(log, "Module being sent to JIT: \n%s", s.c_str());
  290                                    error_string.c_str());
  347           function.getName().str().c_str());
  351         function.getName().str().c_str(), external, (lldb::addr_t)fun_ptr));
  381             val.getName().str().c_str(), LLDB_INVALID_ADDRESS, remote_addr));
  599       Alignment, SectionID, SectionName.str().c_str()));
  631       Alignment, SectionID, SectionName.str().c_str()));
 1031   ConstString name_cs(Name.c_str());
 1038               Name.c_str());
 1044               Name.c_str(), ret);
 1205             (unsigned)m_section_id, m_name.c_str());
tools/lldb/source/Expression/IRInterpreter.cpp
  137     ss.Printf("%s", PrintValue(value).c_str());
  331                 PrintValue(value).c_str());
  513         LLDB_LOGF(log, "Unsupported instruction: %s", PrintValue(&*ii).c_str());
  535                     PrintValue(&*ii).c_str());
  555                     PrintValue(&*ii).c_str());
  606                     PrintType(operand_type).c_str());
  618                     PrintType(operand_type).c_str());
  626                       PrintValue(constant).c_str());
  657               s.c_str());
  691     LLDB_LOGF(log, "Interpreting %s", PrintValue(inst).c_str());
  729         LLDB_LOGF(log, "Couldn't evaluate %s", PrintValue(lhs).c_str());
  736         LLDB_LOGF(log, "Couldn't evaluate %s", PrintValue(rhs).c_str());
  801         LLDB_LOGF(log, "  L : %s", frame.SummarizeValue(lhs).c_str());
  802         LLDB_LOGF(log, "  R : %s", frame.SummarizeValue(rhs).c_str());
  803         LLDB_LOGF(log, "  = : %s", frame.SummarizeValue(inst).c_str());
  894         LLDB_LOGF(log, "Couldn't evaluate %s", PrintValue(source).c_str());
  919         LLDB_LOGF(log, "Couldn't evaluate %s", PrintValue(source).c_str());
  948           LLDB_LOGF(log, "Couldn't evaluate %s", PrintValue(condition).c_str());
  962                     frame.SummarizeValue(condition).c_str());
  995         LLDB_LOGF(log, "Couldn't evaluate %s", PrintValue(value).c_str());
 1005                   frame.SummarizeValue(value).c_str());
 1026                   PrintValue(pointer_operand).c_str());
 1048             LLDB_LOGF(log, "Couldn't evaluate %s", PrintValue(*ii).c_str());
 1055                     PrintValue(*ii).c_str(), I.ULongLong(LLDB_INVALID_ADDRESS));
 1074                   frame.SummarizeValue(pointer_operand).c_str());
 1075         LLDB_LOGF(log, "  Poffset : %s", frame.SummarizeValue(inst).c_str());
 1099         LLDB_LOGF(log, "Couldn't evaluate %s", PrintValue(lhs).c_str());
 1106         LLDB_LOGF(log, "Couldn't evaluate %s", PrintValue(rhs).c_str());
 1169         LLDB_LOGF(log, "  L : %s", frame.SummarizeValue(lhs).c_str());
 1170         LLDB_LOGF(log, "  R : %s", frame.SummarizeValue(rhs).c_str());
 1171         LLDB_LOGF(log, "  = : %s", frame.SummarizeValue(inst).c_str());
 1191         LLDB_LOGF(log, "Couldn't evaluate %s", PrintValue(src_operand).c_str());
 1201         LLDB_LOGF(log, "  Src : %s", frame.SummarizeValue(src_operand).c_str());
 1202         LLDB_LOGF(log, "  =   : %s", frame.SummarizeValue(inst).c_str());
 1222         LLDB_LOGF(log, "Couldn't evaluate %s", PrintValue(src_operand).c_str());
 1232         LLDB_LOGF(log, "  Src : %s", frame.SummarizeValue(src_operand).c_str());
 1233         LLDB_LOGF(log, "  =   : %s", frame.SummarizeValue(inst).c_str());
 1253         LLDB_LOGF(log, "Couldn't evaluate %s", PrintValue(src_operand).c_str());
 1263         LLDB_LOGF(log, "  Src : %s", frame.SummarizeValue(src_operand).c_str());
 1264         LLDB_LOGF(log, "  =   : %s", frame.SummarizeValue(inst).c_str());
tools/lldb/source/Expression/Materializer.cpp
  871                                    llvm::toString(std::move(error)).c_str());
tools/lldb/source/Expression/REPL.cpp
  222         ci.HandleCommand(code.c_str(), eLazyBoolNo, result);
  279       expr_options.SetPoundLine(m_repl_source_path.c_str(),
  294           UserExpression::Evaluate(exe_ctx, expr_options, code.c_str(),
  410               file.get()->Write(code.c_str(), bytes_written);
  415                                m_repl_source_path.c_str(), message.c_str());
  415                                m_repl_source_path.c_str(), message.c_str());
tools/lldb/source/Expression/UserExpression.cpp
  235               expr.str().c_str());
  268           target->GetUserExpressionForLanguage(fixed_expression->c_str(),
  291             fixed_expression->c_str());
  298                                    diagnostic_manager.GetString().c_str());
  353                                    diagnostic_manager.GetString().c_str());
tools/lldb/source/Expression/UtilityFunction.cpp
   79       Language(), return_type, impl_code_address, arg_value_list, name.c_str(),
   93           m_function_name.c_str(), diagnostics.GetString().c_str());
   93           m_function_name.c_str(), diagnostics.GetString().c_str());
  104           m_function_name.c_str(), diagnostics.GetString().c_str());
  104           m_function_name.c_str(), diagnostics.GetString().c_str());
tools/lldb/source/Host/common/Editline.cpp
  103     combined_stream << line.c_str() << "\n";
  197     return m_path.c_str();
  302         (line_index == 0) ? prompt.c_str() : continuation_prompt.c_str());
  302         (line_index == 0) ? prompt.c_str() : continuation_prompt.c_str());
  391             faint, PromptForIndex(index).c_str(), unfaint,
  392             m_input_lines[index].c_str());
  557   return m_current_prompt.c_str();
  673   el_winsertstr(m_editline, m_input_lines[m_current_line_index + 1].c_str());
  716   el_winsertstr(m_editline, priorLine.c_str());
  837   el_winsertstr(m_editline, m_input_lines[m_current_line_index].c_str());
  872     fprintf(output_file, "\t%-*s", (int)max_len, c.GetCompletion().c_str());
  874       fprintf(output_file, " -- %s", c.GetDescription().c_str());
  954       el_insertstr(m_editline, to_add.c_str());
  960       el_insertstr(m_editline, to_add.c_str());
  965       el_insertstr(m_editline, completion.GetCompletion().c_str());
  978     el_insertstr(m_editline, longest_prefix.c_str());
 1003       el_init(m_editor_name.c_str(), m_input_file, m_output_file, m_error_file);
 1273 const char *Editline::GetPrompt() { return m_set_prompt.c_str(); }
 1391     m_history_sp->Enter(CombineLines(m_input_lines).c_str());
tools/lldb/source/Host/common/FileSystem.cpp
  433       -1, OpenWithFS, *this, path->c_str(), open_flags, open_mode);
tools/lldb/source/Host/common/HostInfoBase.cpp
  227             __FUNCTION__, dir.data(), raw_path.c_str());
  241             raw_path.c_str());
tools/lldb/source/Host/common/OptionParser.cpp
   45   return getopt_long_only(argv.size() - 1, argv.data(), opt_cstr.c_str(),
tools/lldb/source/Host/common/ProcessLaunchInfo.cpp
  132   return (m_plugin_name.empty() ? nullptr : m_plugin_name.c_str());
tools/lldb/source/Host/common/PseudoTerminal.cpp
   32   ::snprintf(error_str, error_len, "%s", strerror.c_str());
tools/lldb/source/Host/common/Socket.cpp
  154             host_and_port.str().c_str());
  173   LLDB_LOGF(log, "Socket::%s (%s)", __FUNCTION__, host_and_port.str().c_str());
  212             host_and_port.str().c_str());
  294     port = StringConvert::ToUInt32(port_str.c_str(), UINT32_MAX, 10, &ok);
  303           "invalid host:port specification: '%s'", host_and_port.str().c_str());
  320                                         host_and_port.str().c_str());
tools/lldb/source/Host/common/TCPSocket.cpp
  153       host_str.c_str(), nullptr, AF_UNSPEC, SOCK_STREAM, IPPROTO_TCP);
  191       host_str.c_str(), nullptr, AF_UNSPEC, SOCK_STREAM, IPPROTO_TCP);
tools/lldb/source/Host/common/UDPSocket.cpp
   79   int err = ::getaddrinfo(host_str.c_str(), port_str.c_str(), &hints,
   79   int err = ::getaddrinfo(host_str.c_str(), port_str.c_str(), &hints,
   88         host_str.c_str(), port_str.c_str(), err, gai_strerror(err));
   88         host_str.c_str(), port_str.c_str(), err, gai_strerror(err));
tools/lldb/source/Host/linux/Host.cpp
  280   DIR *dirproc = opendir(process_task_dir.c_str());
tools/lldb/source/Host/linux/HostInfoLinux.cpp
  111       FILE *file = popen(get_distribution_id_command.c_str(), "r");
  116                   get_distribution_id_command.c_str());
  141                     g_fields->m_distribution_id.c_str());
  150                   get_distribution_id_command.c_str());
  187   file_spec.GetDirectory().SetCString(temp_file.GetPath().c_str());
  199     file_spec.GetDirectory().SetCString(user_plugin_dir.c_str());
tools/lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp
  154             static_cast<void *>(this), path.str().c_str());
  197                                                 path.str().c_str());
  233                                             path.str().c_str());
  240       int fd = llvm::sys::RetryAfterSignal(-1, ::open, addr_str.c_str(), O_RDWR);
  280                                           path.str().c_str());
tools/lldb/source/Host/posix/HostInfoPosix.cpp
  138   file_spec.GetDirectory().SetCString(temp_file.GetPath().c_str());
  144   if (const char *pvar = ::getenv(var_name.c_str())) {
tools/lldb/source/Interpreter/CommandAlias.cpp
  100           GetUnderlyingCommand()->GetHelp().str().c_str());
  157       help_string.Printf(" %s", value.c_str());
  159       help_string.Printf(" %s", opt.c_str());
  161         help_string.Printf(" %s", value.c_str());
tools/lldb/source/Interpreter/CommandHistory.cpp
  106       stream.Printf("%4" PRIu64 ": %s\n", (uint64_t)counter, hist_item.c_str());
tools/lldb/source/Interpreter/CommandInterpreter.cpp
  191     result.AppendMessageWithFormat("%s", command.c_str());
  393                         HostInfo::GetDefaultShell().GetPath().c_str());
 1252             cmd_obj->GetSubcommandObject(cmd_word.c_str());
 1388   result_str.Printf("%s", alias_cmd_obj->GetCommandName().str().c_str());
 1402       result_str.Printf(" %s", value.c_str());
 1406     result_str.Printf(" %s", option.c_str());
 1412     int index = GetOptionArgumentPosition(value.c_str());
 1414       result_str.Printf("%s", value.c_str());
 1500         target->EvaluateExpression(expr_str.c_str(), exe_ctx.GetFramePtr(),
 1523                                          expr_str.c_str());
 1530                                        expr_str.c_str());
 1544             "expression setup error for the expression '%s'", expr_str.c_str());
 1548             "expression parse error for the expression '%s'", expr_str.c_str());
 1553             expr_str.c_str());
 1559             "expression discarded for the expression '%s'", expr_str.c_str());
 1563             "expression interrupted for the expression '%s'", expr_str.c_str());
 1568             expr_str.c_str());
 1572             "expression timed out for the expression '%s'", expr_str.c_str());
 1578                                        expr_str.c_str());
 1645                                      command_string.c_str());
 1659         command_line = m_repeat_command.c_str();
 1708     LLDB_LOGF(log, "HandleCommand, cmd_obj : '%s'", command_name.str().c_str());
 1710               command_string.c_str());
 1746         remainder.c_str());
 1748     cmd_obj->Execute(remainder.c_str(), result);
 1922       int index = GetOptionArgumentPosition(value.c_str());
 1929           ::snprintf(buffer, sizeof(buffer), "%s%s", option.c_str(),
 1930                      value.c_str());
 1954           ::snprintf(buffer, sizeof(buffer), "%s%s", option.c_str(),
 2214                                      m_debugger.GetPrompt().str().c_str(), cmd);
 2247             (uint64_t)idx, cmd, error_msg.str().c_str());
 2254             error_msg.str().c_str());
 2439                                     cmd_file_path.c_str());
 2740           "%s%s\n", io_handler.GetPrompt(), line.c_str());
 2746   HandleCommand(line.c_str(), eLazyBoolCalculate, result);
 2974         revised_command_line.Printf("%s", alias_result.c_str());
 2983           revised_command_line.Printf("%s", cmd_name.str().c_str());
 2986           revised_command_line.Printf("%s", next_word.c_str());
 2992             cmd_obj->GetSubcommandObject(next_word.c_str());
 2999           revised_command_line.Printf("%s", sub_cmd_name.str().c_str());
 3005                                         next_word.c_str(), suffix.c_str(),
 3005                                         next_word.c_str(), suffix.c_str(),
 3008             revised_command_line.Printf(" %s%s", next_word.c_str(),
 3009                                         suffix.c_str());
 3015                                       next_word.c_str(), suffix.c_str(),
 3015                                       next_word.c_str(), suffix.c_str(),
 3018           revised_command_line.Printf(" %s%s", next_word.c_str(),
 3019                                       suffix.c_str());
 3029                          next_word.c_str());
 3039                                      next_word.c_str());
 3050             cmd_obj->GetCommandName().str().c_str(),
 3051             next_word.empty() ? "" : next_word.c_str(),
 3052             next_word.empty() ? " -- " : " ", suffix.c_str());
 3068               gdb_format_option += (suffix.c_str() + 1);
 3080                 revised_command_line.Printf(" %s", gdb_format_option.c_str());
 3088                   cmd_obj->GetCommandName().str().c_str());
 3097               "unknown command shorthand suffix: '%s'\n", suffix.c_str());
 3108     revised_command_line.Printf(" %s", scratch_command.c_str());
tools/lldb/source/Interpreter/CommandObject.cpp
  491         str.Printf("<%s>", name_str.c_str());
  494         str.Printf("<%s> [<%s> [...]]", name_str.c_str(), name_str.c_str());
  494         str.Printf("<%s> [<%s> [...]]", name_str.c_str(), name_str.c_str());
  497         str.Printf("[<%s> [<%s> [...]]]", name_str.c_str(), name_str.c_str());
  497         str.Printf("[<%s> [<%s> [...]]]", name_str.c_str(), name_str.c_str());
  500         str.Printf("[<%s>]", name_str.c_str());
  503         str.Printf("<%s_1> .. <%s_n>", name_str.c_str(), name_str.c_str());
  503         str.Printf("<%s_1> .. <%s_n>", name_str.c_str(), name_str.c_str());
  825     interpreter.OutputFormattedHelpText(output_strm, whitespace_prefix.c_str(),
  826                                         remainder.c_str());
  841     interpreter.OutputFormattedHelpText(output_strm, "", "", help_text.c_str(),
  998     argv[0] = full_command.c_str();
tools/lldb/source/Interpreter/CommandObjectRegexCommand.cpp
   53         result.GetOutputStream().Printf("%s\n", new_command.c_str());
   58           new_command.c_str(), eLazyBoolCalculate, result, nullptr, true, true);
tools/lldb/source/Interpreter/CommandReturnObject.cpp
   25     strm.Write(s.c_str(), s.size());
tools/lldb/source/Interpreter/OptionArgParser.cpp
  148                                           s.str().c_str());
  172                                           s.str().c_str());
  204             s.str().c_str(), valobj_sp->GetTypeName().GetCString());
  223         addr = ToAddress(exe_ctx, name.c_str(), LLDB_INVALID_ADDRESS, &error);
  236           "address expression \"%s\" evaluation failed", s.str().c_str());
  243                                           s.str().c_str());
tools/lldb/source/Interpreter/OptionGroupFormat.cpp
   73                                        option_arg.str().c_str());
   84                                        option_arg.str().c_str());
  110                                      option_arg.str().c_str());
tools/lldb/source/Interpreter/OptionGroupPlatform.cpp
   24     platform_sp = Platform::Create(ConstString(m_platform_name.c_str()), error);
   30                                        arch.GetTriple().getTriple().c_str());
  125       if (platform_sp->GetName() != ConstString(m_platform_name.c_str()))
tools/lldb/source/Interpreter/OptionGroupPythonClassWithDict.cpp
  103                                         m_current_key.c_str());
  115                                        option_arg.str().c_str());
  139                                      m_current_key.c_str());
tools/lldb/source/Interpreter/OptionGroupValueObjectDisplay.cpp
  110                                      option_arg.str().c_str());
  118                                      option_arg.str().c_str());
  126                                      option_arg.str().c_str());
  136                                      option_arg.str().c_str());
  144                                      option_arg.str().c_str());
  151                                      option_arg.str().c_str());
tools/lldb/source/Interpreter/OptionValueArch.cpp
   48     if (m_current_value.SetTriple(value_str.c_str())) {
   53                                      value_str.c_str());
tools/lldb/source/Interpreter/OptionValueArray.cpp
   95       name.str().c_str(), GetTypeAsCString());
tools/lldb/source/Interpreter/OptionValueBoolean.cpp
   55                                        value_str.str().c_str());
tools/lldb/source/Interpreter/OptionValueChar.cpp
   51                                      value.str().c_str());
tools/lldb/source/Interpreter/OptionValueDictionary.cpp
  159             key.str().c_str());
  164           value.str().c_str(), m_type_mask, error));
  226       name.str().c_str(), GetTypeAsCString());
  245       " char is optional", name.str().c_str());
  253       key.str().c_str());
  273       error.SetErrorStringWithFormat("invalid value path '%s'", name.str().c_str());
tools/lldb/source/Interpreter/OptionValueEnumeration.cpp
   62       error_strm.Printf("invalid enumeration value '%s'", value.str().c_str());
tools/lldb/source/Interpreter/OptionValueFileSpec.cpp
   50       strm << '"' << m_current_value.GetPath().c_str() << '"';
tools/lldb/source/Interpreter/OptionValueFormat.cpp
   41     error = OptionArgParser::ToFormat(value.str().c_str(), new_format, nullptr);
tools/lldb/source/Interpreter/OptionValueLanguage.cpp
   51       error_strm.Printf("invalid language type '%s', ", value.str().c_str());
tools/lldb/source/Interpreter/OptionValueProperties.cpp
  214       error.SetErrorStringWithFormat("invalid value path '%s'", name.str().c_str());
tools/lldb/source/Interpreter/OptionValueRegex.cpp
   25       strm.Printf("%s", regex_text.str().c_str());
   64   return OptionValueSP(new OptionValueRegex(m_regex.GetText().str().c_str()));
tools/lldb/source/Interpreter/OptionValueSInt64.cpp
   46     int64_t value = StringConvert::ToSInt64(value_str.c_str(), 0, 0, &success);
   59                                      value_ref.str().c_str());
tools/lldb/source/Interpreter/OptionValueString.cpp
   29         Args::ExpandEscapedCharacters(m_current_value.c_str(),
   32           strm.Printf("%s", expanded_escape_value.c_str());
   34           strm.Printf("\"%s\"", expanded_escape_value.c_str());
   37           strm.Printf("%s", m_current_value.c_str());
   39           strm.Printf("\"%s\"", m_current_value.c_str());
   71       error = m_validator(value_str.c_str(), m_validator_baton);
   83         Args::EncodeEscapeSequences(value_str.c_str(), str);
   89       error = m_validator(new_value.c_str(), m_validator_baton);
  105       error = m_validator(value_str.c_str(), m_validator_baton);
  111       Args::EncodeEscapeSequences(value_str.c_str(), m_current_value);
  127     Status error(m_validator(value.str().c_str(), m_validator_baton));
tools/lldb/source/Interpreter/OptionValueUInt64.cpp
   51     uint64_t value = StringConvert::ToUInt64(value_str.c_str(), 0, 0, &success);
   58                                      value_str.c_str());
tools/lldb/source/Interpreter/OptionValueUUID.cpp
   43                                      value.str().c_str());
tools/lldb/source/Interpreter/Options.cpp
  285     strm.Indent(actual_text.c_str());
  319       strm.Write(actual_text.c_str() + start, sub_len);
tools/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp
  518             ret.m_immediate = strtoull(str.c_str(), nullptr, 0);
  546     ret.m_immediate = strtoull(str.c_str(), nullptr, 0);
 1085   if (!FlavorValidForArchSpec(arch, m_flavor.c_str())) {
 1126   const char *triple_str = triple.getTriple().c_str();
 1130     triple_str = thumb_arch.GetTriple().getTriple().c_str();
 1207   m_disasm_up = MCDisasmInstance::Create(triple_str, cpu, features_str.c_str(),
 1217         MCDisasmInstance::Create(thumb_triple.c_str(), "", features_str.c_str(),
 1217         MCDisasmInstance::Create(thumb_triple.c_str(), "", features_str.c_str(),
 1231         triple_str, cpu, features_str.c_str(), flavor, *this);
tools/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
  499             addr, kernel_arch.GetTriple().str().c_str(), uuid_str.c_str());
  499             addr, kernel_arch.GetTriple().str().c_str(), uuid_str.c_str());
  661   FileSpec file_spec(m_name.c_str());
  702                   m_uuid.GetAsString().c_str(), m_load_address,
  703                   memory_module_sp->GetUUID().GetAsString().c_str());
  770                 m_name.c_str(), m_load_address);
  777     s.Printf("Kernel UUID: %s\n", m_uuid.GetAsString().c_str());
  820           FileSpec kext_filespec(m_name.c_str());
  943                m_module_sp->GetFileSpec().GetPath().c_str());
 1352         s.Printf(" %-*s %s\n", longest_name, ku.first.c_str(), uuid.c_str());
 1352         s.Printf(" %-*s %s\n", longest_name, ku.first.c_str(), uuid.c_str());
tools/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.cpp
  374         LLDB_LOGF(log, "Target is loading '%s'", I->path.c_str());
  376           LLDB_LOGF(log, "LLDB failed to load '%s'", I->path.c_str());
  378           LLDB_LOGF(log, "LLDB successfully loaded '%s'", I->path.c_str());
  399       LLDB_LOGF(log, "Target is unloading '%s'", I->path.c_str());
  483     const char *module_path = I->path.c_str();
tools/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/HexagonDYLDRendezvous.cpp
  164     if (entry.path.empty() || ::strcmp(entry.path.c_str(), m_exe_path) == 0)
  209     if (entry.path.empty() || ::strcmp(entry.path.c_str(), m_exe_path) == 0)
  361     LLDB_LOGF(log, "\n   SOEntry [%d] %s", i, I->path.c_str());
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
  326                             image_object_file->GetFileSpec().GetPath().c_str());
  555                 exe_module_sp->GetFileSpec().GetPath().c_str());
  570                 dyld_sp->GetFileSpec().GetPath().c_str());
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp
  300         process->GetTarget().GetArchitecture().GetTriple().getTriple().c_str());
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp
  397         process->GetTarget().GetArchitecture().GetTriple().getTriple().c_str());
tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
  110             executable_sp ? executable_sp->GetFileSpec().GetPath().c_str()
  144               executable_sp->GetFileSpec().GetPath().c_str());
  159                   module_sp ? module_sp->GetFileSpec().GetPath().c_str()
  729       process_info.GetExecutableFile().GetPath().c_str());
tools/lldb/source/Plugins/ExpressionParser/Clang/ASTDumper.cpp
   76 const char *ASTDumper::GetCString() { return m_dump.c_str(); }
   84   memcpy(str, m_dump.c_str(), len);
tools/lldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp
   65                   method_decl->getSelector().getAsString().c_str());
  133     LLDB_LOGF(log, "Untransformed function AST:\n%s", s.c_str());
  149     LLDB_LOGF(log, "Transformed function AST:\n%s", s.c_str());
  173     LLDB_LOGF(log, "Untransformed method AST:\n%s", s.c_str());
  193     LLDB_LOGF(log, "Transformed method AST:\n%s", s.c_str());
  312               (is_lvalue ? "lvalue" : "rvalue"), s.c_str());
  423   ConstString name_cs(name.str().c_str());
  443   ConstString name_cs(name.str().c_str());
  453     ConstString name_cs(name.str().c_str());
  468         LLDB_LOGF(log, "Couldn't commit persistent  decl: %s\n", s.c_str());
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
  245   ConstString const_decl_name(decl_name.c_str());
  280               static_cast<void *>(tag_decl), tag_decl->getName().str().c_str());
  335         ConstString name(tag_decl->getName().str().c_str());
  367       ConstString name(tag_decl->getName().str().c_str());
  425               interface_decl->getName().str().c_str());
  488   ConstString class_name(interface_decl->getNameAsString().c_str());
  561           context_named_decl->getNameAsString().c_str(),
  633                     context_named_decl->getNameAsString().c_str(),
  688   const ConstString name(context.m_decl_name.getAsString().c_str());
  709                 context_named_decl->getNameAsString().c_str());
  820   const ConstString name(context.m_decl_name.getAsString().c_str());
 1080     std::string decl_name_string_without_colon(decl_name_string.c_str(),
 1203     ss.Printf("%s", decl_name.getAsString().c_str());
 1205     ss.Printf("%s", decl_name.getAsString().c_str());
 1211       ss.Printf("%s:", r.str().c_str());
 1225             interface_decl->getNameAsString().c_str(),
 1236     ms.Printf("-[%s %s]", interface_name.c_str(), selector_name.AsCString());
 1249     ms.Printf("+[%s %s]", interface_name.c_str(), selector_name.AsCString());
 1296       if (strncmp(cursor, interface_name.c_str(), interface_len))
 1395       ConstString interface_name(interface_decl->getNameAsString().c_str());
 1435     ConstString interface_name(interface_decl->getNameAsString().c_str());
 1522   ConstString class_name(parser_iface_decl->getNameAsString().c_str());
 1528             parser_iface_decl->getNameAsString().c_str(),
 1529             context.m_decl_name.getAsString().c_str());
 1751             record->getNameAsString().c_str());
 1828                 fi->getNameAsString().c_str(), field_offsets[*fi]);
 1852             base_cxx_record.decl->getNameAsString().c_str(),
 2192       ClangASTContext::IsOperator(decl_name.getAsString().c_str(), op_kind)) {
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
  692   const ConstString name(context.m_decl_name.getAsString().c_str());
  717                 context_named_decl->getNameAsString().c_str());
  791   const ConstString name(context.m_decl_name.getAsString().c_str());
 1507         m_ast_context->getDiagnostics().Report(diag_id) << warning.c_str();
 1650   ConstString entity_name(decl_name.c_str());
 1672               current_id, decl_name.c_str(), ast_dumper.GetCString(),
 1739   ConstString entity_name(decl_name.c_str());
 1768               current_id, decl_name.c_str(), ast_dumper.GetCString());
 1857               context.m_decl_name.getAsString().c_str());
 1872   entity->SetName(ConstString(decl_name.c_str()));
 1886               current_id, context.m_decl_name.getAsString().c_str(),
 1940                           copied_function_template->getNameAsString().c_str(),
 1961                         copied_function_decl->getNameAsString().c_str(),
 1970                         src_function_decl->getName().str().c_str());
 2041   entity->SetName(ConstString(decl_name.c_str()));
 2076         current_id, (function ? "specific" : "generic"), decl_name.c_str(),
 2077         ss.GetData(), function_str.c_str());
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
  353               m_compiler->getTargetOpts().Triple.c_str());
  363               m_compiler->getTargetOpts().Triple.c_str());
  420               target_info->getDataLayout().getStringRepresentation().c_str());
  421     LLDB_LOGF(log, "Target ABI: '%s'", target_info->getABI().str().c_str());
  489   lang_opts.CharIsSigned = ArchSpec(m_compiler->getTargetOpts().Triple.c_str())
 1300               err.SetErrorString(install_diagnostics.GetString().c_str());
 1384                                    execution_errors.GetString().c_str());
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionSourceCode.cpp
  404     wrap_stream.Printf("%s\n%s\n%s\n%s\n%s\n", module_macros.c_str(),
  406                        target_specific_defines, m_prefix.c_str());
  434                          module_imports.c_str(), m_name.c_str(),
  434                          module_imports.c_str(), m_name.c_str(),
  435                          lldb_local_var_decls.GetData(), tagged_body.c_str());
  445                          module_imports.c_str(), m_name.c_str(),
  445                          module_imports.c_str(), m_name.c_str(),
  446                          lldb_local_var_decls.GetData(), tagged_body.c_str());
  462             module_imports.c_str(), m_name.c_str(), m_name.c_str(),
  462             module_imports.c_str(), m_name.c_str(), m_name.c_str(),
  462             module_imports.c_str(), m_name.c_str(), m_name.c_str(),
  463             lldb_local_var_decls.GetData(), tagged_body.c_str());
  477             module_imports.c_str(), m_name.c_str(), m_name.c_str(),
  477             module_imports.c_str(), m_name.c_str(), m_name.c_str(),
  477             module_imports.c_str(), m_name.c_str(), m_name.c_str(),
  478             lldb_local_var_decls.GetData(), tagged_body.c_str());
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangFunctionCaller.cpp
  182   LLDB_LOGF(log, "Expression: \n\n%s\n\n", m_wrapper_function_text.c_str());
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangFunctionCaller.h
  141   const char *GetWrapperStructName() { return m_wrapper_struct_name.c_str(); }
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangHost.cpp
   36             clang_path.str().c_str());
   73                 clang_dir.str().str().c_str(), verify ? "true" : "false");
  164               g_cached_resource_dir.GetPath().c_str());
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
  649     compiler_invocation_argument_cstrs.push_back(arg.c_str());
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
  403         m_filename, prefix.c_str(), m_expr_text.c_str()));
  403         m_filename, prefix.c_str(), m_expr_text.c_str()));
  556   LLDB_LOGF(log, "Parsing the following code:\n%s", m_transformed_text.c_str());
  755   LLDB_LOGF(log, "Parsing the following code:\n%s", m_transformed_text.c_str());
tools/lldb/source/Plugins/ExpressionParser/Clang/IRDynamicChecks.cpp
  324               PrintValue(inst).c_str());
  483       const char *name_cstr = name_str.c_str();
  486                 PrintValue(call_inst).c_str());
  523                 name_str.c_str());
  548     LLDB_LOGF(log, "Couldn't find %s() in the module", m_func_name.c_str());
  581     LLDB_LOGF(log, "Module after dynamic checks: \n%s", s.c_str());
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
 1283   lldb_private::ConstString name(symbol->getName().str().c_str());
 1349   lldb_private::ConstString name_cstr(name.str().c_str());
 1559                               PrintValue(constant_expr).c_str());
 1626             PrintValue(constant).c_str());
 1641             PrintValue(user).c_str());
tools/lldb/source/Plugins/InstrumentationRuntime/TSan/TSanRuntime.cpp
  216       o->GetValueForExpressionPath(trace_item_name.c_str());
  236       return_value_sp->GetValueForExpressionPath(count_name.c_str())
  239       return_value_sp->GetValueForExpressionPath(items_name.c_str());
  255       return_value_sp->GetValueForExpressionPath(expression_path.c_str())
  739                          global_name.c_str(), global_addr);
  765                          object_type.c_str(), addr);
  969                        size, addr_string.c_str(), thread_id);
 1034         new_thread_sp->SetName(GenerateThreadName(path, o, info).c_str());
tools/lldb/source/Plugins/InstrumentationRuntime/UBSan/UBSanRuntime.cpp
   99   return return_value_sp->GetValueForExpressionPath(expression_path.c_str())
  333   new_thread_sp->SetName(stop_reason_description.c_str());
tools/lldb/source/Plugins/Language/CPlusPlus/BlockPointer.cpp
  142         ConstString(child_name.c_str(), child_name.size())));
tools/lldb/source/Plugins/Language/CPlusPlus/CxxStringTypes.cpp
  168     stream.Printf("%s ", value.c_str());
  194     stream.Printf("%s ", value.c_str());
  220     stream.Printf("%s ", value.c_str());
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxAtomic.cpp
   78       stream.Printf("%s", summary.c_str());
tools/lldb/source/Plugins/Language/ObjC/CF.cpp
   42                 tm_date->tm_min, tm_date->tm_sec, buffer.c_str());
  105   stream.Printf("%s\"%u value%s\"%s", prefix.c_str(), count,
  106                 (count == 1 ? "" : "s"), suffix.c_str());
  292   stream.Printf("%s\"%u item%s\"%s", prefix.c_str(), count,
  293                 (count == 1 ? "" : "s"), suffix.c_str());
tools/lldb/source/Plugins/Language/ObjC/Cocoa.cpp
  307   stream.Printf("%s%hhd%s", prefix.c_str(), value, suffix.c_str());
  307   stream.Printf("%s%hhd%s", prefix.c_str(), value, suffix.c_str());
  323   stream.Printf("%s%hd%s", prefix.c_str(), value, suffix.c_str());
  323   stream.Printf("%s%hd%s", prefix.c_str(), value, suffix.c_str());
  339   stream.Printf("%s%d%s", prefix.c_str(), value, suffix.c_str());
  339   stream.Printf("%s%d%s", prefix.c_str(), value, suffix.c_str());
  355   stream.Printf("%s%" PRId64 "%s", prefix.c_str(), value, suffix.c_str());
  355   stream.Printf("%s%" PRId64 "%s", prefix.c_str(), value, suffix.c_str());
  372   stream.PutCString(prefix.c_str());
  376   stream.PutCString(str.c_str());
  377   stream.PutCString(suffix.c_str());
  393   stream.Printf("%s%f%s", prefix.c_str(), value, suffix.c_str());
  393   stream.Printf("%s%f%s", prefix.c_str(), value, suffix.c_str());
  409   stream.Printf("%s%g%s", prefix.c_str(), value, suffix.c_str());
  409   stream.Printf("%s%g%s", prefix.c_str(), value, suffix.c_str());
  867                 tm_date->tm_min, tm_date->tm_sec, buffer.c_str());
tools/lldb/source/Plugins/Language/ObjC/NSArray.cpp
  454   stream.Printf("%s%" PRIu64 " %s%s%s", prefix.c_str(), value, "element",
  455                 value == 1 ? "" : "s", suffix.c_str());
tools/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp
  428   stream.Printf("%s%" PRIu64 " %s%s%s", prefix.c_str(), value, "key/value pair",
  429                 value == 1 ? "" : "s", suffix.c_str());
tools/lldb/source/Plugins/Language/ObjC/NSSet.cpp
  293   stream.Printf("%s%" PRIu64 " %s%s%s", prefix.c_str(), value, "element",
  294                 value == 1 ? "" : "s", suffix.c_str());
tools/lldb/source/Plugins/Language/ObjC/NSString.cpp
  367     stream.Printf("%s", prefix.c_str());
  369     stream.Printf("%s", suffix.c_str());
  392   stream.Printf("%s", prefix.c_str());
  394   stream.Printf("%s", suffix.c_str());
tools/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp
  298     ret.SetName(corrected_name.c_str());
  369                                      entry.ref().str().c_str());
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCClassDescriptorV2.cpp
  375       if (instance_method_func(method->m_name.c_str(), method->m_types.c_str()))
  375       if (instance_method_func(method->m_name.c_str(), method->m_types.c_str()))
  410         if (ivar_func(ivar.m_name.c_str(), ivar.m_type.c_str(),
  410         if (ivar_func(ivar.m_name.c_str(), ivar.m_type.c_str(),
  434       m_name = ConstString(class_ro->m_name.c_str());
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.cpp
   46                 name.getAsString().c_str(), decl_ctx->getDeclKindName(),
   86                 tag_decl->getName().str().c_str());
  115                 interface_decl->getName().str().c_str());
  160                     .c_str()),
  371             interface_decl->getASTContext(), m_type_vector[0].c_str(),
  389               ast_ctx, m_type_vector[ai].c_str(), for_expression));
  411   const char *GetTypeAtIndex(size_t idx) { return m_type_vector[idx].c_str(); }
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
  282     ret.SetName(corrected_name.c_str());
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
  908     ConstString ivar_const_str(buffer.c_str());
 1082       return element(ConstString(key_string.c_str()),
 1644             shared_class_expression.c_str(), eLanguageTypeObjC,
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.cpp
   31                                                        .c_str()));
  131       nullptr, lldb::eAccessPublic, name.c_str(), kind, lldb::eLanguageTypeC));
  143           union_type, element.name.c_str(),
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp
   93                    err.c_str());
  144                 real_triple.str().c_str());
  147           target_machine->createDataLayout().getStringRepresentation().c_str());
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
  808         ConstString(kernel_name_expanded.c_str()), eSymbolTypeCode);
  903                 name.c_str());
  907     LLDB_LOGF(log, "%s: Found ScriptGroup for %s", __FUNCTION__, name.c_str());
 1505             res_name.c_str(), cache_dir.c_str());
 1505             res_name.c_str(), cache_dir.c_str());
 1509     strm.Printf("librs.%s.so", res_name.c_str());
 1639     if (file.GetFilename() != ConstString(shared_lib.c_str()))
 2660                 error.c_str());
 2850               m_slang_version.c_str(), m_bcc_version.c_str());
 2850               m_slang_version.c_str(), m_bcc_version.c_str());
 2888                      lines->str().c_str());
 2897                    sig_s.str().c_str());
 2907                    accum_data_size_s.str().c_str());
 2911     LLDB_LOGF(log, "Found RenderScript reduction '%s'", spec[2].str().c_str());
 2989               m_module->GetFileSpec().GetCString(), raw_rs_info.str().c_str());
 3058                 line->str().c_str());
 3130     strm.Printf("Resource '%s':", module->m_resname.c_str());
 3925     strm.Printf("%s: %s", key_val.first.c_str(), key_val.second.c_str());
 3925     strm.Printf("%s: %s", key_val.first.c_str(), key_val.second.c_str());
 4096               option_arg.str().c_str(), err_str.GetData());
 4102                                        option_arg.str().c_str());
 4159           err_str.Printf("unknown kernel type name %s", name.str().c_str());
 4181                                    m_cmd_name.c_str());
 4252               option_arg.str().c_str());
 4283           m_cmd_name.c_str());
 4334           "'%s' takes 1 argument of 'enable' or 'disable'", m_cmd_name.c_str());
 4534                                        option_arg.str().c_str());
 4560                                    m_cmd_name.c_str());
 4595                                         path.c_str());
 4600                                      path.c_str(), error.c_str());
 4600                                      path.c_str(), error.c_str());
 4709           m_cmd_name.c_str());
 4760           m_cmd_name.c_str());
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp
   97             name.str().c_str());
tools/lldb/source/Plugins/MemoryHistory/asan/MemoryHistoryASan.cpp
  112       return_value_sp->GetValueForExpressionPath(count_path.c_str());
  114       return_value_sp->GetValueForExpressionPath(tid_path.c_str());
  126       return_value_sp->GetValueForExpressionPath(trace_path.c_str());
  143   history_thread->SetThreadName(thread_name_with_number.str().c_str());
tools/lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp
   93     ar_name_len = strtoul(str.c_str() + 3, &err, 10);
  101     ar_name.SetCString(str.c_str());
  105   modification_time = strtoul(str.c_str(), &err, 10);
  108   uid = strtoul(str.c_str(), &err, 10);
  111   gid = strtoul(str.c_str(), &err, 10);
  114   mode = strtoul(str.c_str(), &err, 8);
  117   size = strtoul(str.c_str(), &err, 10);
  127       ar_name.SetCString(str.c_str());
  306           module_sp->GetFileSpec().GetPath().c_str(),
tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
  521                     __FUNCTION__, file.GetPath().c_str(),
  537                       __FUNCTION__, file.GetPath().c_str());
  566                     __FUNCTION__, file.GetPath().c_str(),
  567                     spec_triple.getTriple().c_str(),
 1015               __FUNCTION__, note.n_name.c_str(), note.n_type);
 1888         section->GetName().AsCString(), llvm::toString(std::move(err)).c_str());
 3331         llvm::toString(Decompressor.takeError()).c_str());
 3344         llvm::toString(std::move(error)).c_str());
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
 1971         e.entry.name.SetCStringWithLength(name.c_str() + 1, name.size() - 1);
 2023               dyld_shared_cache.GetPath().c_str(),
 2024               dsc_uuid.GetAsString().c_str());
 3695                           module_sp->GetFileSpec().GetPath().c_str());
 3705           symbol_name = memory_symbol_name.c_str();
 3923                     ConstString(full_so_path.c_str()), false);
 5666       uuid.GetAsString().c_str(), base_addr);
 6047                                      target_triple.str().c_str());
 6261                     segment.fileoff, core_file_path.c_str());
tools/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
  248               m_file ? m_file.GetPath().c_str() : "<NULL>",
  249               errorToErrorCode(binary.takeError()).message().c_str());
  263             GetModule()->GetSpecificationDescription().c_str(),
  264             m_file ? m_file.GetPath().c_str() : "<NULL>",
  686             symbols[i].GetMangled().SetValue(ConstString(symbol_name.c_str()));
  754           symbols[i].GetMangled().SetValue(ConstString(symbol_name.c_str()));
  960             module_sp->GetSpecificationDescription().c_str(),
  979                 ec.message().c_str());
 1181             name.c_str(), sh.vmaddr, sh.vmsize, sh.offset, sh.size, sh.reloff,
tools/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
  107                 os_plugin_class_name.c_str(), process->CalculateProcess());
  340       DataBufferSP data_sp(new DataBufferHeap(value.c_str(), value.length()));
tools/lldb/source/Plugins/Platform/Android/AdbClient.cpp
  118       return Status("Device \"%s\" not found", android_serial.c_str());
  145   m_conn->Connect(uri.c_str(), &error);
  200            sock_namespace_str, remote_socket_name.str().c_str());
  238   m_conn->Write(packet.c_str(), packet.size(), status, &error);
  316         std::string(&error_message[0], error_message.size()).c_str());
  386                     std::string(output_buf.begin(), output_buf.end()).c_str());
  415     return Status("Unable to open local file %s", output_filename.c_str());
  420     return Status("Failed to write file %s", output_filename.c_str());
  442     return Status("Unable to open local file %s", local_file_path.c_str());
  446                                remote_file_path.c_str());
  461     return Status("Failed to write file %s", local_file_path.c_str());
  470   std::ifstream src(local_file_path.c_str(), std::ios::in | std::ios::binary);
  472     return Status("Unable to open local file %s", local_file_path.c_str());
  475   file_description << remote_file.GetPath(false).c_str() << "," << kDefaultMode;
  478                                file_description_str.c_str());
  505     return Status("Failed to push file: %s", error_message.c_str());
  507     return Status("Got unexpected DONE response: %s", response_id.c_str());
  512     return Status("Failed read on %s", local_file_path.c_str());
  521                                remote_file_path.c_str());
  648     return Status("Failed to pull file: %s", error_message.c_str());
  650     return Status("Pull failed with unknown response: %s", response_id.c_str());
tools/lldb/source/Plugins/Platform/Android/PlatformAndroid.cpp
   69         arch ? arch->GetTriple().getTriple().c_str() : "<null>";
  248 const char *PlatformAndroid::GetCacheHostname() { return m_device_id.c_str(); }
  289               error.AsCString(), version_string.c_str());
  293   m_sdk_version = StringConvert::ToUInt32(version_string.c_str());
  331     command.Printf("rm -rf %s", s->c_str());
tools/lldb/source/Plugins/Platform/Android/PlatformAndroidRemoteGDBServer.cpp
   39   LLDB_LOGF(log, "Connected to Android device \"%s\"", device_id.c_str());
   48             remote_socket_name.str().c_str(), local_port);
   93       MakeConnectURL(pid, remote_port, socket_name.c_str(), connect_url);
   95     LLDB_LOGF(log, "gdbserver connect URL: %s", connect_url.c_str());
  139   LLDB_LOGF(log, "Rewritten platform connect URL: %s", connect_url.c_str());
  166               pid, port, m_device_id.c_str(), error.AsCString());
  214                                    connect_url.str().c_str());
tools/lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
  239   const char *shell_name = strrchr(shell_string.c_str(), '/');
  241     shell_name = shell_string.c_str();
tools/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
   80               strcasestr(symfile_spec.GetPath().c_str(),
  107                   script_interpreter->IsReservedWord(module_basename.c_str())) {
  120                                  module_basename.c_str());
  124                   original_module_basename.c_str());
  147                         symfile_spec.GetPath().c_str(),
  157                         symfile_spec.GetPath().c_str(), reason_for_complaint,
 1194         return m_developer_directory.c_str();
 1206     return m_developer_directory.c_str();
 1244   const char *shell_name = strrchr(shell_string.c_str(), '/');
 1246     shell_name = shell_string.c_str();
 1603         ApplePropertyList system_version_plist(dyld_root_path.c_str());
 1641         dir.GetDirectory().SetCString(xcode_lldb_resources.GetPath().c_str());
 1655             cmd_line_lldb_resources.GetPath().c_str());
 1730           module_search_paths_ptr->GetFileSpecAtIndex(i).GetPath().c_str());
tools/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
   71         arch ? arch->GetTriple().getTriple().c_str() : "<null>";
  209                           xcode_contents_path.c_str(), version.getMajor(),
tools/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleBridge.cpp
   69         arch ? arch->GetTriple().getTriple().c_str() : "<null>";
tools/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleTV.cpp
   70         arch ? arch->GetTriple().getTriple().c_str() : "<null>";
tools/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleWatch.cpp
   67         arch ? arch->GetTriple().getTriple().c_str() : "<null>";
tools/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.cpp
   63                 sdk_dir_info.directory.GetPath().c_str());
  117             resolved_module_spec.GetFileSpec().GetPath().c_str(),
  122             resolved_module_spec.GetFileSpec().GetPath().c_str());
  128         resolved_module_spec.GetFileSpec().GetPath().c_str());
  194                 sdk_symbols_symlink_fspec.GetPath().c_str());
  207         FileSpec local_sdk_cache(local_sdk_cache_str.c_str());
  215                 local_sdk_cache.GetPath().c_str());
  233                       m_sdk_directory_infos[i].directory.GetPath().c_str());
  258                   sdk_symbols_symlink_fspec.GetPath().c_str());
  348       m_device_support_directory.append(platform_dir.c_str());
  359     return m_device_support_directory.c_str();
  376         return m_device_support_directory_for_os_version.c_str();
  389     return m_device_support_directory_for_os_version.c_str();
  435                     platform_file_path, sdkroot_path.c_str(), paths_to_try[i]);
  650                      build.c_str())) {
tools/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.cpp
   62         arch ? arch->GetTriple().getTriple().c_str() : "<null>";
tools/lldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.cpp
  208   const char *shell_name = strrchr(shell_string.c_str(), '/');
  210     shell_name = shell_string.c_str();
tools/lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp
  102             resolved_module_spec.GetFileSpec().GetPath().c_str());
  106             resolved_module_spec.GetFileSpec().GetPath().c_str());
  163             resolved_module_spec.GetFileSpec().GetPath().c_str(),
  195               resolved_module_spec.GetFileSpec().GetPath().c_str(),
  200               resolved_module_spec.GetFileSpec().GetPath().c_str());
  249     command.Printf("cp %s %s", src_path.c_str(), dst_path.c_str());
  249     command.Printf("cp %s %s", src_path.c_str(), dst_path.c_str());
  257     if (chown_file(this, dst_path.c_str(), uid, gid) != 0)
  271           command.Printf("rsync %s %s %s", GetRSyncOpts(), src_path.c_str(),
  272                          dst_path.c_str());
  274           command.Printf("rsync %s %s %s%s", GetRSyncOpts(), src_path.c_str(),
  275                          GetRSyncPrefix(), dst_path.c_str());
  277         command.Printf("rsync %s %s %s:%s", GetRSyncOpts(), src_path.c_str(),
  278                        GetHostname(), dst_path.c_str());
  315     cp_command.Printf("cp %s %s", src_path.c_str(), dst_path.c_str());
  315     cp_command.Printf("cp %s %s", src_path.c_str(), dst_path.c_str());
  327           command.Printf("rsync %s %s %s", GetRSyncOpts(), src_path.c_str(),
  328                          dst_path.c_str());
  331                          src_path.c_str(), dst_path.c_str());
  331                          src_path.c_str(), dst_path.c_str());
  334                        m_remote_platform_sp->GetHostname(), src_path.c_str(),
  335                        dst_path.c_str());
  469         SetRSyncOpts(m_option_group_platform_rsync->m_rsync_opts.c_str());
  470         SetRSyncPrefix(m_option_group_platform_rsync->m_rsync_prefix.c_str());
  476         SetSSHOpts(m_option_group_platform_ssh->m_ssh_opts.c_str());
  479           m_option_group_platform_caching->m_cache_dir.c_str());
  528                   exe_module_sp ? exe_module_sp->GetFileSpec().GetPath().c_str()
  688       ->GetTarget().GetUtilityFunctionForLanguage(expr.c_str(),
  700                                    diagnostics.GetString().c_str());
  808   process->WriteMemory(path_addr, path.c_str(), path_len, utility_error);
  926                                    diagnostics.GetString().c_str());
  963                                    diagnostics.GetString().c_str());
 1005                                    dlopen_error_str.c_str());
tools/lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp
  216             resolved_module_spec.GetFileSpec().GetPath().c_str(),
  249               resolved_module_spec.GetFileSpec().GetPath().c_str(),
  254               resolved_module_spec.GetFileSpec().GetPath().c_str());
tools/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
   90     return m_platform_description.c_str();
  147             resolved_module_spec.GetFileSpec().GetPath().c_str(),
  152             resolved_module_spec.GetFileSpec().GetPath().c_str());
  158         resolved_module_spec.GetFileSpec().GetPath().c_str());
  175         __FUNCTION__, module_path.c_str(),
  176         arch.GetTriple().getTriple().c_str());
  185               __FUNCTION__, module_path.c_str(),
  186               arch.GetTriple().getTriple().c_str(), stream.GetData());
  338   return m_name.c_str();
  406   const char *arch_triple = arch_spec.GetTriple().str().c_str();
  440       error.SetErrorString(error_str.c_str());
  489             error = process_sp->ConnectRemote(nullptr, connect_url.c_str());
  492               error = process_sp->ConnectRemote(nullptr, connect_url.c_str());
  535                        (socket_name.empty()) ? nullptr : socket_name.c_str());
  575             error = process_sp->ConnectRemote(nullptr, connect_url.c_str());
  777         remote_signals_sp->AddSignal(signo, name.str().c_str(), suppress, stop,
  778                                      notify, description.c_str());
  799   return MakeUrl(override_scheme ? override_scheme : platform_scheme.c_str(),
  801                                    : platform_hostname.c_str(),
  835     ConnectProcess(connection_urls[i].c_str(), "", debugger, nullptr, error);
  848         gdbserver.second.empty() ? nullptr : gdbserver.second.c_str();
tools/lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp
  146               StringConvert::ToUInt32(msbit_str.c_str(), UINT32_MAX);
  148               StringConvert::ToUInt32(lsbit_str.c_str(), UINT32_MAX);
  295       if (OptionArgParser::ToFormat(format_str.str().c_str(), reg_info.format,
tools/lldb/source/Plugins/Process/Utility/HistoryThread.h
   57   const char *GetQueueName() override { return m_queue_name.c_str(); }
   65   const char *GetThreadName() { return m_thread_name.c_str(); }
   71   const char *GetName() override { return m_thread_name.c_str(); }
tools/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp
 1380                    unwindplan_name.c_str());
 1926                           llvm::toString(expected_size.takeError()).c_str());
tools/lldb/source/Plugins/Process/Utility/StopInfoMachException.cpp
   34     return m_description.c_str();
  293   return m_description.c_str();
tools/lldb/source/Plugins/Process/Utility/ThreadMemory.h
   42       return m_name.c_str();
   50       return m_queue.c_str();
tools/lldb/source/Plugins/Process/elf-core/ThreadElfCore.h
  153     return m_thread_name.c_str();
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.cpp
  314             __FUNCTION__, m_comm.m_continue_packet.c_str());
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
  471       decompressed_bufsize = ::strtoul(bufsize_str.c_str(), nullptr, 10);
  492                 (int)(pkt_size), m_bytes.c_str(), (uint8_t)packet_checksum,
  734                 __FUNCTION__, idx - 1, idx - 1, m_bytes.c_str());
  800                       (int)(total_length), m_bytes.c_str());
  804                       m_bytes.c_str());
  853                         (int)(total_length), m_bytes.c_str(),
  865                     m_bytes.c_str());
  918     if (connection->Connect(comm->m_listen_url.c_str(), &error) !=
  950               __FUNCTION__, env_debugserver_path.c_str());
  964                   __FUNCTION__, debugserver_file_spec.GetPath().c_str());
  981                     __FUNCTION__, debugserver_file_spec.GetPath().c_str());
 1143                   __FUNCTION__, env_var_name, extra_arg.c_str());
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
  689     char first_char = *this_string.c_str();
  785     argv.push_back(exe_path.c_str());
  819     int r = SendEnvironmentPacket(Environment::compose(KV).c_str());
 1097       return m_gdb_server_name.c_str();
 1267             m_host_arch.SetTriple(triple.c_str());
 1292           m_host_arch.SetTriple(triple.c_str());
 1307                     m_host_arch.GetTriple().getTriple().c_str(),
 1308                     triple.c_str());
 1311           m_host_arch.SetDistributionId(distribution_id.c_str());
 1510           region_info.SetName(name.c_str());
 1516           error.SetErrorString(error_string.c_str());
 1611   if (!xml_document.ParseMemory(xml.c_str(), xml.size())) {
 1923         process_info.GetArchitecture().SetTriple(triple.c_str());
 2082         m_process_arch.SetTriple(triple.c_str());
 2497       stream.Printf("host:%s;", hostname.c_str());
 2869     return Status("failed to send '%s' packet", packet.str().c_str());
 2872     return Status("invalid response to '%s' packet", packet.str().c_str());
 3576       module_spec.GetArchitecture().SetTriple(triple.c_str());
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationHistory.cpp
   98               entry.packet.data.c_str());
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
  126     return SendUnimplementedResponse(PUE->message().c_str());
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
  745           Host::RunShellCommand(path.c_str(), working_spec, &status, &signo,
  757         response.PutEscapedBytes(output.c_str(), output.size());
 1042                           __FUNCTION__, actual_arg_index, arg.c_str());
 1255     response.Printf("ostype:%s;", ostype.c_str());
 1275       response.Printf("elf_abi:%s;", abi.c_str());
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
  623     if (::strcspn(thread_name.c_str(), "$#+-;:") == thread_name_len) {
 2780                       XMLEncodeAttributeValue(library.name.c_str()).c_str());
 2780                       XMLEncodeAttributeValue(library.name.c_str()).c_str());
 3298             ->GetLoadedModuleFileSpec(module_path.c_str(), file_spec)
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
  108   LLDB_LOGF(log, "Launching debugserver with: %s:%u...", hostname.c_str(),
  143       url.str().c_str(), nullptr, debugserver_launch_info, port_ptr, &args, -1);
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
  358             ArchSpec host_arch(triple_string.c_str());
  422       uint32_t reg = StringConvert::ToUInt32(value_pair.first.str().c_str(),
  465                         target_definition_fspec.GetPath().c_str());
  546             if (OptionArgParser::ToFormat(value.str().c_str(), format, nullptr)
  715             pid, remote_url.str().c_str(), StateAsCString(state));
  720                                      pid, remote_url.str().c_str());
  729             GetTarget().GetArchitecture().GetTriple().getTriple().c_str(),
  747             GetTarget().GetArchitecture().GetTriple().getTriple().c_str());
  917             error.SetErrorString(error_str.c_str());
  977               connect_url.str().c_str());
 1071                 process_arch.GetTriple().getTriple().c_str()
 1072                     ? process_arch.GetTriple().getTriple().c_str()
 1083                 process_arch.GetTriple().getTriple().c_str()
 1084                     ? process_arch.GetTriple().getTriple().c_str()
 1097                   target_arch.GetTriple().getTriple().c_str()
 1098                       ? target_arch.GetTriple().getTriple().c_str()
 1120                     process_arch.GetTriple().getTriple().c_str()
 1121                         ? process_arch.GetTriple().getTriple().c_str()
 1151                   target_arch.GetTriple().getTriple().c_str()
 1152                       ? target_arch.GetTriple().getTriple().c_str()
 1537     tid = StringConvert::ToUInt64(value.c_str(), LLDB_INVALID_THREAD_ID, 16);
 1542   tid = StringConvert::ToUInt64(value.c_str(), LLDB_INVALID_THREAD_ID, 16);
 1555     pc = StringConvert::ToUInt64(value.c_str(), LLDB_INVALID_ADDRESS, 16);
 1560   pc = StringConvert::ToUInt64(value.c_str(), LLDB_INVALID_ADDRESS, 16);
 1800       thread_sp->SetName(thread_name.empty() ? nullptr : thread_name.c_str());
 1882               StringExtractor desc_extractor(description.c_str());
 1914                   *thread_sp, description.c_str()));
 1978                       *thread_sp, signo, description.c_str()));
 1983                   *thread_sp, signo, description.c_str()));
 1991                 stop_info_sp->SetDescription(description.c_str());
 1994                   *thread_sp, description.c_str()));
 2631   SetExitStatus(exit_status, exit_string.c_str());
 3671   StringExtractorGDBRemote stop_info(pkt.c_str() + 5);
 3787                 process->SetExitStatus(exit_status, desc_string.c_str());
 4013       buf = std::make_shared<DataBufferHeap>(response_string.c_str(),
 4252               __FUNCTION__, module_file_spec.GetPath().c_str(),
 4253               arch.GetTriple().getTriple().c_str());
 4261               __FUNCTION__, module_file_spec.GetPath().c_str(),
 4262               arch.GetTriple().getTriple().c_str(), stream.GetData());
 4457             set_name.SetCString(gdb_group.c_str());
 4500                                  ConstString(xml_filename.c_str()), raw,
 4507   if (xml_document.ParseMemory(raw.c_str(), raw.size(), xml_filename.c_str())) {
 4507   if (xml_document.ParseMemory(raw.c_str(), raw.size(), xml_filename.c_str())) {
 4657     LLDB_LOGF(log, "parsing: %s", raw.c_str());
 4660     if (!doc.ParseMemory(raw.c_str(), raw.size(), "noname.xml"))
 4724                       name.c_str());
 4746     LLDB_LOGF(log, "parsing: %s", raw.c_str());
 4749     if (!doc.ParseMemory(raw.c_str(), raw.size(), "noname.xml"))
 4785                       (base_is_offset ? "offset" : "absolute"), name.c_str());
 4966         input.substr(pos, found).c_str());
 5082           packet.slice(0, strlen(s_async_json_packet_prefix)).str().c_str());
 5177                                    m_cmd_name.c_str());
 5213                                    m_cmd_name.c_str());
 5237                                    m_cmd_name.c_str());
 5278           m_cmd_name.c_str());
 5328                                    m_cmd_name.c_str());
tools/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp
   58   return m_thread_name.c_str();
   89       return m_dispatch_queue_name.c_str();
  108         return m_dispatch_queue_name.c_str();
tools/lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp
  313         addr = ::strtoul(corefile_identifier.c_str() + p, nullptr, 16);
  325           addr, corefile_identifier.c_str());
  340                   corefile_identifier.c_str());
tools/lldb/source/Plugins/Process/mach-core/ThreadMachCore.cpp
   42   return m_thread_name.c_str();
tools/lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
  295         *stop_thread, desc_stream.str().c_str());
  761                                    m_cmd_name.c_str());
tools/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
  763   return PythonModule(PyRefType::Borrowed, PyImport_AddModule(str.c_str()));
tools/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
  599     auto mod = Import(s.c_str());
  720         PyErr_SetString(PyExc_Exception, E.message().c_str());
tools/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
  448   run_string.Printf("%s = dict()", m_dictionary_name.c_str());
  456       m_dictionary_name.c_str());
  463                     m_dictionary_name.c_str());
  473       m_dictionary_name.c_str());
  480                     m_dictionary_name.c_str());
  486                     m_dictionary_name.c_str(), m_debugger.GetID());
  696                       m_dictionary_name.c_str(), m_debugger.GetID());
  709                       m_dictionary_name.c_str(), m_debugger.GetID());
  805         "can't find callable: %s", callable_name.str().c_str());
  968                 Py_BuildValue("(Os)", session_dict.get(), command_str.c_str()));
 1008           "python failed attempting to evaluate '%s'\n", command_str.c_str());
 1240         llvm::toString(maybe_args.takeError()).c_str());
 1265   SetBreakpointCommandCallback(bp_options, oneliner.c_str(), extra_args_sp, 
 1347       function_def_string.c_str(),
 1426               auto_generated_function_name.c_str());
 1450               auto_generated_function_name.c_str());
 1480   sstr.Printf("class %s:", auto_generated_class_name.c_str());
 1515                                                    m_dictionary_name.c_str());
 1579         class_name, m_dictionary_name.c_str(), process_sp);
 1865         class_name, python_interpreter->m_dictionary_name.c_str(),
 1971         class_name, python_interpreter->m_dictionary_name.c_str(), args_data,
 2028   if (LoadScriptingModule(file_spec.GetPath().c_str(), true, true, error,
 2092         class_name, python_interpreter->m_dictionary_name.c_str(), valobj);
 2114         class_name, m_dictionary_name.c_str(), debugger_sp);
 2150                 auto_generated_function_name.c_str());
 2153                 auto_generated_function_name.c_str());
 2176               auto_generated_function_name.c_str());
 2238   const char *python_function_name = bp_option_data->script_source.c_str();
 2272               python_interpreter->m_dictionary_name.c_str(), stop_frame_sp,
 2289   const char *python_function_name = wp_option_data->script_source.c_str();
 2320               python_interpreter->m_dictionary_name.c_str(), stop_frame_sp,
 2550     ret_val.SetCStringWithLength(buffer.c_str(), buffer.size());
 2573         impl_function, m_dictionary_name.c_str(), process_sp, output);
 2598         impl_function, m_dictionary_name.c_str(), thread_sp, output);
 2623         impl_function, m_dictionary_name.c_str(), target_sp, output);
 2648         impl_function, m_dictionary_name.c_str(), frame_sp, output);
 2673         impl_function, m_dictionary_name.c_str(), value_sp, output);
 2745                             directory.c_str(), directory.c_str());
 2745                             directory.c_str(), directory.c_str());
 2772     command_stream.Printf("sys.modules.__contains__('%s')", basename.c_str());
 2787     command_stream.Printf("sys.getrefcount(%s)", basename.c_str());
 2804         command_stream.Printf("import %s ; reload_module(%s)", basename.c_str(),
 2805                               basename.c_str());
 2807         command_stream.Printf("reload_module(%s)", basename.c_str());
 2809       command_stream.Printf("import %s", basename.c_str());
 2820     if (!LLDBSwigPythonCallModuleInit(basename.c_str(),
 2821                                       m_dictionary_name.c_str(), debugger_sp)) {
 2829       command_stream.Printf("%s", basename.c_str());
 2916         impl_function, m_dictionary_name.c_str(), debugger_sp, args_str.c_str(),
 2916         impl_function, m_dictionary_name.c_str(), debugger_sp, args_str.c_str(),
 2960                                               debugger_sp, args_str.c_str(),
 2987           command.c_str(), ScriptInterpreter::eScriptReturnTypeCharStrOrNone,
 3230   PyRun_SimpleString(statement.c_str());
tools/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
  269   const char *GetDictionaryName() { return m_dictionary_name.c_str(); }
tools/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
  270                   GetFilterAttribute(), m_regex_text.c_str());
  322                   GetFilterAttribute(), m_match_text.c_str());
  671                                      rule_text.str().c_str());
  690                                      rule_text.str().c_str());
  699                                      attribute.str().c_str());
tools/lldb/source/Plugins/SymbolFile/DWARF/AppleDWARFIndex.cpp
  183       ref.die_offset(), name.str().c_str());
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
  995                               .c_str());
 1027                               object_pointer_name.c_str());
 1031                                     object_pointer_name.c_str(),
 1139               metadata.SetObjectPtrName(object_pointer_name.c_str());
 1143                         object_pointer_name.c_str(),
 1194                 GetUnitName(die).c_str());
 2127                     pos->first->getNameAsString().c_str());
 2142                     base_pos->first->getNameAsString().c_str());
 2156                     vbase_pos->first->getNameAsString().c_str());
 2306                       qualified_name.c_str());
 2719                       GetUnitName(parent_die).c_str());
 2872                       die.GetOffset(), name, GetUnitName(parent_die).c_str());
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
  217       toString(expected_ranges.takeError()).c_str());
 1012   return storage.c_str();
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.cpp
   51   return m_qualified_name.c_str();
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
  547               StringConvert::ToUInt32(matches[1].str().c_str(), UINT32_MAX, 10);
  549               StringConvert::ToUInt32(matches[2].str().c_str(), UINT32_MAX, 10);
  551               StringConvert::ToUInt32(matches[3].str().c_str(), UINT32_MAX, 10);
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
  521               "%s", error.GetString().str().c_str());
 1659                   dwo_module_spec.GetFileSpec().GetPath().c_str(),
 2127         regex.GetText().str().c_str(), max_matches);
 2307                      regex.GetText().str().c_str());
 2314         regex.GetText().str().c_str());
 2952                     qualified_name.c_str());
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
   67       oso_module->GetSpecificationDescription().c_str());
  430               oso_file.GetPath().c_str(), llvm::to_string(oso_mod_time).c_str(),
  430               oso_file.GetPath().c_str(), llvm::to_string(oso_mod_time).c_str(),
  431               llvm::to_string(comp_unit_info->oso_mod_time).c_str());
  457                              .c_str());
 1032                      regex.GetText().str().c_str());
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp
  256       context = GetOrCreateNamespaceDecl(str.c_str(), *context);
  527     context = GetOrCreateNamespaceDecl(ns_name.c_str(), *context);
  570     context = GetOrCreateNamespaceDecl(ns.c_str(), *context);
  782       m_clang.CreateRecordType(context, access, uname.c_str(), ttk,
  837       &scope, var_info.name.str().c_str(), qt);
  884   CompilerType ct = m_clang.CreateTypedefType(ToCompilerType(qt), uname.c_str(),
 1018       parent, proc_name.str().c_str(), func_ct, storage, false);
 1086         &function_decl, param_name.str().c_str(), param_type_ct,
 1108       uname.c_str(), decl_context, declaration, ToCompilerType(underlying_type),
tools/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
  811       toOpaqueUid(var_id), name.str().c_str(), global_name.c_str(), type_sp,
  811       toOpaqueUid(var_id), name.str().c_str(), global_name.c_str(), type_sp,
  839       toOpaqueUid(var_id), constant.Name.str().c_str(), global_name.c_str(),
  839       toOpaqueUid(var_id), constant.Name.str().c_str(), global_name.c_str(),
 1354       toOpaqueUid(var_id), name.c_str(), name.c_str(), sftype, var_scope,
 1354       toOpaqueUid(var_id), name.c_str(), name.c_str(), sftype, var_scope,
tools/lldb/source/Plugins/SymbolFile/NativePDB/UdtRecordCompleter.cpp
  210       m_derived_ct, decl, name.str().c_str(), enumerator.Value);
tools/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
  421           decl_context, access, name.c_str(), tag_type_kind,
  508       ast_enum = m_ast.CreateEnumerationType(name.c_str(), decl_context, decl,
  561           target_ast_type, name.c_str(), CompilerDeclContext(&m_ast, decl_ctx));
  910           decl_context, name.c_str(),
  935         decl_context, name.c_str(), type->GetForwardCompilerType(), storage,
 1166       enum_type, decl, name.c_str(), raw_value, byte_size * 8);
 1235           record_type.GetTypeName().GetCString(), member_name.c_str(),
 1252           record_type, member_name.c_str(), member_comp_type, access, bit_size);
 1268           record_type, member_name.c_str(), member_comp_type, access);
 1368       record_type.GetOpaqueQualType(), name.c_str(),
tools/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
 1015   auto mangled_cstr = mangled.empty() ? nullptr : mangled.c_str();
 1022       var_uid, var_name.c_str(), mangled_cstr, type_sp, scope, context_scope,
 1277       if (CPlusPlusLanguage::IsCPPMangledName(name.c_str())) {
 1407                pub_symbol->getName().c_str(), // name
 1752                                              path.c_str(), id, lang, optimized);
tools/lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp
   87                      module_sp->GetFileSpec().GetPath().c_str());
tools/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp
  493               item.enqueuing_queue_label.c_str());
  532       return_thread_sp->SetQueueName(item.enqueuing_queue_label.c_str());
  556   extended_thread_sp->SetQueueName(queue_item_sp->GetQueueLabel().c_str());
tools/lldb/source/Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.cpp
   34       ::LLVMCreateDisasm(arch.GetTriple().getTriple().c_str(), nullptr,
 1573     unwind_plan.SetSourceName(unwind_plan_source.c_str());
tools/lldb/source/Symbol/Block.cpp
  344                   func_decl.GetFile().GetPath().c_str(), func_decl.GetLine(),
  347                   module_sp->GetFileSpec().GetPath().c_str());
  356                   module_sp->GetFileSpec().GetPath().c_str());
tools/lldb/source/Symbol/ClangASTContext.cpp
  671   return m_target_triple.c_str();
 2329              named_decl->getDeclName().getAsString().c_str());
 2344            record_decl->getDeclName().getAsString().c_str(),
 2351              named_decl->getDeclName().getAsString().c_str());
 5802         ConstString name(enum_pos->getNameAsString().c_str());
 6812                         parent_ast_type, ivar_decl->getNameAsString().c_str());
 9131             s->Printf("(%s:%u) ", field_type_name.c_str(),
 9134             s->Printf("(%s) ", field_type_name.c_str());
 9137         s->Printf("%s = ", field->getNameAsString().c_str());
 9181           s->Printf("%s", enum_pos->getNameAsString().c_str());
 9752         printf("class %s", cxx_record_decl->getName().str().c_str());
 9759         printf("enum %s", enum_decl->getName().str().c_str());
 9774           printf("@class %s", class_interface_decl->getName().str().c_str());
 9783                                .c_str());
 9822                                    template_basename.c_str(), tag_decl_kind,
tools/lldb/source/Symbol/ClangASTImporter.cpp
  134                   named_decl->getNameAsString().c_str(), user_id);
  881         new_map, ConstString(namespace_string.c_str()), parent_map);
 1065                 name_string.c_str(), static_cast<void *>(from), user_id);
tools/lldb/source/Symbol/CompilerType.cpp
  589     if (strcmp(field_name.c_str(), name) == 0) {
tools/lldb/source/Symbol/Function.cpp
  310                       GetName().GetCString(), m_comp_unit->GetPath().c_str());
tools/lldb/source/Symbol/LocateSymbolFile.cpp
  161                   dsym_fspec.GetPath().c_str());
  193                         dsym_fspec.GetPath().c_str());
tools/lldb/source/Symbol/ObjectFile.cpp
   43         module_sp->GetFileSpec().GetPath().c_str(),
  182                        module_sp->GetFileSpec().GetPath().c_str(),
  279             module_sp->GetSpecificationDescription().c_str(),
  280             m_file ? m_file.GetPath().c_str() : "<NULL>", m_file_offset,
  298             module_sp->GetSpecificationDescription().c_str(),
tools/lldb/source/Symbol/Symbol.cpp
  164         (uintptr_t)ConstString(fspec.GetPath().c_str()).GetCString());
tools/lldb/source/Symbol/SymbolContext.cpp
 1088     ConstString func_name(m_function_spec.c_str());
 1144       s->Printf("Module: %s\n", m_module_spec.c_str());
 1177     s->Printf("Function: %s.\n", m_function_spec.c_str());
 1182     s->Printf("Class name: %s.\n", m_class_name.c_str());
tools/lldb/source/Symbol/Symtab.cpp
   85               file_spec.GetPath().c_str(), object_name ? "(" : "",
tools/lldb/source/Symbol/Variable.cpp
  395           variable_expr_path.str().c_str());
  399     if (!callback(baton, variable_name.c_str(), variable_list)) {
  426               variable_sub_expr_path.str().c_str(),
  721             if (strstr(variable_name, token.c_str()) == variable_name) {
  722               if (strcmp(variable_name, token.c_str()) == 0) {
tools/lldb/source/Target/InstrumentationRuntimeStopInfo.cpp
   27   return m_description.c_str();
tools/lldb/source/Target/LanguageRuntime.cpp
  291         parent->LoadSubCommand(command->GetCommandName().str().c_str(), command);
tools/lldb/source/Target/ModuleCache.cpp
   74   return JoinPath(modules_dir_spec, uuid.GetAsString().c_str());
   98               module_uuid.GetAsString().c_str(), error.AsCString());
  133                platform_module_spec.GetPath().c_str());
  159   m_file_spec = JoinPath(lock_dir_spec, uuid.GetAsString().c_str());
  202     return Status("Failed to rename file %s to %s: %s", tmp_file_path.c_str(),
  203                   module_file_path.GetPath().c_str(),
  204                   err_code.message().c_str());
  210                   module_file_path.GetPath().c_str(), error.AsCString());
  232     return Status("Module %s not found", module_file_path.GetPath().c_str());
  236                   module_file_path.GetPath().c_str());
  245                   module_file_path.GetPath().c_str(), error.AsCString());
  284                   module_spec.GetUUID().GetAsString().c_str(),
  289   error = Get(root_dir_spec, escaped_hostname.c_str(), module_spec,
  301   error = Put(root_dir_spec, escaped_hostname.c_str(), module_spec,
  307   error = Get(root_dir_spec, escaped_hostname.c_str(), module_spec,
  323   error = Put(root_dir_spec, escaped_hostname.c_str(), module_spec,
tools/lldb/source/Target/Platform.cpp
  419       strm.Printf(" (%s)", s.c_str());
  425     strm.Printf("    Kernel: %s\n", s.c_str());
  445     strm.Printf("Platform-specific connection: %s\n", specific_info.c_str());
  578     recurse_dst.GetDirectory().SetCString(dst_dir.GetPath().c_str());
  627         "invalid file detected during copy: %s", src.GetPath().c_str());
  639             src.GetPath().c_str(), dst.GetPath().c_str());
  639             src.GetPath().c_str(), dst.GetPath().c_str());
  666               dst.GetPath().c_str());
  676             dst.GetPath().c_str());
  691             src.GetPath().c_str(), dst.GetPath().c_str(),
  691             src.GetPath().c_str(), dst.GetPath().c_str(),
  692             fixed_dst.GetPath().c_str());
  811   return m_name.c_str();
  876                                    module_spec.GetFileSpec().GetPath().c_str());
 1027                   __FUNCTION__, num_resumes, shell_str.c_str());
 1347   return m_local_cache_directory.c_str();
 1619             __FUNCTION__, module_spec.GetUUID().GetAsString().c_str(),
 1634                                    dst_file_spec.GetPath().c_str());
 1781       triple = arch.GetTriple().getTriple().c_str();
tools/lldb/source/Target/Process.cpp
  329           option_arg.empty() ? "<null>" : option_arg.str().c_str());
  343           option_arg.empty() ? "<null>" : option_arg.str().c_str());
 1095     return m_exit_string.c_str();
 2330     WriteMemory(return_addr, buffer.c_str(), size, error);
 2400               file_spec.GetPath().c_str());
 2740   return m_exit_string.c_str();
 2884       const char *triple_str = process_arch.GetTriple().getTriple().c_str();
 2911                   platform_arch.GetTriple().getTriple().c_str());
 2923                   __FUNCTION__, process_arch.GetTriple().getTriple().c_str(),
 2940                 exe_module_sp ? exe_module_sp->GetFileSpec().GetPath().c_str()
 2957                 exe_module_sp ? exe_module_sp->GetFileSpec().GetPath().c_str()
 2996           exe_module_sp ? exe_module_sp->GetFileSpec().GetPath().c_str()
 4240       memcpy(buf, one_profile_data.c_str(), buf_size);
 4244       memcpy(buf, one_profile_data.c_str(), bytes_available);
 4261       memcpy(buf, m_stdout_data.c_str(), buf_size);
 4265       memcpy(buf, m_stdout_data.c_str(), bytes_available);
 4280       memcpy(buf, m_stderr_data.c_str(), buf_size);
 4284       memcpy(buf, m_stderr_data.c_str(), bytes_available);
 4948                     llvm::to_string(now).c_str(),
 4949                     llvm::to_string(now + *timeout).c_str());
tools/lldb/source/Target/Queue.cpp
   35   return (m_queue_name.empty() ? nullptr : m_queue_name.c_str());
tools/lldb/source/Target/SectionLoadList.cpp
  150                 static_cast<void *>(section_sp.get()), module_name.c_str(),
  188         module_name.c_str(), section_sp->GetName().AsCString(), load_addr);
tools/lldb/source/Target/StackFrame.cpp
  503                                    var_expr.str().c_str());
  683                 var_expr_path_strm.GetData(), var_expr.str().c_str());
  689                 var_expr_path_strm.GetData(), var_expr.str().c_str());
  724                   original_var_expr.str().c_str());
  747             var_expr_path_strm.GetData(), var_expr.str().c_str());
  772                                        index_expr.str().c_str());
  959                                        original_index_expr.str().c_str());
  967                                        original_index_expr.str().c_str());
 1047             var_expr.str().c_str());
tools/lldb/source/Target/StackFrameList.cpp
  965     unselected_marker = buffer.c_str();
tools/lldb/source/Target/StackFrameRecognizer.cpp
   31       m_interpreter->CreateFrameRecognizer(m_python_class.c_str());
tools/lldb/source/Target/StopInfo.cpp
  246     return m_description.c_str();
  636     return m_description.c_str();
  975     return m_description.c_str();
  993       return m_description.c_str();
 1015       return m_description.c_str();
 1039     return m_description.c_str();
tools/lldb/source/Target/Target.cpp
  115              target_arch.GetTriple().getTriple().c_str());
  987             "Tried to append to invalid input file %s", path.c_str());
  998   StreamFile out_file(path.c_str(),
 1005                                    path.c_str());
 1076                                    file.GetPath().c_str());
 1083         "Invalid breakpoint data from input file: %s.", file.GetPath().c_str());
 1097           file.GetPath().c_str());
 1111           file.GetPath().c_str(), error.AsCString());
 1393                        executable_sp->GetFileSpec().GetPath().c_str());
 1514             arch_spec.GetTriple().getTriple().c_str());
 1526               arch_spec.GetTriple().getTriple().c_str());
 1550                 m_arch.GetSpec().GetTriple().getTriple().c_str(),
 1551                 arch_spec.GetTriple().getTriple().c_str());
 2196         llvm::toString(std::move(err)).c_str());
 2219         llvm::toString(std::move(err)).c_str());
 2243         llvm::toString(std::move(err)).c_str());
 2833             launch_info.GetExecutableFile().GetPath().c_str());
 3428                     OptionValueSP(new OptionValueString(KV.second.c_str())),
tools/lldb/source/Target/TargetList.cpp
   87                                      triple_str.str().c_str());
  154                   module_spec.GetFileSpec().GetPath().c_str());
  300         debugger, arch.GetTriple().getTriple().c_str(), m_dummy_target_sp);
  325       user_exe_path.str().c_str(), specified_arch.GetArchitectureName());
  388               "\"%s\" doesn't contain architecture %s", file.GetPath().c_str(),
  392                                          file.GetPath().c_str());
  419         target_sp->SetArg0(file.GetPath().c_str());
tools/lldb/source/Target/ThreadPlan.cpp
  118           static_cast<uint64_t>(sp), static_cast<uint64_t>(fp), m_name.c_str(),
tools/lldb/source/Target/ThreadPlanCallFunction.cpp
   70         "%s", llvm::toString(start_address.takeError()).c_str());
tools/lldb/source/Target/ThreadPlanPython.cpp
   51                                 : m_error_str.c_str());
   69           m_class_name.c_str(), m_args_data, m_error_str, 
   78             m_class_name.c_str());
  100             m_class_name.c_str());
  122             m_class_name.c_str());
  144             m_class_name.c_str());
  159             m_class_name.c_str());
  185             m_class_name.c_str());
  191             m_class_name.c_str());
tools/lldb/source/Target/ThreadPlanStepInRange.cpp
  373                     avoid_regexp_to_use->GetText().str().c_str(),
  374                     match.c_str());
tools/lldb/source/Target/ThreadSpec.cpp
   71   return m_name.empty() ? nullptr : m_name.c_str();
   75   return m_queue_name.empty() ? nullptr : m_queue_name.c_str();
tools/lldb/source/Utility/ArchSpec.cpp
 1465   s.Printf("%s-%s-%s", arch_str.empty() ? "*" : arch_str.str().c_str(),
 1466            vendor_str.empty() ? "*" : vendor_str.str().c_str(),
 1467            os_str.empty() ? "*" : os_str.str().c_str());
 1470     s.Printf("-%s", environ_str.str().c_str());
tools/lldb/source/Utility/Args.cpp
  412   return safe_arg.c_str();
tools/lldb/source/Utility/Broadcaster.cpp
  270       listener_sp->m_name.c_str(), static_cast<void *>(listener_sp.get()));
  301              listener_sp->m_name.c_str(),
tools/lldb/source/Utility/FileSpec.cpp
  377   ::snprintf(path, path_max_len, "%s", result.c_str());
tools/lldb/source/Utility/GDBRemote.cpp
   68               bytes_transmitted, GetTypeStr().data(), packet.data.c_str());
tools/lldb/source/Utility/Listener.cpp
   46               m_name.c_str());
   55             __FUNCTION__, m_name.c_str());
   81             __FUNCTION__, m_name.c_str());
  106                 event_mask, acquired_mask, m_name.c_str());
  140                 acquired_mask, m_name.c_str());
  206               static_cast<void *>(this), m_name.c_str(),
  371                   static_cast<void *>(this), m_name.c_str());
  376                   static_cast<void *>(this), m_name.c_str());
tools/lldb/source/Utility/Log.cpp
  118 void Log::PutString(llvm::StringRef str) { PutCString(str.str().c_str()); }
tools/lldb/source/Utility/RegisterValue.cpp
  367           value_str.str().c_str());
  396           value_str.str().c_str());
  418       if (::sscanf(value_string.c_str(), "%f", &flt_val) != 1) {
  420                                        value_string.c_str());
  426       if (::sscanf(value_string.c_str(), "%lf", &dbl_val) != 1) {
  428                                        value_string.c_str());
  434       if (::sscanf(value_string.c_str(), "%Lf", &ldbl_val) != 1) {
  436                                        value_string.c_str());
tools/lldb/source/Utility/Status.cpp
  161   return m_string.c_str();
tools/lldb/source/Utility/Stream.cpp
  137                 str.str().c_str());
tools/lldb/source/Utility/StreamCallback.cpp
   19   m_callback(std::string(Ptr, Size).c_str(), m_baton);
tools/lldb/source/Utility/StringExtractor.cpp
   97     const char *start = m_packet.c_str();
  112     const char *start = m_packet.c_str();
  127     const char *start = m_packet.c_str();
  142     const char *start = m_packet.c_str();
tools/lldb/source/Utility/StringExtractorGDBRemote.cpp
   66   const char *packet_cstr = m_packet.c_str();
tools/lldb/source/Utility/StringList.cpp
   82     return m_strings[idx].c_str();
  147   return SplitIntoLines(lines.c_str(), lines.size());
  235     strm.Printf("%s\n", s.c_str());
tools/lldb/source/Utility/StructuredData.cpp
  121     uint64_t val = strtoul(match.second.str().c_str(), nullptr, 10);
tools/lldb/source/lldb.cpp
   71   return g_version_str.c_str();
tools/lldb/tools/driver/Driver.cpp
  134     SBFileSpec file(command.c_str());
  144           command.c_str());
  165     const char *command = command_entry.contents.c_str();
  534                                EscapeString(m_option_data.m_args[0]).c_str());
  537                                EscapeString(m_option_data.m_args[0]).c_str());
  541                                EscapeString(m_option_data.m_core_file).c_str());
  549               " %s", EscapeString(m_option_data.m_args[arg_idx]).c_str());
  554                              EscapeString(m_option_data.m_core_file).c_str());
  558           EscapeString(m_option_data.m_process_name).c_str());
  665         repl_options = m_option_data.m_repl_options.c_str();
  738   table.PrintHelp(llvm::outs(), usage_str.c_str(), "LLDB", false);
tools/lldb/tools/lldb-server/Acceptor.cpp
   91     if (!FindProtocolByScheme(scheme.str().c_str(), socket_protocol))
   93                                      scheme.str().c_str());
tools/lldb/tools/lldb-server/lldb-gdbserver.cpp
  163   const long int pid = strtol(attach_target.c_str(), &end_p, 10);
  167       static_cast<size_t>(end_p - attach_target.c_str()) ==
  204   return port_pipe.Write(socket_id.c_str(), socket_id.size() + 1,
  273       connection_portno = StringConvert::ToUInt32(connection_port.c_str(), 0);
  290                final_host_and_port.c_str());
  398   while ((ch = getopt_long_only(argc, argv, short_options.c_str(),
  524                   progname, subcommand, named_pipe_path.c_str(), 
tools/lldb/tools/lldb-server/lldb-platform.cpp
  120                                            ErrorMsgBuffer.c_str());
  127                                            ErrorMsgBuffer.c_str(),
  128                                            file_spec.GetPath().c_str(),
  129                                            ErrorMsgBuffer.c_str());
  134                   file_spec.GetPath().c_str());
  177   while ((ch = getopt_long_only(argc, argv, short_options.c_str(),
  299               socket_file.GetPath().c_str(), error.AsCString());
tools/lldb/tools/lldb-test/lldb-test.cpp
  382             Command.c_str(), /*add_to_history*/ eLazyBoolNo, Result)) {
tools/lldb/tools/lldb-vscode/BreakpointBase.cpp
   19 void BreakpointBase::SetCondition() { bp.SetCondition(condition.c_str()); }
tools/lldb/tools/lldb-vscode/FunctionBreakpoint.cpp
   20   bp = g_vsc.target.BreakpointCreateByName(functionName.c_str());
tools/lldb/tools/lldb-vscode/LLDBUtils.cpp
   25     interp.HandleCommand(command.c_str(), result);
tools/lldb/tools/lldb-vscode/SourceBreakpoint.cpp
   19   bp = g_vsc.target.BreakpointCreateByLocation(source_path.str().c_str(), line);
tools/lldb/tools/lldb-vscode/lldb-vscode.cpp
  120     argv.push_back(s.c_str());
tools/lldb/unittests/Editline/EditlineTest.cpp
  147       ::write(_pty_master_fd, line.c_str(),
tools/lldb/unittests/Host/SocketAddressTest.cpp
   30   ASSERT_STREQ("127.0.0.1", sa.GetIPAddress().c_str());
   34   ASSERT_STREQ("0.0.0.0", sa.GetIPAddress().c_str());
tools/lldb/unittests/Host/SocketTest.cpp
   31   EXPECT_STREQ("localhost", host_str.c_str());
   32   EXPECT_STREQ("1138", port_str.c_str());
   56   EXPECT_STREQ("", host_str.c_str());
   57   EXPECT_STREQ("12345", port_str.c_str());
   63   EXPECT_STREQ("*", host_str.c_str());
   64   EXPECT_STREQ("0", port_str.c_str());
   70   EXPECT_STREQ("*", host_str.c_str());
   71   EXPECT_STREQ("65535", port_str.c_str());
   77   EXPECT_STREQ("::1", host_str.c_str());
   78   EXPECT_STREQ("12345", port_str.c_str());
   84   EXPECT_STREQ("abcd:12fg:AF58::1", host_str.c_str());
   85   EXPECT_STREQ("12345", port_str.c_str());
  128   EXPECT_STREQ("127.0.0.1", socket_a_up->GetRemoteIPAddress().c_str());
  129   EXPECT_STREQ("127.0.0.1", socket_b_up->GetRemoteIPAddress().c_str());
tools/lldb/unittests/Host/SocketTestUtilities.cpp
   72   strm.Printf("[%s]:0", listen_remote_ip.c_str());
   78                  "[%s]:%u", listen_remote_ip.c_str(), s.GetLocalPortNumber());
   97       ip.c_str(), NULL, AF_UNSPEC, SOCK_STREAM, IPPROTO_TCP);
  103   return inet_pton(AF_INET, ip.c_str(), &(sock_addr.sin_addr)) != 0;
tools/lldb/unittests/Language/CPlusPlus/CPlusPlusLanguageTest.cpp
  153         test.input.c_str(), context, basename));
tools/lldb/unittests/Language/Highlighting/HighlighterTest.cpp
   96   EXPECT_STREQ(output.c_str(), code);
tools/lldb/unittests/Process/gdb-remote/GDBRemoteClientBaseTest.cpp
  304   stream.PutEscapedBytes(json_packet.c_str(), json_packet.length());
tools/lldb/unittests/Symbol/TestClangASTContext.cpp
   39     m_ast.reset(new ClangASTContext(triple.c_str()));
tools/lldb/unittests/Target/ModuleCacheTest.cpp
  137   EXPECT_STREQ(module_uuid, module_sp->GetUUID().GetAsString().c_str());
tools/lldb/unittests/TestingSupport/TestUtilities.cpp
   63     GTEST_LOG_(WARNING) << "Failed to delete `" << Name->c_str()
tools/lldb/unittests/Utility/CompletionRequestTest.cpp
   24   EXPECT_STREQ(request.GetRawLine().str().c_str(), command.c_str());
   24   EXPECT_STREQ(request.GetRawLine().str().c_str(), command.c_str());
   41   EXPECT_STREQ(request.GetRawLine().str().c_str(), command.c_str());
   41   EXPECT_STREQ(request.GetRawLine().str().c_str(), command.c_str());
   96   EXPECT_STREQ(request.GetRawLine().str().c_str(), command.c_str());
   96   EXPECT_STREQ(request.GetRawLine().str().c_str(), command.c_str());
  107   EXPECT_STREQ(request.GetRawLine().str().c_str(), command.c_str());
  107   EXPECT_STREQ(request.GetRawLine().str().c_str(), command.c_str());
tools/lldb/unittests/Utility/LogTest.cpp
  224     EXPECT_EQ(1, sscanf(Msg.str().c_str(), "%d Hello World", &seq_no));
  234     sscanf(Msg.str().c_str(), "%[^:]:%s                                 Hello World", File, Function);
tools/lldb/unittests/Utility/OptionsWithRawTest.cpp
   20   ASSERT_STREQ(args.GetRawPart().c_str(), "");
   27   ASSERT_STREQ(args.GetRawPart().c_str(), " ");
   34   ASSERT_STREQ(args.GetRawPart().c_str(), "  ");
   41   ASSERT_STREQ(args.GetRawPart().c_str(), "-foo bar");
   48   ASSERT_STREQ(args.GetRawPart().c_str(), "foo bar --");
   55   ASSERT_STREQ(args.GetRawPart().c_str(), "-foo \"--\" bar");
   69   ASSERT_STREQ(args.GetRawPart().c_str(), "");
   84   ASSERT_STREQ(args.GetRawPart().c_str(), "");
   98   ASSERT_STREQ(args.GetRawPart().c_str(), " ");
  112   ASSERT_STREQ(args.GetRawPart().c_str(), "bar");
  126   ASSERT_STREQ(args.GetRawPart().c_str(), "bar");
  140   ASSERT_STREQ(args.GetRawPart().c_str(), "bar baz");
  154   ASSERT_STREQ(args.GetRawPart().c_str(), "bar \" ");
  168   ASSERT_STREQ(args.GetRawPart().c_str(), "bar \"a\" ");
  181   ASSERT_STREQ(args.GetRawPart().c_str(), "bar");
tools/lldb/unittests/Utility/UriParserTest.cpp
   56   EXPECT_STREQ(testCase.m_scheme, scheme.str().c_str());
   57   EXPECT_STREQ(testCase.m_hostname, hostname.str().c_str());
   59   EXPECT_STREQ(testCase.m_path, path.str().c_str());
   93   EXPECT_STREQ(testCase.m_scheme, scheme.str().c_str());
   94   EXPECT_STREQ(testCase.m_hostname, hostname.str().c_str());
   96   EXPECT_STREQ(testCase.m_path, path.str().c_str());
tools/lldb/unittests/Utility/VASprintfTest.cpp
   37   ASSERT_TRUE(Sprintf(BigBuffer, "%s", TestStr.c_str()));
   38   EXPECT_STREQ(TestStr.c_str(), BigBuffer.c_str());
   45   ASSERT_TRUE(Sprintf(SmallBuffer, "%s", TestStr.c_str()));
   46   EXPECT_STREQ(TestStr.c_str(), SmallBuffer.c_str());
   65   ASSERT_TRUE(setlocale(LC_ALL, Current.c_str()));
tools/lli/lli.cpp
  713           printf("%s ", Name.c_str());
  843           J->getObjLinkingLayer(), EAItr->c_str())));
  877     ArgV.push_back(Arg.c_str());
  953     int rc = execv(ChildExecPath.c_str(), args);
tools/llvm-cov/llvm-cov.cpp
   81       argv[1] = Invocation.c_str();
tools/llvm-cxxfilt/llvm-cxxfilt.cpp
   61   const char *DecoratedStr = Mangled.c_str();
tools/llvm-elfabi/ELFObjHandler.cpp
   71   return createError(Stream.str().c_str());
tools/llvm-ifs/llvm-ifs.cpp
  148     IO.mapRequired(Name.c_str(), Sym);
  154       IO.mapRequired(Sym.Name.c_str(), const_cast<IFSSymbol &>(Sym));
tools/llvm-itanium-demangle-fuzzer/llvm-itanium-demangle-fuzzer.cpp
   18   if (char *demangle = llvm::itaniumDemangle(NullTerminatedString.c_str(), nullptr,
tools/llvm-jitlink/llvm-jitlink.cpp
  573     if (sys::DynamicLibrary::LoadLibraryPermanently(Dylib.c_str(), &ErrMsg))
tools/llvm-lto/llvm-lto.cpp
  390         Buffer->getBufferStart(), Buffer->getBufferSize(), Filename.c_str(),
  983   CodeGen.setCpu(MCPU.c_str());
tools/llvm-lto2/llvm-lto2.cpp
  144     errs() << "llvm-lto2: " << Msg << ": " << EIB.message().c_str() << '\n';
tools/llvm-microsoft-demangle-fuzzer/llvm-microsoft-demangle-fuzzer.cpp
   17   free(llvm::microsoftDemangle(NullTerminatedString.c_str(), nullptr, nullptr,
tools/llvm-nm/llvm-nm.cpp
  697       itaniumDemangle(Name.str().c_str(), nullptr, nullptr, &Status);
 1251   const char *P = NameBuffer.c_str();
 1450         const char *Q = ExportsNameBuffer.c_str();
 1504         const char *Q = BindsNameBuffer.c_str();
 1564         const char *Q = LazysNameBuffer.c_str();
 1634         const char *Q = WeaksNameBuffer.c_str();
 1724         const char *Q = FunctionStartsNameBuffer.c_str();
tools/llvm-objcopy/COFF/COFFObjcopy.cpp
  148                                       Sym.Name.str().c_str()));
tools/llvm-objcopy/COFF/Writer.cpp
   33                                  R.TargetName.str().c_str(), R.Target);
   51                                  Sym.Name.str().c_str());
   70                 Sym.Name.str().c_str());
   87                                  Sym.Name.str().c_str());
tools/llvm-objcopy/CopyConfig.cpp
  125           Flag.str().c_str());
  173                              Split.second.str().c_str());
  247                              OriginalTargetName.str().c_str());
  343                                Filename.str().c_str(), LineNo + 1);
  358   OptTable.PrintHelp(OS, (ToolName + " input [output]").str().c_str(),
  359                      (ToolName + " tool").str().c_str());
  398                              Arg->getAsString(InputArgs).c_str());
  487                 .c_str());
  530                                Old2New.first.str().c_str());
  546                                SR->OriginalName.str().c_str());
  564           SFU->Name.str().c_str());
  574           SR.OriginalName.str().c_str(), SR.OriginalName.str().c_str(),
  574           SR.OriginalName.str().c_str(), SR.OriginalName.str().c_str(),
  575           SR.NewName.str().c_str());
  580           SR.NewName.str().c_str(), SR.OriginalName.str().c_str(),
  580           SR.NewName.str().c_str(), SR.OriginalName.str().c_str(),
  581           SR.NewName.str().c_str());
  785                              Arg->getAsString(InputArgs).c_str());
  877                 Filename.str().c_str())))
tools/llvm-objcopy/ELF/ELFConfig.cpp
   49         SI.SymbolName.str().c_str());
   63                              Flags[0].str().c_str());
   97                              join(UnsupportedFlags, "', '").c_str());
  116                                Config.NewSymbolVisibility->str().c_str());
tools/llvm-objcopy/ELF/ELFObjcopy.cpp
  208   return createStringError(EC, FullMsg.c_str(), std::forward<Ts>(Args)...);
  291                                  SecName.str().c_str());
  305                            SecName.str().c_str());
tools/llvm-objcopy/ELF/Object.cpp
  825                              R.RelocSymbol->Name.c_str());
 2251         "Section '%s' address range [0x%llx, 0x%llx] is not 32 bit", Sec.Name.c_str(),
tools/llvm-objdump/ELFDump.cpp
  168     outs() << format("  %-21s", Str.c_str());
tools/llvm-objdump/MachODump.cpp
10328                      SegmentName.str().c_str(), SectionName.str().c_str(),
10328                      SegmentName.str().c_str(), SectionName.str().c_str(),
10329                      Address, Entry.typeName().str().c_str());
tools/llvm-objdump/llvm-objdump.cpp
 1741                        Name.str().c_str(), Size)
 1747                        Name.str().c_str(), Size)
tools/llvm-opt-report/OptReport.cpp
  150       MemoryBuffer::getFile(InputFileName.c_str());
  338                 itaniumDemangle(FuncName.c_str(), nullptr, nullptr, &Status);
tools/llvm-profdata/llvm-profdata.cpp
 1155       argv[1] = Invocation.c_str();
tools/llvm-readobj/ELFDumper.cpp
 3690        << format(" %-20s ", TypeString.c_str());
 3879                  versionFlagToString(Verdef->vd_flags).c_str(),
 3938                    versionFlagToString(Vernaux->vna_flags).c_str(),
 4902                                     toString(RelSecOrErr.takeError()).c_str()),
tools/llvm-reduce/llvm-reduce.cpp
   98         OutputFilename = InputFilename.c_str();
tools/llvm-rtdyld/llvm-rtdyld.cpp
  352     if (sys::DynamicLibrary::LoadLibraryPermanently(Dylib.c_str(), &ErrMsg))
tools/llvm-size/llvm-size.cpp
  226              << format(fmt.str().c_str(), Seg.vmsize);
  240         outs() << format(fmt.str().c_str(), Sec.size);
  248         outs() << "\ttotal " << format(fmt.str().c_str(), sec_total) << "\n";
  253              << format(fmt.str().c_str(), Seg_vmsize);
  268         outs() << format(fmt.str().c_str(), Sec_size);
  276         outs() << "\ttotal " << format(fmt.str().c_str(), sec_total) << "\n";
  279   outs() << "total " << format(fmt.str().c_str(), total) << "\n";
  411     outs() << format(fmt.str().c_str(), static_cast<const char *>("section"),
  434       outs() << format(fmt.str().c_str(), name_or_err->str().c_str(), size, addr);
  434       outs() << format(fmt.str().c_str(), name_or_err->str().c_str(), size, addr);
  440       outs() << format(fmt.str().c_str(), std::string("*COM*").c_str(),
  440       outs() << format(fmt.str().c_str(), std::string("*COM*").c_str(),
  448     outs() << format(fmt.str().c_str(), static_cast<const char *>("Total"),
  499     outs() << format(fmt.str().c_str(), total_text, total_data, total_bss);
  503     outs() << format(fmt.str().c_str(), total, total);
  854   outs() << format(fmt.str().c_str(), TotalObjectText, TotalObjectData,
  859   outs() << format(fmt.str().c_str(), TotalObjectTotal, TotalObjectTotal)
tools/llvm-undname/llvm-undname.cpp
   66       microsoftDemangle(S.c_str(), nullptr, nullptr, &Status, Flags);
tools/llvm-xray/xray-fdr-dump.cpp
   45                              DumpInput.c_str());
tools/lto/lto.cpp
  178   return sLastErrorString.c_str();
  305   return unwrap(mod)->getTargetTriple().c_str();
  528   return unwrap(cg)->getProducedBinaryFiles()[index].c_str();
tools/polly/lib/Analysis/ScopBuilder.cpp
 2819   isl::set UserContext = isl::set(scop->getIslCtx(), UserContextStr.c_str());
tools/polly/lib/Analysis/ScopInfo.cpp
 1244 const char *ScopStmt::getBaseName() const { return BaseName.c_str(); }
 1854                                        MemoryKind::Array, BaseName.c_str());
tools/polly/lib/CodeGen/BlockGenerators.cpp
  336   generateConditionalExecution(Stmt, AccDom, Subject.c_str(), [&, this]() {
  772         Stmt, AccDom, Subject.c_str(), [&, this, MA]() {
 1719         Stmt, AccDom, Subject.c_str(), [&, this, MA]() {
tools/polly/lib/CodeGen/IRBuilder.cpp
   80               MDString::get(Ctx, (AliasScopeStr + Array->getName()).c_str()));
tools/polly/lib/CodeGen/IslAst.cpp
  136   Printer = isl_printer_print_str(Printer, str.c_str());
  705           P, MemAcc->getLatestScopArrayInfo()->getName().c_str());
tools/polly/lib/CodeGen/IslNodeBuilder.cpp
  509   if (strcmp(Id.get_name().c_str(), "Loop Vectorizer Disabled") == 0)
tools/polly/lib/CodeGen/PerfMonitor.cpp
   96   TryRegisterGlobal(M, (varname + "_cycles").c_str(), Builder.getInt64(0),
   99   TryRegisterGlobal(M, (varname + "_trip_count").c_str(), Builder.getInt64(0),
tools/polly/lib/Exchange/JSONExporter.cpp
  293                                          Schedule.getValue().str().c_str());
  399           isl_map_read_from_str(S.getIslCtx().get(), Accesses.str().c_str());
tools/polly/lib/External/isl/include/isl/isl-noexceptions.h
 3849   auto res = isl_aff_read_from_str(ctx.release(), str.c_str());
 4001   auto res = isl_aff_find_dim_by_name(get(), static_cast<enum isl_dim_type>(type), name.c_str());
 5369   auto res = isl_basic_map_read_from_str(ctx.release(), str.c_str());
 5575   auto res = isl_basic_map_find_dim_by_name(get(), static_cast<enum isl_dim_type>(type), name.c_str());
 6011   auto res = isl_basic_map_set_tuple_name(copy(), static_cast<enum isl_dim_type>(type), s.c_str());
 6241   auto res = isl_basic_set_read_from_str(ctx.release(), str.c_str());
 6734   auto res = isl_basic_set_set_tuple_name(copy(), s.c_str());
 7440   auto res = isl_id_alloc(ctx.release(), name.c_str(), user);
 7828   auto res = isl_local_space_find_dim_by_name(get(), static_cast<enum isl_dim_type>(type), name.c_str());
 7973   auto res = isl_map_read_from_str(ctx.release(), str.c_str());
 8244   auto res = isl_map_find_dim_by_name(get(), static_cast<enum isl_dim_type>(type), name.c_str());
 8968   auto res = isl_map_set_tuple_name(copy(), static_cast<enum isl_dim_type>(type), s.c_str());
 9545   auto res = isl_multi_aff_read_from_str(ctx.release(), str.c_str());
 9649   auto res = isl_multi_aff_find_dim_by_name(get(), static_cast<enum isl_dim_type>(type), name.c_str());
 9944   auto res = isl_multi_aff_set_tuple_name(copy(), static_cast<enum isl_dim_type>(type), s.c_str());
10007   auto res = isl_multi_pw_aff_read_from_str(ctx.release(), str.c_str());
10123   auto res = isl_multi_pw_aff_find_dim_by_name(get(), static_cast<enum isl_dim_type>(type), name.c_str());
10412   auto res = isl_multi_pw_aff_set_tuple_name(copy(), static_cast<enum isl_dim_type>(type), s.c_str());
10475   auto res = isl_multi_union_pw_aff_read_from_str(ctx.release(), str.c_str());
10603   auto res = isl_multi_union_pw_aff_find_dim_by_name(get(), static_cast<enum isl_dim_type>(type), name.c_str());
10862   auto res = isl_multi_union_pw_aff_set_tuple_name(copy(), static_cast<enum isl_dim_type>(type), s.c_str());
11021   auto res = isl_multi_val_find_dim_by_name(get(), static_cast<enum isl_dim_type>(type), name.c_str());
11178   auto res = isl_multi_val_read_from_str(ctx.release(), str.c_str());
11232   auto res = isl_multi_val_set_tuple_name(copy(), static_cast<enum isl_dim_type>(type), s.c_str());
11411   auto res = isl_pw_aff_read_from_str(ctx.release(), str.c_str());
11563   auto res = isl_pw_aff_find_dim_by_name(get(), static_cast<enum isl_dim_type>(type), name.c_str());
12184   auto res = isl_pw_multi_aff_read_from_str(ctx.release(), str.c_str());
12294   auto res = isl_pw_multi_aff_find_dim_by_name(get(), static_cast<enum isl_dim_type>(type), name.c_str());
12786   auto res = isl_pw_qpolynomial_read_from_str(ctx.release(), str.c_str());
12896   auto res = isl_pw_qpolynomial_find_dim_by_name(get(), static_cast<enum isl_dim_type>(type), name.c_str());
13691   auto res = isl_schedule_read_from_str(ctx.release(), str.c_str());
13861   auto res = isl_schedule_constraints_read_from_str(ctx.release(), str.c_str());
14474   auto res = isl_set_read_from_str(ctx.release(), str.c_str());
14713   auto res = isl_set_find_dim_by_name(get(), static_cast<enum isl_dim_type>(type), name.c_str());
15265   auto res = isl_set_set_tuple_name(copy(), s.c_str());
15718   auto res = isl_space_find_dim_by_name(get(), static_cast<enum isl_dim_type>(type), name.c_str());
15984   auto res = isl_space_set_tuple_name(copy(), static_cast<enum isl_dim_type>(type), s.c_str());
16364   auto res = isl_union_map_read_from_str(ctx.release(), str.c_str());
16558   auto res = isl_union_map_find_dim_by_name(get(), static_cast<enum isl_dim_type>(type), name.c_str());
17214   auto res = isl_union_pw_aff_read_from_str(ctx.release(), str.c_str());
17330   auto res = isl_union_pw_aff_find_dim_by_name(get(), static_cast<enum isl_dim_type>(type), name.c_str());
17696   auto res = isl_union_pw_multi_aff_read_from_str(ctx.release(), str.c_str());
17816   auto res = isl_union_pw_multi_aff_find_dim_by_name(get(), static_cast<enum isl_dim_type>(type), name.c_str());
18150   auto res = isl_union_pw_qpolynomial_read_from_str(ctx.release(), str.c_str());
18256   auto res = isl_union_pw_qpolynomial_find_dim_by_name(get(), static_cast<enum isl_dim_type>(type), name.c_str());
18429   auto res = isl_union_set_read_from_str(ctx.release(), str.c_str());
19031   auto res = isl_val_read_from_str(ctx.release(), str.c_str());
tools/polly/lib/Transform/Simplify.cpp
  405           isl::id Id = isl::manage(isl_id_alloc(Ctx, Name.c_str(), V));
tools/polly/lib/Transform/ZoneAlgo.cpp
  732     Id = isl::id::alloc(IslCtx.get(), Name.c_str(), V);
tools/sancov/sancov.cpp
  431             LineInfo.Line = std::strtoul(LineStr.c_str(), &End, 10);
  432             LineInfo.Column = std::strtoul(ColStr.c_str(), &End, 10);
unittests/ADT/APFloatTest.cpp
  911     EXPECT_STREQ(first, roundtrip.c_str());
unittests/ADT/FoldingSet.cpp
   32   b.AddString(str2.c_str() + 1);
unittests/ADT/HashingTest.cpp
  106   EXPECT_EQ(hash_combine_range(s.c_str(), s.c_str() + s.size()), hash_value(s));
  106   EXPECT_EQ(hash_combine_range(s.c_str(), s.c_str() + s.size()), hash_value(s));
  107   EXPECT_EQ(hash_combine_range(s.c_str(), s.c_str() + s.size() - 1),
  107   EXPECT_EQ(hash_combine_range(s.c_str(), s.c_str() + s.size() - 1),
  109   EXPECT_EQ(hash_combine_range(s.c_str() + 1, s.c_str() + s.size() - 1),
  109   EXPECT_EQ(hash_combine_range(s.c_str() + 1, s.c_str() + s.size() - 1),
  113   EXPECT_EQ(hash_combine_range(ws.c_str(), ws.c_str() + ws.size()),
  113   EXPECT_EQ(hash_combine_range(ws.c_str(), ws.c_str() + ws.size()),
  115   EXPECT_EQ(hash_combine_range(ws.c_str(), ws.c_str() + ws.size() - 1),
  115   EXPECT_EQ(hash_combine_range(ws.c_str(), ws.c_str() + ws.size() - 1),
  117   EXPECT_EQ(hash_combine_range(ws.c_str() + 1, ws.c_str() + ws.size() - 1),
  117   EXPECT_EQ(hash_combine_range(ws.c_str() + 1, ws.c_str() + ws.size() - 1),
unittests/ADT/StringMapTest.cpp
  215     ASSERT_STREQ(ss.str().c_str(), it->first().data());
unittests/Analysis/CFGTest.cpp
   42       report_fatal_error(os.str().c_str());
unittests/Analysis/LazyCallGraphTest.cpp
   35     report_fatal_error(OS.str().c_str());
unittests/Bitcode/BitReaderTest.cpp
   38     report_fatal_error(OS.str().c_str());
unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
 1805       int64_t Val = std::atoll(S.substr(ValPos).c_str());
unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp
   57     *errMsg = LLVMCreateMessage(errMsgString.c_str());
  168     LLVMSetTarget(Module, HostTriple.c_str());
  188     LLVMSetTarget(Module, HostTriple.c_str());
  218     LLVMSetTarget(Module, HostTriple.c_str());
  351   LLVMSetTarget(Module, HostTriple.c_str());
  479   LLVMSetTarget(Module, HostTriple.c_str());
unittests/ExecutionEngine/MCJIT/MCJITTest.cpp
  233         llvm::sys::DynamicLibrary::SearchForAddressOfSymbol(str.c_str());
  275         llvm::sys::DynamicLibrary::SearchForAddressOfSymbol(str.c_str());
unittests/IR/MetadataTest.cpp
  157   EXPECT_STREQ("!\"testing 1 2 3\"", oss.str().c_str());
  167   EXPECT_STREQ("!\"\\00\\0A\\22\\\\\\FF\"", oss.str().c_str());
 2640                oss.str().c_str());
unittests/Passes/PluginsTest.cpp
   32   const char *Argv0 = Argvs.size() > 0 ? Argvs[0].c_str() : "PluginsTests";
   36   sys::path::append(Buf, (Name + LTDL_SHLIB_EXT).c_str());
unittests/Support/ARMAttributeParser.cpp
   34     reinterpret_cast<const uint8_t*>(OS.str().c_str()), OS.str().size());
unittests/Support/CommandLineTest.cpp
  899   SmallVector<const char *, 4> Argv = {"test/test", SelfFileRef.c_str(),
  917   EXPECT_STREQ(Argv[5], SelfFileRef.c_str());
  918   EXPECT_STREQ(Argv[6], NestedFileRef.c_str());
  919   EXPECT_STREQ(Argv[7], SelfFileRef.c_str());
  942   Argv.push_back(ResponseFileRef.c_str());
 1408   EXPECT_STREQ("val1", OptV.c_str());
 1424   EXPECT_STREQ("val3", OptV.c_str());
 1434   EXPECT_STREQ("val4", OptO.c_str());
 1469   EXPECT_STREQ("val1", OptP.c_str());
 1477   EXPECT_STREQ("val2", OptP.c_str());
 1485   EXPECT_STREQ("val3", OptP.c_str());
 1495   EXPECT_STREQ("val4", OptP.c_str());
 1503   EXPECT_STREQ("val5", OptP.c_str());
 1511   EXPECT_STREQ("val6", OptP.c_str());
 1521   EXPECT_STREQ("b", OptP.c_str());
 1530   EXPECT_STREQ("val8", OptA.c_str());
 1544   EXPECT_STREQ("=val10", OptA.c_str());
 1554   EXPECT_STREQ("val11", OptA.c_str());
 1567   EXPECT_STREQ("=val13", OptA.c_str());
 1577   EXPECT_STREQ("b", OptA.c_str());
 1608   EXPECT_STREQ("val1", OptAB.c_str());
 1616   EXPECT_STREQ("val1", OptAB.c_str());
 1651   EXPECT_STREQ("val1", OptAB.c_str());
unittests/Support/DynamicLibrary/DynamicLibraryTest.cpp
   25       Argvs.size() > 0 ? Argvs[0].c_str() : "DynamicLibraryTests";
   29   path::append(Buf, (Name + LTDL_SHLIB_EXT).c_str());
   65         DynamicLibrary::getPermanentLibrary(LibPath().c_str(), &Err);
  118         DynamicLibrary::getPermanentLibrary(LibPath(A).c_str(), &Err);
  134         DynamicLibrary::getPermanentLibrary(LibPath(C).c_str(), &Err);
unittests/Support/FileCollectorTest.cpp
  261     printf("%s -> %s\n", vpath.c_str(), rpath.c_str());
  261     printf("%s -> %s\n", vpath.c_str(), rpath.c_str());
  270     printf("%s -> %s\n", vpath.c_str(), rpath.c_str());
  270     printf("%s -> %s\n", vpath.c_str(), rpath.c_str());
  278     printf("%s -> %s\n", vpath.c_str(), rpath.c_str());
  278     printf("%s -> %s\n", vpath.c_str(), rpath.c_str());
unittests/Support/Path.cpp
  338     OriginalEnv = OriginalStorage.c_str();
unittests/Support/YAMLIOTest.cpp
 2911     IO.mapRequired(Key.str().c_str(), M[Key]);
 2916       IO.mapRequired(N.getKey().str().c_str(), N.getValue());
unittests/TextAPI/ELFYAMLTest.cpp
   51   EXPECT_STREQ(Stub->NeededLibs[0].c_str(), "libc.so");
   52   EXPECT_STREQ(Stub->NeededLibs[1].c_str(), "libfoo.so");
   53   EXPECT_STREQ(Stub->NeededLibs[2].c_str(), "libbar.so");
   74   EXPECT_STREQ(Stub->SoName->c_str(), "test.so");
   79   EXPECT_STREQ(SymBar.Name.c_str(), "bar");
   87   EXPECT_STREQ(SymBaz.Name.c_str(), "baz");
   95   EXPECT_STREQ(SymFoo.Name.c_str(), "foo");
  101   EXPECT_STREQ(SymFoo.Warning->c_str(), "Deprecated!");
  104   EXPECT_STREQ(SymNor.Name.c_str(), "nor");
  112   EXPECT_STREQ(SymNot.Name.c_str(), "not");
  118   EXPECT_STREQ(SymNot.Warning->c_str(), "All fields populated!");
  200   compareByLine(Result.c_str(), Expected);
  226   compareByLine(Result.c_str(), Expected);
usr/include/c++/7.4.0/bits/basic_string.h
 6372   { return __gnu_cxx::__stoa<long, int>(&std::strtol, "stoi", __str.c_str(),
 6377   { return __gnu_cxx::__stoa(&std::strtol, "stol", __str.c_str(),
 6382   { return __gnu_cxx::__stoa(&std::strtoul, "stoul", __str.c_str(),
 6387   { return __gnu_cxx::__stoa(&std::strtoll, "stoll", __str.c_str(),
 6392   { return __gnu_cxx::__stoa(&std::strtoull, "stoull", __str.c_str(),
 6398   { return __gnu_cxx::__stoa(&std::strtof, "stof", __str.c_str(), __idx); }
 6402   { return __gnu_cxx::__stoa(&std::strtod, "stod", __str.c_str(), __idx); }
 6406   { return __gnu_cxx::__stoa(&std::strtold, "stold", __str.c_str(), __idx); }
 6478   { return __gnu_cxx::__stoa<long, int>(&std::wcstol, "stoi", __str.c_str(),
 6483   { return __gnu_cxx::__stoa(&std::wcstol, "stol", __str.c_str(),
 6488   { return __gnu_cxx::__stoa(&std::wcstoul, "stoul", __str.c_str(),
 6493   { return __gnu_cxx::__stoa(&std::wcstoll, "stoll", __str.c_str(),
 6498   { return __gnu_cxx::__stoa(&std::wcstoull, "stoull", __str.c_str(),
 6504   { return __gnu_cxx::__stoa(&std::wcstof, "stof", __str.c_str(), __idx); }
 6508   { return __gnu_cxx::__stoa(&std::wcstod, "stod", __str.c_str(), __idx); }
 6512   { return __gnu_cxx::__stoa(&std::wcstold, "stold", __str.c_str(), __idx); }
usr/include/c++/7.4.0/bits/codecvt.h
  600       : codecvt_byname(__s.c_str(), __refs) { }
  620       : codecvt_byname(__s.c_str(), __refs) { }
  638       : codecvt_byname(__s.c_str(), __refs) { }
usr/include/c++/7.4.0/bits/locale_classes.h
  163     locale(const std::string& __s) : locale(__s.c_str()) { }
  178     : locale(__base, __s.c_str(), __cat) { }
  840       : collate_byname(__s.c_str(), __refs) { }
usr/include/c++/7.4.0/bits/locale_facets.h
 1485       : ctype_byname(__s.c_str(), __refs) { }
 1922       : numpunct_byname(__s.c_str(), __refs) { }
usr/include/c++/7.4.0/bits/locale_facets.tcc
  697       std::__convert_to_v(__xtrc.c_str(), __v, __err, _S_get_c_locale());
  712       std::__convert_to_v(__xtrc.c_str(), __v, __err, _S_get_c_locale());
  744       std::__convert_to_v(__xtrc.c_str(), __v, __err, _S_get_c_locale());
usr/include/c++/7.4.0/bits/locale_facets_nonio.h
  772       : time_get_byname(__s.c_str(), __refs) { }
  906       : time_put_byname(__s.c_str(), __refs) { }
 1437       : moneypunct_byname(__s.c_str(), __refs) { }
 1993       : messages_byname(__s.c_str(), __refs) { }
usr/include/c++/7.4.0/bits/locale_facets_nonio.tcc
  376       std::__convert_to_v(__str.c_str(), __units, __err, _S_get_c_locale());
usr/include/c++/7.4.0/fstream
  308       { return open(__s.c_str(), __mode); }
usr/include/x86_64-linux-gnu/c++/7.4.0/bits/messages_members.h
   73       bindtextdomain(__s.c_str(), __dir);
   93       textdomain(__s.c_str());
utils/TableGen/GlobalISelEmitter.cpp
 3025       ("Failed to lookup instruction " + SymbolicName).str().c_str());
utils/TableGen/OptParserEmitter.cpp
   57     if (int Cmp = StrCmpOptionName(A->getValueAsString("Name").str().c_str(),
   58                                    B->getValueAsString("Name").str().c_str()))
   72       if (int Cmp = StrCmpOptionName(APre->str().c_str(), BPre->str().c_str()))
   72       if (int Cmp = StrCmpOptionName(APre->str().c_str(), BPre->str().c_str()))
utils/TableGen/RISCVCompressInstEmitter.cpp
  139          ("Register" + Reg->getName().str() + " not defined!!\n").c_str());
utils/benchmark/include/benchmark/benchmark.h
  572     this->SetLabel(str.c_str());
utils/benchmark/src/benchmark_register.cc
  181                   StrFormat("%s:", family->arg_names_[arg_i].c_str());
utils/benchmark/src/commandlineflags.cc
   86     env_var += static_cast<char>(::toupper(flag_str.c_str()[i]));
   97   const char* const string_value = getenv(env_var.c_str());
  107   const char* const string_value = getenv(env_var.c_str());
  127   const char* const value = getenv(env_var.c_str());
  144   if (strncmp(str, flag_str.c_str(), flag_len) != 0) return nullptr;
utils/benchmark/src/console_reporter.cc
   61         str += FormatString(" %10s", c.first.c_str());
  109           result.benchmark_name.c_str());
  113             result.error_message.c_str());
  135     printer(Out, COLOR_YELLOW, "%10.2f %s %10.2f %s ", real_time, big_o.c_str(),
  136             cpu_time, big_o.c_str());
  156         printer(Out, COLOR_DEFAULT, " %*s/s", cNameLen - 2, s.c_str());
  158         printer(Out, COLOR_DEFAULT, " %*s", cNameLen, s.c_str());
  162       printer(Out, COLOR_DEFAULT, " %s=%s%s", c.first.c_str(), s.c_str(),
  162       printer(Out, COLOR_DEFAULT, " %s=%s%s", c.first.c_str(), s.c_str(),
  168     printer(Out, COLOR_DEFAULT, " %*s", 13, rate.c_str());
  172     printer(Out, COLOR_DEFAULT, " %*s", 18, items.c_str());
  176     printer(Out, COLOR_DEFAULT, " %s", result.report_label.c_str());
utils/benchmark/src/json_reporter.cc
   35   return StrFormat("\"%s\": \"%s\"", key.c_str(), value.c_str());
   35   return StrFormat("\"%s\": \"%s\"", key.c_str(), value.c_str());
   39   return StrFormat("\"%s\": \"%s\"", key.c_str(), value);
   43   return StrFormat("\"%s\": %s", key.c_str(), value ? "true" : "false");
utils/benchmark/src/sysinfo.cc
  201   std::ifstream f(fname.c_str());
  251     std::ifstream f(StrCat(FPath, "size").c_str());
utils/unittest/googlemock/include/gmock/gmock-spec-builders.h
  702   const char* source_text() const { return source_text_.c_str(); }
utils/unittest/googlemock/src/gmock-internal-utils.cc
   85                  message.c_str()) = Message();
utils/unittest/googlemock/src/gmock.cc
   67   if (strncmp(str, flag_str.c_str(), flag_len) != 0) return NULL;
  136     const char* const arg = arg_string.c_str();
utils/unittest/googletest/include/gtest/gtest-test-part.h
   77     return file_name_.empty() ? NULL : file_name_.c_str();
   85   const char* summary() const { return summary_.c_str(); }
   88   const char* message() const { return message_.c_str(); }
utils/unittest/googletest/include/gtest/gtest.h
  298     return message_.get() != NULL ?  message_->c_str() : "";
  323     message_->append(a_message.GetString().c_str());
  497     return key_.c_str();
  502     return value_.c_str();
  651   const char* test_case_name() const { return test_case_name_.c_str(); }
  654   const char* name() const { return name_.c_str(); }
  660       return type_param_->c_str();
  668       return value_param_->c_str();
  673   const char* file() const { return location_.file.c_str(); }
  800   const char* name() const { return name_.c_str(); }
  806       return type_param_->c_str();
utils/unittest/googletest/include/gtest/internal/gtest-filepath.h
   78   const char* c_str() const { return pathname_.c_str(); }
utils/unittest/googletest/include/gtest/internal/gtest-internal.h
  560               FormatFileLocation(file, line).c_str(), test_name, case_name);
  641          + StreamableToString(index)).c_str(),
  642         StripTrailingSpaces(GetPrefixUntilComma(test_names)).c_str(),
  643         GetTypeName<Type>().c_str(),
  682               case_name, test_name.c_str(),
  683               FormatFileLocation(code_location.file.c_str(),
  684                                  code_location.line).c_str());
utils/unittest/googletest/include/gtest/internal/gtest-param-util.h
  587               test_case_name.c_str(),
  588               test_name_stream.GetString().c_str(),
  590               PrintToString(*param_it).c_str(),
utils/unittest/googletest/include/gtest/internal/gtest-port.h
 1172   RE(const ::std::string& regex) { Init(regex.c_str()); }  // NOLINT
 1194     return FullMatch(str.c_str(), re);
 1197     return PartialMatch(str.c_str(), re);
utils/unittest/googletest/src/gtest-death-test.cc
  271     fprintf(parent, "%s", message.c_str());
  275     fprintf(stderr, "%s", message.c_str());
  363   return last_death_test_message_.c_str();
  566         const bool matched = RE::PartialMatch(error_message.c_str(), *regex());
  924       args_.insert(args_.end() - 1, posix::StrDup(i->c_str()));
 1146   args.AddArgument(filter_flag.c_str());
 1147   args.AddArgument(internal_flag.c_str());
 1302   SplitString(GTEST_FLAG(internal_run_death_test).c_str(), '|', &fields);
utils/unittest/googletest/src/gtest-filepath.cc
  217   return posix::Stat(pathname_.c_str(), &file_stat) == 0;
  260   return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]);
  266   const char* const name = pathname_.c_str();
  302          IsPathSeparator(pathname_.c_str()[pathname_.length() - 1]);
  334   int result = mkdir(pathname_.c_str(), 0777);
  357   if (pathname_.c_str() == NULL) {
  361   const char* src = pathname_.c_str();
utils/unittest/googletest/src/gtest-internal-inl.h
  989   const BiggestConvertible parsed = strtoull(str.c_str(), &end, 10);
 1073       if (write(sockfd_, message.c_str(), len) != len) {
utils/unittest/googletest/src/gtest-port.cc
   98   std::ifstream file(filename.c_str());
  915               << FormatFileLocation(file, line).c_str() << ": ";
  985     remove(filename_.c_str());
  997     FILE* const file = posix::FOpen(filename_.c_str(), "r");
 1140     env_var << ToUpper(full_flag.c_str()[i]);
 1161     printf("%s", msg.GetString().c_str());
 1178     printf("%s", msg.GetString().c_str());
 1196   const char* const string_value = posix::GetEnv(env_var.c_str());
 1209   const char* const string_value = posix::GetEnv(env_var.c_str());
 1219            (Message() << default_value).GetString().c_str());
 1234   const char* value = posix::GetEnv(env_var.c_str());
utils/unittest/googletest/src/gtest-typed-test.cc
  106     fprintf(stderr, "%s %s", FormatFileLocation(file, line).c_str(),
  107             errors_str.c_str());
utils/unittest/googletest/src/gtest.cc
  415   const char* const gtest_output_flag = GTEST_FLAG(output).c_str();
  427   const char* const gtest_output_flag = GTEST_FLAG(output).c_str();
  453       GetOutputFormat().c_str()));
  483     if (PatternMatchesString(cur_pattern, name.c_str())) {
  504   const std::string& full_name = test_case_name + "." + test_name.c_str();
  508   const char* const p = GTEST_FLAG(filter).c_str();
  513     positive = GTEST_FLAG(filter).c_str();  // Whole string is a positive filter
  526   return (MatchesFilter(full_name, positive.c_str()) &&
  527           !MatchesFilter(full_name, negative.c_str()));
  657   if (strstr(r.message(), substr.c_str()) == NULL) {
  965   internal::StreamWideCharsToMessage(wstr.c_str(), wstr.length(), this);
 1222       hunk.PushLine(' ', left[l_i - i].c_str());
 1244         hunk.PushLine(edit == kMatch ? ' ' : '-', left[l_i].c_str());
 1247         hunk.PushLine('+', right[r_i].c_str());
 1954          CaseInsensitiveCStringEquals(str.c_str() + str_len - suffix_len,
 1955                                       suffix.c_str());
 1984   const char* const start = str.c_str();
 2245   RecordProperty(key, value_message.GetString().c_str());
 2575           FormatFileLocation(code_location.file.c_str(),
 2576                              code_location.line).c_str(),
 2577           errors.GetString().c_str());
 2863   printf("%s\n", result.c_str());
 2917   const char* const gtest_color = GTEST_FLAG(color).c_str();
 3061   const char* const filter = GTEST_FLAG(filter).c_str();
 3086          FormatTestCount(unit_test.test_to_run_count()).c_str(),
 3087          FormatTestCaseCount(unit_test.test_case_to_run_count()).c_str());
 3102   printf("%s from %s", counts.c_str(), test_case.name());
 3142            test_info.result()->elapsed_time()).c_str());
 3156          counts.c_str(), test_case.name(),
 3157          internal::StreamableToString(test_case.elapsed_time()).c_str());
 3197          FormatTestCount(unit_test.test_to_run_count()).c_str(),
 3198          FormatTestCaseCount(unit_test.test_case_to_run_count()).c_str());
 3201            internal::StreamableToString(unit_test.elapsed_time()).c_str());
 3205   printf("%s.\n", FormatTestCount(unit_test.successful_test_count()).c_str());
 3211     printf("%s, listed below:\n", FormatTestCount(failed_test_count).c_str());
 3424   if (output_file_.c_str() == NULL || output_file_.empty()) {
 3439     xmlout = posix::FOpen(output_file_.c_str(), "w");
 3454             output_file_.c_str());
 3460   fprintf(xmlout, "%s", StringStreamToString(&stream).c_str());
 3660               << EscapeXmlAttribute(summary.c_str())
 3663       OutputXmlCDataSection(stream, RemoveInvalidXmlCharacters(detail).c_str());
 3793       host_name_.c_str(), port_num_.c_str(), &hints, &servinfo);
 3793       host_name_.c_str(), port_num_.c_str(), &hints, &servinfo);
 4129   if (os_stack_trace.c_str() != NULL && !os_stack_trace.empty()) {
 4135                    msg.GetString().c_str());
 4404         UnitTestOptions::GetAbsolutePathToOutputFile().c_str()));
 4407            output_format.c_str());
 4424              target.c_str());
 4483     return test_case != NULL && strcmp(test_case->name(), name_.c_str()) == 0;
 4732     ColoredPrintf(COLOR_RED, msg.GetString().c_str());
 4740     ColoredPrintf(COLOR_RED, msg.GetString().c_str());
 4749     ColoredPrintf(COLOR_RED, msg.GetString().c_str());
 5024   if (strncmp(str, flag_str.c_str(), flag_len) != 0) return NULL;
 5139     ColoredPrintf(color, "%s", std::string(str, p).c_str());
 5254   FILE* flagfile = posix::FOpen(path.c_str(), "r");
 5258             GTEST_FLAG(flagfile).c_str());
 5269     if (!ParseGoogleTestFlag(lines[i].c_str()))
 5282     const char* const arg = arg_string.c_str();