| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | Endian.h | 43 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 D | EndianStream.h | 27 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 D | valarray | 23 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 D | vector | 25 typedef T value_type; 43 vector(size_type n, const value_type& value, const allocator_type& = allocator_type()); 51 vector(initializer_list<value_type> il); 52 vector(initializer_list<value_type> il, const allocator_type& a); 59 vector& operator=(initializer_list<value_type> il); 64 void assign(size_type n, const value_type& u); 65 void assign(initializer_list<value_type> il); 101 value_type* data() noexcept; 102 const value_type* data() const noexcept; 104 void push_back(const value_type& x); [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/ |
| H A D | valarray | 23 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 …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__string/ |
| H A D | extern_template_lists.h | 33 …ing<_CharType>& basic_string<_CharType>::replace(size_type, size_type, value_type const*, size_typ… 34 …_ABI basic_string<_CharType>::size_type basic_string<_CharType>::rfind(value_type const*, size_typ… 35 …_Func(_LIBCPP_EXPORTED_FROM_ABI void basic_string<_CharType>::__init(value_type const*, size_type,… 37 …sic_string<_CharType>& basic_string<_CharType>::replace(size_type, size_type, value_type const*)) \ 39 …string<_CharType>::size_type basic_string<_CharType>::find_last_not_of(value_type const*, size_typ… 41 …tring<_CharType>::size_type basic_string<_CharType>::find_first_not_of(value_type const*, size_typ… 42 …M_ABI basic_string<_CharType>& basic_string<_CharType>::insert(size_type, size_type, value_type)) \ 43 …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 …BI basic_string<_CharType>& basic_string<_CharType>::insert(size_type, value_type const*, size_typ… [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__algorithm/ |
| H A D | stable_sort.h | 41 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 D | stable_partition.h | 57 typedef typename iterator_traits<_ForwardIterator>::value_type value_type; in __stable_partition_impl() typedef 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_type; in __stable_partition_impl() typedef 135 pair<value_type*, ptrdiff_t> __p(0, 0); in __stable_partition_impl() [all …]
|
| H A D | rotate.h | 33 typedef typename iterator_traits<_ForwardIterator>::value_type value_type; in __rotate_left() typedef 36 value_type __tmp = _Ops::__iter_move(__first); in __rotate_left() 45 typedef typename iterator_traits<_BidirectionalIterator>::value_type value_type; in __rotate_right() typedef 49 value_type __tmp = _Ops::__iter_move(__lm1); in __rotate_right() 98 typedef typename iterator_traits<_RandomAccessIterator>::value_type value_type; in __rotate_gcd() typedef 109 value_type __t(_Ops::__iter_move(--__p)); in __rotate_gcd() 129 typedef typename iterator_traits<_ForwardIterator>::value_type value_type; in __rotate_impl() typedef 130 if (is_trivially_move_assignable<value_type>::value) { in __rotate_impl() 143 typedef typename iterator_traits<_BidirectionalIterator>::value_type value_type; in __rotate_impl() typedef 144 if (is_trivially_move_assignable<value_type>::value) { in __rotate_impl() [all …]
|
| H A D | inplace_merge.h | 102 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/llvm-project/libcxx/include/__string/ |
| H A D | extern_template_lists.h | 32 …Func(void basic_string<CharT>::__init(const value_type*, size_type)) … 33 …Func(void basic_string<CharT>::__init(size_type, value_type)) … 36 …Func(basic_string<CharT>& basic_string<CharT>::operator=(value_type)) … 37 …Func(basic_string<CharT>& basic_string<CharT>::assign(size_type, value_type)) … 39 …Func(basic_string<CharT>& basic_string<CharT>::append(size_type, value_type)) … 40 …Func(basic_string<CharT>& basic_string<CharT>::append(const value_type*)) … 41 …Func(basic_string<CharT>& basic_string<CharT>::append(const value_type*, size_type)) … 43 …Func(void basic_string<CharT>::push_back(value_type)) … 44 …Func(basic_string<CharT>& basic_string<CharT>::insert(size_type, const value_type*)) … 45 …Func(basic_string<CharT>& basic_string<CharT>::insert(size_type, size_type, value_type)) … [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__algorithm/ |
| H A D | stable_sort.h | 47 typename iterator_traits<_BidirectionalIterator>::value_type* __first2, in __insertion_sort_move() 51 typedef typename iterator_traits<_BidirectionalIterator>::value_type value_type; in __insertion_sort_move() typedef 54 unique_ptr<value_type, __destruct_n&> __h(__first2, __d); in __insertion_sort_move() 55 value_type* __last2 = __first2; in __insertion_sort_move() 57 __d.template __incr<value_type>(); in __insertion_sort_move() 59 value_type* __j2 = __last2; in __insertion_sort_move() 60 value_type* __i2 = __j2; in __insertion_sort_move() 63 __d.template __incr<value_type>(); in __insertion_sort_move() 69 __d.template __incr<value_type>(); in __insertion_sort_move() 82 typename iterator_traits<_InputIterator1>::value_type* __result, in __merge_move_construct() [all …]
|
| H A D | stable_partition.h | 59 typedef typename iterator_traits<_ForwardIterator>::value_type value_type; in __stable_partition_impl() typedef 61 unique_ptr<value_type, __destruct_n&> __h(__p.first, __d); in __stable_partition_impl() 64 value_type* __t = __p.first; in __stable_partition_impl() 66 __d.template __incr<value_type>(); in __stable_partition_impl() 75 __d.template __incr<value_type>(); in __stable_partition_impl() 82 for (value_type* __t2 = __p.first; __t2 < __t; ++__t2, (void)++__i) in __stable_partition_impl() 123 typedef typename iterator_traits<_ForwardIterator>::value_type value_type; in __stable_partition_impl() typedef 137 __unique_temporary_buffer<value_type> __unique_buf; in __stable_partition_impl() 138 pair<value_type*, ptrdiff_t> __p(0, 0); in __stable_partition_impl() 140 __unique_buf = std::__allocate_unique_temporary_buffer<value_type>(__len); in __stable_partition_impl() [all …]
|
| H A D | rotate.h | 41 typedef typename iterator_traits<_ForwardIterator>::value_type value_type; in __rotate_left() typedef 44 value_type __tmp = _Ops::__iter_move(__first); in __rotate_left() 53 typedef typename iterator_traits<_BidirectionalIterator>::value_type value_type; in __rotate_right() typedef 57 value_type __tmp = _Ops::__iter_move(__lm1); in __rotate_right() 106 typedef typename iterator_traits<_RandomAccessIterator>::value_type value_type; in __rotate_gcd() typedef 117 value_type __t(_Ops::__iter_move(--__p)); in __rotate_gcd() 137 typedef typename iterator_traits<_ForwardIterator>::value_type value_type; in __rotate_impl() typedef 138 if (is_trivially_move_assignable<value_type>::value) { in __rotate_impl() 151 typedef typename iterator_traits<_BidirectionalIterator>::value_type value_type; in __rotate_impl() typedef 152 if (is_trivially_move_assignable<value_type>::value) { in __rotate_impl() [all …]
|
| H A D | inplace_merge.h | 102 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() 113 value_type* __p = __buff; in __buffered_inplace_merge() 115 __d.template __incr<value_type>(), (void)++__i, (void)++__p) in __buffered_inplace_merge() 118 typedef reverse_iterator<value_type*> _Rv; in __buffered_inplace_merge() 133 typename iterator_traits<_BidirectionalIterator>::value_type* __buff, in __inplace_merge() 209 typedef typename iterator_traits<_BidirectionalIterator>::value_type value_type; in __inplace_merge() typedef [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/experimental/__simd/ |
| H A D | reference.h | 52 using value_type = _Vp; 57 _LIBCPP_HIDE_FROM_ABI operator value_type() const noexcept { return __get(); } in value_type() function 59 template <class _Up, enable_if_t<is_assignable_v<value_type&, _Up&&>, int> = 0> 61 __set(static_cast<value_type>(std::forward<_Up>(__v))); 77 template <class _Up, class = decltype(std::declval<value_type&>() += std::declval<_Up>())> 79 __set(__get() + static_cast<value_type>(std::forward<_Up>(__v))); 83 template <class _Up, class = decltype(std::declval<value_type&>() -= std::declval<_Up>())> 85 __set(__get() - static_cast<value_type>(std::forward<_Up>(__v))); 89 template <class _Up, class = decltype(std::declval<value_type&>() *= std::declval<_Up>())> 91 __set(__get() * static_cast<value_type>(std::forward<_Up>(__v))); [all …]
|
| /freebsd/contrib/kyua/utils/config/ |
| H A D | nodes.hpp | 123 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/llvm/include/llvm/ADT/ |
| H A D | TrieRawHashMap.h | 191 struct value_type { struct 195 value_type(value_type &&) = default; argument 196 value_type(const value_type &) = default; 198 value_type(ArrayRef<uint8_t> Hash, const T &Data) in value_type() argument 200 value_type(ArrayRef<uint8_t> Hash, T &&Data) in value_type() argument 208 value_type(ArrayRef<uint8_t> Hash, EmplaceTag, ArgsT &&...Args) in value_type() argument 255 class pointer : public PointerImpl<value_type> { 266 class const_pointer : public PointerImpl<const value_type> { 279 value_type &operator()(T &&RHS) { in operator() 281 return assign(::new (Mem) value_type(Hash, std::move(RHS))); in operator() [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__functional/ |
| H A D | boyer_moore_searcher.h | 42 using value_type = _Value; 45 const value_type __default_value_; 50 size_t __sz, value_type __default_value, _Hash __hash, _BinaryPredicate __pred) in _BMSkipTable() 53 …_LIBCPP_HIDE_FROM_ABI void insert(const key_type& __key, value_type __val) { __table_[__key] = __v… in insert() 55 _LIBCPP_HIDE_FROM_ABI value_type operator[](const key_type& __key) const { 65 using value_type = _Value; 69 std::array<value_type, 256> __table_; 73 …_LIBCPP_HIDE_FROM_ABI explicit _BMSkipTable(size_t, value_type __default_value, _Hash, _BinaryPred… in _BMSkipTable() 77 _LIBCPP_HIDE_FROM_ABI void insert(key_type __key, value_type __val) { in insert() 81 _LIBCPP_HIDE_FROM_ABI value_type operator[](key_type __key) const { [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__atomic/ |
| H A D | atomic.h | 38 using value_type = _Tp; member 39 using difference_type = value_type; 63 using value_type = _Tp*; 135 _LIBCPP_HIDE_FROM_ABI void atomic_init(volatile atomic<_Tp>* __o, typename atomic<_Tp>::value_type … 140 _LIBCPP_HIDE_FROM_ABI void atomic_init(atomic<_Tp>* __o, typename atomic<_Tp>::value_type __d) _NOE… 147 _LIBCPP_HIDE_FROM_ABI void atomic_store(volatile atomic<_Tp>* __o, typename atomic<_Tp>::value_type… 152 _LIBCPP_HIDE_FROM_ABI void atomic_store(atomic<_Tp>* __o, typename atomic<_Tp>::value_type __d) _NO… 160 atomic_store_explicit(volatile atomic<_Tp>* __o, typename atomic<_Tp>::value_type __d, memory_order… 167 atomic_store_explicit(atomic<_Tp>* __o, typename atomic<_Tp>::value_type __d, memory_order __m) _NO… 201 …BI _Tp atomic_exchange(volatile atomic<_Tp>* __o, typename atomic<_Tp>::value_type __d) _NOEXCEPT { [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__iterator/ |
| H A D | aliasing_iterator.h | 37 using __base_value_type _LIBCPP_NODEBUG = typename __iter_traits::value_type; 44 using value_type = _Alias; member 46 using reference = value_type&; 47 using pointer = value_type*; 49 static_assert(is_trivially_default_constructible<value_type>::value); 50 static_assert(is_trivially_copyable<value_type>::value); 51 static_assert(sizeof(__base_value_type) == sizeof(value_type)); 108 __builtin_memcpy(std::addressof(__val), std::__to_address(__base_), sizeof(value_type)); 112 …_LIBCPP_HIDE_FROM_ABI value_type operator[](difference_type __n) const _NOEXCEPT { return *(*this …
|
| /freebsd/contrib/llvm-project/clang/include/clang/Serialization/ |
| H A D | ContinuousRangeMap.h | 39 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/__flat_set/ |
| H A D | flat_multiset.h | 90 static_assert(is_same_v<_Key, typename _KeyContainer::value_type>); 96 using value_type = _Key; variable 99 using reference = value_type&; 100 using const_reference = const value_type&; 166 template <_ContainerCompatibleRange<value_type> _Range> 170 template <_ContainerCompatibleRange<value_type> _Range> 175 …_LIBCPP_HIDE_FROM_ABI flat_multiset(initializer_list<value_type> __il, const key_compare& __comp =… 179 …flat_multiset(sorted_equivalent_t, initializer_list<value_type> __il, const key_compare& __comp = … 279 template <_ContainerCompatibleRange<value_type> _Range, class _Allocator> 286 template <_ContainerCompatibleRange<value_type> _Range, class _Allocator> [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__atomic/ |
| H A D | atomic.h | 44 using value_type = _Tp; member 151 using difference_type = typename __base::value_type; 402 using value_type = _Tp; 403 using difference_type = value_type; 478 atomic_init(volatile atomic<_Tp>* __o, typename atomic<_Tp>::value_type __d) _NOEXCEPT { 484 atomic_init(atomic<_Tp>* __o, typename atomic<_Tp>::value_type __d) _NOEXCEPT { 491 _LIBCPP_HIDE_FROM_ABI void atomic_store(volatile atomic<_Tp>* __o, typename atomic<_Tp>::value_type… 496 _LIBCPP_HIDE_FROM_ABI void atomic_store(atomic<_Tp>* __o, typename atomic<_Tp>::value_type __d) _NO… 504 atomic_store_explicit(volatile atomic<_Tp>* __o, typename atomic<_Tp>::value_type __d, memory_order… 511 atomic_store_explicit(atomic<_Tp>* __o, typename atomic<_Tp>::value_type __d, memory_order __m) _NO… [all …]
|
| /freebsd/contrib/jemalloc/include/jemalloc/internal/ |
| H A D | emitter.h | 126 emitter_type_t value_type, const void *value) { in emitter_print_value() 144 switch (value_type) { in emitter_print_value() 270 emitter_json_value(emitter_t *emitter, emitter_type_t value_type, in emitter_json_array_begin() 275 value_type, value); in emitter_json_array_begin() 283 emitter_type_t value_type, const void *value) { in emitter_json_array_kv_begin() 285 emitter_json_value(emitter, value_type, value); 368 emitter_type_t value_type, const void *value, in emitter_table_kv() 375 value_type, value); in emitter_table_printf() 389 emitter_type_t value_type, const void *value) { in emitter_table_row() 390 emitter_table_kv_note(emitter, table_key, value_type, valu in emitter_table_row() 118 emitter_print_value(emitter_t * emitter,emitter_justify_t justify,int width,emitter_type_t value_type,const void * value) emitter_print_value() argument 251 emitter_json_value(emitter_t * emitter,emitter_type_t value_type,const void * value) emitter_json_value() argument 264 emitter_json_kv(emitter_t * emitter,const char * json_key,emitter_type_t value_type,const void * value) emitter_json_kv() argument 345 emitter_table_kv_note(emitter_t * emitter,const char * table_key,emitter_type_t value_type,const void * value,const char * table_note_key,emitter_type_t table_note_value_type,const void * table_note_value) emitter_table_kv_note() argument 366 emitter_table_kv(emitter_t * emitter,const char * table_key,emitter_type_t value_type,const void * value) emitter_table_kv() argument 420 emitter_kv_note(emitter_t * emitter,const char * json_key,const char * table_key,emitter_type_t value_type,const void * value,const char * table_note_key,emitter_type_t table_note_value_type,const void * table_note_value) emitter_kv_note() argument 435 emitter_kv(emitter_t * emitter,const char * json_key,const char * table_key,emitter_type_t value_type,const void * value) emitter_kv() argument [all...] |