Home
last modified time | relevance | path

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

12345678910>>...13

/openbsd-src/sys/dev/pcmcia/
H A Dpcmcia_cis.c62 pcmcia_cis_read_1(struct pcmcia_tuple *tuple, bus_size_t idx) in pcmcia_cis_read_1() argument
64 if (tuple->flags & PTF_INDIRECT) { in pcmcia_cis_read_1()
65 bus_space_write_1(tuple->memt, tuple->memh, in pcmcia_cis_read_1()
66 tuple->indirect_ptr + PCMCIA_INDR_CONTROL, PCMCIA_ICR_ATTR); in pcmcia_cis_read_1()
67 idx <<= tuple->addrshift; in pcmcia_cis_read_1()
68 bus_space_write_1(tuple->memt, tuple->memh, in pcmcia_cis_read_1()
69 tuple->indirect_ptr + PCMCIA_INDR_ADDRESS + 0, idx >> 0); in pcmcia_cis_read_1()
70 bus_space_write_1(tuple->memt, tuple->memh, in pcmcia_cis_read_1()
71 tuple->indirect_ptr + PCMCIA_INDR_ADDRESS + 1, idx >> 8); in pcmcia_cis_read_1()
72 bus_space_write_1(tuple->memt, tuple->memh, in pcmcia_cis_read_1()
[all …]
H A Dpcmciavar.h212 #define pcmcia_tuple_read_1(tuple, idx1) \ argument
213 (pcmcia_cis_read_1((tuple), ((tuple)->ptr+(2+(idx1)))))
215 #define pcmcia_tuple_read_2(tuple, idx2) \ argument
216 (pcmcia_tuple_read_1((tuple), (idx2)) | \
217 (pcmcia_tuple_read_1((tuple), (idx2)+1)<<8))
219 #define pcmcia_tuple_read_3(tuple, idx3) \ argument
220 (pcmcia_tuple_read_1((tuple), (idx3)) | \
221 (pcmcia_tuple_read_1((tuple), (idx3)+1)<<8) | \
222 (pcmcia_tuple_read_1((tuple), (idx3)+2)<<16))
224 #define pcmcia_tuple_read_4(tuple, idx4) \ argument
[all …]
H A Dif_sm_pcmcia.c289 sm_pcmcia_lannid_ciscallback(struct pcmcia_tuple *tuple, void *arg) in sm_pcmcia_lannid_ciscallback() argument
294 if (tuple->code == PCMCIA_CISTPL_FUNCE || tuple->code == in sm_pcmcia_lannid_ciscallback()
297 if (tuple->length < 2) in sm_pcmcia_lannid_ciscallback()
300 if ((pcmcia_tuple_read_1(tuple, 0) != in sm_pcmcia_lannid_ciscallback()
302 (pcmcia_tuple_read_1(tuple, 1) != ETHER_ADDR_LEN)) in sm_pcmcia_lannid_ciscallback()
306 myla[i] = pcmcia_tuple_read_1(tuple, i + 2); in sm_pcmcia_lannid_ciscallback()
/openbsd-src/gnu/gcc/libstdc++-v3/include/tr1/
H A 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 …]
H A 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 …]
H A 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…
H A 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
H A Dmu_iterate.h43 class result<_CVMu(_CVArg, tuple<_GLIBCXX_TEMPLATE_ARGS>)>
48 operator()(_CVArg& __arg, const tuple<_GLIBCXX_TEMPLATE_ARGS>& __tuple) in operator()
/openbsd-src/gnu/llvm/libcxx/include/
H A Dtuple14 tuple synopsis
20 class tuple {
22 explicit(see-below) constexpr tuple();
23 explicit(see-below) tuple(const T&...); // constexpr in C++14
25 explicit(see-below) tuple(U&&...); // constexpr in C++14
26 tuple(const tuple&) = default;
27 tuple(tuple&&) = default;
30 constexpr explicit(see-below) tuple(tuple<UTypes...>&); // C++23
32 explicit(see-below) tuple(const tuple<U...>&); // constexpr in C++14
34 explicit(see-below) tuple(tuple<U...>&&); // constexpr in C++14
[all …]
/openbsd-src/sys/dev/cardbus/
H A Dcardbus.c275 parse_tuple(u_int8_t *tuple, int len, void *data) in parse_tuple() argument
282 switch (tuple[0]) { in parse_tuple()
284 if (tuple[1] < 4) { in parse_tuple()
286 __func__, tuple[1])); in parse_tuple()
289 cis->manufacturer = tuple[2] | (tuple[3] << 8); in parse_tuple()
290 cis->product = tuple[4] | (tuple[5] << 8); in parse_tuple()
293 bcopy(tuple + 2, cis->cis1_info_buf, tuple[1]); in parse_tuple()
298 if (p >= cis->cis1_info_buf + tuple[1] || *p == '\xff') in parse_tuple()
308 if (tuple[1] != 6) { in parse_tuple()
310 __func__, tuple[1])); in parse_tuple()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUArgumentUsageInfo.cpp89 std::tuple<const ArgDescriptor *, const TargetRegisterClass *, LLT>
94 return std::tuple(PrivateSegmentBuffer ? &PrivateSegmentBuffer : nullptr, in getPreloadedValue()
98 return std::tuple(ImplicitBufferPtr ? &ImplicitBufferPtr : nullptr, in getPreloadedValue()
102 return std::tuple(WorkGroupIDX ? &WorkGroupIDX : nullptr, in getPreloadedValue()
105 return std::tuple(WorkGroupIDY ? &WorkGroupIDY : nullptr, in getPreloadedValue()
108 return std::tuple(WorkGroupIDZ ? &WorkGroupIDZ : nullptr, in getPreloadedValue()
111 return std::tuple(LDSKernelId ? &LDSKernelId : nullptr, in getPreloadedValue()
114 return std::tuple( in getPreloadedValue()
118 return std::tuple(KernargSegmentPtr ? &KernargSegmentPtr : nullptr, in getPreloadedValue()
122 return std::tuple(ImplicitArgPtr ? &ImplicitArgPtr : nullptr, in getPreloadedValue()
[all …]
/openbsd-src/gnu/llvm/libcxx/benchmarks/
H A DCartesianBenchmarks.h51 void makeBenchmarkFromValues(const std::vector<std::tuple<Args...> >& A) { in makeBenchmarkFromValues()
56 void makeBenchmarkImpl(const Args& A, std::tuple<U...> t) { in makeBenchmarkImpl()
62 void makeBenchmarkImpl(const Args& A, std::tuple<U...>, std::tuple<T...>, in makeBenchmarkImpl()
64 (internal::makeBenchmarkImpl<B>(A, std::tuple<U..., T>(), rest...), ...); in makeBenchmarkImpl()
112 std::vector<std::tuple<typename Args::value_type...> > V; in makeCartesianProductBenchmark()
113 internal::allValueCombinations(V, std::tuple<>(), A...); in makeCartesianProductBenchmark()
114 internal::makeBenchmarkImpl<B>(V, std::tuple<>(), Tuples()...); in makeCartesianProductBenchmark()
120 std::vector<std::tuple<typename Args::value_type...> > V; in makeCartesianProductBenchmark()
121 internal::allValueCombinations(V, std::tuple<>(), A...); in makeCartesianProductBenchmark()
/openbsd-src/gnu/llvm/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] = {
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()
[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);
/openbsd-src/gnu/llvm/libcxx/include/__fwd/
H A Dget.h31 typename tuple_element<_Ip, tuple<_Tp...> >::type&
32 get(tuple<_Tp...>&) _NOEXCEPT;
36 const typename tuple_element<_Ip, tuple<_Tp...> >::type&
37 get(const tuple<_Tp...>&) _NOEXCEPT;
41 typename tuple_element<_Ip, tuple<_Tp...> >::type&&
42 get(tuple<_Tp...>&&) _NOEXCEPT;
46 const typename tuple_element<_Ip, tuple<_Tp...> >::type&&
47 get(const tuple<_Tp...>&&) _NOEXCEPT;
/openbsd-src/gnu/llvm/libcxx/include/__memory_resource/
H A Dpolymorphic_allocator.h126 …construct(pair<_T1, _T2>* __p, piecewise_construct_t, tuple<_Args1...> __x, tuple<_Args2...> __y) { in construct()
139 construct(__p, piecewise_construct, tuple<>(), tuple<>()); in construct()
176 _LIBCPP_HIDE_FROM_ABI tuple<_Args&&...>
177 __transform_tuple(integral_constant<int, 0>, tuple<_Args...>&& __t, __tuple_indices<_Is...>) { in __transform_tuple()
182 _LIBCPP_HIDE_FROM_ABI tuple<allocator_arg_t const&, polymorphic_allocator&, _Args&&...>
183 __transform_tuple(integral_constant<int, 1>, tuple<_Args...>&& __t, __tuple_indices<_Is...>) { in __transform_tuple()
184 using _Tup = tuple<allocator_arg_t const&, polymorphic_allocator&, _Args&&...>; in __transform_tuple()
189 _LIBCPP_HIDE_FROM_ABI tuple<_Args&&..., polymorphic_allocator&>
190 __transform_tuple(integral_constant<int, 2>, tuple<_Args...>&& __t, __tuple_indices<_Is...>) { in __transform_tuple()
191 using _Tup = tuple<_Args&&..., polymorphic_allocator&>; in __transform_tuple()
/openbsd-src/gnu/llvm/libcxx/docs/Status/
H A DZipProjects.csv2 | `[tuple.syn] <https://wg21.link/tuple.syn>`_, "`[tuple] basic_common_reference, common_type <http…
3 | `[tuple.tuple] <https://wg21.link/tuple.tuple>`_, "`[tuple] constructor, assignment and swap over…
/openbsd-src/gnu/llvm/libcxx/include/__functional/
H A Dbind.h99 __mu_expand(_Ti& __ti, tuple<_Uj...>& __uj, __tuple_indices<_Indx...>)
111 __mu(_Ti& __ti, tuple<_Uj...>& __uj)
170 struct __mu_return_impl<_Ti, false, true, false, tuple<_Uj...> >
212 struct __is_valid_bind_return<_Fp, tuple<_BoundArgs...>, _TupleUj>
219 struct __is_valid_bind_return<_Fp, const tuple<_BoundArgs...>, _TupleUj>
230 struct __bind_return<_Fp, tuple<_BoundArgs...>, _TupleUj, true>
244 struct __bind_return<_Fp, const tuple<_BoundArgs...>, _TupleUj, true>
271 typedef tuple<typename decay<_BoundArgs>::type...> _Td;
292 typename __bind_return<_Fd, _Td, tuple<_Args&&...> >::type
296 tuple<_Args&&...>(_VSTD::forward<_Args>(__args)...));
[all …]
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVSort.cpp69 std::tuple<std::string, StringRef, uint32_t, LVOffset> Left( in sortByKind()
71 std::tuple<std::string, StringRef, uint32_t, LVOffset> Right( in sortByKind()
81 std::tuple<uint32_t, StringRef, std::string, LVOffset> Left( in sortByLine()
83 std::tuple<uint32_t, StringRef, std::string, LVOffset> Right( in sortByLine()
93 std::tuple<StringRef, uint32_t, std::string, LVOffset> Left( in sortByName()
95 std::tuple<StringRef, uint32_t, std::string, LVOffset> Right( in sortByName()
/openbsd-src/gnu/usr.bin/perl/ext/re/
H A DMakefile.PL23 foreach my $tuple (@files) {
24 my $src_file = $tuple->[0];
61 foreach my $tuple (@::files) {
62 my ($file, @deps) = @$tuple;
/openbsd-src/gnu/llvm/lldb/source/Plugins/ScriptInterpreter/Python/
H A DScriptedPythonInterface.h64 std::tuple<Args...> original_args = std::forward_as_tuple(args...); in Dispatch()
133 auto TransformTuple(const std::tuple<Args...> &args, in TransformTuple()
141 auto TransformArgs(const std::tuple<Args...> &args) { in TransformArgs()
151 bool ReassignPtrsOrRefsArgs(std::tuple<Ts...> &original_args, in ReassignPtrsOrRefsArgs()
152 std::tuple<Us...> &transformed_args, in ReassignPtrsOrRefsArgs()
162 bool ReassignPtrsOrRefsArgs(std::tuple<Ts...> &original_args, in ReassignPtrsOrRefsArgs()
163 std::tuple<Us...> &transformed_args) { in ReassignPtrsOrRefsArgs()
/openbsd-src/gnu/llvm/libcxx/include/experimental/
H A Dmemory_resource77 #include <tuple>
218 tuple<_Args1...> __x, tuple<_Args2...> __y)
241 construct(__p, piecewise_construct, tuple<>(), tuple<>());
285 tuple<_Args&&...>
286 __transform_tuple(integral_constant<int, 0>, tuple<_Args...>&& __t,
294 tuple<allocator_arg_t const&, polymorphic_allocator&, _Args&&...>
295 __transform_tuple(integral_constant<int, 1>, tuple<_Args...> && __t,
298 using _Tup = tuple<allocator_arg_t const&, polymorphic_allocator&, _Args&&...>;
305 tuple<_Args&&..., polymorphic_allocator&>
306 __transform_tuple(integral_constant<int, 2>, tuple<_Args...> && __t,
[all …]
/openbsd-src/gnu/usr.bin/perl/ext/B/
H A DMakefile.PL27 foreach my $tuple (['cop.h'],
37 my $file = $tuple->[0];
38 my $pfx = $tuple->[1] || '';
/openbsd-src/gnu/usr.bin/perl/t/porting/
H A Ddeprecation.t59 my $tuple = $deprecated->{$category};
60 ok( $tuple, "Deprecated category '$category' ($subject) exists in $warnings_file")
62 my $added_in_version = $tuple->[0];
/openbsd-src/gnu/usr.bin/perl/regen/
H A Dscope_types.pl78 foreach my $tuple (@arg_num) {
79 my ($nargs, $type)= @$tuple;
81 $nargs, $tuple == $arg_num[-1] ? " " : ",",

12345678910>>...13