Home
last modified time | relevance | path

Searched refs:FormatContext (Results 1 – 14 of 14) sorted by relevance

/external/fmtlib/include/fmt/
Dranges.h199 template <typename FormatContext> struct format_each {
217 std::declval<FormatContext>().out())>::type out;
228 template <typename FormatContext = format_context>
229 auto format(const TupleT& values, FormatContext& ctx) -> decltype(ctx.out()) {
234 detail::for_each(values, format_each<FormatContext>{formatting, i, out});
270 template <typename FormatContext>
271 typename FormatContext::iterator format(const T& values, FormatContext& ctx) {
310 template <typename FormatContext>
311 typename FormatContext::iterator format(
312 const tuple_arg_join<Char, T...>& value, FormatContext& ctx) {
[all …]
Dchrono.h389 template <typename FormatContext>
391 FormatContext& ctx) -> decltype(ctx.out()) {
410 template <typename FormatContext>
411 auto format(const std::tm& tm, FormatContext& ctx) -> decltype(ctx.out()) {
789 template <typename FormatContext, typename OutputIt, typename Rep,
792 FormatContext& context;
805 using char_type = typename FormatContext::char_type;
807 explicit chrono_formatter(FormatContext& ctx, OutputIt o,
1091 template <typename FormatContext>
1092 auto format(const duration& d, FormatContext& ctx) -> decltype(ctx.out()) {
[all …]
Dformat.h3465 template <typename FormatContext>
3466 auto format(const T& val, FormatContext& ctx) -> decltype(ctx.out()) {
3471 using af = detail::arg_formatter<typename FormatContext::iterator,
3472 typename FormatContext::char_type>;
3474 detail::make_arg<FormatContext>(val));
3484 template <typename FormatContext> \
3485 auto format(Type const& val, FormatContext& ctx) -> decltype(ctx.out()) { \
3503 template <typename FormatContext>
3504 auto format(void* val, FormatContext& ctx) -> decltype(ctx.out()) {
3511 template <typename FormatContext>
[all …]
Dprintf.h326 template <typename FormatContext>
327 auto format(const T& value, FormatContext& ctx) -> decltype(ctx.out()) {
/external/fmtlib/test/
Dostream-test.cc16 template <typename FormatContext>
17 typename FormatContext::iterator format(const test&, FormatContext& ctx) { in format()
215 template <typename FormatContext>
216 typename FormatContext::iterator format(TestTemplate<T>, FormatContext& ctx) { in format()
Dlocale-test.cc129 template <class FormatContext>
130 typename FormatContext::iterator format(const std::complex<double>& c, in format()
131 FormatContext& ctx) { in format()
Dcompile-test.cc104 template <typename FormatContext>
105 auto format(test_formattable, FormatContext& ctx) -> decltype(ctx.out()) { in format()
Dformat684 template <typename FormatContext>
685 auto format(const T& val, FormatContext& ctx) -> decltype(ctx.out()) {
690 using af = arg_formatter<typename FormatContext::iterator,
691 typename FormatContext::char_type>;
693 basic_format_arg<FormatContext>(val));
Dcore-test.cc432 template <typename FormatContext>
433 auto format(const custom_type& p, FormatContext& ctx) -> decltype(ctx.out()) { in format()
Dformat-test.cc1536 template <typename FormatContext>
1537 auto format(Answer, FormatContext& ctx) -> decltype(ctx.out()) { in format()
1906 template <typename FormatContext>
1907 auto format(adl_test::fmt::detail::foo, FormatContext& ctx) in format()
/external/clang/include/clang/Index/
DCommentToXML.h28 std::unique_ptr<SimpleFormatContext> FormatContext; variable
/external/fmtlib/doc/
Dapi.rst202 template <typename FormatContext>
203 auto format(const point& p, FormatContext& ctx) {
204 // auto format(const point &p, FormatContext &ctx) -> decltype(ctx.out()) // c++11
226 template <typename FormatContext>
227 auto format(color c, FormatContext& ctx) {
/external/clang/lib/Index/
DCommentToXML.cpp1151 if (!FormatContext || (FormatInMemoryUniqueId % 1000) == 0) { in convertCommentToXML()
1154 FormatContext.reset(new SimpleFormatContext(Context.getLangOpts())); in convertCommentToXML()
1158 Context.getSourceManager(), *FormatContext, in convertCommentToXML()
/external/fmtlib/
DChangeLog.rst2173 template <typename FormatContext>
2174 auto format(Answer, FormatContext& ctx) {