Home
last modified time | relevance | path

Searched refs:tuple (Results 1 – 25 of 259) sorted by relevance

1234567891011

/freebsd-13.1/sys/dev/pccard/
H A Dpccard_cis.c154 tuple.ptr = 0; in pccard_scan_cis()
159 tuple.mult = 2; in pccard_scan_cis()
178 if (tuple.mult * tuple.ptr >= PCCARD_CIS_SIZE - 1 in pccard_scan_cis()
184 tuple.code = pccard_cis_read_1(&tuple, tuple.ptr); in pccard_scan_cis()
201 tuple.ptr++; in pccard_scan_cis()
211 tuple.ptr++; in pccard_scan_cis()
216 tuple.length = pccard_cis_read_1(&tuple, tuple.ptr + 1); in pccard_scan_cis()
406 tuple.ptr += 2 + tuple.length; in pccard_scan_cis()
443 tuple.code = pccard_cis_read_1(&tuple, tuple.ptr); in pccard_scan_cis()
449 tuple.length = pccard_cis_read_1(&tuple, tuple.ptr + 1); in pccard_scan_cis()
[all …]
H A Dpccardvar.h124 #define pccard_cis_read_1(tuple, idx0) \ argument
125 (bus_space_read_1((tuple)->memt, (tuple)->memh, (tuple)->mult*(idx0)))
127 #define pccard_tuple_read_1(tuple, idx1) \ argument
128 (pccard_cis_read_1((tuple), ((tuple)->ptr+(2+(idx1)))))
130 #define pccard_tuple_read_2(tuple, idx2) \ argument
131 (pccard_tuple_read_1((tuple), (idx2)) | \
132 (pccard_tuple_read_1((tuple), (idx2)+1)<<8))
134 #define pccard_tuple_read_3(tuple, idx3) \ argument
135 (pccard_tuple_read_1((tuple), (idx3)) | \
139 #define pccard_tuple_read_4(tuple, idx4) \ argument
[all …]
H A Dpccard_device.c83 pccard_build_cis(const struct pccard_tuple *tuple, void *argp) in pccard_build_cis() argument
93 if (tuple->code == CISTPL_END) { in pccard_build_cis()
96 cis->buffer[cis->len++] = tuple->code; in pccard_build_cis()
99 if (cis->len + 2 + tuple->length > sizeof(cis->buffer)) in pccard_build_cis()
101 cis->buffer[cis->len++] = tuple->code; in pccard_build_cis()
102 cis->buffer[cis->len++] = tuple->length; in pccard_build_cis()
103 for (i = 0; i < tuple->length; i++) { in pccard_build_cis()
104 ch = pccard_tuple_read_1(tuple, i); in pccard_build_cis()
/freebsd-13.1/contrib/googletest/googletest/test/
H A Dgoogletest-tuple-test.cc39 using ::std::tr1::tuple;
57 EXPECT_EQ(1, +(tuple_size<tuple<tuple<int, double> > >::value)); in TEST()
146 tuple<> empty; in TEST()
148 tuple<int> a1, b1; in TEST()
181 tuple<int&> a(n); in TEST()
199 tuple<double, bool> b(a); in TEST()
219 tuple<int, char> b(a); in TEST()
226 tuple<int, long> b; in TEST()
246 tuple<int, bool> b; in TEST()
251 tuple<long, bool> c; in TEST()
[all …]
H A Dgoogletest-printers-test.cc999 ::std::tr1::tuple<> t0; in TEST()
1002 ::std::tr1::tuple<int> t1(5); in TEST()
1005 ::std::tr1::tuple<char, bool> t2('a', true); in TEST()
1008 ::std::tr1::tuple<bool, int, int> t3(false, 2, 3); in TEST()
1047 ::std::tr1::tuple< ::std::tr1::tuple<int, bool>, char> nested( in TEST()
1059 ::std::tuple<> t0; in TEST()
1062 ::std::tuple<int> t1(5); in TEST()
1065 ::std::tuple<char, bool> t2('a', true); in TEST()
1068 ::std::tuple<bool, int, int> t3(false, 2, 3); in TEST()
1107 ::std::tuple< ::std::tuple<int, bool>, char> nested( in TEST()
[all …]
H A Dgoogletest-param-test-test.cc62 using ::testing::tuple;
90 ::std::string PrintValue(const tuple<T1, T2>& value) { in PrintValue()
97 ::std::string PrintValue(const tuple<T1, T2, T3>& value) { in PrintValue()
107 const tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>& value) { in PrintValue()
459 const ParamGenerator<tuple<const char*, int> > gen = in TEST()
462 tuple<const char*, int> expected_values[] = { in TEST()
473 tuple<int, int, int> expected_values[] = { in TEST()
485 const ParamGenerator<tuple<int, int> > gen = Combine(Values(42), in TEST()
496 const ParamGenerator<tuple<int, int> > gen = Combine(Values(0, 1), in TEST()
506 const ParamGenerator<tuple<int, int> > gen = Combine(Range(0, 0), in TEST()
[all …]
/freebsd-13.1/contrib/llvm-project/libcxx/include/
H A Dtuple20 class tuple {
26 tuple(const tuple&) = default;
27 tuple(tuple&&) = default;
85 tuple(allocator_arg_t, Alloc, tuple<T...>) -> tuple<T...>; // since C++17
663 tuple(const tuple&) = default;
664 tuple(tuple&&) = default;
704 tuple(const tuple<_Up...>& __t)
770 tuple(tuple<_Up...>&& __t)
783 explicit tuple(tuple<_Up...>&& __t)
1102 tuple(_Tp...) -> tuple<_Tp...>;
[all …]
/freebsd-13.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/
H A Dtst.MultiAggPrinta.ksh.out5 …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]…
45tuple = [1, 2], value = 1], org.opensolaris.os.dtrace.AggregationRecord[tuple = [1, 3], value = 3]…
[all …]
/freebsd-13.1/sys/arm64/cavium/
H A Dthunder_pcie_common.c74 int tuple; in range_addr_is_pci() local
76 for (tuple = 0; tuple < MAX_RANGES_TUPLES; tuple++) { in range_addr_is_pci()
77 r = &ranges[tuple]; in range_addr_is_pci()
94 int tuple; in range_addr_is_phys() local
96 for (tuple = 0; tuple < MAX_RANGES_TUPLES; tuple++) { in range_addr_is_phys()
97 r = &ranges[tuple]; in range_addr_is_phys()
115 int tuple; in range_addr_phys_to_pci() local
118 for (tuple = 0; tuple < MAX_RANGES_TUPLES; tuple++) { in range_addr_phys_to_pci()
119 r = &ranges[tuple]; in range_addr_phys_to_pci()
137 int tuple; in range_addr_pci_to_phys() local
[all …]
/freebsd-13.1/contrib/googletest/googlemock/test/
H A Dgmock-generated-internal-utils_test.cc41 using ::testing::tuple;
51 CompileAssertTypesEqual<tuple<>, MatcherTuple<tuple<> >::type>(); in TEST()
55 CompileAssertTypesEqual<tuple<Matcher<int> >, in TEST()
56 MatcherTuple<tuple<int> >::type>(); in TEST()
60 CompileAssertTypesEqual<tuple<Matcher<int>, Matcher<char> >, in TEST()
61 MatcherTuple<tuple<int, char> >::type>(); in TEST()
68 MatcherTuple<tuple<int, char, bool, double, char*> >::type>(); in TEST()
76 CompileAssertTypesEqual<tuple<>, F::ArgumentTuple>(); in TEST()
77 CompileAssertTypesEqual<tuple<>, F::ArgumentMatcherTuple>(); in TEST()
86 CompileAssertTypesEqual<tuple<bool>, F::ArgumentTuple>(); in TEST()
[all …]
H A Dgmock-internal-utils_test.cc311 tuple<> matchers; in TEST()
312 tuple<> values; in TEST()
318 tuple<Matcher<int> > matchers(Eq(1)); in TEST()
319 tuple<int> values1(1), in TEST()
327 tuple<Matcher<int>, Matcher<char> > matchers(Eq(1), Eq('a')); in TEST()
328 tuple<int, char> values1(1, 'a'), in TEST()
343 tuple<int, char, bool, long, std::string> // NOLINT in TEST()
689 StlContainerView<tuple<const int*, size_t> >::type>(); in TEST()
691 StlContainerView<tuple<linked_ptr<double>, int> >::type>(); in TEST()
694 StlContainerView<tuple<const int*, int> >::const_reference>(); in TEST()
[all …]
/freebsd-13.1/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-tuple.h120 class tuple; variable
208 tuple() {}
209 tuple(const tuple& /* t */) {}
210 tuple& operator=(const tuple& /* t */) { return *this; }
222 tuple(const tuple& t) : f0_(t.f0_) {}
227 tuple& operator=(const tuple& t) { return CopyFrom(t); }
255 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_) {}
262 tuple& operator=(const tuple& t) { return CopyFrom(t); }
303 tuple& operator=(const tuple& t) { return CopyFrom(t); }
613 class tuple {
[all …]
H A Dgtest-tuple.h.pump44 // tuple template as a friend (it complains that tuple is redefined). This
69 #define GTEST_0_TUPLE_(T) tuple<>
94 class tuple;
139 class tuple<> {
141 tuple() {}
142 tuple(const tuple& /* t */) {}
143 tuple& operator=(const tuple& /* t */) { return *this; }
154 tuple() : $for m, [[f$(m)_()]] {}
159 tuple(const tuple& t) : $for m, [[f$(m)_(t.f$(m)_)]] {}
170 tuple& operator=(const tuple& t) { return CopyFrom(t); }
[all …]
/freebsd-13.1/contrib/googletest/googlemock/include/gmock/internal/
H A Dgmock-generated-internal-utils.h73 struct MatcherTuple< ::testing::tuple<> > {
74 typedef ::testing::tuple< > type;
78 struct MatcherTuple< ::testing::tuple<A1> > {
79 typedef ::testing::tuple<Matcher<A1> > type;
83 struct MatcherTuple< ::testing::tuple<A1, A2> > {
88 struct MatcherTuple< ::testing::tuple<A1, A2, A3> > {
93 struct MatcherTuple< ::testing::tuple<A1, A2, A3, A4> > {
167 typedef ::testing::tuple<> ArgumentTuple;
177 typedef ::testing::tuple<A1> ArgumentTuple;
187 typedef ::testing::tuple<A1, A2> ArgumentTuple;
[all …]
H A Dgmock-generated-internal-utils.h.pump68 // MatcherTuple<T>::type is a tuple type where each field is a Matcher
69 // for the corresponding field in tuple type T.
81 struct MatcherTuple< ::testing::tuple<$As> > {
82 typedef ::testing::tuple<$matcher_As > type;
92 // ArgumentTuple: the tuple type consisting of all parameters of F.
93 // ArgumentMatcherTuple: the tuple type consisting of Matchers for all
106 typedef ::testing::tuple<> ArgumentTuple;
125 typedef ::testing::tuple<$As> ArgumentTuple;
/freebsd-13.1/sys/netpfil/ipfw/
H A Ddn_sched_fq_codel.c219 uint8_t tuple[41]; in fq_codel_classify_flow() local
230 *((uint8_t *) &tuple[0]) = ip6->ip6_nxt; in fq_codel_classify_flow()
238 *((uint16_t *) &tuple[37]) = th->th_dport; in fq_codel_classify_flow()
239 *((uint16_t *) &tuple[39]) = th->th_sport; in fq_codel_classify_flow()
244 *((uint16_t *) &tuple[37]) = uh->uh_dport; in fq_codel_classify_flow()
245 *((uint16_t *) &tuple[39]) = uh->uh_sport; in fq_codel_classify_flow()
248 memset(&tuple[37], 0, 4); in fq_codel_classify_flow()
257 *((uint8_t *) &tuple[0]) = ip->ip_p; in fq_codel_classify_flow()
265 *((uint16_t *) &tuple[13]) = th->th_dport; in fq_codel_classify_flow()
266 *((uint16_t *) &tuple[15]) = th->th_sport; in fq_codel_classify_flow()
[all …]
H A Ddn_sched_fq_pie.c793 uint8_t tuple[41]; in fq_pie_classify_flow() local
804 *((uint8_t *) &tuple[0]) = ip6->ip6_nxt; in fq_pie_classify_flow()
812 *((uint16_t *) &tuple[37]) = th->th_dport; in fq_pie_classify_flow()
813 *((uint16_t *) &tuple[39]) = th->th_sport; in fq_pie_classify_flow()
818 *((uint16_t *) &tuple[37]) = uh->uh_dport; in fq_pie_classify_flow()
819 *((uint16_t *) &tuple[39]) = uh->uh_sport; in fq_pie_classify_flow()
822 memset(&tuple[37], 0, 4); in fq_pie_classify_flow()
831 *((uint8_t *) &tuple[0]) = ip->ip_p; in fq_pie_classify_flow()
839 *((uint16_t *) &tuple[13]) = th->th_dport; in fq_pie_classify_flow()
840 *((uint16_t *) &tuple[15]) = th->th_sport; in fq_pie_classify_flow()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dxray-color-helper.cpp24 static const std::tuple<uint8_t, uint8_t, uint8_t> SequentialMaps[][9] = {
45 static const std::tuple<uint8_t, uint8_t, uint8_t> SequentialBounds[][2] = {
83 static std::tuple<double, double, double>
84 convertToHSV(const std::tuple<uint8_t, uint8_t, uint8_t> &Color) { in convertToHSV()
120 static std::tuple<uint8_t, uint8_t, uint8_t>
121 convertToRGB(const std::tuple<double, double, double> &Color) { in convertToRGB()
171 static std::tuple<double, double, double>
172 interpolateHSV(const std::tuple<double, double, double> &C0, in interpolateHSV()
173 const std::tuple<double, double, double> &C1, double T) { in interpolateHSV()
181 std::tuple<uint8_t, uint8_t, uint8_t>
[all …]
H A Dxray-color-helper.h46 ArrayRef<std::tuple<uint8_t, uint8_t, uint8_t>> ColorMap;
47 ArrayRef<std::tuple<uint8_t, uint8_t, uint8_t>> BoundMap;
71 std::tuple<uint8_t, uint8_t, uint8_t> getColorTuple(double Point) const;
76 std::tuple<uint8_t, uint8_t, uint8_t> getDefaultColorTuple() const { in getDefaultColorTuple()
83 static std::string getColorString(std::tuple<uint8_t, uint8_t, uint8_t> t);
/freebsd-13.1/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-13.1/contrib/llvm-project/libcxx/include/__functional/
H A Dbind.h93 __mu_expand(_Ti& __ti, tuple<_Uj...>& __uj, __tuple_indices<_Indx...>)
105 __mu(_Ti& __ti, tuple<_Uj...>& __uj)
164 struct __mu_return_impl<_Ti, false, true, false, tuple<_Uj...> >
206 struct __is_valid_bind_return<_Fp, tuple<_BoundArgs...>, _TupleUj>
213 struct __is_valid_bind_return<_Fp, const tuple<_BoundArgs...>, _TupleUj>
224 struct __bind_return<_Fp, tuple<_BoundArgs...>, _TupleUj, true>
238 struct __bind_return<_Fp, const tuple<_BoundArgs...>, _TupleUj, true>
268 typedef tuple<typename decay<_BoundArgs>::type...> _Td;
289 typename __bind_return<_Fd, _Td, tuple<_Args&&...> >::type
298 typename __bind_return<const _Fd, const _Td, tuple<_Args&&...> >::type
[all …]
/freebsd-13.1/usr.sbin/dumpcis/
H A Dreadcis.h31 struct tuple { struct
32 struct tuple *next; argument
40 struct tuple *tuples; argument
/freebsd-13.1/contrib/googletest/googletest/include/gtest/
H A Dgtest-printers.h666 void PrintTo(const ::std::tr1::tuple<T1>& t, ::std::ostream* os) { in PrintTo()
686 void PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4, T5>& t, in PrintTo()
693 void PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4, T5, T6>& t, in PrintTo()
730 void PrintTo(const ::std::tuple<Types...>& t, ::std::ostream* os) { in PrintTo()
987 get(const Tuple& tuple) { in get()
988 return ::std::tr1::get<I>(tuple); in get()
997 struct TuplePolicy< ::std::tuple<Types...> > {
998 typedef ::std::tuple<Types...> Tuple;
1006 const Tuple& tuple) {
1007 return ::std::get<I>(tuple);
[all …]
/freebsd-13.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/
H A DTestFunctionLookup.java62 for (Tuple tuple : agg.asMap().keySet()) { in main()
63 address = (Number)tuple.get(0).getValue(); in main()
96 for (Tuple tuple : agg.asMap().keySet()) { in main()
97 address = (Number)tuple.get(0).getValue(); in main()
/freebsd-13.1/contrib/ofed/opensm/opensm/
H A Dosm_ucast_ftree.c171 ftree_tuple_t tuple; member
244 if ((*pp_sw1)->tuple[i] > (*pp_sw2)->tuple[i]) in compare_switches_by_index()
246 if ((*pp_sw1)->tuple[i] < (*pp_sw2)->tuple[i]) in compare_switches_by_index()
280 return (tuple[0] != 0xFF); in tuple_assigned()
294 if (!tuple_assigned(tuple)) in tuple_to_str()
562 tuple_init(p_sw->tuple); in sw_create()
1130 tuple_to_key(tuple); in fabric_get_sw_by_tuple()
1581 p_sw->tuple, in bfs_fabric_indexing()
1615 p_sw->tuple, in bfs_fabric_indexing()
1954 tuple), in fabric_validate_topology()
[all …]

1234567891011