| /freebsd-12.1/sys/dev/pccard/ |
| H A D | pccard_cis.c | 154 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 D | pccardvar.h | 124 #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 D | pccard_device.c | 84 pccard_build_cis(const struct pccard_tuple *tuple, void *argp) in pccard_build_cis() argument 94 if (tuple->code == CISTPL_END) { in pccard_build_cis() 97 cis->buffer[cis->len++] = tuple->code; in pccard_build_cis() 100 if (cis->len + 2 + tuple->length > sizeof(cis->buffer)) in pccard_build_cis() 102 cis->buffer[cis->len++] = tuple->code; in pccard_build_cis() 103 cis->buffer[cis->len++] = tuple->length; in pccard_build_cis() 104 for (i = 0; i < tuple->length; i++) { in pccard_build_cis() 105 ch = pccard_tuple_read_1(tuple, i); in pccard_build_cis()
|
| /freebsd-12.1/contrib/googletest/googletest/test/ |
| H A D | googletest-tuple-test.cc | 39 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 D | googletest-printers-test.cc | 999 ::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 D | googletest-param-test-test.cc | 62 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-12.1/contrib/libstdc++/include/tr1/ |
| H A D | tuple_iterate.h | 53 class tuple 61 tuple() 71 tuple& 86 tuple(const tuple<_GLIBCXX_TEMPLATE_ARGS_U>& __in) : 92 tuple& 99 tuple(const tuple& __in) : 105 tuple(const tuple&) 110 tuple& 148 tuple<> 150 { return tuple<>(); } [all …]
|
| H A D | tuple_defs.h | 49 get(tuple<_GLIBCXX_TEMPLATE_ARGS>& __t) in get() 56 get(const tuple<_GLIBCXX_TEMPLATE_ARGS>& __t) in get() 63 operator==(const tuple<_GLIBCXX_TEMPLATE_ARGS>& __t, 66 typedef tuple<_GLIBCXX_TEMPLATE_ARGS> _Tp; 67 typedef tuple<_GLIBCXX_TEMPLATE_ARGS_U> _Up; 74 operator<(const tuple<_GLIBCXX_TEMPLATE_ARGS>& __t, 77 typedef tuple<_GLIBCXX_TEMPLATE_ARGS> _Tp; 78 typedef tuple<_GLIBCXX_TEMPLATE_ARGS_U> _Up; 85 operator!=(const tuple<_GLIBCXX_TEMPLATE_ARGS>& __t, 91 operator>(const tuple<_GLIBCXX_TEMPLATE_ARGS>& __t, [all …]
|
| H A D | repeat.h | 119 #define _GLIBCXX_BIND_V_TEMPLATE_ARGS(_CV) typename result_of<_Mu<_T1> _CV(_T1, tuple<_GLIBCXX_BIND… 177 …name result_of<_Mu<_T1> _CV(_T1, tuple<_GLIBCXX_BIND_TEMPLATE_ARGS>)>::type, typename result_of<_M… 234 …tuple<_GLIBCXX_BIND_TEMPLATE_ARGS>)>::type, typename result_of<_Mu<_T2> _CV(_T2, tuple<_GLIBCXX_BI… 291 …tuple<_GLIBCXX_BIND_TEMPLATE_ARGS>)>::type, typename result_of<_Mu<_T2> _CV(_T2, tuple<_GLIBCXX_BI… 348 …tuple<_GLIBCXX_BIND_TEMPLATE_ARGS>)>::type, typename result_of<_Mu<_T2> _CV(_T2, tuple<_GLIBCXX_BI… 405 …tuple<_GLIBCXX_BIND_TEMPLATE_ARGS>)>::type, typename result_of<_Mu<_T2> _CV(_T2, tuple<_GLIBCXX_BI… 462 …tuple<_GLIBCXX_BIND_TEMPLATE_ARGS>)>::type, typename result_of<_Mu<_T2> _CV(_T2, tuple<_GLIBCXX_BI… 519 …tuple<_GLIBCXX_BIND_TEMPLATE_ARGS>)>::type, typename result_of<_Mu<_T2> _CV(_T2, tuple<_GLIBCXX_BI… 576 …tuple<_GLIBCXX_BIND_TEMPLATE_ARGS>)>::type, typename result_of<_Mu<_T2> _CV(_T2, tuple<_GLIBCXX_BI… 634 …tuple<_GLIBCXX_BIND_TEMPLATE_ARGS>)>::type, typename result_of<_Mu<_T2> _CV(_T2, tuple<_GLIBCXX_BI…
|
| /freebsd-12.1/contrib/libc++/include/ |
| H A D | tuple | 21 class tuple { 27 tuple(const tuple&) = default; 28 tuple(tuple&&) = default; 32 tuple(tuple<U...>&&); // constexpr in C++14 58 tuple& operator=(const tuple&); 59 tuple& 62 tuple& operator=(const tuple<U...>&); 64 tuple& operator=(tuple<U...>&&); 616 tuple(tuple const&) = default; 617 tuple(tuple&&) = default; [all …]
|
| /freebsd-12.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/ |
| H A D | tst.MultiAggPrinta.ksh.out | 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… 13 …tuple = [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]]]… 27 …tuple = [1, 2], value = 1], org.opensolaris.os.dtrace.AggregationRecord[tuple = [1, 3], value = 3]… 33 …tuple = [1, 2], value = 1], org.opensolaris.os.dtrace.AggregationRecord[tuple = [1, 3], value = 3]… 39 …tuple = [1, 2], value = 1], org.opensolaris.os.dtrace.AggregationRecord[tuple = [1, 3], value = 3]… 45 …tuple = [1, 2], value = 1], org.opensolaris.os.dtrace.AggregationRecord[tuple = [1, 3], value = 3]… [all …]
|
| /freebsd-12.1/sys/arm64/cavium/ |
| H A D | thunder_pcie_common.c | 75 int tuple; in range_addr_is_pci() local 77 for (tuple = 0; tuple < MAX_RANGES_TUPLES; tuple++) { in range_addr_is_pci() 78 r = &ranges[tuple]; in range_addr_is_pci() 95 int tuple; in range_addr_is_phys() local 97 for (tuple = 0; tuple < MAX_RANGES_TUPLES; tuple++) { in range_addr_is_phys() 98 r = &ranges[tuple]; in range_addr_is_phys() 116 int tuple; in range_addr_phys_to_pci() local 119 for (tuple = 0; tuple < MAX_RANGES_TUPLES; tuple++) { in range_addr_phys_to_pci() 120 r = &ranges[tuple]; in range_addr_phys_to_pci() 138 int tuple; in range_addr_pci_to_phys() local [all …]
|
| /freebsd-12.1/contrib/googletest/googletest/include/gtest/internal/ |
| H A D | gtest-tuple.h | 120 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 D | gtest-tuple.h.pump | 44 // 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-12.1/contrib/googletest/googlemock/test/ |
| H A D | gmock-generated-internal-utils_test.cc | 41 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 D | gmock-internal-utils_test.cc | 311 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-12.1/contrib/googletest/googlemock/include/gmock/internal/ |
| H A D | gmock-generated-internal-utils.h | 73 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 …]
|
| /freebsd-12.1/sys/netpfil/ipfw/ |
| H A D | dn_sched_fq_codel.c | 219 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() 258 *((uint8_t *) &tuple[0]) = ip->ip_p; in fq_codel_classify_flow() 266 *((uint16_t *) &tuple[13]) = th->th_dport; in fq_codel_classify_flow() 267 *((uint16_t *) &tuple[15]) = th->th_sport; in fq_codel_classify_flow() [all …]
|
| H A D | dn_sched_fq_pie.c | 792 uint8_t tuple[41]; in fq_pie_classify_flow() local 803 *((uint8_t *) &tuple[0]) = ip6->ip6_nxt; in fq_pie_classify_flow() 811 *((uint16_t *) &tuple[37]) = th->th_dport; in fq_pie_classify_flow() 812 *((uint16_t *) &tuple[39]) = th->th_sport; in fq_pie_classify_flow() 817 *((uint16_t *) &tuple[37]) = uh->uh_dport; in fq_pie_classify_flow() 818 *((uint16_t *) &tuple[39]) = uh->uh_sport; in fq_pie_classify_flow() 821 memset(&tuple[37], 0, 4); in fq_pie_classify_flow() 830 *((uint8_t *) &tuple[0]) = ip->ip_p; in fq_pie_classify_flow() 838 *((uint16_t *) &tuple[13]) = th->th_dport; in fq_pie_classify_flow() 839 *((uint16_t *) &tuple[15]) = th->th_sport; in fq_pie_classify_flow() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/llvm-xray/ |
| H A D | xray-color-helper.cpp | 24 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 D | xray-color-helper.h | 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 { in getDefaultColorTuple() 85 static std::string getColorString(std::tuple<uint8_t, uint8_t, uint8_t> t);
|
| /freebsd-12.1/contrib/libc++/include/experimental/ |
| H A D | tuple | 2 //===----------------------------- tuple ----------------------------------===// 16 _LIBCPP_WARNING("<experimental/tuple> has been removed. Use <tuple> instead.") 18 # warning "<experimental/tuple> has been removed. Use <tuple> instead."
|
| /freebsd-12.1/sys/dev/pci/ |
| H A D | pci_host_generic_fdt.c | 133 int tuple; in pci_host_generic_attach() local 162 for (tuple = 0; tuple < MAX_RANGES_TUPLES; tuple++) { in pci_host_generic_attach() 163 phys_base = sc->base.ranges[tuple].phys_base; in pci_host_generic_attach() 164 pci_base = sc->base.ranges[tuple].pci_base; in pci_host_generic_attach() 165 size = sc->base.ranges[tuple].size; in pci_host_generic_attach() 168 if (sc->base.ranges[tuple].flags & FLAG_MEM) { in pci_host_generic_attach() 200 int tuple; in parse_pci_mem_ranges() local 257 for (tuple = 0; tuple < MAX_RANGES_TUPLES; tuple++) { in parse_pci_mem_ranges() 260 sc->ranges[tuple].pci_base, in parse_pci_mem_ranges() 261 sc->ranges[tuple].phys_base, in parse_pci_mem_ranges() [all …]
|
| /freebsd-12.1/contrib/googletest/googletest/include/gtest/ |
| H A D | gtest-printers.h | 666 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-12.1/sys/dev/ex/ |
| H A D | if_ex_pccard.c | 82 ex_pccard_silicom_cb(const struct pccard_tuple *tuple, void *arg) in ex_pccard_silicom_cb() argument 87 if (tuple->code != CISTPL_FUNCE) in ex_pccard_silicom_cb() 89 if (tuple->length != 15) in ex_pccard_silicom_cb() 91 if (pccard_tuple_read_1(tuple, 6) != 6) in ex_pccard_silicom_cb() 94 enaddr[i] = pccard_tuple_read_1(tuple, 7 + i); in ex_pccard_silicom_cb()
|