Home
last modified time | relevance | path

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

1234

/openbsd-src/gnu/llvm/libcxx/include/
H A Dspan45 using element_type = ElementType;
49 using pointer = element_type*;
50 using const_pointer = const element_type*;
51 using reference = element_type&;
52 using const_reference = const element_type&;
64 constexpr span(type_identity_t<element_type> (&arr)[N]) noexcept;
79 constexpr span<element_type, Count> first() const;
81 constexpr span<element_type, Count> last() const;
83 constexpr span<element_type, see below> subspan() const;
85 constexpr span<element_type, dynamic_extent> first(size_type count) const;
[all …]
/openbsd-src/gnu/lib/libstdc++/libstdc++/include/std/
H A Dstd_memory.h174 typedef _Tp element_type; typedef
183 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } in throw()
261 element_type&
270 element_type*
283 element_type*
297 element_type*
300 element_type* __tmp = _M_ptr; in release()
313 reset(element_type* __p = 0) throw() in throw()
333 auto_ptr(auto_ptr_ref<element_type> __ref) throw() in throw()
337 operator=(auto_ptr_ref<element_type> __ref) throw() in throw()
/openbsd-src/gnu/gcc/libstdc++-v3/include/std/
H A Dstd_memory.h181 typedef _Tp element_type; typedef
190 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } in throw()
269 element_type&
282 element_type*
299 element_type*
313 element_type*
316 element_type* __tmp = _M_ptr; in release()
329 reset(element_type* __p = 0) throw() in throw()
349 auto_ptr(auto_ptr_ref<element_type> __ref) throw() in throw()
353 operator=(auto_ptr_ref<element_type> __ref) throw() in throw()
/openbsd-src/gnu/llvm/llvm/utils/
H A Dshuffle_fuzz.py51 (width, element_type) = random.choice(
55 (width, element_type) = random.choice(
61 element_type = random.choice(element_types)
65 'f32': 1 << 32, 'f64': 1 << 64}[element_type]
115 (args.seed, width, element_type)), file=sys.stderr)
145 integral_element_type = element_type
146 if element_type == 'f32':
148 element_type = 'float'
149 elif element_type == 'f64':
151 element_type = 'double'
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D20001203-2.c47 create_array_type (struct type *result_type, struct type *element_type) in create_array_type() argument
56 (element_type)->length * (high_bound - low_bound + 1); in create_array_type()
113 struct type element_type; in main() local
116 memset (&element_type, 0, sizeof (struct type)); in main()
118 element_type.length = 4; in main()
119 create_array_type (&result_type, &element_type); in main()
/openbsd-src/gnu/llvm/lldb/source/DataFormatters/
H A DVectorType.cpp26 CompilerType element_type, in GetCompilerTypeForFormat() argument
111 return element_type; in GetCompilerTypeForFormat()
126 CompilerType element_type) { in GetItemFormatForFormat() argument
161 bool is_char = element_type.IsCharType(); in GetItemFormatForFormat()
163 element_type.IsIntegerType(is_signed); in GetItemFormatForFormat()
173 CompilerType container_type, CompilerType element_type, in CalculateNumChildren() argument
179 std::optional<uint64_t> element_size = element_type.GetByteSize(exe_scope); in CalculateNumChildren()
223 CompilerType element_type; in Update() local
224 parent_type.IsVectorType(&element_type); in Update()
226 m_parent_format, element_type, in Update()
/openbsd-src/gnu/llvm/libcxx/include/__memory/
H A Dpointer_traits.h35 struct __has_element_type<_Tp, __void_t<typename _Tp::element_type> > : true_type {};
43 typedef _LIBCPP_NODEBUG typename _Ptr::element_type type;
49 typedef _LIBCPP_NODEBUG typename _Sp<_Tp, _Args...>::element_type type;
118 typedef typename __pointer_traits_element_type<pointer>::type element_type;
132 … static pointer pointer_to(__conditional_t<is_void<element_type>::value, __nat, element_type>& __r)
140 typedef _Tp element_type;
153 …static pointer pointer_to(__conditional_t<is_void<element_type>::value, __nat, element_type>& __r)…
H A Dshared_ptr.h464 typedef remove_extent_t<_Tp> element_type;
466 typedef _Tp element_type;
470 element_type* __ptr_;
624 shared_ptr(const shared_ptr<_Yp>& __r, element_type *__p) _NOEXCEPT
681 template<class _Yp, class = __enable_if_t<is_convertible<_Yp*, element_type*>::value> >
696 is_convertible<typename unique_ptr<_Yp, _Dp>::pointer, element_type*>::value
719 is_convertible<typename unique_ptr<_Yp, _Dp>::pointer, element_type*>::value
781 is_convertible<_Yp*, typename shared_ptr<_Tp>::element_type*>::value
793 is_convertible<typename unique_ptr<_Yp, _Dp>::pointer, element_type*>
841 element_type* get() const _NOEXCEPT
[all …]
H A Dauto_ptr.h35 typedef _Tp element_type; typedef
77 typedef void element_type; typedef
H A Dunique_ptr.h126 typedef _Tp element_type;
309 typedef _Tp element_type;
323 (is_same<pointer, element_type*>::value &&
324 is_convertible<_FromElem(*)[], element_type(*)[]>::value)
358 class _ElemT = typename _UPtr::element_type>
361 is_same<pointer, element_type*>::value &&
363 is_convertible<_ElemT(*)[], element_type(*)[]>::value
/openbsd-src/gnu/llvm/libcxx/include/experimental/
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();
142 typedef remove_reference_t<decltype(*std::declval<_Tp&>())> element_type;
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/java/
H A Dtypeck.c359 build_prim_array_type (element_type, length) in build_prim_array_type() argument
360 tree element_type; in build_prim_array_type()
371 return build_array_type (element_type, index);
379 build_java_array_type (element_type, length) in build_java_array_type() argument
380 tree element_type; in build_java_array_type()
385 tree elsig = build_java_signature (element_type);
386 tree el_name = element_type;
412 if (TREE_CODE (element_type) == RECORD_TYPE)
413 element_type = promote_type (element_type);
414 TYPE_ARRAY_ELEMENT (t) = element_type;
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Analysis/models/
H A Dlog_reader.py31 element_type: type
45 element_type=_element_types[element_type_str])
54 ctypes.POINTER(self._spec.element_type))
70 size = math.prod(ts.shape) * ctypes.sizeof(ts.element_type)
/openbsd-src/gnu/llvm/libcxx/include/__iterator/
H A Dreadable_traits.h42 concept __has_member_element_type = requires { typename _Tp::element_type; };
64 : __cond_value_type<typename _Tp::element_type> {};
72 same_as<remove_cv_t<typename _Tp::element_type>,
H A Dbounded_iter.h221 using element_type = typename pointer_traits<_Iterator>::element_type;
224 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR static element_type* to_address(pointer __it) _NOEXCEPT {
H A Dwrap_iter.h275 typedef typename pointer_traits<_It>::element_type element_type;
279 static element_type *to_address(pointer __w) _NOEXCEPT {
/openbsd-src/gnu/llvm/lldb/tools/debugserver/source/MacOSX/
H A DCFUtils.h26 typedef T element_type; typedef
71 element_type _ptr;
/openbsd-src/gnu/llvm/lldb/examples/synthetic/
H A Dgnu_libstdcpp.py446 element_type = self.start_p.GetType().GetPointeeType()
447 element_bits = 8 * element_type.GetByteSize()
449 element_type.GetByteSize()
452 '[' + str(index) + ']', element_offset, element_type)
700 self.element_type = self.valobj.GetType().GetTemplateArgumentType(0)
701 if not self.element_type.IsValid():
703 self.element_size = self.element_type.GetByteSize()
742 … return self.first_elem.CreateChildAtOffset(name, index * self.element_size, self.element_type)
752 self.element_type.GetPointerType())
753 return node.CreateChildAtOffset(name, j * self.element_size, self.element_type)
/openbsd-src/gnu/gcc/libstdc++-v3/include/tr1/
H A Dboost_shared_ptr.h506 typedef _Tp element_type; typedef
600 : _M_ptr(static_cast<element_type*>(__r._M_ptr)), in __shared_ptr()
606 : _M_ptr(const_cast<element_type*>(__r._M_ptr)), in __shared_ptr()
612 : _M_ptr(dynamic_cast<element_type*>(__r._M_ptr)), in __shared_ptr()
790 typedef _Tp element_type; typedef
849 return __shared_ptr<element_type, _Lp>(); in lock()
853 return __shared_ptr<element_type, _Lp>(*this); in lock()
860 return __shared_ptr<element_type>(); in lock()
865 return expired() ? __shared_ptr<element_type, _Lp>() in lock()
866 : __shared_ptr<element_type, _Lp>(*this); in lock()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Language/CPlusPlus/
H A DLibCxx.cpp908 template <StringPrinter::StringElementType element_type>
949 return StringPrinter::ReadBufferAndDumpToStream<element_type>(options); in LibcxxStringSummaryProvider()
952 template <StringPrinter::StringElementType element_type>
964 return LibcxxStringSummaryProvider<element_type>( in LibcxxStringSummaryProvider()
967 template <StringPrinter::StringElementType element_type>
972 const bool success = LibcxxStringSummaryProvider<element_type>( in formatStringImpl()
1022 template <StringPrinter::StringElementType element_type>
1037 return LibcxxStringSummaryProvider<element_type>( in formatStringViewImpl()
/openbsd-src/gnu/llvm/lldb/include/lldb/DataFormatters/
H A DStringPrinter.h148 template <StringElementType element_type>
152 template <StringElementType element_type>
/openbsd-src/bin/chio/
H A Ddefs.h36 struct element_type { struct
/openbsd-src/gnu/llvm/clang/bindings/python/tests/cindex/
H A Dtest_type.py297 self.assertEqual(c.type.element_type.kind, TypeKind.INT)
299 self.assertEqual(i.type.element_type.kind, TypeKind.INT)
301 self.assertEqual(v.type.element_type.kind, TypeKind.INT)
309 i.element_type
433 self.assertEqual(a.element_type.kind, TypeKind.INT)
/openbsd-src/gnu/llvm/compiler-rt/lib/orc/
H A Dsimple_packed_serialization.h268 using element_type = char; variable
290 using element_type = typename std::vector<T>::value_type; variable
316 using element_type = std::pair<K, V>; variable
321 static bool append(std::unordered_map<K, V> &M, element_type E) { in append()
357 typename TBSD::element_type E; in deserialize()
/openbsd-src/gnu/llvm/lldb/source/Symbol/
H A DCompilerType.cpp69 bool CompilerType::IsVectorType(CompilerType *element_type, in IsVectorType() argument
73 return type_system_sp->IsVectorType(m_type, element_type, size); in IsVectorType()
293 CompilerType element_type; in IsArrayOfScalarType() local
294 if (IsArrayType(&element_type)) in IsArrayOfScalarType()
295 return element_type.IsScalarType(); in IsArrayOfScalarType()

1234