Home
last modified time | relevance | path

Searched refs:value_type (Results 1 – 25 of 406) sorted by relevance

12345678910>>...17

/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DEndian.h43 template <typename value_type>
44 [[nodiscard]] inline value_type byte_swap(value_type value, endianness endian) { in byte_swap()
51 template <typename value_type, endianness endian>
52 [[nodiscard]] inline value_type byte_swap(value_type value) { in byte_swap()
57 template <typename value_type, std::size_t alignment = unaligned>
58 [[nodiscard]] inline value_type read(const void *memory, endianness endian) { in read()
59 value_type ret; in read()
63 memory, (detail::PickAlignment<value_type, alignment>::value)), in read()
64 sizeof(value_type)); in read()
65 return byte_swap<value_type>(ret, endian); in read()
[all …]
H A DEndianStream.h27 template <typename value_type>
28 inline void write_array(raw_ostream &os, ArrayRef<value_type> values,
31 value_type value = byte_swap<value_type>(orig, endian); in write()
32 os.write((const char *)&value, sizeof(value_type)); in write()
36 template <typename value_type>
37 inline void write(raw_ostream &os, value_type value, endianness endian) {
38 value = byte_swap<value_type>(value, endian);
39 os.write((const char *)&value, sizeof(value_type));
53 template <typename value_type> in write()
[all...]
/freebsd/contrib/llvm-project/libcxx/include/
H A Dvalarray23 typedef T value_type;
28 valarray(const value_type& x, size_t n);
29 valarray(const value_type* px, size_t n);
32 valarray(const slice_array<value_type>& sa);
33 valarray(const gslice_array<value_type>& ga);
34 valarray(const mask_array<value_type>& ma);
35 valarray(const indirect_array<value_type>& ia);
36 valarray(initializer_list<value_type> il);
42 valarray& operator=(initializer_list<value_type> il);
43 valarray& operator=(const value_type& x);
[all …]
H A Datomic64 using value_type = T;
115 using value_type = integral;
116 using difference_type = value_type;
198 using value_type = T*;
267 using value_type = floating-point-type;
268 using difference_type = value_type;
338 void atomic_store(volatile atomic<T>*, atomic<T>::value_type) noexcept;
340 void atomic_store(atomic<T>*, atomic<T>::value_type) noexcept;
342 void atomic_store_explicit(volatile atomic<T>*, atomic<T>::value_type,
345 void atomic_store_explicit(atomic<T>*, atomic<T>::value_type,
[all …]
H A Dstring89 typedef typename traits_type::char_type value_type;
122 …basic_string(const value_type* s, const allocator_type& a = allocator_type()); // con…
123 …basic_string(const value_type* s, size_type n, const allocator_type& a = allocator_type()); // con…
125 …basic_string(size_type n, value_type c, const allocator_type& a = allocator_type()); // con…
131 …basic_string(initializer_list<value_type>, const Allocator& = Allocator()); // con…
146 …basic_string& operator=(const value_type* s); // con…
148 …basic_string& operator=(value_type c); // con…
149 …basic_string& operator=(initializer_list<value_type>); // con…
171 …void resize(size_type n, value_type c); // con…
192 …basic_string& operator+=(const value_type* s); // con…
[all …]
H A Dunordered_set31 typedef key_type value_type;
35 typedef value_type& reference;
36 typedef const value_type& const_reference;
63 template<container-compatible-range<value_type> R>
76 unordered_set(initializer_list<value_type>, size_type n = 0,
86 template<container-compatible-range<value_type> R>
89 template<container-compatible-range<value_type> R>
92 unordered_set(initializer_list<value_type> il, size_type n, const allocator_type& a); // C++14
93 unordered_set(initializer_list<value_type> il, size_type n,
103 unordered_set& operator=(initializer_list<value_type>);
[all …]
H A Dset27 typedef key_type value_type;
59 template<container-compatible-range<value_type> R>
69 set(initializer_list<value_type> il, const value_compare& comp = value_compare());
70 set(initializer_list<value_type> il, const value_compare& comp,
75 template<container-compatible-range<value_type> R>
78 set(initializer_list<value_type> il, const allocator_type& a)
88 set& operator=(initializer_list<value_type> il);
116 pair<iterator,bool> insert(const value_type& v);
117 pair<iterator,bool> insert(value_type&& v);
118 iterator insert(const_iterator position, const value_type& v);
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__string/
H A Dextern_template_lists.h33 _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::replace(size_type, size_type, value_type const*, size_type)) \
34 _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type basic_string<_CharType>::rfind(value_type const*, size_type, size_type) const) \
35 _Func(_LIBCPP_EXPORTED_FROM_ABI void basic_string<_CharType>::__init(value_type const*, size_type, size_type)) \
37 _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::replace(size_type, size_type, value_type const*)) \
39 _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type basic_string<_CharType>::find_last_not_of(value_type const*, size_type, size_type) const) \
41 _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type basic_string<_CharType>::find_first_not_of(value_type const*, size_type, size_type) const) \
42 _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::insert(size_type, size_type, value_type)) \
43 _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::operator=(value_type)) \
44 _Func(_LIBCPP_EXPORTED_FROM_ABI void basic_string<_CharType>::__init(value_type const*, size_type)) \
46 _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::insert(size_type, value_type cons
[all...]
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/
H A Dstable_sort.h41 typename iterator_traits<_BidirectionalIterator>::value_type* __first2, in __insertion_sort_move()
45 typedef typename iterator_traits<_BidirectionalIterator>::value_type value_type; in __insertion_sort_move() typedef
48 unique_ptr<value_type, __destruct_n&> __h(__first2, __d); in __insertion_sort_move()
49 value_type* __last2 = __first2; in __insertion_sort_move()
50 ::new ((void*)__last2) value_type(_Ops::__iter_move(__first1)); in __insertion_sort_move()
51 __d.template __incr<value_type>(); in __insertion_sort_move()
53 value_type* __j2 = __last2; in __insertion_sort_move()
54 value_type* __i2 = __j2; in __insertion_sort_move()
56 ::new ((void*)__j2) value_type(std::move(*__i2)); in __insertion_sort_move()
57 __d.template __incr<value_type>(); in __insertion_sort_move()
[all …]
H A Dstable_partition.h57 typedef typename iterator_traits<_ForwardIterator>::value_type value_type; in __stable_partition_impl()
59 unique_ptr<value_type, __destruct_n&> __h(__p.first, __d); in __stable_partition_impl()
62 value_type* __t = __p.first; in __stable_partition_impl()
63 ::new ((void*)__t) value_type(_Ops::__iter_move(__first)); in __stable_partition_impl()
64 __d.template __incr<value_type>(); in __stable_partition_impl()
72 ::new ((void*)__t) value_type(_Ops::__iter_move(__i)); in __stable_partition_impl()
73 __d.template __incr<value_type>(); in __stable_partition_impl()
80 for (value_type* __t2 = __p.first; __t2 < __t; ++__t2, (void)++__i) in __stable_partition_impl()
121 typedef typename iterator_traits<_ForwardIterator>::value_type value_typ
54 typedef typename iterator_traits<_ForwardIterator>::value_type value_type; __stable_partition_impl() typedef
126 typedef typename iterator_traits<_ForwardIterator>::value_type value_type; __stable_partition_impl() typedef
185 typedef typename iterator_traits<_BidirectionalIterator>::value_type value_type; __stable_partition_impl() typedef
272 typedef typename iterator_traits<_BidirectionalIterator>::value_type value_type; __stable_partition_impl() typedef
[all...]
H A Drotate.h34 typedef typename iterator_traits<_ForwardIterator>::value_type value_type; in __rotate_left() typedef
37 value_type __tmp = _Ops::__iter_move(__first); in __rotate_left()
46 typedef typename iterator_traits<_BidirectionalIterator>::value_type value_type; in __rotate_right() typedef
50 value_type __tmp = _Ops::__iter_move(__lm1); in __rotate_right()
99 typedef typename iterator_traits<_RandomAccessIterator>::value_type value_type; in __rotate_gcd() typedef
110 value_type __t(_Ops::__iter_move(--__p)); in __rotate_gcd()
130 typedef typename iterator_traits<_ForwardIterator>::value_type value_type; in __rotate_impl() typedef
131 if (is_trivially_move_assignable<value_type>::value) { in __rotate_impl()
144 typedef typename iterator_traits<_BidirectionalIterator>::value_type value_type; in __rotate_impl() typedef
145 if (is_trivially_move_assignable<value_type>::value) { in __rotate_impl()
[all …]
H A Dinplace_merge.h102 typename iterator_traits<_BidirectionalIterator>::value_type* __buff) { in __buffered_inplace_merge()
103 typedef typename iterator_traits<_BidirectionalIterator>::value_type value_type; in __buffered_inplace_merge() typedef
105 unique_ptr<value_type, __destruct_n&> __h2(__buff, __d); in __buffered_inplace_merge()
107 value_type* __p = __buff; in __buffered_inplace_merge()
109 __d.template __incr<value_type>(), (void)++__i, (void)++__p) in __buffered_inplace_merge()
110 ::new ((void*)__p) value_type(_IterOps<_AlgPolicy>::__iter_move(__i)); in __buffered_inplace_merge()
113 value_type* __p = __buff; in __buffered_inplace_merge()
115 __d.template __incr<value_type>(), (void)++__i, (void)++__p) in __buffered_inplace_merge()
116 ::new ((void*)__p) value_type(_IterOps<_AlgPolicy>::__iter_move(__i)); in __buffered_inplace_merge()
118 typedef reverse_iterator<value_type*> _Rv; in __buffered_inplace_merge()
[all …]
/freebsd/contrib/kyua/utils/config/
H A Dnodes.hpp123 typedef ValueType value_type; typedef in utils::config::typed_leaf_node
132 const value_type& value(void) const;
135 value_type& value(void);
138 void set(const value_type&);
142 optional< value_type > _value;
145 virtual void validate(const value_type&) const;
183 virtual void validate(const value_type&) const;
205 typedef std::set< ValueType > value_type; typedef in utils::config::base_set_node
219 const value_type& value(void) const;
226 value_type& value(void);
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__functional/
H A Dboyer_moore_searcher.h43 using value_type = _Value;
46 const value_type __default_value_;
51 size_t __sz, value_type __default_value, _Hash __hash, _BinaryPredicate __pred)
54 _LIBCPP_HIDE_FROM_ABI void insert(const key_type& __key, value_type __val) { __table_[__key] = __val; }
56 _LIBCPP_HIDE_FROM_ABI value_type operator[](const key_type& __key) const {
66 using value_type = _Value;
70 std::array<value_type, 256> __table_;
74 _LIBCPP_HIDE_FROM_ABI explicit _BMSkipTable(size_t, value_type __default_value, _Hash, _BinaryPredicate) {
78 _LIBCPP_HIDE_FROM_ABI void insert(key_type __key, value_type __val) {
82 _LIBCPP_HIDE_FROM_ABI value_type operato
106 using value_type = typename std::iterator_traits<_RandomAccessIterator1>::value_type; global() variable
238 using value_type = typename iterator_traits<_RandomAccessIterator1>::value_type; global() variable
[all...]
/freebsd/contrib/llvm-project/libcxx/include/__atomic/
H A Datomic.h38 using value_type = _Tp; member
39 using difference_type = value_type;
67 using value_type = _Tp*;
194 using value_type = _Tp;
195 using difference_type = value_type;
270 atomic_init(volatile atomic<_Tp>* __o, typename atomic<_Tp>::value_type __d) _NOEXCEPT {
276 atomic_init(atomic<_Tp>* __o, typename atomic<_Tp>::value_type __d) _NOEXCEPT {
283 _LIBCPP_HIDE_FROM_ABI void atomic_store(volatile atomic<_Tp>* __o, typename atomic<_Tp>::value_type
288 _LIBCPP_HIDE_FROM_ABI void atomic_store(atomic<_Tp>* __o, typename atomic<_Tp>::value_type __d) _NO…
296 atomic_store_explicit(volatile atomic<_Tp>* __o, typename atomic<_Tp>::value_type __d, memory_order…
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DContinuousRangeMap.h39 using value_type = std::pair<Int, V>;
40 using reference = value_type &;
41 using const_reference = const value_type &;
42 using pointer = value_type *;
43 using const_pointer = const value_type *;
46 using Representation = SmallVector<value_type, InitialCapacity>;
66 void insert(const value_type &Val) { in insert()
75 void insertOrReplace(const value_type &Val) { in insertOrReplace()
134 void insert(const value_type &Val) { in insert()
/freebsd/contrib/llvm-project/libcxx/include/experimental/__simd/
H A Dsimd.h38 using value_type = _Tp;
39 using reference = __simd_reference<_Tp, _Storage, value_type>;
43 …static _LIBCPP_HIDE_FROM_ABI constexpr size_t size() noexcept { return simd_size_v<value_type, abi… in size()
48 template <class _Up, enable_if_t<__can_broadcast_v<value_type, __remove_cvref_t<_Up>>, int> = 0>
49 …_LIBCPP_HIDE_FROM_ABI simd(_Up&& __v) noexcept : __s_(_Impl::__broadcast(static_cast<value_type>(_… in simd()
54 __is_non_narrowing_convertible_v<_Up, value_type>,
58 (*this)[__i] = static_cast<value_type>(__v[__i]); in simd()
63 …template <class _Generator, enable_if_t<__can_generate_v<value_type, _Generator, size()>, int> = 0>
86 _LIBCPP_HIDE_FROM_ABI value_type operator[](size_t __i) const noexcept { return __s_.__get(__i); }
H A Dsimd_mask.h35 using value_type = bool;
36 using reference = __simd_reference<_Tp, _Storage, value_type>;
45 …_LIBCPP_HIDE_FROM_ABI explicit simd_mask(value_type __v) noexcept : __s_(_Impl::__broadcast(__v)) … in simd_mask()
57 _LIBCPP_HIDE_FROM_ABI simd_mask(const value_type* __mem, _Flags) { in simd_mask()
63 _LIBCPP_HIDE_FROM_ABI void copy_from(const value_type* __mem, _Flags) { in copy_from()
68 _LIBCPP_HIDE_FROM_ABI void copy_to(value_type* __mem, _Flags) const { in copy_to()
74 _LIBCPP_HIDE_FROM_ABI value_type operator[](size_t __i) const noexcept { return __s_.__get(__i); }
/freebsd/contrib/jemalloc/include/jemalloc/internal/
H A Demitter.h118 emitter_type_t value_type, const void *value) { in emitter_print_value() argument
136 switch (value_type) { in emitter_print_value()
251 emitter_json_value(emitter_t *emitter, emitter_type_t value_type, in emitter_json_value() argument
256 value_type, value); in emitter_json_value()
264 emitter_type_t value_type, const void *value) { in emitter_json_kv() argument
266 emitter_json_value(emitter, value_type, value); in emitter_json_kv()
345 emitter_type_t value_type, const void *value, in emitter_table_kv_note() argument
352 value_type, value); in emitter_table_kv_note()
366 emitter_type_t value_type, const void *value) { in emitter_table_kv() argument
367 emitter_table_kv_note(emitter, table_key, value_type, value, NULL, in emitter_table_kv()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/
H A Dinterval_set.h33 using value_type = std::pair<KeyT, KeyT>;
39 using value_type = IntervalSet::value_type; variable
40 using pointer = const value_type *;
41 using reference = const value_type &;
45 const value_type &operator*() const { return I->first; }
46 const value_type *operator->() const { return &I->first; }
/freebsd/contrib/llvm-project/libcxx/include/__iterator/
H A Daliasing_iterator.h35 using __base_value_type = typename __iter_traits::value_type;
42 using value_type = _Alias; member
44 using reference = value_type&;
45 using pointer = value_type*;
47 static_assert(is_trivial<value_type>::value);
48 static_assert(sizeof(__base_value_type) == sizeof(value_type));
105 __builtin_memcpy(&__val, std::__to_address(__base_), sizeof(value_type));
109 …_LIBCPP_HIDE_FROM_ABI value_type operator[](difference_type __n) const _NOEXCEPT { return *(*this …
H A Dreadable_traits.h38 using value_type = remove_cv_t<_Tp>;
42 concept __has_member_value_type = requires { typename _Tp::value_type; };
53 using value_type = remove_cv_t<remove_extent_t<_Ip>>;
63 struct indirectly_readable_traits<_Tp> : __cond_value_type<typename _Tp::value_type> {};
74 same_as<remove_cv_t<typename _Tp::element_type>, remove_cv_t<typename _Tp::value_type>>
75 struct indirectly_readable_traits<_Tp> : __cond_value_type<typename _Tp::value_type> {};
H A Diterator_traits.h118 __void_t<typename _Up::value_type>* = nullptr,
166 typename indirectly_readable_traits<_Ip>::value_type; in requires()
167 …common_reference_t<iter_reference_t<_Ip>&&, typename indirectly_readable_traits<_Ip>::value_type&>; in requires()
168 …name common_reference_t<decltype(*__i++)&&, typename indirectly_readable_traits<_Ip>::value_type&>; in requires()
175 …_as<remove_cvref_t<iter_reference_t<_Ip>>, typename indirectly_readable_traits<_Ip>::value_type> &&
213 typename _Ip::value_type;
334 using value_type = typename _Ip::value_type;
346 using value_type = typename indirectly_readable_traits<_Ip>::value_type;
357 using value_type = void;
379 typedef typename _Iter::value_type value_type;
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSetVector.h45 /// that value_type can be converted into key_type for insertion. Users must be
47 /// value_type to float and key_type to int can produce very surprising results,
63 using value_type = typename Vector::value_type;
65 using reference = value_type &;
66 using const_reference = const value_type &;
84 ArrayRef<value_type> getArrayRef() const { return vector_; } in getArrayRef()
143 const value_type &front() const { in front()
149 const value_type &back() const { in back()
162 bool insert(const value_type
[all...]
/freebsd/contrib/llvm-project/libcxx/include/__pstl/internal/
H A Dglue_memory_impl.h

12345678910>>...17