| /external/icu/icu4j/main/common_tests/src/test/java/com/ibm/icu/dev/test/format/ |
| D | NumberFormatDataDrivenTest.java | 125 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 …]
|
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
| D | NumberFormatDataDrivenTest.java | 128 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 …]
|
| /external/cronet/third_party/libc++/src/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
| D | deduct.pass.cpp | 11 // <tuple> 13 // Test that the constructors offered by std::tuple are formulated 17 #include <tuple> 30 // (1) tuple(const Types&...) -> tuple<Types...> 31 // (2) tuple(pair<T1, T2>) -> tuple<T1, T2>; 32 // (3) explicit tuple(const Types&...) -> tuple<Types...> 33 // (4) tuple(AT, A const&, Types const&...) -> tuple<Types...> 34 // (5) explicit tuple(AT, A const&, Types const&...) -> tuple<Types...> 35 // (6) tuple(AT, A, pair<T1, T2>) -> tuple<T1, T2> 36 // (7) tuple(tuple const& t) -> decltype(t) [all …]
|
| D | PR22806_constrain_tuple_like_ctor.pass.cpp | 11 // <tuple> 13 // template <class... Types> class tuple; 15 // Check that the tuple-like ctors are properly disabled when the UTypes... 22 #include <tuple> 30 template <class Tuple, class = uncvref_t<Tuple>> 33 template <class Tuple, class ...Args> 34 struct IsTuple<Tuple, std::tuple<Args...>> : std::true_type {}; 43 template <class Tuple, class = typename std::enable_if<IsTuple<Tuple>::value>::type> 44 explicit ConstructibleFromTupleAndInt(Tuple&&) : state(FromTuple) {} in ConstructibleFromTupleAndInt() 56 template <class Tuple, class = typename std::enable_if<IsTuple<Tuple>::value>::type> [all …]
|
| /external/icu/icu4c/source/test/intltest/ |
| D | numfmtdatadriventest.cpp | 69 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 …]
|
| /external/cronet/third_party/icu/source/test/intltest/ |
| D | numfmtdatadriventest.cpp | 69 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 …]
|
| /external/tensorflow/tensorflow/compiler/xla/service/ |
| D | hlo_module_dce_test.cc | 43 // 'computation' passes through its tuple element at 'tuple_index' from 88 get-tuple-element.1 = s32[] get-tuple-element(loop_var.1), index=0 in TEST_F() 90 add = s32[] add(get-tuple-element.1, constant.1) in TEST_F() 91 get-tuple-element.2 = s32[3]{0} get-tuple-element(loop_var.1), index=1 in TEST_F() 92 multiply = s32[3]{0} multiply(get-tuple-element.2, get-tuple-element.2) in TEST_F() 93 ROOT tuple = (s32[], s32[3]{0}) tuple(add, multiply) in TEST_F() 97 get-tuple-element.3 = s32[] get-tuple-element(loop_var.2), index=0 in TEST_F() 99 ROOT less-than = pred[] compare(get-tuple-element.3, constant.2), direction=LT in TEST_F() 104 tuple.1 = (s32[], s32[3]{0}) tuple(constant.3, constant.4) in TEST_F() 105 ROOT while = (s32[], s32[3]{0}) while(tuple.1), condition= in TEST_F() [all …]
|
| D | hlo_liveness_analysis_test.cc | 93 // Test that all output shape indices of entry root tuple (and defining 101 ROOT tuple.1 = (s32[], s32[]) tuple(constant.1, constant.2) in TEST_F() 105 EXPECT_TRUE(liveness.IsLive(GetInstruction(module.get(), "tuple.1"), {})); in TEST_F() 106 EXPECT_TRUE(liveness.IsLive(GetInstruction(module.get(), "tuple.1"), {0})); in TEST_F() 107 EXPECT_TRUE(liveness.IsLive(GetInstruction(module.get(), "tuple.1"), {1})); in TEST_F() 112 // Tests that all outputs of nested tuple and entry root (and defining 121 tuple.1 = (s32[], s32[]) tuple(constant.2, constant.3) in TEST_F() 122 ROOT tuple.2 = (s32[], (s32[], s32[])) tuple(constant.1, tuple.1) in TEST_F() 126 EXPECT_TRUE(liveness.IsLive(GetInstruction(module.get(), "tuple.1"), {})); in TEST_F() 127 EXPECT_TRUE(liveness.IsLive(GetInstruction(module.get(), "tuple.1"), {0})); in TEST_F() [all …]
|
| D | while_loop_simplifier_test.cc | 52 // the loop-condition through an element of a tuple which is the 64 get-tuple-element.1 = s32[] get-tuple-element(loop_var.1), index=0 in MakeModuleWithSimpleLoop() 66 add = s32[] add(get-tuple-element.1, constant.1) in MakeModuleWithSimpleLoop() 67 get-tuple-element.2 = s32[3]{0} get-tuple-element(loop_var.1), index=1 in MakeModuleWithSimpleLoop() 68 multiply = s32[3]{0} multiply(get-tuple-element.2, get-tuple-element.2) in MakeModuleWithSimpleLoop() 69 ROOT tuple = (s32[], s32[3]{0}) tuple(add, multiply) in MakeModuleWithSimpleLoop() 73 get-tuple-element.3 = s32[] get-tuple-element(loop_var.2), index=0 in MakeModuleWithSimpleLoop() 75 ROOT less-than = pred[] compare(get-tuple-element.3, constant.2), direction=LT in MakeModuleWithSimpleLoop() 80 tuple.1 = (s32[], s32[3]{0}) tuple(constant.3, constant.4) in MakeModuleWithSimpleLoop() 81 ROOT while = (s32[], s32[3]{0}) while(tuple.1), condition= in MakeModuleWithSimpleLoop() [all …]
|
| D | hlo_replication_analysis_test.cc | 52 get-tuple-element.2 = f32[4096,4096]{1,0} get-tuple-element(param), index=0 in TEST_F() 53 get-tuple-element.3 = f32[4096,4096]{1,0} get-tuple-element(param), index=1 in TEST_F() 57 get-tuple-element.5 = f32[4096,4096]{1,0} get-tuple-element(infeed), index=0 in TEST_F() 58 dot = f32[4096,4096]{1,0} dot(get-tuple-element.5, get-tuple-element.3), in TEST_F() 62 subtract = f32[4096,4096]{1,0} subtract(get-tuple-element.3, all-reduce) in TEST_F() 67 ROOT add = f32[4096,4096]{1,0} add(get-tuple-element.2, subtract) in TEST_F() 80 FindInstruction(module.get(), "get-tuple-element.2"), {})); in TEST_F() 82 FindInstruction(module.get(), "get-tuple-element.3"), {})); in TEST_F() 84 FindInstruction(module.get(), "get-tuple-element.5"), {})); in TEST_F() 120 get-tuple-element.2 = f32[4096,4096]{1,0} get-tuple-element(param), index=0 in TEST_F() [all …]
|
| /external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
| D | implicit_deduction_guides.pass.cpp | 18 // <tuple> 20 // Test that the constructors offered by std::tuple are formulated 24 #include <tuple> 36 // (1) tuple(const Types&...) -> tuple<Types...> 37 // (2) explicit tuple(const Types&...) -> tuple<Types...> 38 // (3) tuple(AT, A const&, Types const&...) -> tuple<Types...> 39 // (4) explicit tuple(AT, A const&, Types const&...) -> tuple<Types...> 40 // (5) tuple(tuple const& t) -> decltype(t) 41 // (6) tuple(tuple&& t) -> decltype(t) 42 // (7) tuple(AT, A const&, tuple const& t) -> decltype(t) [all …]
|
| D | PR22806_constrain_tuple_like_ctor.pass.cpp | 12 // <tuple> 14 // template <class... Types> class tuple; 17 // tuple(TupleLike&&); 19 // tuple(std::allocator_arg_t, Alloc const&, TupleLike&&); 21 // Check that the tuple-like ctors are properly disabled when the UTypes... 24 #include <tuple> 31 template <class Tuple, class = uncvref_t<Tuple>> 34 template <class Tuple, class ...Args> 35 struct IsTuple<Tuple, std::tuple<Args...>> : std::true_type {}; 44 template <class Tuple, class = typename std::enable_if<IsTuple<Tuple>::value>::type> [all …]
|
| /external/tensorflow/tensorflow/compiler/mlir/hlo/tests/ |
| D | mhlo_flatten_tuple.mlir | 1 // RUN: mlir-hlo-opt -mhlo-flatten-tuple %s | FileCheck %s 61 …%0 = "mhlo.tuple"(%cst_0, %cst_1, %cst_2, %arg0) : (tensor<1xi32>, tensor<2xi32>, tensor<1xf32>, t… 63 …^bb0(%arg2: tuple<tensor<1xi32>, tensor<2xi32>, tensor<1xf32>, tensor<3xf32>>): // no predecessors 64 …%t0 = "mhlo.get_tuple_element"(%arg2) {index = 0 : i32} : (tuple<tensor<1xi32>, tensor<2xi32>, ten… 65 …%t1 = "mhlo.get_tuple_element"(%arg2) {index = 1 : i32} : (tuple<tensor<1xi32>, tensor<2xi32>, ten… 71 …^bb0(%arg2: tuple<tensor<1xi32>, tensor<2xi32>, tensor<1xf32>, tensor<3xf32>>): // no predecessors 72 …%t0 = "mhlo.get_tuple_element"(%arg2) {index = 0 : i32} : (tuple<tensor<1xi32>, tensor<2xi32>, ten… 73 …%t1 = "mhlo.get_tuple_element"(%arg2) {index = 1 : i32} : (tuple<tensor<1xi32>, tensor<2xi32>, ten… 74 …%t2 = "mhlo.get_tuple_element"(%arg2) {index = 2 : i32} : (tuple<tensor<1xi32>, tensor<2xi32>, ten… 75 …%t3 = "mhlo.get_tuple_element"(%arg2) {index = 3 : i32} : (tuple<tensor<1xi32>, tensor<2xi32>, ten… [all …]
|
| /external/rust/crates/coset/src/context/ |
| D | tests.rs | 27 "84", // 4-tuple in test_context_encode() 29 "83", "f6f6f6", // 3-tuple: [nil, nil, nil] in test_context_encode() 30 "83", "f6f6f6", // 3-tuple: [nil, nil, nil] in test_context_encode() 31 "82", "0040", // 2-tuple: [0, 0-bstr] in test_context_encode() 39 "84", // 4-tuple in test_context_encode() 41 "83", "f6f6f6", // 3-tuple: [nil, nil, nil] in test_context_encode() 42 "83", "f6f6f6", // 3-tuple: [nil, nil, nil] in test_context_encode() 43 "82", "0040", // 2-tuple: [0, 0-bstr] in test_context_encode() 52 "84", // 4-tuple in test_context_encode() 54 "83", "40f6f6", // 3-tuple: [0-bstr, nil, nil] in test_context_encode() [all …]
|
| /external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
| D | example-tuple.cpp | 4 // Example tuple implementation from the variadic templates proposal, 54 template<typename... Values> class tuple; 56 // Basis case: zero-length tuple 57 template<> class tuple<> { }; class 60 class tuple<Head, Tail...> : private tuple<Tail...> { class 61 typedef tuple<Tail...> inherited; 64 tuple() { } in tuple() function in tuple 67 // Construct tuple from separate arguments. 68 tuple(typename add_const_reference<Head>::type v, in tuple() function in tuple 72 // Construct tuple from another tuple. [all …]
|
| /external/tensorflow/tensorflow/compiler/mlir/xla/tests/translate/ |
| D | while.hlotxt | 30 // 1. whileOp no more have tuple as ops or return types 37 // CHECK-SAME: (%[[ARG_0:.*]]: tuple<tensor<i32>, tensor<i32>, tensor<f32>, tensor<f32>>) -> tup… 43 // CHECK-NEXT: %[[RES:.*]] = "mhlo.tuple"(%[[GTE_0]], %[[GTE_1]], %[[GTE_2]], %[[ADD]]) 44 // CHECK-NEXT: return %[[RES]] : tuple<tensor<i32>, tensor<i32>, tensor<f32>, tensor<f32>> 48 %get-tuple-element.8 = s32[] get-tuple-element((s32[], s32[], f32[], f32[]) %Arg_0.7), index=0 49 %get-tuple-element.9 = s32[] get-tuple-element((s32[], s32[], f32[], f32[]) %Arg_0.7), index=1 50 %get-tuple-element.10 = f32[] get-tuple-element((s32[], s32[], f32[], f32[]) %Arg_0.7), index=2 51 %get-tuple-element.11 = f32[] get-tuple-element((s32[], s32[], f32[], f32[]) %Arg_0.7), index=3 52 %add.12 = f32[] add(f32[] %get-tuple-element.10, f32[] %get-tuple-element.11) 53 …ROOT %tuple.13 = (s32[], s32[], f32[], f32[]) tuple(s32[] %get-tuple-element.8, s32[] %get-tuple-e… [all …]
|
| D | if_conditional.hlotxt | 4 // Test importing If op with tuple args; element-size of tuple == 1 10 …%get-tuple-element.8 = f32[] get-tuple-element(%arg_tuple.7), index=0, metadata={op_name="XLA_Args… 11 %log.9 = f32[] log(%get-tuple-element.8), metadata={op_type="Log" op_name="cond/Log"} 12 ROOT %tuple.10 = (f32[]) tuple(%log.9), metadata={op_name="XLA_Retvals"} 17 …%get-tuple-element.13 = f32[] get-tuple-element(%arg_tuple.12), index=0, metadata={op_name="XLA_Ar… 18 …%exponential.14 = f32[] exponential(%get-tuple-element.13), metadata={op_type="Exp" op_name="cond/… 19 ROOT %tuple.15 = (f32[]) tuple(%exponential.14), metadata={op_name="XLA_Retvals"} 33 %tuple.5 = (f32[]) tuple(%arg0.1), metadata={op_type="If" op_name="cond/Merge_if"} 42 …%conditional.16 = (f32[]) conditional(%compare.4, %tuple.5, %tuple.5), true_computation=%then_bran… 44 …%get-tuple-element.17 = f32[] get-tuple-element(%conditional.16), index=0, metadata={op_type="If" … [all …]
|
| /external/llvm/utils/unittest/googletest/include/gtest/internal/ |
| D | gtest-tuple.h | 34 // Implements a subset of TR1 tuple needed by Google Test and Google Mock. 42 // tuple template as a friend (it complains that tuple is redefined). This 50 template <GTEST_10_TYPENAMES_(U)> friend class tuple; \ 54 // GTEST_n_TUPLE_(T) is the type of an n-tuple. 55 #define GTEST_0_TUPLE_(T) tuple<> 56 #define GTEST_1_TUPLE_(T) tuple<T##0, void, void, void, void, void, void, \ 58 #define GTEST_2_TUPLE_(T) tuple<T##0, T##1, void, void, void, void, void, \ 60 #define GTEST_3_TUPLE_(T) tuple<T##0, T##1, T##2, void, void, void, void, \ 62 #define GTEST_4_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, void, void, void, \ 64 #define GTEST_5_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, T##4, void, void, \ [all …]
|
| /external/cronet/third_party/libc++/src/include/ |
| D | tuple | 14 tuple synopsis 20 class tuple { 22 explicit(see-below) constexpr tuple(); 23 explicit(see-below) tuple(const T&...); // constexpr in C++14 25 explicit(see-below) tuple(U&&...); // constexpr in C++14 26 tuple(const tuple&) = default; 27 tuple(tuple&&) = default; 30 constexpr explicit(see-below) tuple(tuple<UTypes...>&); // C++23 32 explicit(see-below) tuple(const tuple<U...>&); // constexpr in C++14 34 explicit(see-below) tuple(tuple<U...>&&); // constexpr in C++14 [all …]
|
| /external/cronet/third_party/libc++/src/test/libcxx/utilities/tuple/tuple.tuple/tuple.assign/ |
| D | array.extension.pass.cpp | 9 // <tuple> 11 // template <class... Types> class tuple; 15 // tuple& operator=(const array<U, N>& u); 18 // tuple& operator=(array<U, N>&& u); 24 #include <tuple> 43 std::tuple<int, int, int> tuple; in main() local 44 tuple = array; in main() 45 assert(std::get<0>(tuple) == 1); in main() 46 assert(std::get<1>(tuple) == 2); in main() 47 assert(std::get<2>(tuple) == 3); in main() [all …]
|
| /external/sdv/vsomeip/third_party/boost/fusion/include/boost/fusion/tuple/detail/preprocessed/ |
| D | tuple10.hpp | 12 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() function 27 tuple(typename detail::call_param<T0 >::type arg0) in tuple() argument 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 …]
|
| /external/sdv/vsomeip/third_party/boost/tuple/doc/ |
| D | tuple_users_guide.qbk | 9 [library Boost.Tuple 11 [id tuple] 13 [dirname tuple] 29 A tuple (or n-tuple) is a fixed size collection of elements. Pairs, triples, 30 quadruples etc. are tuples. In a programming language, a tuple is a data 38 tuple constructs. Unfortunately C++ does not. To compensate for this 39 "deficiency", the Boost Tuple Library implements a tuple construct using 46 #include "boost/tuple/tuple.hpp" 50 #include "boost/tuple/tuple_comparison.hpp" 52 To use tuple input and output operators, [all …]
|
| /external/cronet/third_party/libc++/src/test/std/utilities/tuple/tuple.tuple/tuple.creation/ |
| D | tuple_cat.pass.cpp | 9 // <tuple> 11 // template <class... Types> class tuple; 13 // template <class... Tuples> tuple<CTypes...> tuple_cat(Tuples&&... tpls); 17 #include <tuple> 37 std::tuple<> t = std::tuple_cat(); in main() 41 std::tuple<> t1; in main() 42 std::tuple<> t2 = std::tuple_cat(t1); in main() 46 std::tuple<> t = std::tuple_cat(std::tuple<>()); in main() 50 std::tuple<> t = std::tuple_cat(std::array<int, 0>()); in main() 54 std::tuple<int> t1(1); in main() [all …]
|
| /external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/ |
| D | tuple_cat.pass.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 14 // template <class... Tuples> tuple<CTypes...> tuple_cat(Tuples&&... tpls); 18 #include <tuple> 30 std::tuple<> t = std::tuple_cat(); in main() 34 std::tuple<> t1; in main() 35 std::tuple<> t2 = std::tuple_cat(t1); in main() 39 std::tuple<> t = std::tuple_cat(std::tuple<>()); in main() 43 std::tuple<> t = std::tuple_cat(std::array<int, 0>()); in main() 47 std::tuple<int> t1(1); in main() [all …]
|
| /external/libcxx/include/ |
| D | tuple | 2 //===--------------------------- tuple ------------------------------------===// 15 tuple synopsis 21 class tuple { 23 constexpr tuple(); 24 explicit tuple(const T&...); // constexpr in C++14 26 explicit tuple(U&&...); // constexpr in C++14 27 tuple(const tuple&) = default; 28 tuple(tuple&&) = default; 30 tuple(const tuple<U...>&); // constexpr in C++14 32 tuple(tuple<U...>&&); // constexpr in C++14 [all …]
|