Home
last modified time | relevance | path

Searched refs:element_type (Results 1 – 25 of 70) sorted by relevance

123

/freebsd/contrib/llvm-project/libcxx/include/
H A Dspan59 using element_type = ElementType;
63 using pointer = element_type*;
64 using const_pointer = const element_type*;
65 using reference = element_type&;
66 using const_reference = const element_type&;
78 constexpr span(type_identity_t<element_type> (&arr)[N]) noexcept;
93 constexpr span<element_type, Count> first() const;
95 constexpr span<element_type, Count> last() const;
97 constexpr span<element_type, see below> subspan() const;
99 constexpr span<element_type, dynamic_extent> first(size_type count) const;
[all …]
/freebsd/contrib/llvm-project/lldb/source/DataFormatters/
H A DVectorType.cpp27 CompilerType element_type, in GetCompilerTypeForFormat() argument
112 return element_type; in GetCompilerTypeForFormat()
127 CompilerType element_type) { in GetItemFormatForFormat() argument
162 bool is_char = element_type.IsCharType(); in GetItemFormatForFormat()
164 element_type.IsIntegerType(is_signed); in GetItemFormatForFormat()
199 CompilerType element_type) { in CalculateNumChildren() argument
208 element_type.GetByteSize(/* exe_scope */ nullptr)); in CalculateNumChildren()
259 CompilerType element_type; in Update() local
261 parent_type.IsVectorType(&element_type, &num_elements); in Update()
263 m_parent_format, element_type, in Update()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DMsvcStl.cpp32 template <StringElementType element_type>
34 switch (element_type) { in StringElementByteSize()
87 template <StringPrinter::StringElementType element_type>
93 ExtractMsvcStlStringInfo(valobj, StringElementByteSize<element_type>()); in MsvcStlStringSummaryProviderImpl()
98 return StringBufferSummaryProvider<element_type>( in MsvcStlStringSummaryProviderImpl()
101 template <StringPrinter::StringElementType element_type>
106 const bool success = MsvcStlStringSummaryProviderImpl<element_type>( in formatStringImpl()
H A DLibCxxUnorderedMap.cpp102 auto element_type = in GetElementType() local
107 if (isStdTemplate(element_type.GetTypeName(), "pair")) in GetElementType()
108 return element_type; in GetElementType()
122 element_type.GetFieldAtIndex(0, name, nullptr, nullptr, nullptr); in GetElementType()
128 return element_type; in GetElementType()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__memory/
H A Dpointer_traits.h44 _LIBCPP_CLASS_TRAITS_HAS_XXX(__has_element_type, element_type);
51 typedef _LIBCPP_NODEBUG typename _Ptr::element_type type;
56 typedef _LIBCPP_NODEBUG typename _Sp<_Tp, _Args...>::element_type type;
115 typedef typename __pointer_traits_element_type<pointer>::type element_type;
128 pointer_to(__conditional_t<is_void<element_type>::value, __nat, element_type>& __r) {
139 typedef _Tp element_type;
152 pointer_to(__conditional_t<is_void<element_type>::value, __nat, element_type>& __r) _NOEXCEPT {
H A Dshared_ptr.h393 typedef _Tp element_type;
400 element_type* __ptr_;
505 _LIBCPP_HIDE_FROM_ABI shared_ptr(const shared_ptr<_Yp>& __r, element_type* __p) _NOEXCEPT
541 template <class _Yp, __enable_if_t<is_convertible<_Yp*, element_type*>::value, int> = 0>
552 … is_convertible<typename unique_ptr<_Yp, _Dp>::pointer, element_type*>::value,
568 … is_convertible<typename unique_ptr<_Yp, _Dp>::pointer, element_type*>::value,
611 …if_t<!is_array<_Yp>::value && is_convertible<_Yp*, typename shared_ptr<_Tp>::element_type*>::value,
621 … is_convertible<typename unique_ptr<_Yp, _Dp>::pointer, element_type*> >::value,
653 _LIBCPP_HIDE_FROM_ABI element_type* get() const _NOEXCEPT { return __ptr_; }
655 …_LIBCPP_HIDE_FROM_ABI __add_lvalue_reference_t<element_type> operator*() const _NOEXCEPT { return …
[all …]
H A Dauto_ptr.h32 typedef _Tp element_type; typedef
83 typedef void element_type; typedef
H A Dunique_ptr.h117 typedef _Tp element_type;
261 typedef _Tp element_type;
286 (is_same<pointer, element_type*>::value &&
287 is_convertible<_FromElem (*)[], element_type (*)[]>::value) > {};
310 template <class _UPtr, class _Up, class _ElemT = typename _UPtr::element_type>
312 __enable_if_t< is_array<_Up>::value && is_same<pointer, element_type*>::value &&
314 is_convertible<_ElemT (*)[], element_type (*)[]>::value >;
/freebsd/contrib/llvm-project/libcxx/include/__memory/
H A Dpointer_traits.h46 _LIBCPP_CLASS_TRAITS_HAS_XXX(__has_element_type, element_type);
53 using type _LIBCPP_NODEBUG = typename _Ptr::element_type;
58 using type _LIBCPP_NODEBUG = typename _Sp<_Tp, _Args...>::element_type;
125 typedef typename __pointer_traits_element_type<pointer>::type element_type;
143 pointer_to(__conditional_t<is_void<element_type>::value, __nat, element_type>& __r) {
154 typedef _Tp element_type;
172 pointer_to(__conditional_t<is_void<element_type>::value, __nat, element_type>& __r) _NOEXCEPT {
268 using type _LIBCPP_NODEBUG = typename _Tp::element_type*;
275 using type _LIBCPP_NODEBUG = typename pointer_traits<_Tp>::element_type*;
312 using __element_type = typename __ptr_traits::element_type;
H A Dshared_ptr.h313 typedef remove_extent_t<_Tp> element_type;
315 typedef _Tp element_type;
325 element_type* __ptr_;
458 _LIBCPP_HIDE_FROM_ABI shared_ptr(const shared_ptr<_Yp>& __r, element_type* __p) _NOEXCEPT
469 _LIBCPP_HIDE_FROM_ABI shared_ptr(shared_ptr<_Yp>&& __r, element_type* __p) noexcept
506 template <class _Yp, __enable_if_t<is_convertible<_Yp*, element_type*>::value, int> = 0>
518 … is_convertible<typename unique_ptr<_Yp, _Dp>::pointer, element_type*>::value,
539 … is_convertible<typename unique_ptr<_Yp, _Dp>::pointer, element_type*>::value,
588 …if_t<!is_array<_Yp>::value && is_convertible<_Yp*, typename shared_ptr<_Tp>::element_type*>::value,
599 … is_convertible<typename unique_ptr<_Yp, _Dp>::pointer, element_type*> >::value,
[all …]
H A Dauto_ptr.h34 typedef _Tp element_type; typedef
85 typedef void element_type; typedef
/freebsd/contrib/llvm-project/libcxx/include/experimental/
H A Dmemory20 using element_type = W;
80 using element_type = _Wp;
85 _LIBCPP_HIDE_FROM_ABI constexpr explicit observer_ptr(element_type* __p) noexcept : __ptr_(__p) {}
91 _LIBCPP_HIDE_FROM_ABI constexpr element_type* get() const noexcept { return __ptr_; }
93 _LIBCPP_HIDE_FROM_ABI constexpr element_type* operator->() const noexcept { return __ptr_; }
97 …_LIBCPP_HIDE_FROM_ABI constexpr explicit operator element_type*() const noexcept { return __ptr_; }
100 _LIBCPP_HIDE_FROM_ABI constexpr void reset(element_type* __p = nullptr) noexcept { __ptr_ = __p; }
106 _LIBCPP_HIDE_FROM_ABI constexpr element_type* release() noexcept {
113 element_type* __ptr_;
H A Dpropagate_const57 typedef remove_reference_t<decltype(*declval<T&>())> element_type;
74 constexpr const element_type* operator->() const;
75 constexpr operator const element_type*() const; // Not always defined
76 constexpr const element_type& operator*() const;
77 constexpr const element_type* get() const;
80 constexpr element_type* operator->();
81 constexpr operator element_type*(); // Not always defined
82 constexpr element_type& operator*();
83 constexpr element_type* get();
161 typedef remove_reference_t<decltype(*std::declval<_Tp&>())> element_type;
[all …]
/freebsd/contrib/llvm-project/libc/src/__support/CPP/
H A Dspan.h42 using element_type = T;
102 LIBC_INLINE constexpr span<element_type>
104 return span<element_type>(data() + offset, count_to_size(offset, count));
107 LIBC_INLINE constexpr span<element_type> first(size_type count) const { in first()
111 LIBC_INLINE constexpr span<element_type> last(size_type count) const { in last()
112 return span<element_type>(data() + (size() - count), count); in last()
/freebsd/contrib/llvm-project/libcxx/include/__mdspan/
H A Daligned_accessor.h49 using element_type = _ElementType; member
58 …requires(is_convertible_v<_OtherElementType (*)[], element_type (*)[]> && _OtherByteAlignment >= b…
62 requires(is_convertible_v<_OtherElementType (*)[], element_type (*)[]>) in requires()
66 requires(is_convertible_v<element_type (*)[], _OtherElementType (*)[]>) in requires()
H A Ddefault_accessor.h44 using element_type = _ElementType; member
50 requires(is_convertible_v<_OtherElementType (*)[], element_type (*)[]>) in requires()
H A Dmdspan.h71 static_assert(is_same_v<_ElementType, typename _AccessorPolicy::element_type>,
82 using element_type = _ElementType; variable
83 using value_type = remove_cv_t<element_type>;
307 -> mdspan<typename _AccessorType::element_type,
/freebsd/contrib/llvm-project/libcxx/include/__iterator/
H A Dreadable_traits.h45 concept __has_member_element_type = requires { typename _Tp::element_type; };
66 struct indirectly_readable_traits<_Tp> : __cond_value_type<typename _Tp::element_type> {};
74 same_as<remove_cv_t<typename _Tp::element_type>, remove_cv_t<typename _Tp::value_type>>
H A Dbounded_iter.h281 using element_type = typename pointer_traits<_Iterator>::element_type;
284 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR static element_type* to_address(pointer __it) _NOEXCEPT {
H A Dwrap_iter.h241 typedef typename pointer_traits<_It>::element_type element_type;
244 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR static element_type* to_address(pointer __w) _NOEXCEPT {
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__iterator/
H A Dbounded_iter.h235 using element_type = typename pointer_traits<_Iterator>::element_type;
238 _LIBCPP_HIDE_FROM_ABI static element_type* to_address(pointer __it) _NOEXCEPT {
H A Dwrap_iter.h180 typedef typename pointer_traits<_It>::element_type element_type;
183 …_LIBCPP_HIDE_FROM_ABI static element_type* to_address(pointer __w) _NOEXCEPT { return std::__to_ad…
/freebsd/contrib/llvm-project/lldb/include/lldb/DataFormatters/
H A DStringPrinter.h148 template <StringElementType element_type>
152 template <StringElementType element_type>
/freebsd/sbin/camcontrol/
H A Dattrib.c120 int element_type = ELEMENT_TYPE_ALL; in scsiattrib() local
271 element_type = elem_type_map[entry_num].value; in scsiattrib()
320 /*elem_type*/ element_type, in scsiattrib()
/freebsd/bin/chio/
H A Ddefs.h36 struct element_type { struct

123