Searched refs:index_type (Results 1 – 8 of 8) sorted by relevance
/freebsd/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() 103 using _CommonType = common_type_t<index_type, _OtherIndexType>; in __required_span_size_is_representable() 104 …ic_cast<_CommonType>(__strides[__r]) > static_cast<_CommonType>(numeric_limits<index_type>::max())) in __required_span_size_is_representable() 107 if (__ext.extent(__r) == static_cast<index_type>(0)) in __required_span_size_is_representable() 109 index_type __prod = (__ext.extent(__r) - 1); in __required_span_size_is_representable() 110 …bool __overflowed_mul = __builtin_mul_overflow(__prod, static_cast<index_type>(__strides[__r]), &_… in __required_span_size_is_representable() 122 _LIBCPP_HIDE_FROM_ABI static constexpr index_type __offset(const _StridedMapping& __mapping) { in __offset() 124 return static_cast<index_type>(__mapping()); in __offset() [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() 109 __mdspan_detail::__is_representable_as<index_type>(__other.required_span_size()), in mapping() 121 …g _CommonType = common_type_t<typename extents_type::index_type, typename _OtherExtents::index_typ… in requires() 129 __mdspan_detail::__is_representable_as<index_type>(__other.required_span_size()), 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() 148 …(sizeof...(_Indices) == extents_type::rank()) && (is_convertible_v<_Indices, index_type> && ...) && 149 (is_nothrow_constructible_v<index_type, _Indices> && ...)) [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() 128 __mdspan_detail::__is_representable_as<index_type>(__other.required_span_size()), 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() 147 …(sizeof...(_Indices) == extents_type::rank()) && (is_convertible_v<_Indices, index_type> && ...) && 148 (is_nothrow_constructible_v<index_type, _Indices> && ...)) [all …]
|
H A D | mdspan.h | 85 using index_type = typename extents_type::index_type; variable 96 _LIBCPP_HIDE_FROM_ABI constexpr index_type extent(rank_type __r) const noexcept { in extent() 112 requires((is_convertible_v<_OtherIndexTypes, index_type> && ...) && 113 (is_nothrow_constructible_v<index_type, _OtherIndexTypes> && ...) && 117 …: __ptr_(std::move(__p)), __map_(extents_type(static_cast<index_type>(std::move(__exts))...)), __a… in mdspan() 120 requires(is_convertible_v<const _OtherIndexType&, index_type> && 121 is_nothrow_constructible_v<index_type, const _OtherIndexType&> && 129 requires(is_convertible_v<const _OtherIndexType&, index_type> && 130 is_nothrow_constructible_v<index_type, const _OtherIndexType&> && 173 … (static_cast<index_type>(__other.extent(__r)) == static_cast<index_type>(static_extent(__r))), 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, 287 …static_assert(((__mdspan_detail::__is_representable_as<index_type>(_Extents) || (_Extents == dynam… 303 …_LIBCPP_HIDE_FROM_ABI constexpr index_type extent(rank_type __r) const noexcept { return __vals_._… 314 requires((is_convertible_v<_OtherIndexTypes, index_type> && ...) && 315 (is_nothrow_constructible_v<index_type, _OtherIndexTypes> && ...) && 318 : __vals_(static_cast<index_type>(__dynvals)...) { 321 …_LIBCPP_ASSERT_VALID_ELEMENT_ACCESS(__mdspan_detail::__are_representable_as<index_type>(__dynvals.… 326 requires(is_convertible_v<const _OtherIndexType&, index_type> && [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | mdspan | 48 using index_type = _IndexType; 49 using size_type = make_unsigned_t<index_type>; 56 constexpr index_type extent(rank_type) const noexcept; 81 array<index_type, rank_dynamic()> dynamic-extents{}; // exposition only 96 using index_type = typename extents_type::index_type; 120 constexpr index_type required_span_size() const noexcept; 123 constexpr index_type operator()(Indices...) const noexcept; 133 constexpr index_type stride(rank_type) const noexcept; 150 using index_type = typename extents_type::index_type; 174 constexpr index_type required_span_size() const noexcept; [all …]
|
/freebsd/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/sys/cam/scsi/ |
H A D | scsi_enc_ses.c | 516 ses_elem_index_type_t index_type) in ses_iter_seek_to() argument 521 if (index_type == SES_ELEM_INDEX_GLOBAL) in ses_iter_seek_to() 1794 ses_elem_index_type_t index_type; in ses_process_elm_addlstatus() local 1798 index_type = SES_ELEM_INDEX_GLOBAL; in ses_process_elm_addlstatus() 1801 index_type = SES_ELEM_INDEX_INDIVIDUAL; in ses_process_elm_addlstatus() 1814 eip_hdr->element_index, index_type); in ses_process_elm_addlstatus()
|