/external/llvm/unittests/ADT/ |
MakeUniqueTest.cpp | 12 #include <tuple> 26 auto p2 = make_unique<std::tuple<int, int>>(0, 1); 30 auto p3 = make_unique<std::tuple<int, int, int>>(0, 1, 2); 34 auto p4 = make_unique<std::tuple<int, int, int, int>>(0, 1, 2, 3); 38 auto p5 = make_unique<std::tuple<int, int, int, int, int>>(0, 1, 2, 3, 4); 43 make_unique<std::tuple<int, int, int, int, int, int>>(0, 1, 2, 3, 4, 5); 47 auto p7 = make_unique<std::tuple<int, int, int, int, int, int, int>>( 52 auto p8 = make_unique<std::tuple<int, int, int, int, int, int, int, int>>( 58 make_unique<std::tuple<int, int, int, int, int, int, int, int, int>>( 64 make_unique<std::tuple<int, int, int, int, int, int, int, int, int, int>> [all...] |
/external/v8/testing/gtest/test/ |
gtest-tuple_test.cc | 32 #include "gtest/internal/gtest-tuple.h" 40 using ::std::tr1::tuple; 45 // Tests that tuple_element<K, tuple<T0, T1, ..., TN> >::type returns TK. 47 StaticAssertTypeEq<int, tuple_element<0, tuple<int, char> >::type>(); 48 StaticAssertTypeEq<int&, tuple_element<1, tuple<double, int&> >::type>(); 49 StaticAssertTypeEq<bool, tuple_element<2, tuple<double, int, bool> >::type>(); 52 // Tests that tuple_size<T>::value gives the number of fields in tuple 55 EXPECT_EQ(0, +tuple_size<tuple<> >::value); 56 EXPECT_EQ(1, +tuple_size<tuple<void*> >::value); 57 EXPECT_EQ(1, +tuple_size<tuple<char> >::value) [all...] |
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/ |
gtest-tuple_test.cc | 32 #include "gtest/internal/gtest-tuple.h" 40 using ::std::tr1::tuple; 45 // Tests that tuple_element<K, tuple<T0, T1, ..., TN> >::type returns TK. 47 StaticAssertTypeEq<int, tuple_element<0, tuple<int, char> >::type>(); 48 StaticAssertTypeEq<int&, tuple_element<1, tuple<double, int&> >::type>(); 49 StaticAssertTypeEq<bool, tuple_element<2, tuple<double, int, bool> >::type>(); 52 // Tests that tuple_size<T>::value gives the number of fields in tuple 55 EXPECT_EQ(0, +tuple_size<tuple<> >::value); 56 EXPECT_EQ(1, +tuple_size<tuple<void*> >::value); 57 EXPECT_EQ(1, +tuple_size<tuple<char> >::value) [all...] |
/prebuilts/ndk/r11/sources/third_party/googletest/googletest/test/ |
gtest-tuple_test.cc | 32 #include "gtest/internal/gtest-tuple.h" 40 using ::std::tr1::tuple; 45 // Tests that tuple_element<K, tuple<T0, T1, ..., TN> >::type returns TK. 47 StaticAssertTypeEq<int, tuple_element<0, tuple<int, char> >::type>(); 48 StaticAssertTypeEq<int&, tuple_element<1, tuple<double, int&> >::type>(); 49 StaticAssertTypeEq<bool, tuple_element<2, tuple<double, int, bool> >::type>(); 52 // Tests that tuple_size<T>::value gives the number of fields in tuple 55 EXPECT_EQ(0, +tuple_size<tuple<> >::value); 56 EXPECT_EQ(1, +tuple_size<tuple<void*> >::value); 57 EXPECT_EQ(1, +tuple_size<tuple<char> >::value) [all...] |
/prebuilts/ndk/r13/sources/third_party/googletest/googletest/test/ |
gtest-tuple_test.cc | 32 #include "gtest/internal/gtest-tuple.h" 40 using ::std::tr1::tuple; 45 // Tests that tuple_element<K, tuple<T0, T1, ..., TN> >::type returns TK. 47 StaticAssertTypeEq<int, tuple_element<0, tuple<int, char> >::type>(); 48 StaticAssertTypeEq<int&, tuple_element<1, tuple<double, int&> >::type>(); 49 StaticAssertTypeEq<bool, tuple_element<2, tuple<double, int, bool> >::type>(); 52 // Tests that tuple_size<T>::value gives the number of fields in tuple 55 EXPECT_EQ(0, +tuple_size<tuple<> >::value); 56 EXPECT_EQ(1, +tuple_size<tuple<void*> >::value); 57 EXPECT_EQ(1, +tuple_size<tuple<char> >::value) [all...] |
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
alloc_convert_copy.pass.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 15 // tuple(allocator_arg_t, const Alloc& a, const tuple<UTypes...>&); 19 #include <tuple> 40 typedef std::tuple<long> T0; 41 typedef std::tuple<long long> T1; 47 typedef std::tuple<int> T0; 48 typedef std::tuple<alloc_first> T1; 56 typedef std::tuple<int, int> T0 [all...] |
alloc_const_Types.fail.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 15 // EXPLICIT tuple(allocator_arg_t, const Alloc& a, const Types&...); 19 #include <tuple> 28 std::tuple<ExplicitCopy> const_explicit_copy_test() { 34 std::tuple<ExplicitCopy> non_const_explicity_copy_test() {
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
alloc_convert_copy.pass.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 15 // tuple(allocator_arg_t, const Alloc& a, const tuple<UTypes...>&); 19 #include <tuple> 40 typedef std::tuple<double> T0; 41 typedef std::tuple<int> T1; 47 typedef std::tuple<int> T0; 48 typedef std::tuple<alloc_first> T1; 56 typedef std::tuple<int, int> T0 [all...] |
alloc_const_Types.fail.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 15 // EXPLICIT tuple(allocator_arg_t, const Alloc& a, const Types&...); 19 #include <tuple> 28 std::tuple<ExplicitCopy> const_explicit_copy_test() { 34 std::tuple<ExplicitCopy> non_const_explicity_copy_test() {
|
/external/google-breakpad/src/testing/test/ |
gmock-generated-internal-utils_test.cc | 42 using ::std::tr1::tuple; 52 CompileAssertTypesEqual<tuple<>, MatcherTuple<tuple<> >::type>(); 56 CompileAssertTypesEqual<tuple<Matcher<int> >, 57 MatcherTuple<tuple<int> >::type>(); 61 CompileAssertTypesEqual<tuple<Matcher<int>, Matcher<char> >, 62 MatcherTuple<tuple<int, char> >::type>(); 66 CompileAssertTypesEqual<tuple<Matcher<int>, Matcher<char>, Matcher<bool>, 68 MatcherTuple<tuple<int, char, bool, double, char*> 77 CompileAssertTypesEqual<tuple<>, F::ArgumentTuple>() [all...] |
/external/googletest/googlemock/test/ |
gmock-generated-internal-utils_test.cc | 42 using ::testing::tuple; 52 CompileAssertTypesEqual<tuple<>, MatcherTuple<tuple<> >::type>(); 56 CompileAssertTypesEqual<tuple<Matcher<int> >, 57 MatcherTuple<tuple<int> >::type>(); 61 CompileAssertTypesEqual<tuple<Matcher<int>, Matcher<char> >, 62 MatcherTuple<tuple<int, char> >::type>(); 66 CompileAssertTypesEqual<tuple<Matcher<int>, Matcher<char>, Matcher<bool>, 68 MatcherTuple<tuple<int, char, bool, double, char*> 77 CompileAssertTypesEqual<tuple<>, F::ArgumentTuple>() [all...] |
/external/v8/testing/gmock/test/ |
gmock-generated-internal-utils_test.cc | 42 using ::testing::tuple; 52 CompileAssertTypesEqual<tuple<>, MatcherTuple<tuple<> >::type>(); 56 CompileAssertTypesEqual<tuple<Matcher<int> >, 57 MatcherTuple<tuple<int> >::type>(); 61 CompileAssertTypesEqual<tuple<Matcher<int>, Matcher<char> >, 62 MatcherTuple<tuple<int, char> >::type>(); 66 CompileAssertTypesEqual<tuple<Matcher<int>, Matcher<char>, Matcher<bool>, 68 MatcherTuple<tuple<int, char, bool, double, char*> 77 CompileAssertTypesEqual<tuple<>, F::ArgumentTuple>() [all...] |
/external/libnl/src/lib/ |
exp.c | 97 void nl_cli_exp_parse_src(struct nfnl_exp *exp, int tuple, char *arg) 101 if ((err = nfnl_exp_set_src(exp, tuple, a)) < 0) 106 void nl_cli_exp_parse_dst(struct nfnl_exp *exp, int tuple, char *arg) 110 if ((err = nfnl_exp_set_dst(exp, tuple, a)) < 0) 115 void nl_cli_exp_parse_l4protonum(struct nfnl_exp *exp, int tuple, char *arg) 124 nfnl_exp_set_l4protonum(exp, tuple, l4protonum); 127 void nl_cli_exp_parse_src_port(struct nfnl_exp *exp, int tuple, char *arg) 130 uint16_t dport = nfnl_exp_get_dst_port(exp, tuple); 131 nfnl_exp_set_ports(exp, tuple, sport, dport); 134 void nl_cli_exp_parse_dst_port(struct nfnl_exp *exp, int tuple, char *arg [all...] |
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.helper/ |
tuple_size_value_sfinae.pass.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 15 // class tuple_size<tuple<Types...>> 21 #include <tuple> 33 static_assert(has_value<std::tuple<int> const>(), ""); 38 static_assert(!has_value<const volatile std::tuple<int>&>(), "");
|
/external/libcxx/test/std/utilities/utility/pairs/pairs.pair/ |
piecewise.pass.cpp | 15 // pair(piecewise_construct_t, tuple<Args1...> first_args, 16 // tuple<Args2...> second_args); 19 #include <tuple> 29 P3 p3(std::piecewise_construct, std::tuple<int, int*>(3, nullptr), 30 std::tuple<int*, int>(nullptr, 4));
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/utility/pairs/pairs.pair/ |
piecewise.pass.cpp | 15 // pair(piecewise_construct_t, tuple<Args1...> first_args, 16 // tuple<Args2...> second_args); 19 #include <tuple> 29 P3 p3(std::piecewise_construct, std::tuple<int, int*>(3, nullptr), 30 std::tuple<int*, int>(nullptr, 4));
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/utility/pairs/pairs.pair/ |
piecewise.pass.cpp | 15 // pair(piecewise_construct_t, tuple<Args1...> first_args, 16 // tuple<Args2...> second_args); 19 #include <tuple> 29 P3 p3(std::piecewise_construct, std::tuple<int, int*>(3, nullptr), 30 std::tuple<int*, int>(nullptr, 4));
|
/external/libchrome/base/memory/ |
raw_scoped_refptr_mismatch_checker.h | 8 #include <tuple> 44 struct ParamsUseScopedRefptrCorrectly<std::tuple<>> { 49 struct ParamsUseScopedRefptrCorrectly<std::tuple<Head, Tail...>> { 51 ParamsUseScopedRefptrCorrectly<std::tuple<Tail...>>::value };
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.elem/ |
tuple.by.type.fail.cpp | 12 #include <tuple> 18 std::tuple<long, long, char, std::string, char, UserType, char> t1; 19 (void)std::get<int>(t1); // expected-error@tuple:* {{type not found}} 22 // expected-error@tuple:* 2 {{type occurs more than once}} 23 std::tuple<> t0; 25 // expected-error@tuple:* 1 {{type not in empty type list}} 30 std::tuple<upint> t;
|
/system/connectivity/wifilogd/tests/ |
mock_os.h | 21 #include <tuple> 38 std::tuple<int, Errno>(const std::string& socket_name)); 41 std::tuple<size_t, Errno>(int fd, void* buf, size_t buflen)); 42 MOCK_METHOD3(Write, std::tuple<size_t, Os::Errno>(int fd, const void* buf,
|
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
partial-ordering.cpp | 5 template<typename ...Types> struct tuple; 7 template<typename Tuple> 13 struct X1<tuple<Head, Tail...> > { 18 struct X1<tuple<Head, Tail&...> > { 23 struct X1<tuple<Head&, Tail&...> > { 27 int check0[X1<tuple<>>::value == 0? 1 : -1]; 28 int check1[X1<tuple<int>>::value == 2? 1 : -1]; 29 int check2[X1<tuple<int, int>>::value == 1? 1 : -1]; 30 int check3[X1<tuple<int, int&>>::value == 2? 1 : -1]; 31 int check4[X1<tuple<int&, int&>>::value == 3? 1 : -1] [all...] |
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/ |
p9-0x.cpp | 3 template<typename ...Types> struct tuple; 23 struct tuple_same_with_int<tuple<Types...>, tuple<Types..., int>> { 27 int tuple_same_with_int_1[tuple_same_with_int<tuple<int, float, double>, 28 tuple<int, float, double, int> 44 typedef tuple<ElementTypes...> element_types; 47 typedef tuple<unsigned_c<Bounds>...> bounds_types; 51 tuple<int, float, double>>::value? 1 : -1]; 53 tuple<unsigned_c<1>, unsigned_c<2>, unsigned_c<3>>
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.assign/ |
convert_copy.pass.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 15 // tuple& operator=(const tuple<UTypes...>& u); 17 #include <tuple> 37 typedef std::tuple<double> T0; 38 typedef std::tuple<int> T1; 45 typedef std::tuple<double, char> T0; 46 typedef std::tuple<int, int> T1; 54 typedef std::tuple<double, char, D> T0 [all...] |
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.cnstr/ |
alloc_convert_copy.pass.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 15 // tuple(allocator_arg_t, const Alloc& a, const tuple<UTypes...>&); 17 #include <tuple> 27 typedef std::tuple<double> T0; 28 typedef std::tuple<int> T1; 34 typedef std::tuple<int> T0; 35 typedef std::tuple<alloc_first> T1; 43 typedef std::tuple<int, int> T0 [all...] |
default.pass.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 14 // constexpr tuple(); 16 #include <tuple> 25 std::tuple<> t; 28 std::tuple<int> t; 32 std::tuple<int, char*> t; 37 std::tuple<int, char*, std::string> t; 43 std::tuple<int, char*, std::string, DefaultOnly> t; 51 constexpr std::tuple<> t [all...] |