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_);
514 …arg_formatter(format_context& ctx, parse_context* parse_ctx = nullptr, fmt::format_specs* spec = n…
515 : base(ctx.out(), spec, {}), parse_ctx_(parse_ctx), ctx_(ctx) {}
572 …custom_formatter(parse_context& parse_ctx, Context& ctx) : parse_ctx_(parse_ctx), format_ctx_(ctx)…
589 : parse_ctx(str), context(out, format_args, loc) {}
599 int on_arg_id() { return parse_ctx.next_arg_id(); }
600 int on_arg_id(unsigned id) { return parse_ctx.check_arg_id(id), id; }
[all …]
Dscan.h69 void (*scan)(void* arg, scan_parse_context& parse_ctx, scan_context& ctx);
103 static void scan_custom_arg(void* arg, scan_parse_context& parse_ctx, in scan_custom_arg() argument
106 parse_ctx.advance_to(s.parse(parse_ctx)); in scan_custom_arg()
Dostream-test.cc69 fmt::format_parse_context parse_ctx; member
72 ctx, &parse_ctx, &s), in test_arg_formatter()
73 parse_ctx("") {} in test_arg_formatter()
Dlocale-test.cc103 auto parse_ctx = fmt::format_parse_context("L"); in TEST() local
104 f.parse(parse_ctx); in TEST()
Dcore-test.cc376 fmt::format_parse_context parse_ctx(""); in operator ()() local
379 h.format(parse_ctx, ctx); in operator ()()
Dformat-test.cc2170 auto parse_ctx = test_parse_context(); in parse_specs() local
2173 specs, parse_ctx, ctx); in parse_specs()
/external/fmtlib/include/fmt/
Dcompile.h196 basic_format_parse_context<typename Context::char_type>& parse_ctx, in format_arg() argument
199 arg_formatter<OutputIt, typename Context::char_type>(ctx, &parse_ctx), in format_arg()
209 basic_format_parse_context<char_type> parse_ctx(
231 advance_to(parse_ctx, part.arg_id_end);
232 detail::format_arg<OutputIt>(parse_ctx, ctx, value.arg_index);
236 advance_to(parse_ctx, part.arg_id_end);
237 detail::format_arg<OutputIt>(parse_ctx, ctx, value.str);
259 advance_to(parse_ctx, part.arg_id_end);
Dcore.h1045 void (*format)(const void* arg, parse_context& parse_ctx, Context& ctx);
1106 typename Context::parse_context_type& parse_ctx,
1109 parse_ctx.advance_to(f.parse(parse_ctx));
1281 void format(typename Context::parse_context_type& parse_ctx,
1283 custom_.format(custom_.value, parse_ctx, ctx);
Dformat.h2111 basic_format_parse_context<Char> parse_ctx({});
2113 handle.format(parse_ctx, format_ctx);
2325 basic_format_parse_context<char_type>* parse_ctx = nullptr,
2329 parse_ctx_(parse_ctx),
2377 explicit custom_formatter(basic_format_parse_context<char_type>& parse_ctx,
2379 : parse_ctx_(parse_ctx), ctx_(ctx) {}
2572 ParseContext& parse_ctx, Context& ctx)
2574 parse_context_(parse_ctx),
Dformat-inl.h2650 format_parse_context parse_ctx({});
2652 h.format(parse_ctx, format_ctx);