Home
last modified time | relevance | path

Searched defs:format (Results 1 – 25 of 306) sorted by relevance

12345678910>>...13

/llvm-project/libcxx/test/std/utilities/format/format.string/format.string.std/
H A Dlwg3720_arg_id_width_precision_allowed_types.verify.cpp29 TEST_IGNORE_NODISCARD std::format("{:{}}", 42, true); test_char_width() member in test_char_width::std
31 TEST_IGNORE_NODISCARD std::format("{:{}}", 42, '0'); test_char_width() member in test_char_width::std
34 TEST_IGNORE_NODISCARD std::format("{:{}}", 42, __int128_t(0)); test_char_width() member in test_char_width::std
36 TEST_IGNORE_NODISCARD std::format("{:{}}", 42, __uint128_t(0)); test_char_width() member in test_char_width::std
39 TEST_IGNORE_NODISCARD std::format("{:{}}", 42, 42.0f); test_char_width() member in test_char_width::std
41 TEST_IGNORE_NODISCARD std::format("{:{}}", 42, 42.0); test_char_width() member in test_char_width::std
43 TEST_IGNORE_NODISCARD std::format("{:{}}", 42, 42.0l); test_char_width() member in test_char_width::std
48 TEST_IGNORE_NODISCARD std::format("{:0.{}}", 42.0, true); test_char_precision() member in test_char_precision::std
50 TEST_IGNORE_NODISCARD std::format("{:0.{}}", 42.0, '0'); test_char_precision() member in test_char_precision::std
53 TEST_IGNORE_NODISCARD std::format("{:0.{}}", 42.0, __int128_t(0)); test_char_precision() member in test_char_precision::std
55 TEST_IGNORE_NODISCARD std::format("{:0.{}}", 42.0, __uint128_t(0)); test_char_precision() member in test_char_precision::std
58 TEST_IGNORE_NODISCARD std::format("{:0.{}}", 42.0, 42.0f); test_char_precision() member in test_char_precision::std
60 TEST_IGNORE_NODISCARD std::format("{:0.{}}", 42.0, 42.0); test_char_precision() member in test_char_precision::std
62 TEST_IGNORE_NODISCARD std::format("{:0.{}}", 42.0, 42.0l); test_char_precision() member in test_char_precision::std
68 TEST_IGNORE_NODISCARD std::format(L"{:{}}", 42, true); test_wchar_t_width() member in test_wchar_t_width::std
70 TEST_IGNORE_NODISCARD std::format(L"{:{}}", 42, '0'); test_wchar_t_width() member in test_wchar_t_width::std
72 TEST_IGNORE_NODISCARD std::format(L"{:{}}", 42, L'0'); test_wchar_t_width() member in test_wchar_t_width::std
75 TEST_IGNORE_NODISCARD std::format(L"{:{}}", 42, __int128_t(0)); test_wchar_t_width() member in test_wchar_t_width::std
77 TEST_IGNORE_NODISCARD std::format(L"{:{}}", 42, __uint128_t(0)); test_wchar_t_width() member in test_wchar_t_width::std
80 TEST_IGNORE_NODISCARD std::format(L"{:{}}", 42, 42.0f); test_wchar_t_width() member in test_wchar_t_width::std
82 TEST_IGNORE_NODISCARD std::format(L"{:{}}", 42, 42.0); test_wchar_t_width() member in test_wchar_t_width::std
84 TEST_IGNORE_NODISCARD std::format(L"{:{}}", 42, 42.0l); test_wchar_t_width() member in test_wchar_t_width::std
89 TEST_IGNORE_NODISCARD std::format(L"{:0.{}}", 42.0, true); test_wchar_t_precision() member in test_wchar_t_precision::std
91 TEST_IGNORE_NODISCARD std::format(L"{:0.{}}", 42.0, '0'); test_wchar_t_precision() member in test_wchar_t_precision::std
93 TEST_IGNORE_NODISCARD std::format(L"{:0.{}}", 42.0, L'0'); test_wchar_t_precision() member in test_wchar_t_precision::std
96 TEST_IGNORE_NODISCARD std::format(L"{:0.{}}", 42.0, __int128_t(0)); test_wchar_t_precision() member in test_wchar_t_precision::std
98 TEST_IGNORE_NODISCARD std::format(L"{:0.{}}", 42.0, __uint128_t(0)); test_wchar_t_precision() member in test_wchar_t_precision::std
101 TEST_IGNORE_NODISCARD std::format(L"{:0.{}}", 42.0, 42.0f); test_wchar_t_precision() member in test_wchar_t_precision::std
103 TEST_IGNORE_NODISCARD std::format(L"{:0.{}}", 42.0, 42.0); test_wchar_t_precision() member in test_wchar_t_precision::std
105 TEST_IGNORE_NODISCARD std::format(L"{:0.{}}", 42.0, 42.0l); test_wchar_t_precision() member in test_wchar_t_precision::std
[all...]
/llvm-project/libcxx/test/std/utilities/format/format.functions/
H A Dformat.locale.verify.cpp31 TEST_IGNORE_NODISCARD std::format(std::locale(), "{"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
34 TEST_IGNORE_NODISCARD std::format(std::locale(), "}"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
37 TEST_IGNORE_NODISCARD std::format(std::locale(), "{}"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
40 TEST_IGNORE_NODISCARD std::format(std::locale(), "{0}"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
43 TEST_IGNORE_NODISCARD std::format(std::locale(), "{:-}", "Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
46 TEST_IGNORE_NODISCARD std::format(std::locale(), "{:#}", "Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
49 TEST_IGNORE_NODISCARD std::format(std::locale(), "{:L}", "Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
52 TEST_IGNORE_NODISCARD std::format(std::locale(), "{0:{0}}", "Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
55 TEST_IGNORE_NODISCARD std::format(std::locale(), "{:.42d}", "Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
58 TEST_IGNORE_NODISCARD std::format(std::locale(), "{:d}", "Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
62 TEST_IGNORE_NODISCARD std::format(std::locale(), L"{"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
65 TEST_IGNORE_NODISCARD std::format(std::locale(), L"}"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
68 TEST_IGNORE_NODISCARD std::format(std::locale(), L"{}"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
71 TEST_IGNORE_NODISCARD std::format(std::locale(), L"{0}"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
74 TEST_IGNORE_NODISCARD std::format(std::locale(), L"{:-}", L"Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
77 TEST_IGNORE_NODISCARD std::format(std::locale(), L"{:#}", L"Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
80 TEST_IGNORE_NODISCARD std::format(std::locale(), L"{:L}", L"Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
83 TEST_IGNORE_NODISCARD std::format(std::locale(), L"{0:{0}}", L"Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
86 TEST_IGNORE_NODISCARD std::format(std::locale(), L"{:.42d}", L"Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
89 TEST_IGNORE_NODISCARD std::format(std::locale(), L"{:d}", L"Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
[all...]
H A Dformat.verify.cpp29 TEST_IGNORE_NODISCARD std::format("{"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
32 TEST_IGNORE_NODISCARD std::format("}"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
35 TEST_IGNORE_NODISCARD std::format("{}"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
38 TEST_IGNORE_NODISCARD std::format("{0}"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
41 TEST_IGNORE_NODISCARD std::format("{:-}", "Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
44 TEST_IGNORE_NODISCARD std::format("{:#}", "Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
47 TEST_IGNORE_NODISCARD std::format("{:L}", "Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
50 TEST_IGNORE_NODISCARD std::format("{0:{0}}", "Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
53 TEST_IGNORE_NODISCARD std::format("{:.42d}", "Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
56 TEST_IGNORE_NODISCARD std::format("{:d}", "Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
60 TEST_IGNORE_NODISCARD std::format(L"{"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
63 TEST_IGNORE_NODISCARD std::format(L"}"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
66 TEST_IGNORE_NODISCARD std::format(L"{}"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
69 TEST_IGNORE_NODISCARD std::format(L"{0}"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
72 TEST_IGNORE_NODISCARD std::format(L"{:-}", L"Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
75 TEST_IGNORE_NODISCARD std::format(L"{:#}", L"Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
78 TEST_IGNORE_NODISCARD std::format(L"{:L}", L"Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
81 TEST_IGNORE_NODISCARD std::format(L"{0:{0}}", L"Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
84 TEST_IGNORE_NODISCARD std::format(L"{:.42d}", L"Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
87 TEST_IGNORE_NODISCARD std::format(L"{:d}", L"Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
99 TEST_IGNORE_NODISCARD std::format("{}", t.bit); // expected-error{{non-const reference cannot bind to bit-field 'bit'}} P2418() member in P2418::std
102 TEST_IGNORE_NODISCARD std::format(L"{}", t.bit); // expected-error{{non-const reference cannot bind to bit-field 'bit'}} P2418() member in P2418::std
[all...]
/llvm-project/libcxx/test/std/utilities/format/format.tuple/
H A Dformat.functions.format.verify.cpp23 TEST_IGNORE_NODISCARD std::format("{::}", std::make_tuple(0)); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
26 TEST_IGNORE_NODISCARD std::format("{::^}", std::make_tuple(0)); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
29 TEST_IGNORE_NODISCARD std::format("{:+}", std::make_pair(0, 0)); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
32 TEST_IGNORE_NODISCARD std::format("{:m}", std::make_tuple(0)); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
35 TEST_IGNORE_NODISCARD std::format("{:m}", std::make_tuple(0, 0, 0)); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
38 TEST_IGNORE_NODISCARD std::format(L"{::}", std::make_tuple(0)); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
41 TEST_IGNORE_NODISCARD std::format(L"{::^}", std::make_tuple(0)); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
44 TEST_IGNORE_NODISCARD std::format(L"{:+}", std::make_pair(0, 0)); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
47 TEST_IGNORE_NODISCARD std::format(L"{:m}", std::make_tuple(0)); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
50 TEST_IGNORE_NODISCARD std::format(L"{:m}", std::make_tuple(0, 0, 0)); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std
[all...]
/llvm-project/bolt/docs/
H A DBAT.md42 ### Layout
62 ### Functions table
93 ### Address translation table
117 ### Secondary Entry Points table
/llvm-project/lldb/tools/debugserver/source/
H A DDNBLog.cpp65 static inline void _DNBLogVAPrintf(uint32_t flags, const char *format, in _DNBLogVAPrintf()
74 void _DNBLog(uint32_t flags, const char *format, ...) { in _DNBLog()
83 void _DNBLogDebug(const char *format, ...) { in _DNBLogDebug()
94 void _DNBLogDebugVerbose(const char *format, ...) { in _DNBLogDebugVerbose()
107 void _DNBLogThreaded(const char *format, ...) { in _DNBLogThreaded()
149 void _DNBLogThreadedIf(uint32_t log_bit, const char *format, ...) { in _DNBLogThreadedIf()
191 void _DNBLogError(const char *format, ...) { in _DNBLogError()
208 void _DNBLogFatalError(int err, const char *format, ...) { in _DNBLogFatalError()
226 void _DNBLogVerbose(const char *format, ...) { in _DNBLogVerbose()
237 void _DNBLogWarningVerbose(const char *format, ...) { in _DNBLogWarningVerbose()
[all …]
H A DDNBError.cpp79 void DNBError::LogThreadedIfError(const char *format, ...) const { in LogThreadedIfError() argument
97 void DNBError::LogThreaded(const char *format, ...) const { in LogThreaded() argument
/llvm-project/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_format_interceptor_test.cpp51 static void verifyFormatResults(const char *format, unsigned n, in verifyFormatResults()
70 const char *format, ...) { in testScanf3()
77 static void testScanf2(const char *format, int scanf_result, in testScanf2()
92 static void testScanf(const char *format, unsigned n, ...) { in testScanf()
99 static void testScanfPartial(const char *format, int scanf_result, unsigned n, in testScanfPartial()
107 static void testScanfNoGnuMalloc(const char *format, unsigned n, ...) { in testScanfNoGnuMalloc()
243 static void testPrintf3(void *ctx, const char *format, ...) { in testPrintf3()
250 static void testPrintf2(const char *format, unsigned n, in testPrintf2()
264 static void testPrintf(const char *format, unsigned n, ...) { in testPrintf()
/llvm-project/flang/unittests/Runtime/
H A DRuntimeCrashTest.cpp59 static const char *format{"(C1)"}; in TEST() local
75 static const char *format{"(A4)"}; in TEST() local
86 static const char *format{"(A1)"}; in TEST() local
97 static const char *format{"(L in TEST() local
108 static const char *format{"(F1)"}; TEST() local
126 static const char *format{"(Z1,Z1)"}; TEST() local
144 static const char *format{"(I1)"}; TEST() local
[all...]
/llvm-project/openmp/runtime/src/
H A Dkmp_io.cpp115 void __kmp_vprintf(enum kmp_io out_stream, char const *format, va_list ap) { in __kmp_vprintf()
186 void __kmp_printf(char const *format, ...) { in __kmp_printf()
197 void __kmp_printf_no_lock(char const *format, ...) { in __kmp_printf_no_lock()
206 void __kmp_fprintf(enum kmp_io stream, char const *format, ...) { in __kmp_fprintf()
H A Dkmp_debug.cpp19 void __kmp_debug_printf_stdout(char const *format, ...) { in __kmp_debug_printf_stdout()
29 void __kmp_debug_printf(char const *format, ...) { in __kmp_debug_printf()
/llvm-project/clang/test/PCH/
H A Dva_arg.cpp16 void f(char *buffer, unsigned count, const char* format, va_list argptr) { in f()
20 void g(char *buffer, const char *format, __ms_va_list argptr) { in g()
/llvm-project/lldb/source/Utility/
H A DStatus.cpp54 Status(const char * format,...) Status() argument
190 SetExpressionErrorWithFormat(lldb::ExpressionResults result,const char * format,...) SetExpressionErrorWithFormat() argument
246 SetErrorStringWithFormat(const char * format,...) SetErrorStringWithFormat() argument
259 SetErrorStringWithVarArg(const char * format,va_list args) SetErrorStringWithVarArg() argument
280 void llvm::format_provider<lldb_private::Status>::format( format() function in llvm::format_provider::Status
H A DLog.cpp146 Printf(const char * format,...) Printf() argument
153 VAPrintf(const char * format,va_list args) VAPrintf() argument
160 Formatf(llvm::StringRef file,llvm::StringRef function,const char * format,...) Formatf() argument
168 VAFormatf(llvm::StringRef file,llvm::StringRef function,const char * format,va_list args) VAFormatf() argument
175 Error(const char * format,...) Error() argument
182 VAError(const char * format,va_list args) VAError() argument
190 Verbose(const char * format,...) Verbose() argument
201 Warning(const char * format,...) Warning() argument
[all...]
/llvm-project/libcxx/include/__format/
H A Dformatter_char.h44 _LIBCPP_HIDE_FROM_ABI typename _FormatContext::iterator format(_CharT __value, _FormatContext& __ctx) const { in format() function
64 _LIBCPP_HIDE_FROM_ABI typename _FormatContext::iterator format(char __value, _FormatContext& __ctx) const in format() function
/llvm-project/lldb/unittests/Core/
H A DDumpDataExtractorTest.cpp98 lldb::Format format, llvm::StringRef expected) { in TestDumpImpl()
110 static void TestDump(T data, lldb::Format format, llvm::StringRef expected) { in TestDump()
115 static void TestDump(llvm::StringRef str, lldb::Format format, in TestDump()
124 static void TestDump(const std::vector<T> data, lldb::Format format, in TestDump()
304 void TestDumpMultiLine(std::vector<T> data, lldb::Format format, in TestDumpMultiLine()
312 void TestDumpMultiLine(const T *data, size_t num_items, lldb::Format format, in TestDumpMultiLine()
365 void TestDumpWithItemByteSize(size_t item_byte_size, lldb::Format format, in TestDumpWithItemByteSize()
/llvm-project/llvm/include/llvm/Support/
H A DFormatAdapters.h39 void format(llvm::raw_ostream &Stream, StringRef Style) override { in format() function
53 void format(llvm::raw_ostream &Stream, StringRef Style) override { in format() function
68 void format(llvm::raw_ostream &Stream, StringRef Style) override { in format() function
81 void format(llvm::raw_ostream &Stream, StringRef Style) override { in format() function
/llvm-project/lldb/include/lldb/Interpreter/
H A DCommandReturnObject.h120 void AppendWarningWithFormat(const char *format, ...) in AppendMessageWithFormatv() argument
125 AppendWarningWithFormatv(const char * format,Args &&...args) AppendWarningWithFormatv() argument
130 AppendErrorWithFormatv(const char * format,Args &&...args) AppendErrorWithFormatv() argument
[all...]
/llvm-project/lldb/include/lldb/Utility/
H A DStatus.h68 createWithFormat(const char * format,Args &&...args) createWithFormat() argument
169 SetErrorStringWithFormatv(const char * format,Args &&...args) SetErrorStringWithFormatv() argument
/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_printf.cpp129 const char *format, va_list args) { in VSNPrintf()
250 const char *format, in SharedPrintfCodeNoBuffer()
302 static void NOINLINE SharedPrintfCode(bool append_pid, const char *format, in SharedPrintfCode()
313 void Printf(const char *format, ...) { in Printf()
321 void Report(const char *format, ...) { in Report()
332 int internal_snprintf(char *buffer, uptr length, const char *format, ...) { in internal_snprintf()
347 void InternalScopedString::AppendF(const char *format, ...) { in AppendF()
H A Dsanitizer_symbolizer_markup.cpp28 const char *format, const DataInfo *DI, in RenderData()
34 bool MarkupStackTracePrinter::RenderNeedsSymbolization(const char *format) { in RenderNeedsSymbolization()
40 const char *format, int frame_no, in RenderFrame()
/llvm-project/llvm/lib/Support/
H A DChrono.cpp72 static void format(const T &Fractional, struct tm &LT, raw_ostream &OS, in format() function
109 void format_provider<UtcTime<std::chrono::seconds>>::format( in format() function in llvm::format_provider::chrono::seconds
119 void format_provider<TimePoint<>>::format(const TimePoint<> &T, raw_ostream &OS, in format() function in llvm::format_provider
/llvm-project/clang/test/Preprocessor/
H A Dmacro_paste_commaext.c10 #define debug(format, ...) format, ## __VA_ARGS__) argument
/llvm-project/lldb/include/lldb/Core/
H A DModule.h783 LogMessage(Log * log,const char * format,Args &&...args) LogMessage() argument
788 LogMessageVerboseBacktrace(Log * log,const char * format,Args &&...args) LogMessageVerboseBacktrace() argument
795 ReportWarning(const char * format,Args &&...args) ReportWarning() argument
800 ReportError(const char * format,Args &&...args) ReportError() argument
807 ReportErrorIfModifyDetected(const char * format,Args &&...args) ReportErrorIfModifyDetected() argument
[all...]
/llvm-project/clang/unittests/Format/
H A DFormatTestJson.cpp17 namespace format { namespace
21 static std::string format(StringRef Code, unsigned Offset, unsigned Length, in format() function in clang::format::FormatTestJson
50 format(StringRef Code, in format() function in clang::format::FormatTestJson

12345678910>>...13