Home
last modified time | relevance | path

Searched refs:left_align (Results 1 – 13 of 13) sorted by relevance

/third_party/boost/libs/spirit/test/karma/
Dleft_alignment.cpp27 BOOST_TEST(test("x ", left_align[char_('x')])); in main()
28 BOOST_TEST(test("x ", left_align[char_], 'x')); in main()
29 BOOST_TEST(test("x ", left_align['x'])); in main()
31 BOOST_TEST(test("x ", left_align(10)[char_('x')])); in main()
32 BOOST_TEST(test("x ", left_align(10)[char_], 'x')); in main()
33 BOOST_TEST(test("x ", left_align(10)['x'])); in main()
35 BOOST_TEST(test("x*********", left_align(10, char_('*'))[char_('x')])); in main()
36 BOOST_TEST(test("x*********", left_align(10, '*')[char_], 'x')); in main()
37 BOOST_TEST(test("x*********", left_align(10, '*')['x'])); in main()
38 BOOST_TEST(test("xaaaaaaaaa", lower[left_align(10, 'A')['X']])); in main()
[all …]
Dtricky_alignment.cpp26 BOOST_TEST(test("x *****", left_align(15, '*')[left_align[char_('x')]])); in main()
27 BOOST_TEST(test(" x *****", left_align(15, '*')[center[char_('x')]])); in main()
28 BOOST_TEST(test(" x*****", left_align(15, '*')[right_align[char_('x')]])); in main()
30 BOOST_TEST(test("*****x ", right_align(15, '*')[left_align[char_('x')]])); in main()
34 BOOST_TEST(test("***x **", center(15, '*')[left_align[char_('x')]])); in main()
38 BOOST_TEST(test("ab *****", left_align(15, '*')[left_align[lit("ab")]])); in main()
39 BOOST_TEST(test(" ab *****", left_align(15, '*')[center[lit("ab")]])); in main()
40 BOOST_TEST(test(" ab*****", left_align(15, '*')[right_align[lit("ab")]])); in main()
42 BOOST_TEST(test("*****ab ", right_align(15, '*')[left_align[lit("ab")]])); in main()
46 BOOST_TEST(test("***ab **", center(15, '*')[left_align[lit("ab")]])); in main()
[all …]
Dsequence2.cpp78 BOOST_TEST(test("Aa ", left_align[char_('A') << 'a'])); in main()
115 BOOST_TEST(test("Aa ", left_align[char_ << 'a'][_1 = 'A'])); in main()
/third_party/boost/libs/spirit/workbench/karma/
Dformat_performance.cpp35 using boost::spirit::karma::left_align; in format_performance_karma()
46 , '[' << left_align(14)[double3] << left_align(14)[double3] << ']' in format_performance_karma()
58 using boost::spirit::karma::left_align; in format_performance_rule()
66 r %= '[' << left_align(14)[double3] << left_align(14)[double3] << ']'; in format_performance_rule()
83 using boost::spirit::karma::left_align; in format_performance_string()
95 , '[' << left_align(14)[double3] << left_align(14)[double3] << ']' in format_performance_string()
/third_party/boost/boost/spirit/home/karma/directive/
Dleft_alignment.hpp43 struct use_directive<karma::domain, tag::left_align>
50 , terminal_ex<tag::left_align, fusion::vector1<T> > >
55 struct use_lazy_directive<karma::domain, tag::left_align, 1>
62 , terminal_ex<tag::left_align, fusion::vector2<Width, Padding> > >
68 struct use_lazy_directive<karma::domain, tag::left_align, 2>
77 using spirit::left_align;
208 struct make_directive<tag::left_align, Subject, Modifiers>
221 terminal_ex<tag::left_align, fusion::vector1<Width> >
238 terminal_ex<tag::left_align, fusion::vector1<Padding> >
266 terminal_ex<tag::left_align, fusion::vector2<Width, Padding> >
/third_party/pixman/test/
Dcover-test.c259 pixman_bool_t left_align, top_align; in test_cover() local
302 left_align = prng_rand_n (2); in test_cover()
324 x_scale, left_align, bilinear); in test_cover()
344 x_scale, left_align, in test_cover()
385 left_align ? "left" : "right", top_align ? "top" : "bottom", in test_cover()
/third_party/boost/libs/spirit/doc/karma/
Ddirective.qbk12 directives (`left_align[]`, `center[]`, and `right_align[]`), repetition
27 [section:alignment Alignment Generator Directives (`left_align[]`, `center[]`, `right_align[]`)]
37 For the `left_align[]` directive:
58 [[`boost::spirit::left_align // alias: boost::spirit::karma::left_align` ]]
83 [[`left_align[a]`] [Generate `a` left aligned in a column of
91 [[`left_align(width)[a]`] [Generate `a` left aligned in a column of
97 [[`left_align(pad)[a]`] [Generate `a` left aligned in a column of
106 [[`left_align(width, pad)[a]`] [Generate `a` left aligned in a column of
196 [[`left_align[]`]
197 [``a: A --> left_align[a]: A
[all …]
Dquick_reference.qbk397 [[[karma_align `left_align`]`[a]`] [`A`] [Generate `a` left aligned in column of width
399 …[[[karma_align `left_align`]`(num)[a]`] [`A`] [Generate `a` left aligned in column of width `num…
400 [[[karma_align `left_align`]`(g)[a]`] [`A`] [Generate `a` left aligned in column of width
403 …[[[karma_align `left_align`]`(num, g)[a]`][`A`] [Generate `a` left aligned in column of width `num`
Dconcepts.qbk188 * [karma_align `left_align`], [karma_align `center`], and [karma_align `right_align`] directives,
/third_party/libsnd/src/
Dcommon.c107 int d, tens, shift, width, width_specifier, left_align, slen ; in psf_log_printf() local
125 left_align = SF_FALSE ; in psf_log_printf()
135 left_align = SF_TRUE ; in psf_log_printf()
167 if (left_align == SF_FALSE) in psf_log_printf()
182 if (lead_char != '0' && left_align == SF_FALSE) in psf_log_printf()
200 if (left_align == SF_FALSE && lead_char != '0') in psf_log_printf()
213 if (left_align == SF_FALSE) in psf_log_printf()
279 if (left_align == SF_FALSE && lead_char != '0') in psf_log_printf()
292 if (left_align == SF_FALSE) in psf_log_printf()
/third_party/boost/libs/spirit/example/karma/
Dreference.cpp363 using boost::spirit::karma::left_align; in main()
370 test_generator_attr("1.0 |2.0", left_align(8)[double_] << '|' << double_, p); in main()
430 using boost::spirit::karma::left_align; in main()
437 test_generator("0123 ", maxwidth(8)[left_align(8)["0123"]]); in main()
/third_party/boost/boost/spirit/home/support/
Dcommon_terminals.hpp131 ( left_align, left_align_type )
/third_party/boost/libs/spirit/doc/
Dindex.idx142 left_align "" ".*karma.reference.directive.alignment.*" karma_index