Home
last modified time | relevance | path

Searched refs:formatter (Results 1 – 25 of 48) sorted by relevance

12

/llvm-project-15.0.7/libcxx/test/libcxx/utilities/format/format.formatter/format.context/
H A Dtypes.compile.pass.cpp42 std::formatter<bool, CharT>>); in test()
46 std::formatter<CharT, CharT>>); in test()
49 std::formatter<int, CharT>>); in test()
53 std::formatter<unsigned, CharT>>); in test()
57 std::formatter<long long, CharT>>); in test()
66 std::formatter<__int128_t, CharT>>); in test()
70 std::formatter<__uint128_t, CharT>>); in test()
75 std::formatter<float, CharT>>); in test()
79 std::formatter<double, CharT>>); in test()
83 std::formatter<long double, CharT>>); in test()
[all …]
/llvm-project-15.0.7/libcxx/include/__format/
H A Dformatter_integer.h63 struct _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT formatter<signed char, _CharT>
66 struct _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT formatter<short, _CharT> : public __formatt…
69 struct _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT formatter<int, _CharT> : public __formatter…
73 struct _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT formatter<long long, _CharT>
77 struct _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT formatter<__int128_t, _CharT>
83 struct _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT formatter<unsigned char, _CharT>
86 struct _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT formatter<unsigned short, _CharT>
89 struct _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT formatter<unsigned, _CharT>
92 struct _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT formatter<unsigned long, _CharT>
95 struct _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT formatter<unsigned long long, _CharT>
[all …]
H A Dformatter.h36 struct _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT formatter { struct
37 formatter() = delete;
38 formatter(const formatter&) = delete;
39 formatter& operator=(const formatter&) = delete; argument
H A Dformatter_string.h51 struct _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT formatter<const _CharT*, _CharT>
84 struct _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT formatter<_CharT*, _CharT>
85 : public formatter<const _CharT*, _CharT> {
86 using _Base = formatter<const _CharT*, _CharT>;
95 struct _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT formatter<_CharT[_Size], _CharT>
106 struct _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT formatter<const _CharT[_Size], _CharT>
117 struct _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT formatter<basic_string<_CharT, _Traits, _Al…
130 struct _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT formatter<basic_string_view<_CharT, _Traits…
H A Dconcepts.h40 concept __formattable = (semiregular<formatter<remove_cvref_t<_Tp>, _CharT>>) &&
41 requires(formatter<remove_cvref_t<_Tp>, _CharT> __f, in requires()
42 formatter<remove_cvref_t<_Tp>, _CharT> __cf, _Tp __t, in requires()
H A Dformatter_pointer.h60 struct _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT formatter<nullptr_t, _CharT>
63 struct _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT formatter<void*, _CharT> : public __formatt…
66 struct _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT formatter<const void*, _CharT>
H A Dformatter_char.h68 struct _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT formatter<char, char> : public __formatter_…
72 struct _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT formatter<char, wchar_t> : public __formatt…
75 struct _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT formatter<wchar_t, wchar_t> : public __form…
/llvm-project-15.0.7/libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/
H A Dformatter.handle.pass.cpp33 struct std::formatter<color> : std::formatter<const char*> { struct in std
34 …auto format(color c, auto& ctx) { return formatter<const char*>::format(color_names[static_cast<in… in format()
39 std::formatter<color, char> formatter; in test() local
40 static_assert(std::semiregular<decltype(formatter)>); in test()
42 auto it = formatter.parse(parse_ctx); in test()
50 formatter.format(arg, format_ctx); in test()
H A Dformatter.bool.pass.cpp36 std::formatter<bool, CharT> formatter; in test() local
37 static_assert(std::semiregular<decltype(formatter)>); in test()
39 auto it = formatter.parse(parse_ctx); in test()
48 formatter.format(arg, format_ctx); in test()
H A Dformatter.char.pass.cpp35 std::formatter<ArgumentT, CharT> formatter; in test() local
36 static_assert(std::semiregular<decltype(formatter)>); in test()
38 auto it = formatter.parse(parse_ctx); in test()
47 formatter.format(arg, format_ctx); in test()
H A Dformatter.unsigned_integral.pass.cpp43 std::formatter<ArithmeticT, CharT> formatter; in test() local
44 static_assert(std::semiregular<decltype(formatter)>); in test()
46 auto it = formatter.parse(parse_ctx); in test()
55 formatter.format(arg, format_ctx); in test()
H A Dformatter.pointer.pass.cpp41 std::formatter<PointerT, CharT> formatter; in test() local
42 static_assert(std::semiregular<decltype(formatter)>); in test()
44 auto it = formatter.parse(parse_ctx); in test()
52 formatter.format(arg, format_ctx); in test()
H A Dformatter.c_string.pass.cpp34 std::formatter<T, CharT> formatter; in test() local
35 static_assert(std::semiregular<decltype(formatter)>); in test()
37 auto it = formatter.parse(parse_ctx); in test()
47 formatter.format(arg, format_ctx); in test()
H A Dformatter.signed_integral.pass.cpp43 std::formatter<ArithmeticT, CharT> formatter; in test() local
44 static_assert(std::semiregular<decltype(formatter)>); in test()
46 auto it = formatter.parse(parse_ctx); in test()
55 formatter.format(arg, format_ctx); in test()
H A Dformatter.const_char_array.pass.cpp48 std::formatter<Str, CharT> formatter; in test() local
49 static_assert(std::semiregular<decltype(formatter)>); in test()
51 auto it = formatter.parse(parse_ctx); in test()
64 formatter.format(*data, format_ctx); in test()
H A Dformatter.char_array.pass.cpp46 std::formatter<Str, CharT> formatter; in test() local
47 static_assert(std::semiregular<decltype(formatter)>); in test()
49 auto it = formatter.parse(parse_ctx); in test()
61 formatter.format(*data, format_ctx); in test()
H A Dformatter.string.pass.cpp42 std::formatter<T, CharT> formatter; in test() local
43 static_assert(std::semiregular<decltype(formatter)>); in test()
45 auto it = formatter.parse(parse_ctx); in test()
55 formatter.format(arg, format_ctx); in test()
H A Dtypes.compile.pass.cpp55 static_assert(std::same_as<std::formatter<int>, std::formatter<int, char>>);
67 template <class T, class CharT, class F = std::formatter<T, CharT>>
89 template <class T, class CharT, class F = std::formatter<T, CharT>>
/llvm-project-15.0.7/compiler-rt/lib/dfsan/
H A Ddfsan_custom.cpp2215 while (*formatter.fmt_cur) { in format_buffer()
2216 formatter.fmt_start = formatter.fmt_cur; in format_buffer()
2217 formatter.width = -1; in format_buffer()
2220 if (*formatter.fmt_cur != '%') { in format_buffer()
2223 for (; *(formatter.fmt_cur + 1) && *(formatter.fmt_cur + 1) != '%'; in format_buffer()
2224 ++formatter.fmt_cur) {} in format_buffer()
2225 retval = formatter.format(); in format_buffer()
2247 if (formatter.fmt_cur - formatter.fmt_start >= 2 && in format_buffer()
2374 formatter.fmt_cur++; in format_buffer()
2375 formatter.str_off += retval; in format_buffer()
[all …]
/llvm-project-15.0.7/lldb/utils/lui/
H A Dsourcewin.py38 self.formatter = TerminalFormatter()
42 self.formatter = None
46 self.formatter = None
127 if self.formatter is not None:
169 if self.lexer and self.formatter:
171 return highlight(source, self.lexer, self.formatter)
/llvm-project-15.0.7/polly/utils/
H A Dargparse.py233 self.formatter = formatter
241 self.formatter._indent()
247 self.formatter._dedent()
1048 formatter.add_text(version)
2267 formatter = self._get_formatter()
2270 return formatter.format_help()
2287 formatter.end_section()
2290 formatter.add_text(self.epilog)
2293 return formatter.format_help()
2302 formatter.add_text(self.version)
[all …]
/llvm-project-15.0.7/clang/test/FixIt/
H A Dproperty-access-fixit.m15 @property(assign, readwrite, getter=formatter, setter=setFormatter:) BridgeFormatter* cppFormatter;
21 self.formatter = 0;
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DTwineTest.cpp112 struct formatter : FormatAdapter<int> { in TEST() struct
113 explicit formatter(int &Count) : FormatAdapter(0), Count(Count) {} in TEST() function
120 formatter Formatter(Count); in TEST()
/llvm-project-15.0.7/libcxx/test/std/utilities/format/format.functions/
H A DP2418.pass.cpp30 struct std::formatter<MoveOnly, CharT> : std::formatter<int, CharT> { struct in std
33 return std::formatter<int, CharT>::format(m.get(), ctx); in format() argument
/llvm-project-15.0.7/lldb/include/lldb/DataFormatters/
H A DFormattersContainer.h147 for (auto &formatter : llvm::reverse(m_map)) { in Get()
148 if (formatter.first.Matches(type)) { in Get()
149 entry = formatter.second; in Get()

12