Home
last modified time | relevance | path

Searched refs:parse_ctx (Results 1 – 10 of 10) sorted by relevance

/external/fmtlib/test/
Dformat415 …: ptr_(&val), format_([](basic_format_parse_context<char_type>& parse_ctx, Context& format_ctx, co…
417 parse_ctx.advance_to(f.parse(parse_ctx));
422 void basic_format_arg<Context>::handle::format(basic_format_parse_context<char_type>& parse_ctx, Co…
423 format_(parse_ctx, format_ctx, ptr_);
515 …arg_formatter(format_context& ctx, parse_context* parse_ctx = nullptr, fmt::format_specs* spec = n…
516 : base(Range(ctx.out()), spec, {}), parse_ctx_(parse_ctx), ctx_(ctx) {}
573 …custom_formatter(parse_context& parse_ctx, Context& ctx) : parse_ctx_(parse_ctx), format_ctx_(ctx)…
590 : parse_ctx(str), context(r.begin(), format_args, loc) {}
601 arg = context.arg(parse_ctx.next_arg_id());
604 parse_ctx.check_arg_id(id);
[all …]
Dcustom-formatter-test.cc27 fmt::format_parse_context* parse_ctx, in custom_arg_formatter() argument
29 : base(ctx, parse_ctx, s) {} in custom_arg_formatter()
Dscan.h67 void (*scan)(void* arg, scan_parse_context& parse_ctx, scan_context& ctx);
101 static void scan_custom_arg(void* arg, scan_parse_context& parse_ctx, in scan_custom_arg() argument
104 parse_ctx.advance_to(s.parse(parse_ctx)); in scan_custom_arg()
Dostream-test.cc70 fmt::format_parse_context parse_ctx; member
72 : fmt::arg_formatter<range>(ctx, &parse_ctx, &s), parse_ctx("") {} in test_arg_formatter()
Dcore-test.cc381 fmt::format_parse_context parse_ctx(""); in operator ()() local
383 h.format(parse_ctx, ctx); in operator ()()
Dformat-test.cc2313 auto parse_ctx = test_parse_context(); in parse_specs() local
2316 specs, parse_ctx, ctx); in parse_specs()
/external/fmtlib/include/fmt/
Dcompile.h164 basic_format_parse_context<typename Range::value_type>& parse_ctx, in format_arg() argument
167 visit_format_arg(arg_formatter<Range>(ctx, &parse_ctx), ctx.arg(arg_id))); in format_arg()
176 basic_format_parse_context<char_type> parse_ctx(
198 advance_to(parse_ctx, part.arg_id_end);
199 internal::format_arg<Range>(parse_ctx, ctx, value.arg_index);
203 advance_to(parse_ctx, part.arg_id_end);
204 internal::format_arg<Range>(parse_ctx, ctx, value.str);
226 advance_to(parse_ctx, part.arg_id_end);
Dcore.h753 void (*format)(const void* arg, parse_context& parse_ctx, Context& ctx);
814 const void* arg, basic_format_parse_context<char_type>& parse_ctx,
817 parse_ctx.advance_to(f.parse(parse_ctx));
973 void format(basic_format_parse_context<char_type>& parse_ctx,
975 custom_.format(custom_.value, parse_ctx, ctx);
Dformat.h2011 explicit custom_formatter(basic_format_parse_context<char_type>& parse_ctx,
2013 : parse_ctx_(parse_ctx), ctx_(ctx) {}
2202 ParseContext& parse_ctx, Context& ctx)
2204 parse_context_(parse_ctx),
2736 basic_format_parse_context<char_type>* parse_ctx = nullptr,
2740 parse_ctx_(parse_ctx) {}
/external/fmtlib/doc/
Dapi.rst320 fmt::format_parse_context* parse_ctx = nullptr,
322 : arg_formatter(ctx, parse_ctx, spec) {}