Home
last modified time | relevance | path

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

123

/trueos/sys/dev/pccard/
HDpccard_cis.c117 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 …]
HDpccardvar.h117 #define pccard_cis_read_1(tuple, idx0) \ argument
118 (bus_space_read_1((tuple)->memt, (tuple)->memh, (tuple)->mult*(idx0)))
120 #define pccard_tuple_read_1(tuple, idx1) \ argument
121 (pccard_cis_read_1((tuple), ((tuple)->ptr+(2+(idx1)))))
123 #define pccard_tuple_read_2(tuple, idx2) \ argument
124 (pccard_tuple_read_1((tuple), (idx2)) | \
125 (pccard_tuple_read_1((tuple), (idx2)+1)<<8))
127 #define pccard_tuple_read_3(tuple, idx3) \ argument
128 (pccard_tuple_read_1((tuple), (idx3)) | \
129 (pccard_tuple_read_1((tuple), (idx3)+1)<<8) | \
[all …]
HDpccard_device.c82 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()
/trueos/contrib/libstdc++/include/tr1/
Dtuple_iterate.h43 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 …]
Dtuple_defs.h43 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 …]
Drepeat.h119 #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…
234tuple<_GLIBCXX_BIND_TEMPLATE_ARGS>)>::type, typename result_of<_Mu<_T2> _CV(_T2, tuple<_GLIBCXX_BI…
291tuple<_GLIBCXX_BIND_TEMPLATE_ARGS>)>::type, typename result_of<_Mu<_T2> _CV(_T2, tuple<_GLIBCXX_BI…
348tuple<_GLIBCXX_BIND_TEMPLATE_ARGS>)>::type, typename result_of<_Mu<_T2> _CV(_T2, tuple<_GLIBCXX_BI…
405tuple<_GLIBCXX_BIND_TEMPLATE_ARGS>)>::type, typename result_of<_Mu<_T2> _CV(_T2, tuple<_GLIBCXX_BI…
462tuple<_GLIBCXX_BIND_TEMPLATE_ARGS>)>::type, typename result_of<_Mu<_T2> _CV(_T2, tuple<_GLIBCXX_BI…
519tuple<_GLIBCXX_BIND_TEMPLATE_ARGS>)>::type, typename result_of<_Mu<_T2> _CV(_T2, tuple<_GLIBCXX_BI…
576tuple<_GLIBCXX_BIND_TEMPLATE_ARGS>)>::type, typename result_of<_Mu<_T2> _CV(_T2, tuple<_GLIBCXX_BI…
634tuple<_GLIBCXX_BIND_TEMPLATE_ARGS>)>::type, typename result_of<_Mu<_T2> _CV(_T2, tuple<_GLIBCXX_BI…
Dtuple1 // 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
Dmu_iterate.h43 class result<_CVMu(_CVArg, tuple<_GLIBCXX_TEMPLATE_ARGS>)>
48 operator()(_CVArg& __arg, const tuple<_GLIBCXX_TEMPLATE_ARGS>& __tuple) in operator()
/trueos/contrib/libc++/include/
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 …]
D__tuple93 template <class ..._Tp> class _LIBCPP_TYPE_VIS_ONLY tuple;
103 template <class... _Tp> struct __tuple_like<tuple<_Tp...> > : true_type {};
109 typename tuple_element<_Ip, tuple<_Tp...> >::type&
110 get(tuple<_Tp...>&) _NOEXCEPT;
114 const typename tuple_element<_Ip, tuple<_Tp...> >::type&
115 get(const tuple<_Tp...>&) _NOEXCEPT;
119 typename tuple_element<_Ip, tuple<_Tp...> >::type&&
120 get(tuple<_Tp...>&&) _NOEXCEPT;
/trueos/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/
HDtst.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 …]
HDtst.Bean.ksh.out8 serialized: org.opensolaris.os.dtrace.AggregationRecord[tuple = [cat, 9,
16 deserialized: org.opensolaris.os.dtrace.AggregationRecord[tuple = [cat, 9,
25 encoded: org.opensolaris.os.dtrace.AggregationRecord[tuple = [cat, 9,
33 decoded: org.opensolaris.os.dtrace.AggregationRecord[tuple = [cat, 9,
42 …Aggregation[name = counts, id = 2, records = [org.opensolaris.os.dtrace.AggregationRecord[tuple = [
45 …807, frequency = 0]], total = 45.0]], org.opensolaris.os.dtrace.AggregationRecord[tuple = [cat, 9,
53 …Aggregation[name = counts, id = 2, records = [org.opensolaris.os.dtrace.AggregationRecord[tuple = [
56 …807, frequency = 0]], total = 45.0]], org.opensolaris.os.dtrace.AggregationRecord[tuple = [cat, 9,
65 …Aggregation[name = counts, id = 2, records = [org.opensolaris.os.dtrace.AggregationRecord[tuple = [
68 …807, frequency = 0]], total = 45.0]], org.opensolaris.os.dtrace.AggregationRecord[tuple = [cat, 9,
[all …]
/trueos/contrib/ofed/management/opensm/opensm/
HDosm_ucast_ftree.c171 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 …]
/trueos/sys/dev/ex/
HDif_ex_pccard.c80 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()
/trueos/usr.sbin/dumpcis/
HDreadcis.h29 struct tuple { struct
30 struct tuple *next; argument
38 struct tuple *tuples; argument
HDreadcis.c50 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()
/trueos/sys/dev/ep/
HDif_ep_pccard.c116 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()
/trueos/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/
HDTestFunctionLookup.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()
HDTestBean.java137 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()
178 Tuple tuple = new Tuple(r1, r2, r3, r4); in getTuple() local
179 return tuple; in getTuple()
357 Tuple tuple = new Tuple(v1, v2, v3, v4, v5, v6); in getAggregate() local
359 r = new AggregationRecord(tuple, value); in getAggregate()
/trueos/contrib/unbound/libunbound/python/
HDlibunbound.i67 PyObject* tuple; variable
68 tuple = PyTuple_New(2);
69 PyTuple_SetItem(tuple, 0, $result);
71 …PyTuple_SetItem(tuple, 1, SWIG_NewPointerObj(SWIG_as_voidptr(newubr), SWIGTYPE_p_ub_result, SWIG_P…
73 PyTuple_SetItem(tuple, 1, Py_None);
75 $result = tuple;
855 PyObject* tuple;
856 tuple = PyTuple_New(2);
857 PyTuple_SetItem(tuple, 0, $result);
858 PyTuple_SetItem(tuple, 1, SWIG_From_int(asyncid));
[all …]
/trueos/contrib/wpa/wpa_supplicant/examples/
HDdbus-listen-preq.py20 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']),
/trueos/sys/dev/xe/
HDif_xe_pccard.c195 xe_pccard_mac(const struct pccard_tuple *tuple, void *argp) in xe_pccard_mac() argument
201 if (tuple->code != 0x89) in xe_pccard_mac()
205 if (tuple->length != ETHER_ADDR_LEN + 2) in xe_pccard_mac()
207 test = pccard_tuple_read_1(tuple, 0); in xe_pccard_mac()
210 test = pccard_tuple_read_1(tuple, 1); in xe_pccard_mac()
216 enaddr[i] = pccard_tuple_read_1(tuple, i + 2); in xe_pccard_mac()
/trueos/sys/dev/sn/
HDif_sn_pccard.c196 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()
/trueos/sys/dev/fe/
HDif_fe_pccard.c272 fe_pccard_xircom_mac(const struct pccard_tuple *tuple, void *argp) in fe_pccard_xircom_mac() argument
291 if (tuple->code != 0x22) in fe_pccard_xircom_mac()
295 if (tuple->length < ETHER_ADDR_LEN + 3) in fe_pccard_xircom_mac()
300 enaddr[i] = pccard_tuple_read_1(tuple, i + 3); in fe_pccard_xircom_mac()
/trueos/contrib/subversion/subversion/libsvn_ra_svn/
HDprotocol26 can be used for tuples, optional tuples, or arrays. A tuple is a list
28 types. An optional tuple is a list containing either zero or a fixed
47 prototype. Parentheses denote a tuple, unless the parentheses contain
51 If a tuple has an optional part after the fixed part, a '?' marks
52 places where the tuple is allowed to end. The following tuple could
57 Brackets denote an optional tuple; they are equivalent to parentheses
67 prototype's tuple even if the list contains extra elements. The extra
134 otherwise, the client responds with a tuple matching the prototype:
142 challenges, each a tuple matching the prototype:
269 changed to be optional without creating an optional tuple for
[all …]

123