Home
last modified time | relevance | path

Searched refs:tuple (Results 1 – 25 of 2954) sorted by relevance

12345678910>>...119

/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatDataDrivenTest.java125 public String format(DataDrivenNumberFormatTestData tuple) {
126 DecimalFormat fmt = createDecimalFormat(tuple);
127 String actual = fmt.format(toNumber(tuple.format));
128 String expected = tuple.output;
136 public String toPattern(DataDrivenNumberFormatTestData tuple) {
137 DecimalFormat fmt = createDecimalFormat(tuple);
139 if (tuple.toPattern != null) {
140 String expected = tuple.toPattern;
146 if (tuple.toLocalizedPattern != null) {
147 String expected = tuple.toLocalizedPattern;
[all …]
DDataDrivenNumberFormatTestUtility.java49 public String format(DataDrivenNumberFormatTestData tuple) { in format() argument
50 if (tuple.output != null && tuple.output.equals("fail")) return "fail"; in format()
60 public String toPattern(DataDrivenNumberFormatTestData tuple) { in toPattern() argument
61 if (tuple.output != null && tuple.output.equals("fail")) return "fail"; in toPattern()
71 public String parse(DataDrivenNumberFormatTestData tuple) { in parse() argument
72 if (tuple.output != null && tuple.output.equals("fail")) return "fail"; in parse()
82 public String parseCurrency(DataDrivenNumberFormatTestData tuple) { in parseCurrency() argument
83 if (tuple.output != null && tuple.output.equals("fail")) return "fail"; in parseCurrency()
93 public String select(DataDrivenNumberFormatTestData tuple) { in select() argument
94 if (tuple.output != null && tuple.output.equals("fail")) return "fail"; in select()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DNumberFormatDataDrivenTest.java128 public String format(DataDrivenNumberFormatTestData tuple) {
129 DecimalFormat fmt = createDecimalFormat(tuple);
130 String actual = fmt.format(toNumber(tuple.format));
131 String expected = tuple.output;
139 public String toPattern(DataDrivenNumberFormatTestData tuple) {
140 DecimalFormat fmt = createDecimalFormat(tuple);
142 if (tuple.toPattern != null) {
143 String expected = tuple.toPattern;
149 if (tuple.toLocalizedPattern != null) {
150 String expected = tuple.toLocalizedPattern;
[all …]
DDataDrivenNumberFormatTestUtility.java52 public String format(DataDrivenNumberFormatTestData tuple) { in format() argument
53 if (tuple.output != null && tuple.output.equals("fail")) return "fail"; in format()
63 public String toPattern(DataDrivenNumberFormatTestData tuple) { in toPattern() argument
64 if (tuple.output != null && tuple.output.equals("fail")) return "fail"; in toPattern()
74 public String parse(DataDrivenNumberFormatTestData tuple) { in parse() argument
75 if (tuple.output != null && tuple.output.equals("fail")) return "fail"; in parse()
85 public String parseCurrency(DataDrivenNumberFormatTestData tuple) { in parseCurrency() argument
86 if (tuple.output != null && tuple.output.equals("fail")) return "fail"; in parseCurrency()
96 public String select(DataDrivenNumberFormatTestData tuple) { in select() argument
97 if (tuple.output != null && tuple.output.equals("fail")) return "fail"; in select()
[all …]
/third_party/icu/icu4c/source/test/intltest/
Dnumfmtdatadriventest.cpp69 static void adjustDecimalFormat(const NumberFormatTestTuple& tuple, DecimalFormat& fmt, in adjustDecimalFormat() argument
71 if (tuple.minIntegerDigitsFlag) { in adjustDecimalFormat()
72 fmt.setMinimumIntegerDigits(tuple.minIntegerDigits); in adjustDecimalFormat()
74 if (tuple.maxIntegerDigitsFlag) { in adjustDecimalFormat()
75 fmt.setMaximumIntegerDigits(tuple.maxIntegerDigits); in adjustDecimalFormat()
77 if (tuple.minFractionDigitsFlag) { in adjustDecimalFormat()
78 fmt.setMinimumFractionDigits(tuple.minFractionDigits); in adjustDecimalFormat()
80 if (tuple.maxFractionDigitsFlag) { in adjustDecimalFormat()
81 fmt.setMaximumFractionDigits(tuple.maxFractionDigits); in adjustDecimalFormat()
83 if (tuple.currencyFlag) { in adjustDecimalFormat()
[all …]
/third_party/boost/libs/mp11/test/
Dmp_append.cpp41 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_append<std::tuple<>>, std::tuple<>>)); in main()
42 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_append<std::tuple<>, std::tuple<X1>>, std::tuple<X1>>)); in main()
43 …OOST_TEST_TRAIT_TRUE((std::is_same<mp_append<std::tuple<>, std::tuple<X1>, std::tuple<X2>>, std::t… in main()
44 …T_TRAIT_TRUE((std::is_same<mp_append<std::tuple<>, std::tuple<X1>, std::tuple<X2>, std::tuple<X3>>… in main()
45 …TRUE((std::is_same<mp_append<std::tuple<>, std::tuple<X1>, std::tuple<X2>, std::tuple<X3>, std::tu… in main()
46 …d::is_same<mp_append<std::tuple<>, std::tuple<X1>, std::tuple<X2>, std::tuple<X3>, std::tuple<X4>,… in main()
47 …me<mp_append<std::tuple<>, std::tuple<X1>, std::tuple<X2>, std::tuple<X3>, std::tuple<X4>, std::tu… in main()
51 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_append<std::tuple<>, mp_list<>>, std::tuple<>>)); in main()
52 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_append<std::tuple<>, mp_list<X1>>, std::tuple<X1>>)); in main()
53 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_append<std::tuple<>, mp_list<X1>, std::tuple<X2>>, std::tup… in main()
[all …]
Dmp_power_set.cpp26 BOOST_TEST_TRAIT_TRUE((std::is_same< mp_power_set< std::tuple<> >, std::tuple<std::tuple<>> >)); in main()
27 …T_TEST_TRAIT_TRUE((std::is_same< mp_power_set< std::tuple<X1> >, std::tuple< std::tuple<>, std::tu… in main()
28 …(std::is_same< mp_power_set< std::tuple<X2, X1> >, std::tuple< std::tuple<>, std::tuple<X1>, std:: in main()
29 …(std::is_same< mp_power_set< std::tuple<X1, X1> >, std::tuple< std::tuple<>, std::tuple<X1>, std:: in main()
30tuple<X3, X2, X1> >, std::tuple< std::tuple<>, std::tuple<X1>, std::tuple<X2>, std::tuple<X2, X1>,… in main()
Dmp_set_difference.cpp27 …T_TEST_TRAIT_TRUE((std::is_same<mp_set_difference<std::tuple<>, std::pair<float, int>>, std::tuple in main()
28 …TEST_TRAIT_TRUE((std::is_same<mp_set_difference<std::tuple<void>, std::pair<float, int>>, std::tup… in main()
29 …T_TRAIT_TRUE((std::is_same<mp_set_difference<std::tuple<void, int>, std::pair<float, int>>, std::t… in main()
30 …RAIT_TRUE((std::is_same<mp_set_difference<std::tuple<void, int, float>, std::pair<float, int>>, st… in main()
32 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_difference<mp_list<void, int, float>, std::tuple<>>, mp… in main()
33 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_difference<mp_list<void, int, float>, std::tuple<int>>,… in main()
34 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_difference<mp_list<void, int, float>, std::tuple<float,… in main()
35 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_difference<mp_list<void, int, float>, std::tuple<float,… in main()
37 …_TRAIT_TRUE((std::is_same<mp_set_difference<std::tuple<>, mp_list<>, std::pair<float, int>>, std:: in main()
38 …T_TRUE((std::is_same<mp_set_difference<std::tuple<void>, mp_list<double>, std::pair<float, int>>, … in main()
[all …]
Dmp_set_intersection.cpp28 …TEST_TRAIT_TRUE((std::is_same<mp_set_intersection<std::tuple<>, std::pair<float, int>>, std::tuple in main()
29 …ST_TRAIT_TRUE((std::is_same<mp_set_intersection<std::tuple<void>, std::pair<float, int>>, std::tup… in main()
30 …TRAIT_TRUE((std::is_same<mp_set_intersection<std::tuple<void, int>, std::pair<float, int>>, std::t… in main()
31 …IT_TRUE((std::is_same<mp_set_intersection<std::tuple<void, int, float>, std::pair<float, int>>, st… in main()
33 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_intersection<mp_list<void, int, float>, std::tuple<>>, … in main()
34 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_intersection<mp_list<void, int, float>, std::tuple<int>… in main()
35 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_intersection<mp_list<void, int, float>, std::tuple<floa… in main()
36 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_intersection<mp_list<void, int, float>, std::tuple<floa… in main()
38 …RAIT_TRUE((std::is_same<mp_set_intersection<std::tuple<>, mp_list<>, std::pair<float, int>>, std:: in main()
39 …TRUE((std::is_same<mp_set_intersection<std::tuple<void>, mp_list<double>, std::pair<float, int>>, … in main()
[all …]
Dmp_unique.cpp38 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_unique<std::tuple<>>, std::tuple<>>)); in main()
40 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_unique<std::tuple<void>>, std::tuple<void>>)); in main()
41 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_unique<std::tuple<void, void>>, std::tuple<void>>)); in main()
42 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_unique<std::tuple<void, void, void>>, std::tuple<void>>)); in main()
43 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_unique<std::tuple<void, void, void, void>>, std::tuple<void… in main()
45 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_unique<std::tuple<void, int>>, std::tuple<void, int>>)); in main()
46 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_unique<std::tuple<void, void, void, int, int, int>>, std::t… in main()
47 …ST_TRAIT_TRUE((std::is_same<mp_unique<std::tuple<void, int, void, int, int, void, int, int, int>>,… in main()
49 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_unique<std::tuple<void, int, char[]>>, std::tuple<void, int… in main()
50 …RAIT_TRUE((std::is_same<mp_unique<std::tuple<void, int, char[], void, int, char[], void, int, char… in main()
Dmp_set_union.cpp29 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_union<std::tuple<>>, std::tuple<>>)); in main()
30 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_union<std::tuple<void>>, std::tuple<void>>)); in main()
31 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_union<std::tuple<void, int>>, std::tuple<void, int>>)); in main()
32 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_union<std::tuple<void, int, float>>, std::tuple<void, i… in main()
39 …_TEST_TRAIT_TRUE((std::is_same<mp_set_union<std::tuple<>, mp_list<>, std::pair<float, int>>, std:: in main()
40 …_TRAIT_TRUE((std::is_same<mp_set_union<std::tuple<void>, mp_list<double>, std::pair<float, int>>, … in main()
41 …T_TRUE((std::is_same<mp_set_union<std::tuple<void, int>, mp_list<double, int>, std::pair<float, in… in main()
42 …(std::is_same<mp_set_union<std::tuple<void, int, float>, mp_list<double, int, float>, std::pair<fl… in main()
49 …(std::is_same<mp_set_union<std::tuple<>, std::pair<float, float>, std::pair<int, int>, std::pair<v… in main()
50 …td::is_same<mp_set_union<std::tuple<void>, std::pair<float, float>, std::pair<int, int>, std::pair… in main()
[all …]
/third_party/boost/libs/hana/test/tuple/
Dcnstr.trap.cpp72 hana::tuple<Trap1> tuple{}; in main() local
73 hana::tuple<Trap1> implicit_copy = tuple; in main()
74 hana::tuple<Trap1> explicit_copy(tuple); in main()
75 hana::tuple<Trap1> implicit_move = std::move(tuple); in main()
76 hana::tuple<Trap1> explicit_move(std::move(tuple)); in main()
85 hana::tuple<Trap2> tuple{}; in main() local
86 hana::tuple<Trap2> implicit_copy = tuple; in main()
87 hana::tuple<Trap2> explicit_copy(tuple); in main()
88 hana::tuple<Trap2> implicit_move = std::move(tuple); in main()
89 hana::tuple<Trap2> explicit_move(std::move(tuple)); in main()
[all …]
/third_party/boost/boost/vmd/detail/
Dis_array_common.hpp23 #define BOOST_VMD_DETAIL_IS_ARRAY_SYNTAX(tuple) \ argument
28 BOOST_PP_EQUAL(2,BOOST_PP_TUPLE_SIZE(tuple)), \
32 (tuple) \
36 #define BOOST_VMD_DETAIL_IS_ARRAY_SYNTAX_D(d,tuple) \ argument
41 BOOST_PP_EQUAL_D(d,2,BOOST_PP_TUPLE_SIZE(tuple)), \
45 (d,tuple) \
63 #define BOOST_VMD_DETAIL_IS_ARRAY_CHECK_EMPTY(tuple) \ argument
64 BOOST_VMD_DETAIL_IS_EMPTY_TUPLE_SIZE(BOOST_PP_TUPLE_ELEM(1,tuple)) \
67 #define BOOST_VMD_DETAIL_IS_ARRAY_CHECK_EMPTY_D(d,tuple) \ argument
68 BOOST_VMD_DETAIL_IS_EMPTY_TUPLE_SIZE(BOOST_PP_TUPLE_ELEM(1,tuple)) \
[all …]
Darray.hpp22 #define BOOST_VMD_DETAIL_ARRAY_CHECK_FOR_ARRAY(tuple) \ argument
32 tuple \
35 BOOST_VMD_IDENTITY(tuple), \
38 (tuple) \
42 #define BOOST_VMD_DETAIL_ARRAY_CHECK_FOR_ARRAY_D(d,tuple) \ argument
53 tuple \
56 BOOST_VMD_IDENTITY(tuple), \
59 (tuple) \
63 #define BOOST_VMD_DETAIL_ARRAY_PROCESS(tuple) \ argument
71 tuple \
[all …]
/third_party/boost/boost/hana/
Dtuple.hpp67 struct enable_tuple_variadic_ctor<false, true, hana::tuple<Xn...>, Yn...>
79 struct __declspec(empty_bases) tuple<> final struct
81 struct tuple<> final
83 : detail::operators::adl<tuple<>>
84 , detail::iterable_operators<tuple<>>
86 constexpr tuple() { } in tuple() function
92 struct __declspec(empty_bases) tuple final struct
94 struct tuple final
96 : detail::operators::adl<tuple<Xn...>>
97 , detail::iterable_operators<tuple<Xn...>>
[all …]
/third_party/boost/libs/hana/include/boost/hana/
Dtuple.hpp67 struct enable_tuple_variadic_ctor<false, true, hana::tuple<Xn...>, Yn...>
79 struct __declspec(empty_bases) tuple<> final struct
81 struct tuple<> final
83 : detail::operators::adl<tuple<>>
84 , detail::iterable_operators<tuple<>>
86 constexpr tuple() { } in tuple() function
92 struct __declspec(empty_bases) tuple final struct
94 struct tuple final
96 : detail::operators::adl<tuple<Xn...>>
97 , detail::iterable_operators<tuple<Xn...>>
[all …]
/third_party/boost/libs/fusion/test/sequence/
Dtuple_traits.cpp14 #define FUSION_SEQUENCE boost::fusion::tuple
41 BOOST_TEST((is_convertible<std::pair<int, int>, tuple<int, int> >(true))); in main()
43 is_convertible<std::pair<int, int>, tuple<convertible, int> >(true) in main()
46 is_convertible<std::pair<int, int>, tuple<int, convertible> >(true) in main()
50 std::pair<int, int>, tuple<convertible, convertible> in main()
57 BOOST_TEST((is_constructible< tuple<> >(true))); in main()
58 BOOST_TEST((is_constructible<tuple<>, int>(false))); in main()
60 BOOST_TEST((is_constructible< tuple<int> >(true))); in main()
61 BOOST_TEST((is_constructible<tuple<int>, int>(true))); in main()
62 BOOST_TEST((is_constructible<tuple<convertible>, int>(true))); in main()
[all …]
/third_party/boost/boost/container/detail/
Dvariadic_templates_tools.hpp34 class tuple;
36 template<> class tuple<> class
40 class tuple<Head, Tail...> class
41 : private tuple<Tail...>
43 typedef tuple<Tail...> inherited;
46 tuple() in tuple() function in boost::container::dtl::tuple
51 tuple(U &&u, Args && ...args) in tuple() function in boost::container::dtl::tuple
57 tuple(const tuple<VValues...>& other) in tuple() function in boost::container::dtl::tuple
62 tuple& operator=(const tuple<VValues...>& other) in operator =()
81 tuple<Values&&...> forward_as_tuple_impl(Values&&... values) in forward_as_tuple_impl()
[all …]
/third_party/boost/libs/tuple/test/
Dtuple_test_bench.cpp76 typedef tuple<int> t1;
78 typedef tuple<double&, const double&, const double, double*, const double*> t2;
79 typedef tuple<A, int(*)(char, int), C> t3;
80 typedef tuple<std::string, std::pair<A, B> > t4;
81 typedef tuple<A*, tuple<const A*, const B&, C>, bool, void*> t5;
82 typedef tuple<volatile int, const volatile char&, int(&)(float) > t6;
85 typedef tuple<B(A::*)(C&), A&> t7;
94 tuple<no_copy&> x = tuple<no_copy&>(y); // ok
97 tuple<char(&)[10]> v2(cs); // ok
107 tuple<int> t1; in construction_test()
[all …]
/third_party/boost/boost/context/detail/
Dtuple.hpp28 head_impl( std::tuple< S ... > & s, in head_impl()
29 std::tuple< T ... > & t, index_sequence< I ... >) { in head_impl()
30 t = std::tuple< T ... >{ std::get< I >( s) ... }; in head_impl()
35 head_impl( std::tuple< S ... > && s, in head_impl()
36 std::tuple< T ... > & t, index_sequence< I ... >) { in head_impl()
37 t = std::tuple< T ... >{ std::get< I >( std::move( s) ) ... }; in head_impl()
42 tail_impl( std::tuple< S ... > & s, index_sequence< I1 ... >, in tail_impl()
43 std::tuple< T ... > & t, index_sequence< I2 ... >) { in tail_impl()
45 t = std::tuple< T ... >{ std::get< (Idx + I2) >( s) ... }; in tail_impl()
50 tail_impl( std::tuple< S ... > && s, index_sequence< I1 ... >, in tail_impl()
[all …]
/third_party/boost/boost/fusion/tuple/detail/preprocessed/
Dtuple10.hpp12 struct tuple : vector<T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9> struct
17 BOOST_FUSION_GPU_ENABLED tuple() in tuple() argument
19 BOOST_FUSION_GPU_ENABLED tuple(tuple const& rhs) in tuple() function
23 tuple(std::pair<U1, U2> const& rhs) in tuple() argument
27 tuple(typename detail::call_param<T0 >::type arg0) in tuple() function
31 tuple(tuple<U0> const& rhs) in tuple() function
35 tuple& operator=(tuple<U0> const& rhs) in operator =() argument
41 tuple(typename detail::call_param<T0 >::type arg0 , typename detail::call_param<T1 >::type arg1) in tuple() function
45 tuple(tuple<U0 , U1> const& rhs) in tuple() argument
49 tuple& operator=(tuple<U0 , U1> const& rhs) in operator =() argument
[all …]
/third_party/boost/libs/vmd/doc/
Dvmd_empty_ppdata.qbk13 an empty seq or an empty tuple. Instead for a seq it represents
14 a one element seq whose data is empty, while for a tuple it
15 represents a tuple with a size of 1 whose single element is empty.
17 Not having a way to represent an empty seq or tuple represents a
18 small problem for Boost PP users. For a tuple, especially, not being
20 why an end-user might prefer to use an array rather than a tuple as
22 a tuple is easier to notate and subsequently use than an array
23 since no effort is needed to specify the number of elements of a tuple.
27 emptiness, when applied to a seq or tuple, as an empty seq or an empty tuple
32 empty tuple; Boost PP functionality for a seq or tuple knows nothing about it.
[all …]
/third_party/boost/libs/yap/test/
Dcompile_term_plus_expr.cpp27 bh::tuple<ref<term<double> &>, ref<term<int> &>>> in compile_term_plus_expr()
31 bh::tuple< in compile_term_plus_expr()
35 bh::tuple<ref<term<double> &>, ref<term<int> &>>> &>>> in compile_term_plus_expr()
45 bh::tuple<ref<term<double> &>, ref<term<int const> &>>> in compile_term_plus_expr()
49 bh::tuple< in compile_term_plus_expr()
53 bh::tuple<ref<term<double> &>, ref<term<int const> &>>> &>>> in compile_term_plus_expr()
63 bh::tuple<ref<term<double> &>, term<int>>> in compile_term_plus_expr()
67 bh::tuple< in compile_term_plus_expr()
71 bh::tuple<ref<term<double> &>, term<int>>> &>>> in compile_term_plus_expr()
82 bh::tuple<ref<term<double> &>, ref<term<int> const &>>> const expr = in compile_term_plus_expr()
[all …]
/third_party/boost/boost/preprocessor/tuple/
Dpop_back.hpp28 # define BOOST_PP_TUPLE_POP_BACK(tuple) \ argument
31 BOOST_PP_GREATER(BOOST_PP_TUPLE_SIZE(tuple),1), \
35 (tuple) \
38 # define BOOST_PP_TUPLE_POP_BACK_EXEC(tuple) \ argument
39 BOOST_PP_ARRAY_TO_TUPLE(BOOST_PP_ARRAY_POP_BACK(BOOST_PP_TUPLE_TO_ARRAY(tuple))) \
42 # define BOOST_PP_TUPLE_POP_BACK_RETURN(tuple) tuple argument
46 # define BOOST_PP_TUPLE_POP_BACK_Z(z, tuple) \ argument
49 BOOST_PP_GREATER(BOOST_PP_TUPLE_SIZE(tuple),1), \
53 (z, tuple) \
56 # define BOOST_PP_TUPLE_POP_BACK_Z_EXEC(z, tuple) \ argument
[all …]
Dpop_front.hpp29 # define BOOST_PP_TUPLE_POP_FRONT(tuple) \ argument
32 BOOST_PP_GREATER(BOOST_PP_TUPLE_SIZE(tuple),1), \
36 (tuple) \
39 # define BOOST_PP_TUPLE_POP_FRONT_EXEC(tuple) \ argument
40 BOOST_PP_ARRAY_TO_TUPLE(BOOST_PP_ARRAY_POP_FRONT(BOOST_PP_TUPLE_TO_ARRAY(tuple))) \
43 # define BOOST_PP_TUPLE_POP_FRONT_RETURN(tuple) tuple argument
47 # define BOOST_PP_TUPLE_POP_FRONT_Z(z, tuple) \ argument
50 BOOST_PP_GREATER(BOOST_PP_TUPLE_SIZE(tuple),1), \
54 (z, tuple) \
57 # define BOOST_PP_TUPLE_POP_FRONT_Z_EXEC(z, tuple) \ argument
[all …]

12345678910>>...119