Home
last modified time | relevance | path

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

12

/src/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 …]
/src/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()
258 CompilerType element_type; in Update() local
260 parent_type.IsVectorType(&element_type, &num_elements); in Update()
262 m_parent_format, element_type, in Update()
[all …]
/src/contrib/llvm-project/libcxx/include/__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;
123 typedef typename __pointer_traits_element_type<pointer>::type element_type;
141 pointer_to(__conditional_t<is_void<element_type>::value, __nat, element_type>& __r) {
152 typedef _Tp element_type;
170 pointer_to(__conditional_t<is_void<element_type>::value, __nat, element_type>& __r) _NOEXCEPT {
266 using type = typename _Tp::element_type*;
273 using type = typename pointer_traits<_Tp>::element_type*;
H A Dshared_ptr.h422 typedef remove_extent_t<_Tp> element_type;
424 typedef _Tp element_type;
432 element_type* __ptr_;
565 _LIBCPP_HIDE_FROM_ABI shared_ptr(const shared_ptr<_Yp>& __r, element_type* __p) _NOEXCEPT
576 _LIBCPP_HIDE_FROM_ABI shared_ptr(shared_ptr<_Yp>&& __r, element_type* __p) noexcept
613 template <class _Yp, __enable_if_t<is_convertible<_Yp*, element_type*>::value, int> = 0>
625 … is_convertible<typename unique_ptr<_Yp, _Dp>::pointer, element_type*>::value,
646 … is_convertible<typename unique_ptr<_Yp, _Dp>::pointer, element_type*>::value,
695 …if_t<!is_array<_Yp>::value && is_convertible<_Yp*, typename shared_ptr<_Tp>::element_type*>::value,
706 … 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
H A Dunique_ptr.h140 typedef _Tp element_type;
301 typedef _Tp element_type;
326 (is_same<pointer, element_type*>::value &&
327 is_convertible<_FromElem (*)[], element_type (*)[]>::value) > {};
350 template <class _UPtr, class _Up, class _ElemT = typename _UPtr::element_type>
352 __enable_if_t< is_array<_Up>::value && is_same<pointer, element_type*>::value &&
354 is_convertible<_ElemT (*)[], element_type (*)[]>::value >;
/src/contrib/llvm-project/libcxx/include/experimental/
H A Dmemory20 using element_type = W;
75 using element_type = _Wp;
80 _LIBCPP_HIDE_FROM_ABI constexpr explicit observer_ptr(element_type* __p) noexcept : __ptr_(__p) {}
86 _LIBCPP_HIDE_FROM_ABI constexpr element_type* get() const noexcept { return __ptr_; }
88 _LIBCPP_HIDE_FROM_ABI constexpr element_type* operator->() const noexcept { return __ptr_; }
92 …_LIBCPP_HIDE_FROM_ABI constexpr explicit operator element_type*() const noexcept { return __ptr_; }
95 _LIBCPP_HIDE_FROM_ABI constexpr void reset(element_type* __p = nullptr) noexcept { __ptr_ = __p; }
101 _LIBCPP_HIDE_FROM_ABI constexpr element_type* release() noexcept {
108 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();
156 typedef remove_reference_t<decltype(*std::declval<_Tp&>())> element_type;
[all …]
/src/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.h271 using element_type = typename pointer_traits<_Iterator>::element_type;
274 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR static element_type* to_address(pointer __it) _NOEXCEPT {
H A Dwrap_iter.h234 typedef typename pointer_traits<_It>::element_type element_type;
237 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR static element_type* to_address(pointer __w) _NOEXCEPT {
/src/contrib/llvm-project/libcxx/include/__mdspan/
H A Ddefault_accessor.h45 using element_type = _ElementType; member
51 requires(is_convertible_v<_OtherElementType (*)[], element_type (*)[]>) in requires()
H A Dmdspan.h72 static_assert(is_same_v<_ElementType, typename _AccessorPolicy::element_type>,
83 using element_type = _ElementType; variable
84 using value_type = remove_cv_t<element_type>;
308 -> mdspan<typename _AccessorType::element_type,
/src/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DLibCxx.cpp581 template <StringPrinter::StringElementType element_type>
622 return StringPrinter::ReadBufferAndDumpToStream<element_type>(options); in LibcxxStringSummaryProvider()
625 template <StringPrinter::StringElementType element_type>
637 return LibcxxStringSummaryProvider<element_type>( in LibcxxStringSummaryProvider()
640 template <StringPrinter::StringElementType element_type>
645 const bool success = LibcxxStringSummaryProvider<element_type>( in formatStringImpl()
695 template <StringPrinter::StringElementType element_type>
710 return LibcxxStringSummaryProvider<element_type>( in formatStringViewImpl()
/src/contrib/llvm-project/lldb/include/lldb/DataFormatters/
H A DStringPrinter.h148 template <StringElementType element_type>
152 template <StringElementType element_type>
/src/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()
/src/bin/chio/
H A Ddefs.h36 struct element_type { struct
/src/contrib/llvm-project/compiler-rt/lib/orc/
H A Dsimple_packed_serialization.h268 using element_type = char; variable
297 using element_type = typename std::vector<T>::value_type; variable
323 using element_type = std::pair<K, V>; variable
328 static bool append(std::unordered_map<K, V> &M, element_type E) { in append()
364 typename TBSD::element_type E; in deserialize()
H A Dadt.h29 typedef T element_type; typedef
/src/contrib/llvm-project/lldb/source/Symbol/
H A DCompilerType.cpp68 bool CompilerType::IsVectorType(CompilerType *element_type, in IsVectorType() argument
72 return type_system_sp->IsVectorType(m_type, element_type, size); in IsVectorType()
313 CompilerType element_type; in IsArrayOfScalarType() local
314 if (IsArrayType(&element_type)) in IsArrayOfScalarType()
315 return element_type.IsScalarType(); in IsArrayOfScalarType()
/src/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCTypeEncodingParser.cpp158 clang::QualType element_type(BuildType(ast_ctx, type, for_expression)); in BuildArray() local
162 CompilerType(ast_ctx.weak_from_this(), element_type.getAsOpaquePtr()), in BuildArray()
/src/contrib/llvm-project/llvm/lib/Support/
H A DSignposts.cpp42 using LogTy = LogPtrTy::element_type;
/src/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DSimplePackedSerialization.h277 using element_type = char; variable
299 using element_type = typename std::vector<T>::value_type; variable
321 using element_type = typename SmallVectorImpl<T>::value_type; variable
409 typename TBSD::element_type E; in deserialize()
/src/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DCompilerType.h121 bool IsArrayType(CompilerType *element_type = nullptr,
125 bool IsVectorType(CompilerType *element_type = nullptr,
/src/contrib/googletest/googlemock/include/gmock/internal/
H A Dgmock-internal-utils.h79 inline const typename Pointer::element_type* GetRawPointer(const Pointer& p) { in GetRawPointer()
385 typename std::pointer_traits<ElementPointer>::element_type>::type

12