HomeSort by relevance Sort by last modified time
    Searched refs:tuple (Results 26 - 50 of 2452) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.rel/
eq.pass.cpp 10 // <tuple>
12 // template <class... Types> class tuple;
16 // operator==(const tuple<TTypes...>& t, const tuple<UTypes...>& u);
20 #include <tuple>
29 typedef std::tuple<> T1;
30 typedef std::tuple<> T2;
37 typedef std::tuple<int> T1;
38 typedef std::tuple<double> T2;
45 typedef std::tuple<int> T1
    [all...]
  /external/icu/icu4c/source/test/intltest/
numfmtdatadriventest.cpp 69 static void adjustDecimalFormat(const NumberFormatTestTuple& tuple, DecimalFormat& fmt,
71 if (tuple.minIntegerDigitsFlag) {
72 fmt.setMinimumIntegerDigits(tuple.minIntegerDigits);
74 if (tuple.maxIntegerDigitsFlag) {
75 fmt.setMaximumIntegerDigits(tuple.maxIntegerDigits);
77 if (tuple.minFractionDigitsFlag) {
78 fmt.setMinimumFractionDigits(tuple.minFractionDigits);
80 if (tuple.maxFractionDigitsFlag) {
81 fmt.setMaximumFractionDigits(tuple.maxFractionDigits);
83 if (tuple.currencyFlag)
458 NumberFormatTestTuple tuple; local
    [all...]
  /external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/
tuple_array_template_depth.pass.cpp 12 // <tuple>
14 // template <class... Types> class tuple;
16 // template <class Tuple, __tuple_assignable<Tuple, tuple> >
17 // tuple & operator=(Tuple &&);
20 // on the array when it doesn't match the size of the tuple.
23 #include <tuple>
27 typedef std::tuple<array_t> tuple_t
    [all...]
  /external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
tuple_array_template_depth.pass.cpp 12 // <tuple>
14 // template <class... Types> class tuple;
16 // template <class Tuple, __tuple_convertible<Tuple, tuple> >
17 // tuple(Tuple &&);
19 // template <class Tuple, __tuple_constructible<Tuple, tuple> >
    [all...]
alloc_convert_move.fail.cpp 10 // <tuple>
12 // template <class... Types> class tuple;
15 // tuple(allocator_arg_t, const Alloc& a, tuple<UTypes...>&&);
19 #include <tuple>
27 std::tuple<ExplicitCopy> explicit_move_test() {
28 std::tuple<int> t1(42);
PR23256_constrain_UTypes_ctor.pass.cpp 12 // <tuple>
14 // template <class... Types> class tuple;
17 // EXPLICIT(...) tuple(UTypes&&...)
20 // SFINAE when the tuple-like copy/move ctor should *clearly* be selected
22 // 'UTypes...' is an instance of the tuple itself. See PR23256.
24 #include <tuple>
65 static_assert(std::is_copy_constructible<std::tuple<A>>::value, "");
66 static_assert(std::is_move_constructible<std::tuple<A>>::value, "");
67 static_assert(std::is_copy_constructible<std::tuple<ExplicitA>>::value, "");
68 static_assert(std::is_move_constructible<std::tuple<ExplicitA>>::value, "")
    [all...]
default.pass.cpp 10 // <tuple>
12 // template <class... Types> class tuple;
14 // constexpr tuple();
18 #include <tuple>
51 std::tuple<> t;
55 std::tuple<int> t;
59 std::tuple<int, char*> t;
64 std::tuple<int, char*, std::string> t;
70 std::tuple<int, char*, std::string, DefaultOnly> t;
78 static_assert(!std::is_default_constructible<std::tuple<NoDefault>>(), "")
    [all...]
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() {
  /external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.elem/
get_const_rv.fail.cpp 10 // <tuple>
12 // template <class... Types> class tuple;
15 // const typename tuple_element<I, tuple<Types...> >::type&&
16 // get(const tuple<Types...>&& t);
20 #include <tuple>
25 std::tuple<int> const tup4() { return std::make_tuple(4); }
29 // LWG2485: tuple should not open a hole in the type system, get() should
  /external/linux-kselftest/tools/testing/selftests/bpf/
test_sk_lookup_kern.c 21 /* Fill 'tuple' with L3 info, and attempt to find L4. On fail, return NULL. */
62 struct bpf_sock_tuple *tuple; local
70 tuple = get_tuple(data, sizeof(*eth), data_end, eth->h_proto, &ipv4);
71 if (!tuple || tuple + sizeof *tuple > data_end)
74 tuple_len = ipv4 ? sizeof(tuple->ipv4) : sizeof(tuple->ipv6);
75 sk = bpf_sk_lookup_tcp(skb, tuple, tuple_len, BPF_F_CURRENT_NETNS, 0);
84 struct bpf_sock_tuple tuple = {} local
96 struct bpf_sock_tuple tuple = {}; local
111 struct bpf_sock_tuple tuple = {}; local
126 struct bpf_sock_tuple tuple = {}; local
140 struct bpf_sock_tuple tuple = {}; local
149 struct bpf_sock_tuple tuple = {}; local
161 struct bpf_sock_tuple tuple = {}; local
171 struct bpf_sock_tuple tuple = {}; local
    [all...]
  /external/grpc-grpc/src/python/grpcio_tests/tests/unit/
_from_grpc_import_star.py 15 _BEFORE_IMPORT = tuple(globals())
19 _AFTER_IMPORT = tuple(globals())
21 GRPC_ELEMENTS = tuple(
  /external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.traits/
uses_allocator.pass.cpp 10 // <tuple>
12 // template <class... Types> class tuple;
15 // struct uses_allocator<tuple<Types...>, Alloc> : true_type { };
19 #include <tuple>
27 typedef std::tuple<> T;
32 typedef std::tuple<int> T;
37 typedef std::tuple<char, int> T;
42 typedef std::tuple<double&, char, int> T;
  /external/google-fruit/include/fruit/impl/util/
hash_codes.defn.h 25 template <typename Tuple, int index>
26 inline std::size_t hashTupleElement(const Tuple& x) {
32 template <typename Tuple, int last_index>
36 struct HashTupleHelper<std::tuple<>, last_index> {
37 std::size_t operator()(const std::tuple<>&) {
43 struct HashTupleHelper<std::tuple<Args...>, 1> {
44 std::size_t operator()(const std::tuple<Args...>& x) {
45 return hashTupleElement<std::tuple<Args...>, 0>(x);
50 struct HashTupleHelper<std::tuple<Args...>, last_index> {
51 std::size_t operator()(const std::tuple<Args...>& x)
    [all...]
  /external/tensorflow/tensorflow/python/compiler/tensorrt/
trt_conversion.i 29 PyObject *tuple(nullptr);
30 tuple = Py_BuildValue("(iii)", in->vmajor, in->vminor, in->vpatch);
31 if (!tuple) {
34 "Tuple creation from version structure failed!");
38 return tuple;
44 PyObject *tuple = version_helper(&$1);
45 if (!tuple) SWIG_fail;
46 $result = tuple;
  /external/catch2/projects/SelfTest/UsageTests/
ToStringTuple.tests.cpp 4 #include <tuple>
6 TEST_CASE( "tuple<>", "[toString][tuple]" )
8 typedef std::tuple<> type;
14 TEST_CASE( "tuple<int>", "[toString][tuple]" )
16 typedef std::tuple<int> type;
21 TEST_CASE( "tuple<float,int>", "[toString][tuple]" )
23 typedef std::tuple<float,int> type
    [all...]
  /external/google-breakpad/src/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/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/swiftshader/third_party/llvm-7.0/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/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/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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-xray/
xray-color-helper.h 17 #include <tuple>
48 ArrayRef<std::tuple<uint8_t, uint8_t, uint8_t>> ColorMap;
49 ArrayRef<std::tuple<uint8_t, uint8_t, uint8_t>> BoundMap;
73 std::tuple<uint8_t, uint8_t, uint8_t> getColorTuple(double Point) const;
78 std::tuple<uint8_t, uint8_t, uint8_t> getDefaultColorTuple() const {
84 // Convert a tuple to a string
85 static std::string getColorString(std::tuple<uint8_t, uint8_t, uint8_t> t);
  /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 17 // pair(piecewise_construct_t, tuple<Args1...> first_args,
18 // tuple<Args2...> second_args);
21 #include <tuple>
31 P3 p3(std::piecewise_construct, std::tuple<int, int*>(3, nullptr),
32 std::tuple<int*, int>(nullptr, 4));
  /external/libcxx/test/libcxx/experimental/utilities/tuple/
version.pass.cpp 10 // <experimental/tuple>
15 #include <experimental/tuple>

Completed in 1055 milliseconds

12 3 4 5 6 7 8 91011>>