/external/icu/icu4j/main/tests/core/src/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/llvm-project/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
D | deduct.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) tuple(pair<T1, T2>) -> tuple<T1, T2>; 38 // (3) explicit tuple(const Types&...) -> tuple<Types...> 39 // (4) tuple(AT, A const&, Types const&...) -> tuple<Types...> 40 // (5) explicit tuple(AT, A const&, Types const&...) -> tuple<Types...> 41 // (6) tuple(AT, A, pair<T1, T2>) -> tuple<T1, T2> 42 // (7) tuple(tuple const& t) -> decltype(t) [all …]
|
D | PR22806_constrain_tuple_like_ctor.pass.cpp | 11 // <tuple> 13 // template <class... Types> class tuple; 16 // tuple(TupleLike&&); 18 // tuple(std::allocator_arg_t, Alloc const&, TupleLike&&); 20 // Check that the tuple-like ctors are properly disabled when the UTypes... 23 #include <tuple> 32 template <class Tuple, class = uncvref_t<Tuple>> 35 template <class Tuple, class ...Args> 36 struct IsTuple<Tuple, std::tuple<Args...>> : std::true_type {}; 45 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/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_module_dce_test.cc | 44 // 'computation' passes through its tuple element at 'tuple_index' from 89 get-tuple-element.1 = s32[] get-tuple-element(loop_var.1), index=0 in TEST_F() 91 add = s32[] add(get-tuple-element.1, constant.1) in TEST_F() 92 get-tuple-element.2 = s32[3]{0} get-tuple-element(loop_var.1), index=1 in TEST_F() 93 multiply = s32[3]{0} multiply(get-tuple-element.2, get-tuple-element.2) in TEST_F() 94 ROOT tuple = (s32[], s32[3]{0}) tuple(add, multiply) in TEST_F() 98 get-tuple-element.3 = s32[] get-tuple-element(loop_var.2), index=0 in TEST_F() 100 ROOT less-than = pred[] compare(get-tuple-element.3, constant.2), direction=LT in TEST_F() 105 tuple.1 = (s32[], s32[3]{0}) tuple(constant.3, constant.4) in TEST_F() 106 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[]) 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 | hlo_replication_analysis_test.cc | 53 get-tuple-element.2 = f32[4096,4096]{1,0} get-tuple-element(param), index=0 in TEST_F() 54 get-tuple-element.3 = f32[4096,4096]{1,0} get-tuple-element(param), index=1 in TEST_F() 58 get-tuple-element.5 = f32[4096,4096]{1,0} get-tuple-element(infeed), index=0 in TEST_F() 59 dot = f32[4096,4096]{1,0} dot(get-tuple-element.5, get-tuple-element.3), in TEST_F() 63 subtract = f32[4096,4096]{1,0} subtract(get-tuple-element.3, all-reduce) in TEST_F() 68 ROOT add = f32[4096,4096]{1,0} add(get-tuple-element.2, subtract) in TEST_F() 81 FindInstruction(module.get(), "get-tuple-element.2"), {})); in TEST_F() 83 FindInstruction(module.get(), "get-tuple-element.3"), {})); in TEST_F() 85 FindInstruction(module.get(), "get-tuple-element.5"), {})); in TEST_F() 121 get-tuple-element.2 = f32[4096,4096]{1,0} get-tuple-element(param), index=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 …]
|
/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/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorSyclTuple.h | 17 * Minimal implementation of std::tuple that can be used inside a SYCL kernel. 24 namespace tuple { 35 /// \struct Tuple 37 /// \ztparam Ts... - the types of the elements that the tuple stores. 40 struct Tuple {}; 42 /// \brief specialisation of the \ref Tuple class when the tuple has at least 44 /// \tparam T : the type of the first element in the tuple. 45 /// \tparam Ts... the rest of the elements in the tuple. Ts... can be empty. 47 struct Tuple<T, Ts...> { 48 Tuple(T t, Ts... ts) : head(t), tail(ts...) {} [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/llvm-project/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/llvm-project/mlir/test/Transforms/ |
D | decompose-call-graph-types.mlir | 8 … %[[ARG_MATERIALIZED:.*]] = "test.make_tuple"(%[[ARG0]], %[[ARG1]]) : (i1, i32) -> tuple<i1, i32> 9 …0:.*]] = "test.get_tuple_element"(%[[ARG_MATERIALIZED]]) {index = 0 : i32} : (tuple<i1, i32>) -> i1 10 …:.*]] = "test.get_tuple_element"(%[[ARG_MATERIALIZED]]) {index = 1 : i32} : (tuple<i1, i32>) -> i32 12 func @identity(%arg0: tuple<i1, i32>) -> tuple<i1, i32> { 13 return %arg0 : tuple<i1, i32> 23 func @identity_1_to_1_no_materializations(%arg0: tuple<i1>) -> tuple<i1> { 24 return %arg0 : tuple<i1> 34 func @recursive_decomposition(%arg0: tuple<tuple<tuple<i1>>>) -> tuple<tuple<tuple<i1>>> { 35 return %arg0 : tuple<tuple<tuple<i1>>> 43 func private @callee(tuple<i1, i32>) -> tuple<i1, i32> [all …]
|
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/ |
D | gtest-tuple.h | 2 // pump.py gtest-tuple.h.pump 35 // Implements a subset of TR1 tuple needed by Google Test and Google Mock. 45 // tuple template as a friend (it complains that tuple is redefined). This 53 template <GTEST_10_TYPENAMES_(U)> friend class tuple; \ 58 // with our own definitions. Therefore using our own tuple does not work on 61 # error "gtest's tuple doesn't compile on Visual Studio 2010 or later. \ 65 // GTEST_n_TUPLE_(T) is the type of an n-tuple. 66 #define GTEST_0_TUPLE_(T) tuple<> 67 #define GTEST_1_TUPLE_(T) tuple<T##0, void, void, void, void, void, void, \ 69 #define GTEST_2_TUPLE_(T) tuple<T##0, T##1, void, void, void, void, void, \ [all …]
|
/external/llvm-project/llvm/utils/unittest/googletest/include/gtest/internal/ |
D | gtest-tuple.h | 2 // pump.py gtest-tuple.h.pump 36 // Implements a subset of TR1 tuple needed by Google Test and Google Mock. 44 // tuple template as a friend (it complains that tuple is redefined). This 52 template <GTEST_10_TYPENAMES_(U)> friend class tuple; \ 57 // with our own definitions. Therefore using our own tuple does not work on 60 # error "gtest's tuple doesn't compile on Visual Studio 2010 or later. \ 64 // GTEST_n_TUPLE_(T) is the type of an n-tuple. 65 #define GTEST_0_TUPLE_(T) tuple<> 66 #define GTEST_1_TUPLE_(T) tuple<T##0, void, void, void, void, void, void, \ 68 #define GTEST_2_TUPLE_(T) tuple<T##0, T##1, void, void, void, void, void, \ [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/llvm-project/libcxx/include/ |
D | tuple | 2 //===--------------------------- 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; 29 explicit(see-below) tuple(const tuple<U...>&); // constexpr in C++14 31 explicit(see-below) tuple(tuple<U...>&&); // constexpr in C++14 [all …]
|
/external/tensorflow/tensorflow/compiler/mlir/xla/tests/translate/ |
D | dynamic_parameter_binding.mlir | 2 …nslate -split-input-file -mlir-hlo-to-hlo -emit-use-tuple-args %s | FileCheck %s --check-prefix=TU… 14 // TUPLE-LABEL: hlo_module 15 // TUPLE: dynamic_parameter_binding 16 // TUPLE-NEXT: } 33 // TUPLE-LABEL: hlo_module 34 // TUPLE: dynamic_parameter_binding 35 // TUPLE-NEXT: entries 36 // TUPLE-NEXT: dynamic_param_index: 1 37 // TUPLE-NEXT: target_param_index: 0 38 // TUPLE-NEXT: } [all …]
|
/external/llvm-project/libcxx/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/llvm-project/clang/test/CodeGen/aarch64-sve-intrinsics/negative/ |
D | acle_sve_get4.c | 13 svint8_t test_svget4_s8(svint8x4_t tuple) in test_svget4_s8() argument 16 return SVE_ACLE_FUNC(svget4,_s8,,)(tuple, -1); in test_svget4_s8() 19 svint16_t test_svget4_s16(svint16x4_t tuple) in test_svget4_s16() argument 22 return SVE_ACLE_FUNC(svget4,_s16,,)(tuple, 4); in test_svget4_s16() 25 svint32_t test_svget4_s32(svint32x4_t tuple) in test_svget4_s32() argument 28 return SVE_ACLE_FUNC(svget4,_s32,,)(tuple, -1); in test_svget4_s32() 31 svint64_t test_svget4_s64(svint64x4_t tuple) in test_svget4_s64() argument 34 return SVE_ACLE_FUNC(svget4,_s64,,)(tuple, 4); in test_svget4_s64() 37 svuint8_t test_svget4_u8(svuint8x4_t tuple) in test_svget4_u8() argument 40 return SVE_ACLE_FUNC(svget4,_u8,,)(tuple, -1); in test_svget4_u8() [all …]
|
D | acle_sve_get2.c | 13 svint8_t test_svget2_s8(svint8x2_t tuple) in test_svget2_s8() argument 16 return SVE_ACLE_FUNC(svget2,_s8,,)(tuple, -1); in test_svget2_s8() 19 svint16_t test_svget2_s16(svint16x2_t tuple) in test_svget2_s16() argument 22 return SVE_ACLE_FUNC(svget2,_s16,,)(tuple, 2); in test_svget2_s16() 25 svint32_t test_svget2_s32(svint32x2_t tuple) in test_svget2_s32() argument 28 return SVE_ACLE_FUNC(svget2,_s32,,)(tuple, -1); in test_svget2_s32() 31 svint64_t test_svget2_s64(svint64x2_t tuple) in test_svget2_s64() argument 34 return SVE_ACLE_FUNC(svget2,_s64,,)(tuple, 2); in test_svget2_s64() 37 svuint8_t test_svget2_u8(svuint8x2_t tuple) in test_svget2_u8() argument 40 return SVE_ACLE_FUNC(svget2,_u8,,)(tuple, -1); in test_svget2_u8() [all …]
|
D | acle_sve_get3.c | 13 svint8_t test_svget3_s8(svint8x3_t tuple) in test_svget3_s8() argument 16 return SVE_ACLE_FUNC(svget3,_s8,,)(tuple, 3); in test_svget3_s8() 19 svint16_t test_svget3_s16(svint16x3_t tuple) in test_svget3_s16() argument 22 return SVE_ACLE_FUNC(svget3,_s16,,)(tuple, -1); in test_svget3_s16() 25 svint32_t test_svget3_s32(svint32x3_t tuple) in test_svget3_s32() argument 28 return SVE_ACLE_FUNC(svget3,_s32,,)(tuple, 3); in test_svget3_s32() 31 svint64_t test_svget3_s64(svint64x3_t tuple) in test_svget3_s64() argument 34 return SVE_ACLE_FUNC(svget3,_s64,,)(tuple, -1); in test_svget3_s64() 37 svuint8_t test_svget3_u8(svuint8x3_t tuple) in test_svget3_u8() argument 40 return SVE_ACLE_FUNC(svget3,_u8,,)(tuple, 3); in test_svget3_u8() [all …]
|