Home
last modified time | relevance | path

Searched full:tuple (Results 1 – 25 of 967) sorted by relevance

12345678910>>...39

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/index/detail/
H A Dtuples.hpp12 #include <boost/tuple/tuple.hpp>
25 template <typename Tuple, typename El, size_t N>
28 template <typename Tuple, typename El, size_t N, typename CurrentEl>
31 static const size_t value = find_index<Tuple, El, N - 1>::value;
34 template <typename Tuple, typename El, size_t N>
35 struct find_index_impl<Tuple, El, N, El>
40 template <typename Tuple, typename El, typename CurrentEl>
41 struct find_index_impl<Tuple, El, 1, CurrentEl>
49 template <typename Tuple, typename El>
50 struct find_index_impl<Tuple, El, 1, El>
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/libcxx/include/
H A Dtuple2 //===--------------------------- 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 …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/libcxx/include/
H A Dtuple2 //===--------------------------- 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 …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/
H A Dtuple1 // <tuple> -*- C++ -*-
25 /** @file include/tuple
57 class tuple;
64 struct __is_empty_non_tuple<tuple<_El0, _El...>> : false_type { };
175 * Contains the actual implementation of the @c tuple template, stored
186 * Recursive tuple implementation. Here we store the @c Head element
518 /// Primary class template, tuple
520 class tuple : public _Tuple_impl<0, _Elements...>
573 // Constraint for tuple(_UTypes&&...) where sizeof...(_UTypes) == 1.
578 && !is_same<tuple, __remove_cvref_t<_Up>>::value;
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/
H A Dtuple1 // <tuple> -*- C++ -*-
25 /** @file include/tuple
57 class tuple;
64 struct __is_empty_non_tuple<tuple<_El0, _El...>> : false_type { };
175 * Contains the actual implementation of the @c tuple template, stored
186 * Recursive tuple implementation. Here we store the @c Head element
518 /// Primary class template, tuple
520 class tuple : public _Tuple_impl<0, _Elements...>
573 // Constraint for tuple(_UTypes&&...) where sizeof...(_UTypes) == 1.
578 && !is_same<tuple, __remove_cvref_t<_Up>>::value;
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/tr1/
H A Dtuple1 // class template tuple -*- C++ -*-
25 /** @file tr1/tuple
64 * Contains the actual implementation of the @c tuple template, stored
75 * Zero-element tuple implementation. This is the basis case for the
82 * Recursive tuple implementation. Here we store the @c Head element
130 class tuple : public _Tuple_impl<0, _Elements...>
135 tuple() : _Inherited() { }
138 tuple(typename __add_c_ref<_Elements>::type... __elements)
142 tuple(const tuple<_UElements...>& __in)
145 tuple(const tuple& __in)
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/tr1/
H A Dtuple1 // class template tuple -*- C++ -*-
25 /** @file tr1/tuple
64 * Contains the actual implementation of the @c tuple template, stored
75 * Zero-element tuple implementation. This is the basis case for the
82 * Recursive tuple implementation. Here we store the @c Head element
130 class tuple : public _Tuple_impl<0, _Elements...>
135 tuple() : _Inherited() { }
138 tuple(typename __add_c_ref<_Elements>::type... __elements)
142 tuple(const tuple<_UElements...>& __in)
145 tuple(const tuple& __in)
[all …]
/OK3568_Linux_fs/kernel/drivers/pcmcia/
H A Dcistpl.c432 /* The high-level CIS tuple services */
447 tuple_t *tuple) in pccard_get_first_tuple() argument
454 tuple->TupleLink = tuple->Flags = 0; in pccard_get_first_tuple()
457 tuple->CISOffset = tuple->LinkOffset = 0; in pccard_get_first_tuple()
458 SPACE(tuple->Flags) = HAS_LINK(tuple->Flags) = 1; in pccard_get_first_tuple()
460 if ((s->functions > 1) && !(tuple->Attributes & TUPLE_RETURN_COMMON)) { in pccard_get_first_tuple()
461 cisdata_t req = tuple->DesiredTuple; in pccard_get_first_tuple()
462 tuple->DesiredTuple = CISTPL_LONGLINK_MFC; in pccard_get_first_tuple()
463 if (pccard_get_next_tuple(s, function, tuple) == 0) { in pccard_get_first_tuple()
464 tuple->DesiredTuple = CISTPL_LINKTARGET; in pccard_get_first_tuple()
[all …]
H A Dpcmcia_cis.c26 * pccard_read_tuple() - internal CIS tuple access
30 * @parse: buffer where the tuple shall be parsed (or NULL, if no parse)
32 * pccard_read_tuple() reads out one tuple and attempts to parse it
37 tuple_t tuple; in pccard_read_tuple() local
43 dev_warn(&s->dev, "no memory to read tuple\n"); in pccard_read_tuple()
46 tuple.DesiredTuple = code; in pccard_read_tuple()
47 tuple.Attributes = 0; in pccard_read_tuple()
49 tuple.Attributes = TUPLE_RETURN_COMMON; in pccard_read_tuple()
50 ret = pccard_get_first_tuple(s, function, &tuple); in pccard_read_tuple()
53 tuple.TupleData = buf; in pccard_read_tuple()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A Dtest_sk_lookup_kern.c21 /* Fill 'tuple' with L3 info, and attempt to find L4. On fail, return NULL. */
62 struct bpf_sock_tuple *tuple; in bpf_sk_lookup_test0() local
70 tuple = get_tuple(data, sizeof(*eth), data_end, eth->h_proto, &ipv4); in bpf_sk_lookup_test0()
71 if (!tuple || tuple + sizeof *tuple > data_end) in bpf_sk_lookup_test0()
74 tuple_len = ipv4 ? sizeof(tuple->ipv4) : sizeof(tuple->ipv6); in bpf_sk_lookup_test0()
75 sk = bpf_sk_lookup_tcp(skb, tuple, tuple_len, BPF_F_CURRENT_NETNS, 0); in bpf_sk_lookup_test0()
85 struct bpf_sock_tuple tuple = {}; in bpf_sk_lookup_test1() local
88 sk = bpf_sk_lookup_tcp(skb, &tuple, sizeof(tuple), BPF_F_CURRENT_NETNS, 0); in bpf_sk_lookup_test1()
97 struct bpf_sock_tuple tuple = {}; in bpf_sk_lookup_uaf() local
101 sk = bpf_sk_lookup_tcp(skb, &tuple, sizeof(tuple), BPF_F_CURRENT_NETNS, 0); in bpf_sk_lookup_uaf()
[all …]
H A Dconnect6_prog.c32 struct bpf_sock_tuple tuple = {}; in connect_v6_prog() local
37 memset(&tuple.ipv6.saddr, 0, sizeof(tuple.ipv6.saddr)); in connect_v6_prog()
38 memset(&tuple.ipv6.sport, 0, sizeof(tuple.ipv6.sport)); in connect_v6_prog()
40 tuple.ipv6.daddr[0] = bpf_htonl(DST_REWRITE_IP6_0); in connect_v6_prog()
41 tuple.ipv6.daddr[1] = bpf_htonl(DST_REWRITE_IP6_1); in connect_v6_prog()
42 tuple.ipv6.daddr[2] = bpf_htonl(DST_REWRITE_IP6_2); in connect_v6_prog()
43 tuple.ipv6.daddr[3] = bpf_htonl(DST_REWRITE_IP6_3); in connect_v6_prog()
45 tuple.ipv6.dport = bpf_htons(DST_REWRITE_PORT6); in connect_v6_prog()
50 sk = bpf_sk_lookup_tcp(ctx, &tuple, sizeof(tuple.ipv6), in connect_v6_prog()
53 sk = bpf_sk_lookup_udp(ctx, &tuple, sizeof(tuple.ipv6), in connect_v6_prog()
[all …]
H A Dtest_sk_assign.c42 /* Fill 'tuple' with L3 info, and attempt to find L4. On fail, return NULL. */
91 handle_udp(struct __sk_buff *skb, struct bpf_sock_tuple *tuple, bool ipv4) in handle_udp() argument
100 tuple_len = ipv4 ? sizeof(tuple->ipv4) : sizeof(tuple->ipv6); in handle_udp()
101 if ((void *)tuple + tuple_len > (void *)(long)skb->data_end) in handle_udp()
104 sk = bpf_sk_lookup_udp(skb, tuple, tuple_len, BPF_F_CURRENT_NETNS, 0); in handle_udp()
108 dport = ipv4 ? tuple->ipv4.dport : tuple->ipv6.dport; in handle_udp()
123 handle_tcp(struct __sk_buff *skb, struct bpf_sock_tuple *tuple, bool ipv4) in handle_tcp() argument
132 tuple_len = ipv4 ? sizeof(tuple->ipv4) : sizeof(tuple->ipv6); in handle_tcp()
133 if ((void *)tuple + tuple_len > (void *)(long)skb->data_end) in handle_tcp()
136 sk = bpf_skc_lookup_tcp(skb, tuple, tuple_len, BPF_F_CURRENT_NETNS, 0); in handle_tcp()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/container/detail/
H A 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::container_detail::tuple
51 tuple(U &&u, Args && ...args) in tuple() function in boost::container::container_detail::tuple
55 // Construct tuple from another tuple.
57 tuple(const tuple<VValues...>& other) in tuple() function in boost::container::container_detail::tuple
62 tuple& operator=(const tuple<VValues...>& other) in operator =()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/tao_tuple/28626e99/include/tao/tuple/
H A Dtuple.hpp1 // The Art of C++ / Tuple
31 struct tuple;
36 // 20.4.2.8 Tuple traits [tuple.traits]
39 struct uses_allocator< tao::tuple< Ts... >, A > : true_type {};
46 const seq::type_by_index_t< I, Ts... >& get( const tuple< Ts... >& ) noexcept;
50 seq::type_by_index_t< I, Ts... >& get( tuple< Ts... >& ) noexcept;
54 seq::type_by_index_t< I, Ts... >&& get( const tuple< Ts... >&& ) noexcept;
96 … !std::is_reference< T >::value, "attempted to default construct a reference element in a tuple" ); in tuple_value()
103 … !std::is_reference< T >::value, "attempted to default construct a reference element in a tuple" ); in tuple_value()
110 … !std::is_reference< T >::value, "attempted to default construct a reference element in a tuple" ); in tuple_value()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/index/
H A Dequal_to.hpp54 template <typename Tuple, size_t I, size_t N>
57 inline static bool apply(Tuple const& t1, Tuple const& t2) in apply()
59 typedef typename boost::tuples::element<I, Tuple>::type T; in apply()
62 && tuple_equals<Tuple, I+1, N>::apply(t1, t2); in apply()
66 template <typename Tuple, size_t I>
67 struct tuple_equals<Tuple, I, I>
69 inline static bool apply(Tuple const&, Tuple const&) in apply()
86 This template is also specialized for std::pair<T1, T2> and boost::tuple<...>.
143 This specialization compares values of type boost::tuple<...>.
144 It compares all members of the tuple from the first one to the last one.
[all …]
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dnf_nat_sip.c107 if (nf_inet_addr_cmp(&ct->tuplehash[dir].tuple.src.u3, addr) && in map_addr()
108 ct->tuplehash[dir].tuple.src.u.udp.port == port) { in map_addr()
109 newaddr = ct->tuplehash[!dir].tuple.dst.u3; in map_addr()
110 newport = ct->tuplehash[!dir].tuple.dst.u.udp.port; in map_addr()
111 } else if (nf_inet_addr_cmp(&ct->tuplehash[dir].tuple.dst.u3, addr) && in map_addr()
112 ct->tuplehash[dir].tuple.dst.u.udp.port == port) { in map_addr()
113 newaddr = ct->tuplehash[!dir].tuple.src.u3; in map_addr()
115 ct->tuplehash[!dir].tuple.src.u.udp.port; in map_addr()
189 &ct->tuplehash[dir].tuple.src.u3) || in nf_nat_sip()
190 port != ct->tuplehash[dir].tuple.src.u.udp.port) in nf_nat_sip()
[all …]
H A Dnf_flow_table_ip.c97 new_addr = flow->tuplehash[FLOW_OFFLOAD_DIR_REPLY].tuple.dst_v4.s_addr; in nf_flow_snat_ip()
102 new_addr = flow->tuplehash[FLOW_OFFLOAD_DIR_ORIGINAL].tuple.src_v4.s_addr; in nf_flow_snat_ip()
122 new_addr = flow->tuplehash[FLOW_OFFLOAD_DIR_REPLY].tuple.src_v4.s_addr; in nf_flow_dnat_ip()
127 new_addr = flow->tuplehash[FLOW_OFFLOAD_DIR_ORIGINAL].tuple.dst_v4.s_addr; in nf_flow_dnat_ip()
163 struct flow_offload_tuple *tuple) in nf_flow_tuple_ip() argument
200 tuple->src_v4.s_addr = iph->saddr; in nf_flow_tuple_ip()
201 tuple->dst_v4.s_addr = iph->daddr; in nf_flow_tuple_ip()
202 tuple->src_port = ports->source; in nf_flow_tuple_ip()
203 tuple->dst_port = ports->dest; in nf_flow_tuple_ip()
204 tuple->l3proto = AF_INET; in nf_flow_tuple_ip()
[all …]
H A Dnf_nat_proto.c41 const struct nf_conntrack_tuple *tuple, in __udp_manip_pkt() argument
48 newport = tuple->src.u.udp.port; in __udp_manip_pkt()
52 newport = tuple->dst.u.udp.port; in __udp_manip_pkt()
56 nf_csum_update(skb, iphdroff, &hdr->check, tuple, maniptype); in __udp_manip_pkt()
67 const struct nf_conntrack_tuple *tuple, in udp_manip_pkt() argument
76 __udp_manip_pkt(skb, iphdroff, hdr, tuple, maniptype, !!hdr->check); in udp_manip_pkt()
83 const struct nf_conntrack_tuple *tuple, in udplite_manip_pkt() argument
93 __udp_manip_pkt(skb, iphdroff, hdr, tuple, maniptype, true); in udplite_manip_pkt()
101 const struct nf_conntrack_tuple *tuple, in sctp_manip_pkt() argument
122 hdr->source = tuple->src.u.sctp.port; in sctp_manip_pkt()
[all …]
H A Dnf_nat_core.c61 const struct nf_conntrack_tuple *t = &ct->tuplehash[dir].tuple; in nf_nat_ipv4_decode_session()
94 const struct nf_conntrack_tuple *t = &ct->tuplehash[dir].tuple; in nf_nat_ipv6_decode_session()
190 hash_by_src(const struct net *n, const struct nf_conntrack_tuple *tuple) in hash_by_src() argument
197 hash = jhash2((u32 *)&tuple->src, sizeof(tuple->src) / sizeof(u32), in hash_by_src()
198 tuple->dst.protonum ^ nf_nat_hash_rnd ^ net_hash_mix(n)); in hash_by_src()
203 /* Is this tuple already taken? (not by us) */
205 nf_nat_used_tuple(const struct nf_conntrack_tuple *tuple, in nf_nat_used_tuple() argument
210 * so we invert the tuple and look for the incoming reply. in nf_nat_used_tuple()
216 nf_ct_invert_tuple(&reply, tuple); in nf_nat_used_tuple()
231 /* Is the manipable part of the tuple between min and max incl? */
[all …]
H A Dnf_conntrack_expect.c79 …tic unsigned int nf_ct_expect_dst_hash(const struct net *n, const struct nf_conntrack_tuple *tuple) in nf_ct_expect_dst_hash() argument
87 hash = jhash2(tuple->dst.u3.all, ARRAY_SIZE(tuple->dst.u3.all), in nf_ct_expect_dst_hash()
88 (((tuple->dst.protonum ^ tuple->src.l3num) << 16) | in nf_ct_expect_dst_hash()
89 (__force __u16)tuple->dst.u.all) ^ seed); in nf_ct_expect_dst_hash()
95 nf_ct_exp_equal(const struct nf_conntrack_tuple *tuple, in nf_ct_exp_equal() argument
100 return nf_ct_tuple_mask_cmp(tuple, &i->tuple, &i->mask) && in nf_ct_exp_equal()
119 const struct nf_conntrack_tuple *tuple) in __nf_ct_expect_find() argument
127 h = nf_ct_expect_dst_hash(net, tuple); in __nf_ct_expect_find()
129 if (nf_ct_exp_equal(tuple, i, zone, net)) in __nf_ct_expect_find()
136 /* Just find a expectation corresponding to a tuple. */
[all …]
/OK3568_Linux_fs/kernel/drivers/ssb/
H A Dsdio.c477 struct sdio_func_tuple *tuple; in ssb_sdio_get_invariants() local
484 tuple = bus->host_sdio->tuples; in ssb_sdio_get_invariants()
485 while (tuple) { in ssb_sdio_get_invariants()
486 switch (tuple->code) { in ssb_sdio_get_invariants()
488 switch (tuple->data[0]) { in ssb_sdio_get_invariants()
490 GOTO_ERROR_ON((tuple->size != 7) && in ssb_sdio_get_invariants()
491 (tuple->data[1] != 6), in ssb_sdio_get_invariants()
494 mac = tuple->data + 2; in ssb_sdio_get_invariants()
502 case 0x80: /* vendor specific tuple */ in ssb_sdio_get_invariants()
503 switch (tuple->data[0]) { in ssb_sdio_get_invariants()
[all …]
/OK3568_Linux_fs/kernel/net/ipv4/netfilter/
H A Dnf_nat_h323.c105 if (addr.ip == ct->tuplehash[dir].tuple.src.u3.ip && in set_sig_addr()
118 &ct->tuplehash[!dir].tuple.dst.u3.ip, in set_sig_addr()
123 tuple.dst.u3, in set_sig_addr()
125 } else if (addr.ip == ct->tuplehash[dir].tuple.dst.u3.ip && in set_sig_addr()
130 &ct->tuplehash[!dir].tuple.src.u3.ip, in set_sig_addr()
135 tuple.src.u3, in set_sig_addr()
157 addr.ip == ct->tuplehash[dir].tuple.src.u3.ip && in set_ras_addr()
158 port == ct->tuplehash[dir].tuple.src.u.udp.port) { in set_ras_addr()
161 &ct->tuplehash[!dir].tuple.dst.u3.ip, in set_ras_addr()
162 ntohs(ct->tuplehash[!dir].tuple.dst.u.udp.port)); in set_ras_addr()
[all …]
/OK3568_Linux_fs/buildroot/boot/grub2/
H A Dgrub2.mk152 $(foreach tuple, $(GRUB2_TUPLES-y), \
153 @$(call MESSAGE,Configuring $(tuple))
154 mkdir -p $(@D)/build-$(tuple)
155 cd $(@D)/build-$(tuple) && \
160 --target=$(GRUB2_TARGET_$(tuple)) \
161 --with-platform=$(GRUB2_PLATFORM_$(tuple)) \
176 $(foreach tuple, $(GRUB2_TUPLES-y), \
177 @$(call MESSAGE,Building $(tuple))
178 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/build-$(tuple)
183 $(foreach tuple, $(GRUB2_TUPLES-y), \
[all …]
/OK3568_Linux_fs/kernel/net/netfilter/ipvs/
H A Dip_vs_nfct.c100 * CIP->VIP will remain the same, so leave the tuple in in ip_vs_update_conntrack()
104 new_tuple = ct->tuplehash[IP_CT_DIR_REPLY].tuple; in ip_vs_update_conntrack()
122 ARG_TUPLE(&ct->tuplehash[IP_CT_DIR_REPLY].tuple)); in ip_vs_update_conntrack()
157 orig = &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple; in ip_vs_nfct_expect_callback()
158 ip_vs_conn_fill_param(net_ipvs(net), exp->tuple.src.l3num, orig->dst.protonum, in ip_vs_nfct_expect_callback()
167 new_reply = ct->tuplehash[IP_CT_DIR_REPLY].tuple; in ip_vs_nfct_expect_callback()
168 IP_VS_DBG_BUF(7, "%s: ct=%p before alter: reply tuple=" in ip_vs_nfct_expect_callback()
183 new_reply = ct->tuplehash[IP_CT_DIR_REPLY].tuple; in ip_vs_nfct_expect_callback()
184 IP_VS_DBG_BUF(7, "%s: ct=%p before alter: reply tuple=" in ip_vs_nfct_expect_callback()
192 IP_VS_DBG_BUF(7, "%s: ct=%p, status=0x%lX, tuple=" FMT_TUPLE in ip_vs_nfct_expect_callback()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_arfs.c64 struct arfs_tuple tuple; member
440 struct arfs_tuple *tuple = &arfs_rule->tuple; in arfs_add_rule() local
458 ntohs(tuple->etype)); in arfs_add_rule()
459 arfs_table = arfs_get_table(arfs, tuple->ip_proto, tuple->etype); in arfs_add_rule()
466 if (tuple->ip_proto == IPPROTO_TCP) { in arfs_add_rule()
472 ntohs(tuple->dst_port)); in arfs_add_rule()
474 ntohs(tuple->src_port)); in arfs_add_rule()
481 ntohs(tuple->dst_port)); in arfs_add_rule()
483 ntohs(tuple->src_port)); in arfs_add_rule()
485 if (tuple->etype == htons(ETH_P_IP)) { in arfs_add_rule()
[all …]

12345678910>>...39