Home
last modified time | relevance | path

Searched refs:index_type (Results 1 – 8 of 8) sorted by relevance

/freebsd-14.2/contrib/llvm-project/libcxx/include/__mdspan/
H A Dlayout_stride.h71 using index_type = typename extents_type::index_type; variable
84 index_type __prod = __ext.extent(0); in __required_span_size_is_representable()
99 index_type __size = 1; in __required_span_size_is_representable()
126 return static_cast<index_type>(0); in __offset()
161 index_type __stride = 1; in mapping()
186 … return ((static_cast<index_type>(__strides[_Pos]) > static_cast<index_type>(0)) && ... && true);
241 …return ((static_cast<index_type>(__other.stride(_Pos)) > static_cast<index_type>(0)) && ... && tru…
265 return static_cast<index_type>(1); in required_span_size()
271 return static_cast<index_type>( in required_span_size()
290 return ((static_cast<index_type>(__idx) * __strides_[_Pos]) + ... + index_type(0)); in operator()
[all …]
H A Dlayout_left.h51 using index_type = typename extents_type::index_type; variable
61 index_type __prod = __ext.extent(0); in __required_span_size_is_representable()
93 __mdspan_detail::__is_representable_as<index_type>(__other.required_span_size()), in requires()
121 …g _CommonType = common_type_t<typename extents_type::index_type, typename _OtherExtents::index_typ… in requires()
140 _LIBCPP_HIDE_FROM_ABI constexpr index_type required_span_size() const noexcept { in required_span_size()
141 index_type __size = 1; in required_span_size()
149 (is_nothrow_constructible_v<index_type, _Indices> && ...))
157 array<index_type, extents_type::rank()> __idx_a{static_cast<index_type>(__idx)...}; in operator()
159 index_type __res = 0; in operator()
174 _LIBCPP_HIDE_FROM_ABI constexpr index_type stride(rank_type __r) const noexcept in stride()
[all …]
H A Dlayout_right.h50 using index_type = typename extents_type::index_type; variable
60 index_type __prod = __ext.extent(0); in __required_span_size_is_representable()
92 __mdspan_detail::__is_representable_as<index_type>(__other.required_span_size()), in requires()
108 __mdspan_detail::__is_representable_as<index_type>(__other.required_span_size()), in mapping()
120 …g _CommonType = common_type_t<typename extents_type::index_type, typename _OtherExtents::index_typ… in requires()
139 _LIBCPP_HIDE_FROM_ABI constexpr index_type required_span_size() const noexcept { in required_span_size()
140 index_type __size = 1; in required_span_size()
148 (is_nothrow_constructible_v<index_type, _Indices> && ...))
157 index_type __res = 0; in operator()
171 _LIBCPP_HIDE_FROM_ABI constexpr index_type stride(rank_type __r) const noexcept in stride()
[all …]
H A Dmdspan.h86 using index_type = typename extents_type::index_type; variable
113 requires((is_convertible_v<_OtherIndexTypes, index_type> && ...) &&
121 requires(is_convertible_v<const _OtherIndexType&, index_type> &&
122 is_nothrow_constructible_v<index_type, const _OtherIndexType&> &&
130 requires(is_convertible_v<const _OtherIndexType&, index_type> &&
174 … (static_cast<index_type>(__other.extent(__r)) == static_cast<index_type>(static_extent(__r))), in requires()
187 requires((is_convertible_v<_OtherIndexTypes, index_type> && ...) &&
199 requires(is_convertible_v<const _OtherIndexType&, index_type> && in requires()
200 is_nothrow_constructible_v<index_type, const _OtherIndexType&>) in requires() argument
208 requires(is_convertible_v<const _OtherIndexType&, index_type> && in requires()
[all …]
H A Dextents.h281 using index_type = _IndexType;
282 using size_type = make_unsigned_t<index_type>;
285 static_assert(is_integral<index_type>::value && !is_same<index_type, bool>::value,
314 requires((is_convertible_v<_OtherIndexTypes, index_type> && ...) &&
318 : __vals_(static_cast<index_type>(__dynvals)...) {
326 requires(is_convertible_v<const _OtherIndexType&, index_type> &&
339 requires(is_convertible_v<const _OtherIndexType&, index_type> &&
380 return _Values{static_cast<index_type>(__dynamic_values)...};
389 (static_cast<make_unsigned_t<index_type>>(numeric_limits<index_type>::max()) <
396 if constexpr (static_cast<make_unsigned_t<index_type>>(numeric_limits<index_type>::max()) <
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dmdspan44 using index_type = _IndexType;
45 using size_type = make_unsigned_t<index_type>;
52 constexpr index_type extent(rank_type) const noexcept;
92 using index_type = typename extents_type::index_type;
116 constexpr index_type required_span_size() const noexcept;
129 constexpr index_type stride(rank_type) const noexcept;
146 using index_type = typename extents_type::index_type;
183 constexpr index_type stride(rank_type) const noexcept;
200 using index_type = typename extents_type::index_type;
281 using index_type = typename extents_type::index_type;
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DLibCxxVariant.cpp98 CompilerType index_type = index_sp->GetCompilerType(); in LibcxxVariantGetIndexValidity() local
100 std::optional<uint64_t> index_type_bytes = index_type.GetByteSize(nullptr); in LibcxxVariantGetIndexValidity()
/freebsd-14.2/sys/cam/scsi/
H A Dscsi_enc_ses.c517 ses_elem_index_type_t index_type) in ses_iter_seek_to() argument
522 if (index_type == SES_ELEM_INDEX_GLOBAL) in ses_iter_seek_to()
1795 ses_elem_index_type_t index_type; in ses_process_elm_addlstatus() local
1799 index_type = SES_ELEM_INDEX_GLOBAL; in ses_process_elm_addlstatus()
1802 index_type = SES_ELEM_INDEX_INDIVIDUAL; in ses_process_elm_addlstatus()
1815 eip_hdr->element_index, index_type); in ses_process_elm_addlstatus()