Searched refs:index_type (Results 1 – 8 of 8) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/libcxx/include/__mdspan/ |
| H A D | layout_stride.h | 71 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 D | layout_left.h | 51 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 D | layout_right.h | 50 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 D | mdspan.h | 86 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 D | extents.h | 281 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 D | mdspan | 44 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 D | LibCxxVariant.cpp | 98 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 D | scsi_enc_ses.c | 517 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()
|