Searched refs:extents_type (Results 1 – 5 of 5) sorted by relevance
50 using extents_type = _Extents; variable51 using index_type = typename extents_type::index_type;52 using size_type = typename extents_type::size_type;53 using rank_type = typename extents_type::rank_type;57 …E_FROM_ABI static constexpr bool __required_span_size_is_representable(const extents_type& __ext) { in __required_span_size_is_representable()58 if constexpr (extents_type::rank() == 0) in __required_span_size_is_representable()62 for (rank_type __r = 1; __r < extents_type::rank(); __r++) { in __required_span_size_is_representable()70 …static_assert(extents_type::rank_dynamic() > 0 || __required_span_size_is_representable(extents_ty…77 _LIBCPP_HIDE_FROM_ABI constexpr mapping(const extents_type& __ext) noexcept : __extents_(__ext) { in mapping()86 requires(is_constructible_v<extents_type, _OtherExtents>) in requires() argument[all …]
49 using extents_type = _Extents; variable50 using index_type = typename extents_type::index_type;51 using size_type = typename extents_type::size_type;52 using rank_type = typename extents_type::rank_type;56 …E_FROM_ABI static constexpr bool __required_span_size_is_representable(const extents_type& __ext) { in __required_span_size_is_representable()57 if constexpr (extents_type::rank() == 0) in __required_span_size_is_representable()61 for (rank_type __r = 1; __r < extents_type::rank(); __r++) { in __required_span_size_is_representable()69 …static_assert(extents_type::rank_dynamic() > 0 || __required_span_size_is_representable(extents_ty…76 _LIBCPP_HIDE_FROM_ABI constexpr mapping(const extents_type& __ext) noexcept : __extents_(__ext) { in mapping()85 requires(is_constructible_v<extents_type, _OtherExtents>) in requires() argument[all …]
49 is_same_v<typename _Layout::template mapping<typename _Mapping::extents_type>, _Mapping>;54 requires __is_extents_v<typename _Mapping::extents_type>;70 using extents_type = _Extents; variable71 using index_type = typename extents_type::index_type;72 using size_type = typename extents_type::size_type;73 using rank_type = typename extents_type::rank_type;77 static constexpr rank_type __rank_ = extents_type::rank();80 …E_FROM_ABI static constexpr bool __required_span_size_is_representable(const extents_type& __ext) { in __required_span_size_is_representable()95 …__required_span_size_is_representable(const extents_type& __ext, span<_OtherIndexType, __rank_> __… in __required_span_size_is_representable()123 if constexpr (_StridedMapping::extents_type::rank() == 0) { in __offset()[all …]
79 using extents_type = _Extents;82 using mapping_type = typename layout_type::template mapping<extents_type>;85 using index_type = typename extents_type::index_type;86 using size_type = typename extents_type::size_type;87 using rank_type = typename extents_type::rank_type;91 _LIBCPP_HIDE_FROM_ABI static constexpr rank_type rank() noexcept { return extents_type::rank(); } in rank()92 …_LIBCPP_HIDE_FROM_ABI static constexpr rank_type rank_dynamic() noexcept { return extents_type::ra… in rank_dynamic()94 return extents_type::static_extent(__r); in static_extent()105 requires((extents_type::rank_dynamic() > 0) && is_default_constructible_v<data_handle_type> &&115 … is_constructible_v<mapping_type, extents_type> && is_default_constructible_v<accessor_type>)[all …]
95 using extents_type = Extents;96 using index_type = typename extents_type::index_type;97 using size_type = typename extents_type::size_type;98 using rank_type = typename extents_type::rank_type;104 constexpr mapping(const extents_type&) noexcept;106 constexpr explicit(!is_convertible_v<OtherExtents, extents_type>)109 constexpr explicit(!is_convertible_v<OtherExtents, extents_type>)112 constexpr explicit(extents_type::rank() > 0)118 constexpr const extents_type& extents() const noexcept { return extents_; }139 extents_type extents_{}; // exposition only[all …]