| /llvm-project-15.0.7/libc/test/src/__support/CPP/ |
| H A D | arrayref_test.cpp | 19 using value_type = typename ParamType::value_type; in TYPED_TEST() typedef 30 using value_type = typename ParamType::value_type; in TYPED_TEST() typedef 42 using value_type = typename ParamType::value_type; in TYPED_TEST() typedef 54 using value_type = typename ParamType::value_type; in TYPED_TEST() typedef 66 using value_type = typename ParamType::value_type; in TYPED_TEST() typedef 78 using value_type = typename ParamType::value_type; in TYPED_TEST() typedef 91 using value_type = typename ParamType::value_type; in TYPED_TEST() typedef 110 using value_type = typename ParamType::value_type; in TYPED_TEST() typedef 146 using value_type = typename ParamType::value_type; in TYPED_TEST() typedef 165 using value_type = typename ParamType::value_type; in TYPED_TEST() typedef [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | Endian.h | 48 template <typename value_type> 49 inline value_type byte_swap(value_type value, endianness endian) { in byte_swap() 57 inline value_type byte_swap(value_type value) { in byte_swap() 64 value_type ret; in read() 69 sizeof(value_type)); in read() 73 template<typename value_type, 84 value_type ret = read<value_type, alignment>(memory, endian); in readNext() 104 template<typename value_type, 111 template <typename value_type> 123 value_type val[2]; in readAtBitAlignment() [all …]
|
| H A D | EndianStream.h | 27 template <typename value_type> 28 inline void write(raw_ostream &os, value_type value, endianness endian) { in write() 29 value = byte_swap<value_type>(value, endian); in write() 30 os.write((const char *)&value, sizeof(value_type)); in write() 44 template <typename value_type> 45 inline void write(raw_ostream &os, ArrayRef<value_type> vals, in write() 47 for (value_type v : vals) in write() 56 template <typename value_type> void write(ArrayRef<value_type> Val) { in write() 59 template <typename value_type> void write(value_type Val) { in write()
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | valarray | 103 valarray apply(value_type f(value_type)) const; 104 valarray apply(value_type f(const value_type&)) const; 105 void resize(size_t n, value_type x = value_type()); 694 typedef typename _RmExpr::value_type value_type; 734 typedef typename _RmExpr::value_type value_type; 777 typedef typename _RmExpr::value_type value_type; 2779 __val_expr<_UnaryOp<__apply_expr<value_type, value_type(*)(value_type)>, _ValExpr> > 2780 apply(value_type __f(value_type)) const 2782 typedef __apply_expr<value_type, value_type(*)(value_type)> _Op; 2789 apply(value_type __f(const value_type&)) const [all …]
|
| /llvm-project-15.0.7/libcxx/include/__string/ |
| H A D | extern_template_lists.h | 41 _Func(_LIBCPP_FUNC_VIS basic_string<_CharType>& basic_string<_CharType>::operator=(value_type)) \ 42 _Func(_LIBCPP_FUNC_VIS void basic_string<_CharType>::__init(value_type const*, size_type)) \ 54 _Func(_LIBCPP_FUNC_VIS void basic_string<_CharType>::__init(size_type, value_type)) \ 59 _Func(_LIBCPP_FUNC_VIS void basic_string<_CharType>::push_back(value_type)) \ 66 _Func(_LIBCPP_FUNC_VIS int basic_string<_CharType>::compare(value_type const*) const) \ 77 _Func(_LIBCPP_FUNC_VIS void basic_string<_CharType>::resize(size_type, value_type)) \ 90 _Func(_LIBCPP_FUNC_VIS void basic_string<_CharType>::__init(value_type const*, size_type)) \ 104 _Func(_LIBCPP_FUNC_VIS void basic_string<_CharType>::__init(size_type, value_type)) \ 111 _Func(_LIBCPP_FUNC_VIS void basic_string<_CharType>::push_back(value_type)) \ 118 _Func(_LIBCPP_FUNC_VIS int basic_string<_CharType>::compare(value_type const*) const) \ [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/containers/associative/multimap/multimap.nonmember/ |
| H A D | op_compare.pass.cpp | 43 typedef map_type::value_type value_type; in main() typedef 46 m1.insert(value_type(1, "abc")); in main() 47 m2.insert(value_type(2, "abc")); in main() 53 m1.insert(value_type(1, "abc")); in main() 54 m2.insert(value_type(1, "abc")); in main() 60 m1.insert(value_type(1, "ab")); in main() 61 m2.insert(value_type(1, "abc")); in main() 67 m1.insert(value_type(1, "abc")); in main() 68 m2.insert(value_type(1, "bcd")); in main() 74 m1.insert(value_type(1, "abc")); in main() [all …]
|
| /llvm-project-15.0.7/libcxx/include/__algorithm/ |
| H A D | stable_sort.h | 37 typedef typename iterator_traits<_InputIterator1>::value_type value_type; in __merge_move_construct() typedef 59 __d.template __incr<value_type>(); in __merge_move_construct() 65 __d.template __incr<value_type>(); in __merge_move_construct() 116 typedef typename iterator_traits<_RandomAccessIterator>::value_type value_type; in __stable_sort_move() typedef 130 __d.template __incr<value_type>(); in __stable_sort_move() 137 __d.template __incr<value_type>(); in __stable_sort_move() 168 typedef typename iterator_traits<_RandomAccessIterator>::value_type value_type; in __stable_sort() typedef 192 __d.__set(__l2, (value_type*)nullptr); in __stable_sort() 194 __d.__set(__len, (value_type*)nullptr); in __stable_sort() 212 using value_type = typename iterator_traits<_RandomAccessIterator>::value_type; in __stable_sort_impl() local [all …]
|
| H A D | stable_partition.h | 50 typedef typename iterator_traits<_ForwardIterator>::value_type value_type; in __stable_partition_impl() typedef 55 value_type* __t = __p.first; in __stable_partition_impl() 57 __d.template __incr<value_type>(); in __stable_partition_impl() 70 __d.template __incr<value_type>(); in __stable_partition_impl() 134 typedef typename iterator_traits<_ForwardIterator>::value_type value_type; in __stable_partition_impl() typedef 136 pair<value_type*, ptrdiff_t> __p(0, 0); in __stable_partition_impl() 180 typedef typename iterator_traits<_BidirectionalIterator>::value_type value_type; in __stable_partition_impl() typedef 185 value_type* __t = __p.first; in __stable_partition_impl() 187 __d.template __incr<value_type>(); in __stable_partition_impl() 267 typedef typename iterator_traits<_BidirectionalIterator>::value_type value_type; in __stable_partition_impl() typedef [all …]
|
| H A D | rotate.h | 32 typedef typename iterator_traits<_ForwardIterator>::value_type value_type; in __rotate_left() typedef 35 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() 110 typedef typename iterator_traits<_RandomAccessIterator>::value_type value_type; in __rotate_gcd() typedef 123 value_type __t(_Ops::__iter_move(--__p)); in __rotate_gcd() 147 typedef typename iterator_traits<_ForwardIterator>::value_type value_type; in __rotate_impl() typedef 148 if (is_trivially_move_assignable<value_type>::value) in __rotate_impl() 162 typedef typename iterator_traits<_BidirectionalIterator>::value_type value_type; in __rotate_impl() typedef 163 if (is_trivially_move_assignable<value_type>::value) in __rotate_impl() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/containers/associative/map/map.nonmember/ |
| H A D | op_compare.pass.cpp | 43 typedef map_type::value_type value_type; in main() typedef 46 m1.insert(value_type(1, "abc")); in main() 47 m2.insert(value_type(2, "abc")); in main() 53 m1.insert(value_type(1, "abc")); in main() 54 m2.insert(value_type(1, "abc")); in main() 60 m1.insert(value_type(1, "ab")); in main() 61 m2.insert(value_type(1, "abc")); in main() 67 m1.insert(value_type(1, "abc")); in main() 68 m2.insert(value_type(1, "bcd")); in main() 74 m1.insert(value_type(1, "abc")); in main() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.bidir/ |
| H A D | bidirectional_iterator.compile.pass.cpp | 34 using value_type = int; typedef 38 value_type operator*() const; 50 using value_type = int; typedef 54 value_type& operator*() const; 67 using value_type = int; typedef 71 value_type& operator*() const; 84 using value_type = int; typedef 88 value_type& operator*() const; 100 using value_type = int; typedef 117 using value_type = int; typedef [all …]
|
| /llvm-project-15.0.7/lldb/test/API/commands/expression/import-std-module/vector/ |
| H A D | TestVectorFromStdModule.py | 43 value_type = front.GetDisplayTypeName() 44 self.assertIn(value_type, [ 48 self.expect_expr("a[1]", result_type=value_type, result_value="1") 49 self.expect_expr("a.back()", result_type=value_type, result_value="2") 52 self.expect_expr("a.front()", result_type=value_type, result_value="1") 53 self.expect_expr("a[1]", result_type=value_type, result_value="2") 54 self.expect_expr("a.back()", result_type=value_type, result_value="3") 58 self.expect_expr("a[1]", result_type=value_type, result_value="2") 59 self.expect_expr("a.back()", result_type=value_type, result_value="1") 72 self.expect_expr("a.back()", result_type=value_type, result_value="2") [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/iterators/iterator.primitives/iterator.traits/ |
| H A D | cxx20_iterator_traits.compile.pass.cpp | 171 struct value_type {}; struct 178 static_assert(std::same_as<AllMembersTraits::value_type, AllMembers::value_type>); 186 struct value_type {}; struct 202 struct value_type {}; struct 211 static_assert(std::same_as<IterConceptTraits::value_type, IterConcept::value_type>); 219 struct value_type {}; struct 233 static_assert(std::same_as<LegacyInputTraits::value_type, LegacyInput::value_type>); 286 struct value_type {}; struct 306 struct value_type {}; struct 336 struct value_type {}; struct [all …]
|
| H A D | empty.fail.cpp | 24 typedef A value_type; typedef 42 typedef A value_type; typedef 51 typedef A value_type; typedef 60 typedef A value_type; typedef 71 …typedef T::value_type VT; // expected-error-re {{no type named 'value_type' in 'std:{{.*}}:… in main() 80 …typedef T::value_type VT; // expected-error-re {{no type named 'value_type' in 'std:{{.*}}:… in main() 89 …typedef T::value_type VT; // expected-error-re {{no type named 'value_type' in 'std:{{.*}}:… in main() 98 …typedef T::value_type VT; // expected-error-re {{no type named 'value_type' in 'std:{{.*}}:… in main() 107 …typedef T::value_type VT; // expected-error-re {{no type named 'value_type' in 'std:{{.*}}:… in main() 116 …typedef T::value_type VT; // expected-error-re {{no type named 'value_type' in 'std:{{.*}}:… in main()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/ |
| H A D | loop-convert-rewritten-binop.cpp | 15 typedef int value_type; typedef 18 value_type &operator*(); 19 const value_type &operator*() const; 21 void insert(value_type); 22 value_type X; 31 typedef int value_type; typedef 33 value_type &operator*(); 34 const value_type &operator*() const; 37 void insert(value_type); 38 value_type X;
|
| H A D | use-nodiscard.cpp | 195 using value_type = T; typedef in Bar 196 using reference = value_type &; 197 using const_reference = const value_type &; 207 bool f25(value_type) const; 211 typename T::value_type f35() const; 238 typedef T value_type; typedef in Bar2 239 typedef value_type &reference; 240 typedef const value_type &const_reference; 243 bool f40(value_type) const; 247 value_type f42() const; [all …]
|
| /llvm-project-15.0.7/libcxx/test/support/ |
| H A D | nasty_containers.h | 23 typedef typename nested_container::value_type value_type; typedef 42 nasty_vector(std::initializer_list<value_type> il) : v_(il) {} in nasty_vector() 88 void push_back(const value_type& x) { v_.push_back(x); } in push_back() 90 void push_back(value_type&& x) { v_.push_back(std::forward<value_type&&>(x)); } in push_back() 103 …iterator insert(const_iterator pos, value_type&& x) { return v_.insert(pos, std::forward<valu… in insert() 145 typedef typename nested_container::value_type value_type; typedef 165 nasty_list(std::initializer_list<value_type> il) : l_(il) {} in nasty_list() 206 void push_back(const value_type& x) { l_.push_back(x); } in push_back() 208 void push_back(value_type&& x) { l_.push_back(std::forward<value_type&&>(x)); } in push_back() 209 void push_front(value_type&& x) { l_.push_front(std::forward<value_type&&>(x)); } in push_front() [all …]
|
| H A D | read_write.h | 12 using value_type = int; member 13 value_type& operator*() const; 22 using value_type = int; member 23 value_type operator*() const; 27 using value_type = int const; member 28 value_type& operator*() const; 33 using value_type = int; member
|
| H A D | cmpxchg_loop.h | 12 bool cmpxchg_weak_loop(A& atomic, typename A::value_type& expected, typename A::value_type desired)… in cmpxchg_weak_loop() 23 bool cmpxchg_weak_loop(A& atomic, typename A::value_type& expected, typename A::value_type desired, in cmpxchg_weak_loop() 37 bool c_cmpxchg_weak_loop(A* atomic, typename A::value_type* expected, typename A::value_type desire… in c_cmpxchg_weak_loop() 48 bool c_cmpxchg_weak_loop(A* atomic, typename A::value_type* expected, typename A::value_type desire… in c_cmpxchg_weak_loop()
|
| /llvm-project-15.0.7/libcxx/include/__functional/ |
| H A D | boyer_moore_searcher.h | 49 using value_type = _Value; 52 const value_type __default_value_; 78 using value_type = _Value; 82 std::array<value_type, 256> __table_; 105 using value_type = typename std::iterator_traits<_RandomAccessIterator1>::value_type; variable 106 using __skip_table_type = _BMSkipTable<value_type, 110 is_integral_v<value_type> 111 && sizeof(value_type) == 1 233 using value_type = typename iterator_traits<_RandomAccessIterator1>::value_type; variable 234 using __skip_table_type = _BMSkipTable<value_type, [all …]
|
| /llvm-project-15.0.7/lldb/test/API/commands/expression/import-std-module/array/ |
| H A D | TestArrayFromStdModule.py | 27 value_type = array_type + "::value_type" 42 self.expect_expr("a.front()", result_type=value_type, result_value="3") 43 self.expect_expr("a[1]", result_type=value_type, result_value="1") 44 self.expect_expr("a.back()", result_type=value_type, result_value="2") 50 self.expect_expr("*a.begin()", result_type=value_type, result_value="3") 53 self.expect_expr("a.at(0)", result_type=value_type, result_value="3") 59 value_type = array_type + "::value_type" 72 … self.expect_expr("b.front()", result_type=value_type, result_children=dbg_info_elem_children) 73 self.expect_expr("b[0]", result_type=value_type, result_children=dbg_info_elem_children) 74 self.expect_expr("b.back()", result_type=value_type, result_children=dbg_info_elem_children) [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.set/ |
| H A D | types.pass.cpp | 39 static_assert((std::is_same<C::value_type, short>::value), ""); in main() 43 static_assert((std::is_same<C::allocator_type, std::allocator<C::value_type> >::value), ""); in main() 44 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); in main() 45 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); in main() 46 static_assert((std::is_same<C::pointer, C::value_type*>::value), ""); in main() 47 static_assert((std::is_same<C::const_pointer, const C::value_type*>::value), ""); in main() 55 static_assert((std::is_same<C::value_type, short>::value), ""); in main() 59 static_assert((std::is_same<C::allocator_type, min_allocator<C::value_type> >::value), ""); in main() 60 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); in main() 61 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); in main() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.multiset/ |
| H A D | types.pass.cpp | 39 static_assert((std::is_same<C::value_type, short>::value), ""); in main() 43 static_assert((std::is_same<C::allocator_type, std::allocator<C::value_type> >::value), ""); in main() 44 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); in main() 45 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); in main() 46 static_assert((std::is_same<C::pointer, C::value_type*>::value), ""); in main() 47 static_assert((std::is_same<C::const_pointer, const C::value_type*>::value), ""); in main() 55 static_assert((std::is_same<C::value_type, short>::value), ""); in main() 59 static_assert((std::is_same<C::allocator_type, min_allocator<C::value_type> >::value), ""); in main() 60 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); in main() 61 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); in main() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.multimap/ |
| H A D | types.pass.cpp | 44 static_assert((std::is_same<C::allocator_type, std::allocator<C::value_type> >::value), ""); in main() 45 …static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value),… in main() 46 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); in main() 47 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); in main() 48 static_assert((std::is_same<C::pointer, C::value_type*>::value), ""); in main() 49 static_assert((std::is_same<C::const_pointer, const C::value_type*>::value), ""); in main() 61 static_assert((std::is_same<C::allocator_type, min_allocator<C::value_type> >::value), ""); in main() 63 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); in main() 64 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); in main() 65 static_assert((std::is_same<C::pointer, min_pointer<C::value_type>>::value), ""); in main() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.map/ |
| H A D | types.pass.cpp | 44 static_assert((std::is_same<C::allocator_type, std::allocator<C::value_type> >::value), ""); in main() 45 …static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value),… in main() 46 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); in main() 47 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); in main() 48 static_assert((std::is_same<C::pointer, C::value_type*>::value), ""); in main() 49 static_assert((std::is_same<C::const_pointer, const C::value_type*>::value), ""); in main() 61 static_assert((std::is_same<C::allocator_type, min_allocator<C::value_type> >::value), ""); in main() 63 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); in main() 64 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); in main() 65 static_assert((std::is_same<C::pointer, min_pointer<C::value_type>>::value), ""); in main() [all …]
|