Home
last modified time | relevance | path

Searched refs:sstr (Results 1 – 22 of 22) sorted by relevance

/llvm-project-15.0.7/lldb/source/Commands/
H A DCommandOptionArgumentTable.cpp142 StreamString sstr; in FormatHelpTextCallback() local
147 sstr.PutChar('\n'); in FormatHelpTextCallback()
151 sstr.Printf("'%c' or ", format_char); in FormatHelpTextCallback()
153 sstr.Printf("\"%s\"", FormatManager::GetFormatAsCString(f)); in FormatHelpTextCallback()
156 sstr.Flush(); in FormatHelpTextCallback()
158 help_text = std::string(sstr.GetString()); in FormatHelpTextCallback()
169 StreamString sstr; in LanguageTypeHelpTextCallback() local
170 sstr << "One of the following languages:\n"; in LanguageTypeHelpTextCallback()
172 Language::PrintAllLanguages(sstr, " ", "\n"); in LanguageTypeHelpTextCallback()
174 sstr.Flush(); in LanguageTypeHelpTextCallback()
[all …]
H A DCommandObjectHelp.cpp169 StreamString sstr; in DoExecute() local
170 m_interpreter.GetAlias(alias_full_name)->GetAliasExpansion(sstr); in DoExecute()
172 command[0].c_str(), sstr.GetData()); in DoExecute()
/llvm-project-15.0.7/lldb/source/DataFormatters/
H A DTypeFormat.cpp101 StreamString sstr; in FormatObject() local
117 dest = std::string(sstr.GetString()); in FormatObject()
126 StreamString sstr; in GetDescription() local
127 sstr.Printf("%s%s%s%s", FormatManager::GetFormatAsCString(GetFormat()), in GetDescription()
131 return std::string(sstr.GetString()); in GetDescription()
189 StreamString sstr; in FormatObject() local
190 valobj_enum_type.DumpTypeValue(&sstr, lldb::eFormatEnum, data, 0, in FormatObject()
193 if (!sstr.GetString().empty()) in FormatObject()
194 dest = std::string(sstr.GetString()); in FormatObject()
199 StreamString sstr; in GetDescription() local
[all …]
H A DTypeSummary.cpp101 StreamString sstr; in GetDescription() local
103 sstr.Printf("`%s`%s%s%s%s%s%s%s%s%s", m_format_str.c_str(), in GetDescription()
113 return std::string(sstr.GetString()); in GetDescription()
133 StreamString sstr; in GetDescription() local
134 sstr.Printf("%s%s%s%s%s%s%s %s", Cascades() ? "" : " (not cascading)", in GetDescription()
142 return std::string(sstr.GetString()); in GetDescription()
182 StreamString sstr; in GetDescription() local
192 sstr.PutCString("no backing script"); in GetDescription()
194 sstr.PutCString(m_function_name); in GetDescription()
197 sstr.PutCString(m_python_script); in GetDescription()
[all …]
H A DTypeSynthetic.cpp74 StreamString sstr; in GetDescription() local
75 sstr.Printf("%s%s%s {\n", Cascades() ? "" : " (not cascading)", in GetDescription()
80 sstr.Printf(" %s\n", GetExpressionPathAtIndex(i)); in GetDescription()
83 sstr.Printf("}"); in GetDescription()
84 return std::string(sstr.GetString()); in GetDescription()
88 StreamString sstr; in GetDescription() local
89 sstr.Printf("%s%s%s %s", Cascades() ? "" : " (not cascading)", in GetDescription()
94 return std::string(sstr.GetString()); in GetDescription()
209 StreamString sstr; in GetDescription() local
210 sstr.Printf("%s%s%s Python class %s", Cascades() ? "" : " (not cascading)", in GetDescription()
[all …]
H A DCXXFunctionPointer.cpp26 StreamString sstr; in CXXFunctionPointerSummaryProvider() local
60 sstr.Printf("actual=0x%*.*" PRIx64 " ", addrsize * 2, in CXXFunctionPointerSummaryProvider()
70 so_addr.Dump(&sstr, exe_ctx.GetBestExecutionContextScope(), in CXXFunctionPointerSummaryProvider()
78 if (sstr.GetSize() > 0) { in CXXFunctionPointerSummaryProvider()
79 stream.Printf("(%s)", sstr.GetData()); in CXXFunctionPointerSummaryProvider()
/llvm-project-15.0.7/lldb/source/Utility/
H A DDataExtractor.cpp912 StreamString sstr; in PutToLog() local
917 if (sstr.GetSize() > 0) { in PutToLog()
918 log->PutString(sstr.GetString()); in PutToLog()
919 sstr.Clear(); in PutToLog()
923 sstr.Printf("0x%8.8" PRIx64 ":", in PutToLog()
929 sstr.Printf(" %2.2x", GetU8(&offset)); in PutToLog()
936 sstr.Printf(" %4.4x", GetU16(&offset)); in PutToLog()
939 sstr.Printf(" %8.8x", GetU32(&offset)); in PutToLog()
951 sstr.Printf(" %" PRId64, GetSLEB128(&offset)); in PutToLog()
956 if (!sstr.Empty()) in PutToLog()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/ScriptInterpreter/Python/
H A DScriptInterpreterPython.cpp777 StreamString sstr; in GenerateUniqueName() local
787 return std::string(sstr.GetString()); in GenerateUniqueName()
1291 StreamString sstr; in GenerateFunction() local
1310 sstr.Clear(); in GenerateFunction()
1338 StreamString sstr; in GenerateTypeScriptFunction() local
1350 sstr.Printf("def %s (valobj, internal_dict):", in GenerateTypeScriptFunction()
1365 StreamString sstr; in GenerateScriptAliasFunction() local
1390 StreamString sstr; in GenerateTypeSynthClass() local
1412 sstr.Clear(); in GenerateTypeSynthClass()
2061 StreamString sstr; in GenerateBreakpointCommandCallbackData() local
[all …]
/llvm-project-15.0.7/lldb/source/Interpreter/
H A DCommandAlias.cpp94 StreamString sstr; in CommandAlias() local
96 GetAliasExpansion(sstr); in CommandAlias()
99 "(%s) %s", sstr.GetData(), in CommandAlias()
H A DOptions.cpp890 llvm::raw_string_ostream sstr(storage); in BuildShortOptions() local
894 sstr << ":"; in BuildShortOptions()
898 sstr << (char)long_options[i].val; in BuildShortOptions()
904 sstr << ":"; in BuildShortOptions()
907 sstr << "::"; in BuildShortOptions()
912 return std::move(sstr.str()); in BuildShortOptions()
/llvm-project-15.0.7/lldb/source/Plugins/Instruction/ARM/
H A DEmulationStateARM.cpp300 StreamString sstr; in LoadRegistersStateFromDictionary() local
302 sstr.Clear(); in LoadRegistersStateFromDictionary()
303 sstr.Printf("%c%d", kind, i); in LoadRegistersStateFromDictionary()
305 reg_dict->GetValueForKey(ConstString(sstr.GetString())); in LoadRegistersStateFromDictionary()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DFormatVariadic.h116 template <unsigned N> SmallString<N> sstr() const { in sstr() function
123 template <unsigned N> operator SmallString<N>() const { return sstr<N>(); }
/llvm-project-15.0.7/mlir/include/mlir/TableGen/
H A DFormat.h169 SmallString<N> sstr() const { in sstr() function
178 return sstr<N>();
/llvm-project-15.0.7/lldb/source/API/
H A DSBDebugger.cpp1024 SBStream sstr; in GetSelectedTarget() local
1025 sb_target.GetDescription(sstr, eDescriptionLevelBrief); in GetSelectedTarget()
1028 static_cast<void *>(target_sp.get()), sstr.GetData()); in GetSelectedTarget()
1044 SBStream sstr; in SetSelectedTarget() local
1045 sb_target.GetDescription(sstr, eDescriptionLevelBrief); in SetSelectedTarget()
1048 static_cast<void *>(target_sp.get()), sstr.GetData()); in SetSelectedTarget()
/llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/
H A DRecordName.cpp143 Name = formatv("{0} {1}", Ret, Params).sstr<256>(); in visitKnownRecord()
152 Name = formatv("{0} {1}::{2}", Ret, Class, Params).sstr<256>(); in visitKnownRecord()
/llvm-project-15.0.7/lldb/source/Target/
H A DThread.cpp1570 StreamString sstr; in JumpToLine() local
1571 DumpAddressList(sstr, outside_function, target); in JumpToLine()
1573 file.GetFilename().AsCString(), line, sstr.GetData()); in JumpToLine()
1580 StreamString sstr; in JumpToLine() local
1581 sstr.Printf("%s:%i appears multiple times in this function, selecting the " in JumpToLine()
1584 DumpAddressList(sstr, candidates, target); in JumpToLine()
1585 *warnings = std::string(sstr.GetString()); in JumpToLine()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp2324 StreamString sstr; in ParseFunctionFromDWARF() local
2327 sstr << decl_ctx.GetQualifiedName(); in ParseFunctionFromDWARF()
2334 sstr << "("; in ParseFunctionFromDWARF()
2337 sstr << ", "; in ParseFunctionFromDWARF()
2338 sstr << param_types[i].GetTypeName(); in ParseFunctionFromDWARF()
2341 sstr << ", ..."; in ParseFunctionFromDWARF()
2342 sstr << ")"; in ParseFunctionFromDWARF()
2344 sstr << " const"; in ParseFunctionFromDWARF()
2346 func_name.SetValue(ConstString(sstr.GetString()), false); in ParseFunctionFromDWARF()
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/
H A DAnalysis.cpp98 OS, formatv(SimpleFloatFormat.data(), Value).sstr<SerializationLen>()); in writeMeasurementValue()
/llvm-project-15.0.7/lldb/source/Core/
H A DValueObject.cpp292 StreamString sstr; in GetLocationAsCStringImpl() local
322 sstr.Printf("0x%*.*llx", addr_nibble_size, addr_nibble_size, in GetLocationAsCStringImpl()
324 m_location_str = std::string(sstr.GetString()); in GetLocationAsCStringImpl()
/llvm-project-15.0.7/llvm/lib/DebugInfo/Symbolize/
H A DMarkupFilter.cpp336 auto Header = formatv("{0, +6}", formatv("#{0}", FrameNumber)).sstr<16>(); in tryBackTrace()
/llvm-project-15.0.7/llvm/lib/Object/
H A DWindowsResource.cpp851 auto RelocationName = formatv("$R{0:X-6}", i & 0xffffff).sstr<COFF::NameSize>(); in writeSymbolTable()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc8156 const struct __sanitizer_regmatch *rm, const char *sstr) {
8158 COMMON_INTERCEPTOR_ENTER(ctx, regasub, buf, sub, rm, sstr);
8164 if (sstr)
8165 COMMON_INTERCEPTOR_READ_RANGE(ctx, sstr, internal_strlen(sstr) + 1);
8166 SSIZE_T res = REAL(regasub)(buf, sub, rm, sstr);