| /NextBSD/sys/dev/pccard/ |
| HD | pccard_cis.c | 117 struct pccard_tuple tuple; in pccard_scan_cis() local 150 tuple.memt = rman_get_bustag(res); in pccard_scan_cis() 151 tuple.memh = rman_get_bushandle(res); in pccard_scan_cis() 152 tuple.ptr = 0; in pccard_scan_cis() 155 (unsigned int) tuple.memh, rman_get_start(res))); in pccard_scan_cis() 157 tuple.mult = 2; in pccard_scan_cis() 176 if (tuple.mult * tuple.ptr >= PCCARD_CIS_SIZE - 1 in pccard_scan_cis() 179 tuple.code = CISTPL_END; in pccard_scan_cis() 182 tuple.code = pccard_cis_read_1(&tuple, tuple.ptr); in pccard_scan_cis() 187 if (tuple.code == CISTPL_NULL) { in pccard_scan_cis() [all …]
|
| HD | pccardvar.h | 115 #define pccard_cis_read_1(tuple, idx0) \ argument 116 (bus_space_read_1((tuple)->memt, (tuple)->memh, (tuple)->mult*(idx0))) 118 #define pccard_tuple_read_1(tuple, idx1) \ argument 119 (pccard_cis_read_1((tuple), ((tuple)->ptr+(2+(idx1))))) 121 #define pccard_tuple_read_2(tuple, idx2) \ argument 122 (pccard_tuple_read_1((tuple), (idx2)) | \ 123 (pccard_tuple_read_1((tuple), (idx2)+1)<<8)) 125 #define pccard_tuple_read_3(tuple, idx3) \ argument 126 (pccard_tuple_read_1((tuple), (idx3)) | \ 127 (pccard_tuple_read_1((tuple), (idx3)+1)<<8) | \ [all …]
|
| HD | pccard_device.c | 82 pccard_build_cis(const struct pccard_tuple *tuple, void *argp) in pccard_build_cis() argument 92 if (tuple->code == CISTPL_END) { in pccard_build_cis() 95 cis->buffer[cis->len++] = tuple->code; in pccard_build_cis() 98 if (cis->len + 2 + tuple->length > sizeof(cis->buffer)) in pccard_build_cis() 100 cis->buffer[cis->len++] = tuple->code; in pccard_build_cis() 101 cis->buffer[cis->len++] = tuple->length; in pccard_build_cis() 102 for (i = 0; i < tuple->length; i++) { in pccard_build_cis() 103 ch = pccard_tuple_read_1(tuple, i); in pccard_build_cis()
|
| /NextBSD/contrib/libstdc++/include/tr1/ |
| D | tuple_iterate.h | 43 struct tuple_size<tuple<_GLIBCXX_TEMPLATE_ARGS> > 48 const int tuple_size<tuple<_GLIBCXX_TEMPLATE_ARGS> >::value; 53 class tuple 55 class tuple<_GLIBCXX_TEMPLATE_ARGS> 61 tuple() 66 tuple(const std::pair<_U1, _U2>& __u) : 71 tuple& 81 explicit tuple(_GLIBCXX_TUPLE_ADD_CREF) : 86 tuple(const tuple<_GLIBCXX_TEMPLATE_ARGS_U>& __in) : 92 tuple& [all …]
|
| D | tuple_defs.h | 43 template<_GLIBCXX_TEMPLATE_PARAMS_NULL_CLASS> class tuple; variable 48 typename __add_ref<typename tuple_element<__i, tuple<_GLIBCXX_TEMPLATE_ARGS> >::type>::type 49 get(tuple<_GLIBCXX_TEMPLATE_ARGS>& __t) in get() 51 return __get_helper<__i, tuple<_GLIBCXX_TEMPLATE_ARGS> >::get_value(__t); in get() 55 typename __add_c_ref<typename tuple_element<__i, tuple<_GLIBCXX_TEMPLATE_ARGS> >::type>::type 56 get(const tuple<_GLIBCXX_TEMPLATE_ARGS>& __t) in get() 58 return __get_helper<__i, tuple<_GLIBCXX_TEMPLATE_ARGS> >::get_value(__t); in get() 63 operator==(const tuple<_GLIBCXX_TEMPLATE_ARGS>& __t, 64 const tuple<_GLIBCXX_TEMPLATE_ARGS_U>& __u) 66 typedef tuple<_GLIBCXX_TEMPLATE_ARGS> _Tp; [all …]
|
| 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…
|
| D | tuple | 1 // class template tuple -*- C++ -*- 30 /** @file tr1/tuple 46 // An implementation specific class which is used in the tuple class 47 // when the tuple is not maximum possible size. 50 /// Gives the type of the ith element of a given tuple type. 54 /// Finds the size of a given tuple type. 80 // Returns a const reference to the ith element of a tuple. 133 // of a tuple is not required
|
| D | mu_iterate.h | 43 class result<_CVMu(_CVArg, tuple<_GLIBCXX_TEMPLATE_ARGS>)> 48 operator()(_CVArg& __arg, const tuple<_GLIBCXX_TEMPLATE_ARGS>& __tuple) in operator()
|
| /NextBSD/contrib/libc++/include/ |
| D | tuple | 2 //===--------------------------- 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 …]
|
| D | __tuple | 68 // tuple specializations 71 template <class ..._Tp> class _LIBCPP_TYPE_VIS_ONLY tuple; 73 template <class... _Tp> struct __tuple_like<tuple<_Tp...> > : true_type {}; 77 typename tuple_element<_Ip, tuple<_Tp...> >::type& 78 get(tuple<_Tp...>&) _NOEXCEPT; 82 const typename tuple_element<_Ip, tuple<_Tp...> >::type& 83 get(const tuple<_Tp...>&) _NOEXCEPT; 87 typename tuple_element<_Ip, tuple<_Tp...> >::type&& 88 get(tuple<_Tp...>&&) _NOEXCEPT;
|
| /NextBSD/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/ |
| HD | tst.MultiAggPrinta.ksh.out | 1 …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… 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]… [all …]
|
| /NextBSD/sys/arm64/cavium/ |
| HD | thunder_pcie_common.c | 49 int tuple; in range_addr_is_pci() local 51 for (tuple = 0; tuple < MAX_RANGES_TUPLES; tuple++) { in range_addr_is_pci() 52 r = &ranges[tuple]; in range_addr_is_pci() 69 int tuple; in range_addr_is_phys() local 71 for (tuple = 0; tuple < MAX_RANGES_TUPLES; tuple++) { in range_addr_is_phys() 72 r = &ranges[tuple]; in range_addr_is_phys() 90 int tuple; in range_addr_pci_to_phys() local 93 for (tuple = 0; tuple < MAX_RANGES_TUPLES; tuple++) { in range_addr_pci_to_phys() 94 r = &ranges[tuple]; in range_addr_pci_to_phys()
|
| HD | thunder_pcie.c | 149 int tuple; in thunder_pcie_attach() local 183 for (tuple = 0; tuple < MAX_RANGES_TUPLES; tuple++) { in thunder_pcie_attach() 184 base = sc->ranges[tuple].phys_base; in thunder_pcie_attach() 185 size = sc->ranges[tuple].size; in thunder_pcie_attach() 209 int tuple; in parse_pci_mem_ranges() local 258 for (tuple = 0; tuple < tuples_count; tuple++) { in parse_pci_mem_ranges() 276 sc->ranges[tuple].phys_base = 0; in parse_pci_mem_ranges() 277 sc->ranges[tuple].size = 0; in parse_pci_mem_ranges() 283 sc->ranges[tuple].pci_base = OFW_CELL_TO_UINT64(cell_ptr); in parse_pci_mem_ranges() 285 sc->ranges[tuple].phys_base = OFW_CELL_TO_UINT64(cell_ptr); in parse_pci_mem_ranges() [all …]
|
| /NextBSD/contrib/libc++/include/experimental/ |
| D | tuple | 2 //===----------------------------- tuple ----------------------------------===// 15 experimental/tuple synopsis 19 #include <tuple> 25 // See C++14 20.4.2.5, tuple helper classes 29 // 3.2.2, Calling a function with a tuple of arguments 43 # include <tuple>
|
| /NextBSD/sys/dev/pci/ |
| HD | pci_host_generic.c | 155 int tuple; in generic_pcie_attach() local 196 for (tuple = 0; tuple < MAX_RANGES_TUPLES; tuple++) { in generic_pcie_attach() 197 phys_base = sc->ranges[tuple].phys_base; in generic_pcie_attach() 198 pci_base = sc->ranges[tuple].pci_base; in generic_pcie_attach() 199 size = sc->ranges[tuple].size; in generic_pcie_attach() 202 if (sc->ranges[tuple].flags & FLAG_MEM) { in generic_pcie_attach() 206 } else if (sc->ranges[tuple].flags & FLAG_IO) { in generic_pcie_attach() 237 int tuple; in parse_pci_mem_ranges() local 294 for (tuple = 0; tuple < MAX_RANGES_TUPLES; tuple++) { in parse_pci_mem_ranges() 297 sc->ranges[tuple].pci_base, in parse_pci_mem_ranges() [all …]
|
| /NextBSD/contrib/ofed/management/opensm/opensm/ |
| HD | osm_ucast_ftree.c | 171 ftree_tuple_t tuple; member 232 if ((*pp_sw1)->tuple[i] > (*pp_sw2)->tuple[i]) in __osm_ftree_compare_switches_by_index() 234 if ((*pp_sw1)->tuple[i] < (*pp_sw2)->tuple[i]) in __osm_ftree_compare_switches_by_index() 263 static void __osm_ftree_tuple_init(IN ftree_tuple_t tuple) in __osm_ftree_tuple_init() argument 265 memset(tuple, 0xFF, FTREE_TUPLE_LEN); in __osm_ftree_tuple_init() 270 static inline boolean_t __osm_ftree_tuple_assigned(IN ftree_tuple_t tuple) in __osm_ftree_tuple_assigned() argument 272 return (tuple[0] != 0xFF); in __osm_ftree_tuple_assigned() 279 static char *__osm_ftree_tuple_to_str(IN ftree_tuple_t tuple) in __osm_ftree_tuple_to_str() argument 286 if (!__osm_ftree_tuple_assigned(tuple)) in __osm_ftree_tuple_to_str() 291 for (i = 0; (i < FTREE_TUPLE_LEN) && (tuple[i] != 0xFF); i++) { in __osm_ftree_tuple_to_str() [all …]
|
| /NextBSD/sys/dev/ex/ |
| HD | if_ex_pccard.c | 80 ex_pccard_silicom_cb(const struct pccard_tuple *tuple, void *arg) in ex_pccard_silicom_cb() argument 85 if (tuple->code != CISTPL_FUNCE) in ex_pccard_silicom_cb() 87 if (tuple->length != 15) in ex_pccard_silicom_cb() 89 if (pccard_tuple_read_1(tuple, 6) != 6) in ex_pccard_silicom_cb() 92 enaddr[i] = pccard_tuple_read_1(tuple, 7 + i); in ex_pccard_silicom_cb()
|
| /NextBSD/sys/dev/ep/ |
| HD | if_ep_pccard.c | 116 ep_pccard_mac(const struct pccard_tuple *tuple, void *argp) in ep_pccard_mac() argument 122 if (tuple->code != 0x88) in ep_pccard_mac() 126 if (tuple->length < ETHER_ADDR_LEN) in ep_pccard_mac() 131 enaddr[i] = pccard_tuple_read_1(tuple, i + 1); in ep_pccard_mac() 132 enaddr[i + 1] = pccard_tuple_read_1(tuple, i); in ep_pccard_mac()
|
| /NextBSD/usr.sbin/dumpcis/ |
| HD | readcis.h | 29 struct tuple { struct 30 struct tuple *next; argument 38 struct tuple *tuples; argument
|
| HD | readcis.c | 50 static struct tuple *find_tuple_in_list(struct tuple_list *, unsigned char); 124 struct tuple *tp; in freecis() 195 struct tuple *tp; in read_tuples() 249 struct tuple *tp, *last_tp = 0; in read_one_tuplelist() 343 static struct tuple * 346 struct tuple *tp; in find_tuple_in_list()
|
| /NextBSD/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/ |
| HD | TestFunctionLookup.java | 62 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()
|
| /NextBSD/contrib/unbound/libunbound/python/ |
| HD | libunbound.i | 84 PyObject* tuple; 85 tuple = PyTuple_New(2); 86 PyTuple_SetItem(tuple, 0, $result); 88 …PyTuple_SetItem(tuple, 1, SWIG_NewPointerObj(SWIG_as_voidptr(newubr), SWIGTYPE_p_ub_result, SWIG_P… 90 PyTuple_SetItem(tuple, 1, Py_None); 92 $result = tuple; 873 PyObject* tuple; 874 tuple = PyTuple_New(2); 875 PyTuple_SetItem(tuple, 0, $result); 876 PyTuple_SetItem(tuple, 1, SWIG_From_int(asyncid)); [all …]
|
| /NextBSD/contrib/wpa/wpa_supplicant/examples/ |
| HD | dbus-listen-preq.py | 20 print '%.2x:%.2x:%.2x:%.2x:%.2x:%.2x' % tuple(args['addr']), 22 print '-> %.2x:%.2x:%.2x:%.2x:%.2x:%.2x' % tuple(args['dst']), 24 print '(bssid %.2x:%.2x:%.2x:%.2x:%.2x:%.2x)' % tuple(args['dst']),
|
| /NextBSD/sys/dev/xe/ |
| HD | if_xe_pccard.c | 197 xe_pccard_mac(const struct pccard_tuple *tuple, void *argp) in xe_pccard_mac() argument 203 if (tuple->code != 0x89) in xe_pccard_mac() 207 if (tuple->length != ETHER_ADDR_LEN + 2) in xe_pccard_mac() 209 test = pccard_tuple_read_1(tuple, 0); in xe_pccard_mac() 212 test = pccard_tuple_read_1(tuple, 1); in xe_pccard_mac() 218 enaddr[i] = pccard_tuple_read_1(tuple, i + 2); in xe_pccard_mac()
|
| /NextBSD/sys/dev/sn/ |
| HD | if_sn_pccard.c | 196 sn_pccard_megahertz_mac(const struct pccard_tuple *tuple, void *argp) in sn_pccard_megahertz_mac() argument 203 if (tuple->code != 0x81) in sn_pccard_megahertz_mac() 207 if (tuple->length != ETHER_ADDR_LEN * 2 + 1) in sn_pccard_megahertz_mac() 212 buffer[i] = pccard_tuple_read_1(tuple, i); in sn_pccard_megahertz_mac()
|