Home
last modified time | relevance | path

Searched refs:Sprintf (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/llvm/bindings/go/llvm/
H A Dstring.go73 s += fmt.Sprintf("(%v[%v])", ts.typeString(t.ElementType()), t.ArrayLength())
75 s += fmt.Sprintf("(%v)", ts.typeString(t.ElementType()))
80 s += fmt.Sprintf("%v", ts.typeString(params[0]))
82 s += fmt.Sprintf(", %v", ts.typeString(params[i]))
85 s += fmt.Sprintf("):%v", ts.typeString(t.ReturnType()))
89 s = fmt.Sprintf("%%%s: %s", name, s)
96 s += fmt.Sprintf(", %v", ts.typeString(etypes[i]))
101 s += fmt.Sprintf("(%d bits)", t.IntTypeWidth())
/llvm-project-15.0.7/lldb/unittests/Utility/
H A DVASprintfTest.cpp25 static bool Sprintf(llvm::SmallVectorImpl<char> &Buffer, const char *Fmt, ...) { in Sprintf() function
37 ASSERT_TRUE(Sprintf(BigBuffer, "%s", TestStr.c_str())); in TEST()
45 ASSERT_TRUE(Sprintf(SmallBuffer, "%s", TestStr.c_str())); in TEST()
61 EXPECT_FALSE(Sprintf(Buffer, "%ls", Invalid)); in TEST()
/llvm-project-15.0.7/lldb/source/Plugins/InstrumentationRuntime/TSan/
H A DInstrumentationRuntimeTSan.cpp533 static std::string Sprintf(const char *format, ...) { in Sprintf() function
681 summary = summary + " at " + Sprintf("0x%llx", addr); in GenerateSummary()
737 result = Sprintf("'%s' is a global variable (0x%llx)", in GetLocationDescription()
780 result = Sprintf("Location is TLS of thread %d", tid); in GetLocationDescription()
786 result = Sprintf("Location is file descriptor %d", fd); in GetLocationDescription()
954 std::string addr_string = Sprintf(" at 0x%llx", addr); in GenerateThreadName()
963 result = Sprintf("%s access by thread %d", in GenerateThreadName()
969 result = Sprintf("%s%s of size %d%s by thread %d", in GenerateThreadName()
978 result = Sprintf("Thread %d created", thread_id); in GenerateThreadName()
1000 result = Sprintf("Mutex M%d created", mutex_id); in GenerateThreadName()
[all …]