Home
last modified time | relevance | path

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

12345678910>>...32

/freebsd/contrib/llvm-project/libcxx/include/
H A Dtuple16 tuple synopsis
22 class tuple {
24 explicit(see-below) constexpr tuple();
25 explicit(see-below) tuple(const T&...); // constexpr in C++14
27 explicit(see-below) tuple(U&&...); // constexpr in C++14
28 tuple(const tuple&) = default;
29 tuple(tuple&&) = default;
32 constexpr explicit(see-below) tuple(tuple<UTypes...>&); // C++23
34 explicit(see-below) tuple(const tuple<U...>&); // constexpr in C++14
36 explicit(see-below) tuple(tuple<U...>&&); // constexpr in C++14
[all …]
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dtuple.cppm
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/
H A Dtst.MultiAggPrinta.ksh.out1 …n[name = , id = 1, records = [org.opensolaris.os.dtrace.AggregationRecord[tuple = [], value = 1]]]…
5 …n[name = , id = 1, records = [org.opensolaris.os.dtrace.AggregationRecord[tuple = [], value = 1]]]…
7 …ensolaris.os.dtrace.AggregationRecord[tuple = [1, 2], value = 1], org.opensolaris.os.dtrace.Aggreg…
13tuple = [1, 2], value = 1], org.opensolaris.os.dtrace.AggregationRecord[tuple = [1, 3], value = 3]…
21 …ecord[tuple = [], value = 3]], org.opensolaris.os.dtrace.Aggregation[name = d, id = 5, records = […
23 …ecord[tuple = [], value = 3]], org.opensolaris.os.dtrace.Aggregation[name = d, id = 5, records = […
25 …[name = c, id = 4, records = [org.opensolaris.os.dtrace.AggregationRecord[tuple = [], value = 3]]]…
27tuple = [1, 2], value = 1], org.opensolaris.os.dtrace.AggregationRecord[tuple = [1, 3], value = 3]…
33tuple = [1, 2], value = 1], org.opensolaris.os.dtrace.AggregationRecord[tuple = [1, 3], value = 3]…
39tuple = [1, 2], value = 1], org.opensolaris.os.dtrace.AggregationRecord[tuple = [1, 3], value = 3]…
[all …]
/freebsd/sys/arm64/cavium/
H A Dthunder_pcie_common.c72 int tuple; in range_addr_is_pci() local
74 for (tuple = 0; tuple < MAX_RANGES_TUPLES; tuple++) { in range_addr_is_pci()
75 r = &ranges[tuple]; in range_addr_is_pci()
92 int tuple; in range_addr_is_phys() local
94 for (tuple = 0; tuple < MAX_RANGES_TUPLES; tuple++) { in range_addr_is_phys()
95 r = &ranges[tuple]; in range_addr_is_phys()
113 int tuple; in range_addr_phys_to_pci() local
116 for (tuple = 0; tuple < MAX_RANGES_TUPLES; tuple++) { in range_addr_phys_to_pci()
117 r = &ranges[tuple]; in range_addr_phys_to_pci()
135 int tuple; in range_addr_pci_to_phys() local
[all …]
/freebsd/sys/dev/pccard/
H A Dpccardvar.h123 #define pccard_cis_read_1(tuple, idx0) \ argument
124 (bus_space_read_1((tuple)->memt, (tuple)->memh, (tuple)->mult*(idx0)))
126 #define pccard_tuple_read_1(tuple, idx1) \ argument
127 (pccard_cis_read_1((tuple), ((tuple)->ptr+(2+(idx1)))))
129 #define pccard_tuple_read_2(tuple, idx2) \ argument
130 (pccard_tuple_read_1((tuple), (idx2)) | \
131 (pccard_tuple_read_1((tuple), (idx2)+1)<<8))
133 #define pccard_tuple_read_3(tuple, idx3) \ argument
134 (pccard_tuple_read_1((tuple), (idx3)) | \
135 (pccard_tuple_read_1((tuple), (idx3)+1)<<8) | \
[all …]
/freebsd/usr.sbin/dumpcis/
H A Dreadcis.c49 static struct tuple *find_tuple_in_list(struct tuple_list *, unsigned char);
55 {"Null tuple", CIS_NULL, 0},
124 struct tuple *tp; in freecis()
177 * - If a CIS_END is the first tuple, look for
178 * a tuple list at common memory offset 0; this list
180 * - If a long link tuple was encountered, execute the long
182 * - If a no-link tuple was seen, terminate processing.
183 * - If no no-link tuple exists, and no long link tuple
184 * exists while processing the primary tuple list,
185 * then look for a LINKTARGET tuple in common memory.
[all …]
H A Dcis.h39 * The structure of a tuple is basically:
46 * are terminated with a 0xFF for the tuple code or
47 * the tuple length.
52 #define CIS_NULL 0 /* Empty tuple */
63 #define CIS_LINKTARGET 0x13 /* Linked tuple must start with this. */
64 #define CIS_NOLINK 0x14 /* Assume no common memory link tuple. */
66 #define CIS_ALTSTR 0x16 /* Alternate language string tuple. */
93 * Internal tuple definitions.
125 * identifying the last configuration tuple.
143 * card features. The final configuration tuple number
[all …]
H A Dprintcis.c45 static void dump_config_map(struct tuple *tp);
46 static void dump_cis_config(struct tuple *tp);
63 struct tuple *tp; in dumpcis()
71 printf("Tuple #%d, code = 0x%x (%s), length = %d\n", in dumpcis()
175 * CIS_CONF_MAP : Dump configuration map tuple.
179 dump_config_map(struct tuple *tp) in dump_config_map()
188 printf("\tWrong length for configuration map tuple\n"); in dump_config_map()
315 * Print I/O mapping sub-tuple.
346 /* I/O block sub-tuple exist */ in print_io_map()
374 printf("\tWrong length for I/O mapping sub-tuple\n"); in print_io_map()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUArgumentUsageInfo.cpp90 std::tuple<const ArgDescriptor *, const TargetRegisterClass *, LLT>
95 return std::tuple(PrivateSegmentBuffer ? &PrivateSegmentBuffer : nullptr, in getPreloadedValue()
99 return std::tuple(ImplicitBufferPtr ? &ImplicitBufferPtr : nullptr, in getPreloadedValue()
103 return std::tuple(WorkGroupIDX ? &WorkGroupIDX : nullptr, in getPreloadedValue()
106 return std::tuple(WorkGroupIDY ? &WorkGroupIDY : nullptr, in getPreloadedValue()
109 return std::tuple(WorkGroupIDZ ? &WorkGroupIDZ : nullptr, in getPreloadedValue()
112 return std::tuple(LDSKernelId ? &LDSKernelId : nullptr, in getPreloadedValue()
115 return std::tuple( in getPreloadedValue()
122 return std::tuple(KernargSegmentPtr ? &KernargSegmentPtr : nullptr, in getPreloadedValue()
126 return std::tuple(ImplicitArgPtr ? &ImplicitArgPtr : nullptr, in getPreloadedValue()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/phy/
H A Dapm-xgene-phy.txt19 Two set of 3-tuple setting for each (up to 3)
25 Two set of 3-tuple setting for each (up to 3)
28 gain control. Two set of 3-tuple setting for each
31 - apm,tx-amplitude : Amplitude control. Two set of 3-tuple setting for
36 3-tuple setting for each (up to 3) supported link
40 3-tuple setting for each (up to 3) supported link
44 3-tuple setting for Gen1, Gen2, and Gen3. Range is
46 - apm,tx-speed : Tx operating speed. One set of 3-tuple for each
49 1 = 2-4Gbps (1st tuple default)
51 3 = 8-15Gbps (2nd tuple default)
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DProfileSummary.cpp50 // This returns an MDTuple representing the detiled summary. The tuple has two
52 // of the detailed summary. Each element of this tuple is again an MDTuple whose
72 // entry of this tuple is another MDTuple of two elements: a string
181 static bool getOptionalVal(MDTuple *Tuple, unsigned &Idx, const char *Key, in getOptionalVal() argument
183 if (getVal(dyn_cast<MDTuple>(Tuple->getOperand(Idx)), Key, Value)) { in getOptionalVal()
186 // of Tuple operand array. Since (non-optional) DetailedSummary always comes in getOptionalVal()
187 // last, the next entry in the tuple operand array must exist. in getOptionalVal()
188 return Idx < Tuple->getNumOperands(); in getOptionalVal()
195 MDTuple *Tuple = dyn_cast_or_null<MDTuple>(MD); in getFromMD() local
196 if (!Tuple || Tuple->getNumOperands() < 8 || Tuple->getNumOperands() > 10) in getFromMD()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_fdr_log_writer.h18 #include <tuple>
25 template <class Tuple,
28 typename std::remove_reference<Tuple>::type>::value,
30 Tuple &&T) {
35 std::forward<Tuple>(T));
38 template <class Tuple,
41 Tuple>::type>::value,
43 static void serializeTo(char *, Tuple &&) {} in serializeTo()
48 template <class Tuple, size_t Index> struct AggregateSizesImpl {
50 sizeof(typename std::tuple_element<Index, Tuple>::type) +
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__fwd/
H A Dtuple.h27 class _LIBCPP_TEMPLATE_VIS tuple; variable
33 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 typename tuple_element<_Ip, tuple<_Tp...> >::ty…
34 get(tuple<_Tp...>&) _NOEXCEPT;
37 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 const typename tuple_element<_Ip, tuple<_Tp...>…
38 get(const tuple<_Tp...>&) _NOEXCEPT;
41 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 typename tuple_element<_Ip, tuple<_Tp...> >::ty…
42 get(tuple<_Tp...>&&) _NOEXCEPT;
45 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 const typename tuple_element<_Ip, tuple<_Tp...>…
46 get(const tuple<_Tp...>&&) _NOEXCEPT;
/freebsd/sys/netinet/
H A Din_rss.c58 * Hash an IPv4 2-tuple.
75 * Hash an IPv4 4-tuple.
98 * Calculate an appropriate ipv4 2-tuple or 4-tuple given the given
103 * tuple. This depends upon the currently configured RSS hash types.
134 /* RSS doesn't hash on other protocols like SCTP; so 2-tuple */ in rss_proto_software_hash_v4()
147 * Calculate an appropriate ipv4 2-tuple or 4-tuple given the given
152 * tuple. This depends upon the currently configured RSS hash types.
178 /* RSS doesn't hash on other protocols like SCTP; so 2-tuple */ in xps_proto_software_hash_v4()
242 * If this is a fragment then it shouldn't be four-tuple in rss_mbuf_software_hash_v4()
251 * and we don't support the 4-tuple version of the given protocol, in rss_mbuf_software_hash_v4()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dxray-color-helper.cpp24 const std::tuple<uint8_t, uint8_t, uint8_t> SequentialMaps[][9] = {
45 const std::tuple<uint8_t, uint8_t, uint8_t> SequentialBounds[][2] = {
61 const std::tuple<uint8_t, uint8_t, uint8_t> DivergingCoeffs[][11] = {
72 const std::tuple<uint8_t, uint8_t, uint8_t> DivergingBounds[][2] = {
81 // Takes a tuple of uint8_ts representing a color in RGB and converts them to
82 // HSV represented by a tuple of doubles
83 static std::tuple<double, double, double>
84 convertToHSV(const std::tuple<uint8_t, uint8_t, uint8_t> &Color) { in convertToHSV()
119 // RGB represented as a tuple of uint8_ts
120 static std::tuple<uint8_t, uint8_t, uint8_t>
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DDenseMapInfo.h20 #include <tuple>
256 template <typename... Ts> struct DenseMapInfo<std::tuple<Ts...>> {
257 using Tuple = std::tuple<Ts...>;
259 static inline Tuple getEmptyKey() {
260 return Tuple(DenseMapInfo<Ts>::getEmptyKey()...);
263 static inline Tuple getTombstoneKey() {
264 return Tuple(DenseMapInfo<Ts>::getTombstoneKey()...);
268 static unsigned getHashValueImpl(const Tuple &values, std::false_type) {
269 using EltType = std::tuple_element_t<I, Tuple>;
277 static unsigned getHashValueImpl(const Tuple &, std::true_type) {
[all …]
/freebsd/sys/netinet6/
H A Din6_rss.c59 * Hash an IPv6 2-tuple.
76 * Hash an IPv6 4-tuple.
99 * Calculate an appropriate ipv6 2-tuple or 4-tuple given the given
104 * tuple. This depends upon the currently configured RSS hash types.
135 /* RSS doesn't hash on other protocols like SCTP; so 2-tuple */ in rss_proto_software_hash_v6()
148 * Calculate an appropriate ipv6 2-tuple or 4-tuple given the given
153 * tuple. This depends upon the currently configured RSS hash types.
180 /* RSS doesn't hash on other protocols like SCTP; so 2-tuple */ in xps_proto_software_hash_v6()
249 * If this is a fragment then it shouldn't be four-tuple in rss_mbuf_software_hash_v6()
283 * and we don't support the 4-tuple version of the given protocol, in rss_mbuf_software_hash_v6()
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/
H A DTestBean.java48 "Tuple",
137 Tuple tuple = getTuple(); in getAggregationRecord() local
139 AggregationRecord r = new AggregationRecord(tuple, value); in getAggregationRecord()
155 Tuple tuple = new Tuple(v1, v2); in getAggregation() local
157 r = new AggregationRecord(tuple, value); in getAggregation()
164 public static Tuple
178 Tuple tuple = new Tuple(r1, r2, r3, r4); in getTuple() local
179 return tuple; in getTuple()
298 Map < Tuple, String > formattedOutput = in getPrintaRecord()
299 new HashMap < Tuple, String > (); in getPrintaRecord()
[all …]
/freebsd/sys/dev/pci/
H A Dpci_host_generic.c94 int flags, rid, tuple; in pci_host_generic_core_attach() local
178 for (tuple = 0; tuple < MAX_RANGES_TUPLES; tuple++) { in pci_host_generic_core_attach()
179 phys_base = sc->ranges[tuple].phys_base; in pci_host_generic_core_attach()
180 pci_base = sc->ranges[tuple].pci_base; in pci_host_generic_core_attach()
181 size = sc->ranges[tuple].size; in pci_host_generic_core_attach()
182 rid = RANGE_RID(tuple); in pci_host_generic_core_attach()
185 switch (FLAG_TYPE(sc->ranges[tuple].flags)) { in pci_host_generic_core_attach()
213 "failed to set resource for range %d: %d\n", tuple, in pci_host_generic_core_attach()
217 sc->ranges[tuple].rid = rid; in pci_host_generic_core_attach()
218 sc->ranges[tuple].res = bus_alloc_resource_any(dev, in pci_host_generic_core_attach()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__memory_resource/
H A Dpolymorphic_allocator.h20 #include <tuple>
129 …construct(pair<_T1, _T2>* __p, piecewise_construct_t, tuple<_Args1...> __x, tuple<_Args2...> __y) { in construct()
142 construct(__p, piecewise_construct, tuple<>(), tuple<>()); in construct()
179 _LIBCPP_HIDE_FROM_ABI tuple<_Args&&...>
180 __transform_tuple(integral_constant<int, 0>, tuple<_Args...>&& __t, __tuple_indices<_Is...>) { in __transform_tuple()
185 _LIBCPP_HIDE_FROM_ABI tuple<allocator_arg_t const&, polymorphic_allocator&, _Args&&...>
186 __transform_tuple(integral_constant<int, 1>, tuple<_Args...>&& __t, __tuple_indices<_Is...>) { in __transform_tuple()
187 using _Tup = tuple<allocator_arg_t const&, polymorphic_allocator&, _Args&&...>; in __transform_tuple()
192 _LIBCPP_HIDE_FROM_ABI tuple<_Args&&..., polymorphic_allocator&>
193 __transform_tuple(integral_constant<int, 2>, tuple<_Args...>&& __t, __tuple_indices<_Is...>) { in __transform_tuple()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__functional/
H A Dbind.h21 #include <tuple>
87 __mu_expand(_Ti& __ti, tuple<_Uj...>& __uj, __tuple_indices<_Indx...>) {
93 __mu(_Ti& __ti, tuple<_Uj...>& __uj) {
138 struct __mu_return_impl<_Ti, false, true, false, tuple<_Uj...> >
171 struct __is_valid_bind_return<_Fp, tuple<_BoundArgs...>, _TupleUj> {
176 struct __is_valid_bind_return<_Fp, const tuple<_BoundArgs...>, _TupleUj> {
184 struct __bind_return<_Fp, tuple<_BoundArgs...>, _TupleUj, true> {
189 struct __bind_return<_Fp, const tuple<_BoundArgs...>, _TupleUj, true> {
203 typedef tuple<__decay_t<_BoundArgs>...> _Td;
221 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 typename __bind_return<_Fd, _Td, tuple<_Args&&…
[all …]
/freebsd/sys/netpfil/ipfw/
H A Ddn_sched_fq_codel.c220 uint8_t tuple[41]; in fq_codel_classify_flow() local
231 *((uint8_t *) &tuple[0]) = ip6->ip6_nxt; in fq_codel_classify_flow()
232 *((uint32_t *) &tuple[1]) = si->perturbation; in fq_codel_classify_flow()
233 memcpy(&tuple[5], ip6->ip6_src.s6_addr, 16); in fq_codel_classify_flow()
234 memcpy(&tuple[21], ip6->ip6_dst.s6_addr, 16); in fq_codel_classify_flow()
239 *((uint16_t *) &tuple[37]) = th->th_dport; in fq_codel_classify_flow()
240 *((uint16_t *) &tuple[39]) = th->th_sport; in fq_codel_classify_flow()
245 *((uint16_t *) &tuple[37]) = uh->uh_dport; in fq_codel_classify_flow()
246 *((uint16_t *) &tuple[39]) = uh->uh_sport; in fq_codel_classify_flow()
249 memset(&tuple[37], 0, 4); in fq_codel_classify_flow()
[all …]
/freebsd/sys/dev/ice/
H A Dice_rss.h61 #define RSS_HASHTYPE_RSS_IPV4 (1 << 1) /* IPv4 2-tuple */
62 #define RSS_HASHTYPE_RSS_TCP_IPV4 (1 << 2) /* TCPv4 4-tuple */
63 #define RSS_HASHTYPE_RSS_IPV6 (1 << 3) /* IPv6 2-tuple */
64 #define RSS_HASHTYPE_RSS_TCP_IPV6 (1 << 4) /* TCPv6 4-tuple */
65 #define RSS_HASHTYPE_RSS_IPV6_EX (1 << 5) /* IPv6 2-tuple + ext hdrs */
67 #define RSS_HASHTYPE_RSS_UDP_IPV4 (1 << 7) /* IPv4 UDP 4-tuple */
68 #define RSS_HASHTYPE_RSS_UDP_IPV6 (1 << 9) /* IPv6 UDP 4-tuple */
69 #define RSS_HASHTYPE_RSS_UDP_IPV6_EX (1 << 10) /* IPv6 UDP 4-tuple + ext hdrs */
/freebsd/sys/net/
H A Drss_config.h60 #define RSS_HASHTYPE_RSS_IPV4 (1 << 1) /* IPv4 2-tuple */
61 #define RSS_HASHTYPE_RSS_TCP_IPV4 (1 << 2) /* TCPv4 4-tuple */
62 #define RSS_HASHTYPE_RSS_IPV6 (1 << 3) /* IPv6 2-tuple */
63 #define RSS_HASHTYPE_RSS_TCP_IPV6 (1 << 4) /* TCPv6 4-tuple */
64 #define RSS_HASHTYPE_RSS_IPV6_EX (1 << 5) /* IPv6 2-tuple + ext hdrs */
66 #define RSS_HASHTYPE_RSS_UDP_IPV4 (1 << 7) /* IPv4 UDP 4-tuple */
67 #define RSS_HASHTYPE_RSS_UDP_IPV6 (1 << 9) /* IPv6 UDP 4-tuple */
68 #define RSS_HASHTYPE_RSS_UDP_IPV6_EX (1 << 10) /* IPv6 UDP 4-tuple + ext hdrs */
/freebsd/contrib/googletest/googlemock/include/gmock/internal/
H A Dgmock-internal-utils.h64 // Joins a vector of strings as if they are fields of a tuple; returns
380 // represented as a (pointer, size) tuple.
382 class StlContainerView< ::std::tuple<ElementPointer, Size> > {
391 const ::std::tuple<ElementPointer, Size>& array) { in ConstReference()
395 static type Copy(const ::std::tuple<ElementPointer, Size>& array) { in Copy()
423 template <typename F, typename Tuple, size_t... Idx>
424 auto ApplyImpl(F&& f, Tuple&& args, std::index_sequence<Idx...>)
426 std::get<Idx>(std::forward<Tuple>(args))...)) {
427 return std::forward<F>(f)(std::get<Idx>(std::forward<Tuple>(args))...);
430 // Apply the function to a tuple of arguments.
[all …]

12345678910>>...32