| /minix3/external/bsd/libc++/dist/libcxx/test/std/utilities/memory/pointer.traits/pointer.traits.types/ |
| H A D | difference_type.pass.cpp | 25 typedef char difference_type; typedef 39 typedef char difference_type; typedef 44 static_assert((std::is_same<std::pointer_traits<A>::difference_type, char>::value), ""); in main() 45 … static_assert((std::is_same<std::pointer_traits<B>::difference_type, std::ptrdiff_t>::value), ""); in main() 46 …static_assert((std::is_same<std::pointer_traits<C<double> >::difference_type, std::ptrdiff_t>::val… in main() 47 static_assert((std::is_same<std::pointer_traits<D<int> >::difference_type, char>::value), ""); in main()
|
| /minix3/external/bsd/libc++/dist/libcxx/test/utilities/memory/pointer.traits/pointer.traits.types/ |
| H A D | difference_type.pass.cpp | 25 typedef char difference_type; typedef 39 typedef char difference_type; typedef 44 static_assert((std::is_same<std::pointer_traits<A>::difference_type, char>::value), ""); in main() 45 … static_assert((std::is_same<std::pointer_traits<B>::difference_type, std::ptrdiff_t>::value), ""); in main() 46 …static_assert((std::is_same<std::pointer_traits<C<double> >::difference_type, std::ptrdiff_t>::val… in main() 47 static_assert((std::is_same<std::pointer_traits<D<int> >::difference_type, char>::value), ""); in main()
|
| /minix3/external/bsd/libc++/dist/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.types/ |
| H A D | difference_type.pass.cpp | 27 typedef short difference_type; typedef 52 typedef signed char difference_type; typedef 59 … static_assert((std::is_same<std::allocator_traits<A<char> >::difference_type, short>::value), ""); in main() 60 …static_assert((std::is_same<std::allocator_traits<B<char> >::difference_type, std::ptrdiff_t>::val… in main() 61 …static_assert((std::is_same<std::allocator_traits<C<char> >::difference_type, signed char>::value)… in main()
|
| /minix3/external/bsd/libc++/dist/libcxx/test/utilities/memory/allocator.traits/allocator.traits.types/ |
| H A D | difference_type.pass.cpp | 27 typedef short difference_type; typedef 52 typedef signed char difference_type; typedef 59 … static_assert((std::is_same<std::allocator_traits<A<char> >::difference_type, short>::value), ""); in main() 60 …static_assert((std::is_same<std::allocator_traits<B<char> >::difference_type, std::ptrdiff_t>::val… in main() 61 …static_assert((std::is_same<std::allocator_traits<C<char> >::difference_type, signed char>::value)… in main()
|
| /minix3/external/bsd/libc++/dist/libcxx/test/support/ |
| H A D | min_allocator.h | 105 typedef std::ptrdiff_t difference_type; typedef 120 min_pointer& operator+=(difference_type n) {ptr_ += n; return *this;} 121 min_pointer& operator-=(difference_type n) {ptr_ -= n; return *this;} 123 min_pointer operator+(difference_type n) const 130 friend min_pointer operator+(difference_type n, min_pointer x) 135 min_pointer operator-(difference_type n) const 142 friend difference_type operator-(min_pointer x, min_pointer y) 147 reference operator[](difference_type n) const {return ptr_[n];} 176 typedef std::ptrdiff_t difference_type; typedef 191 min_pointer& operator+=(difference_type n) {ptr_ += n; return *this;} [all …]
|
| H A D | test_iterators.h | 31 typedef typename std::iterator_traits<It>::difference_type difference_type; typedef 61 typedef typename std::iterator_traits<It>::difference_type difference_type; typedef 113 typedef typename std::iterator_traits<It>::difference_type difference_type; typedef 165 typedef typename std::iterator_traits<It>::difference_type difference_type; typedef 216 typedef typename std::iterator_traits<It>::difference_type difference_type; typedef 238 random_access_iterator& operator+=(difference_type n) {it_ += n; return *this;} 239 random_access_iterator operator+(difference_type n) const 241 friend random_access_iterator operator+(difference_type n, random_access_iterator x) 243 random_access_iterator& operator-=(difference_type n) {return *this += -n;} 244 random_access_iterator operator-(difference_type n) const [all …]
|
| /minix3/external/bsd/libc++/dist/libcxx/include/ |
| H A D | __bit_reference | 248 typename __bit_iterator<_Cp, _IsConst>::difference_type 253 typedef typename _It::difference_type difference_type; 255 difference_type __r = 0; 279 typename __bit_iterator<_Cp, _IsConst>::difference_type 284 typedef typename _It::difference_type difference_type; 286 difference_type __r = 0; 311 typename __bit_iterator<_Cp, _IsConst>::difference_type 413 typedef typename _In::difference_type difference_type; 416 difference_type __n = __last - __first; 423 difference_type __dn = _VSTD::min(static_cast<difference_type>(__clz), __n); [all …]
|
| H A D | iterator | 23 typedef typename Iterator::difference_type difference_type; 33 typedef ptrdiff_t difference_type; 43 typedef ptrdiff_t difference_type; 55 typedef Distance difference_type; 70 typename iterator_traits<InputIterator>::difference_type n); 73 typename iterator_traits<InputIterator>::difference_type 80 typename iterator_traits<Iterator>::difference_type, 88 typedef typename iterator_traits<Iterator>::difference_type difference_type; 102 reverse_iterator operator+ (difference_type n) const; 103 reverse_iterator& operator+=(difference_type n); [all …]
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/AST/ |
| H A D | UnresolvedSet.h | 47 typedef std::iterator_traits<IteratorTy>::difference_type difference_type; typedef 66 UnresolvedSetIterator &operator+=(difference_type d) { 69 UnresolvedSetIterator operator+(difference_type d) const { 72 UnresolvedSetIterator &operator-=(difference_type d) { 75 UnresolvedSetIterator operator-(difference_type d) const { 78 value_type operator[](difference_type d) const { return *(*this + d); } 80 difference_type operator-(const UnresolvedSetIterator &o) const {
|
| /minix3/external/bsd/libc++/dist/libcxx/test/std/iterators/iterator.primitives/iterator.basic/ |
| H A D | iterator.pass.cpp | 34 static_assert((std::is_same<typename It::difference_type, std::ptrdiff_t>::value), ""); in test2() 46 static_assert((std::is_same<typename It::difference_type, short>::value), ""); in test3() 58 static_assert((std::is_same<typename It::difference_type, int>::value), ""); in test4() 70 static_assert((std::is_same<typename It::difference_type, long>::value), ""); in test5()
|
| /minix3/external/bsd/libc++/dist/libcxx/test/iterators/iterator.primitives/iterator.basic/ |
| H A D | iterator.pass.cpp | 34 static_assert((std::is_same<typename It::difference_type, std::ptrdiff_t>::value), ""); in test2() 46 static_assert((std::is_same<typename It::difference_type, short>::value), ""); in test3() 58 static_assert((std::is_same<typename It::difference_type, int>::value), ""); in test4() 70 static_assert((std::is_same<typename It::difference_type, long>::value), ""); in test5()
|
| /minix3/external/bsd/libc++/dist/libcxx/test/containers/sequences/deque/ |
| H A D | types.pass.cpp | 50 …static_assert((std::is_same<typename C::difference_type, typename Allocator::difference_type>::val… in test() 86 …static_assert((std::is_same<C::size_type, std::make_unsigned<C::difference_type>::type>::value), "… in main() 87 static_assert((std::is_same<C::difference_type, std::ptrdiff_t>::value), ""); in main()
|
| /minix3/external/bsd/libc++/dist/libcxx/test/std/containers/sequences/deque/ |
| H A D | types.pass.cpp | 50 …static_assert((std::is_same<typename C::difference_type, typename Allocator::difference_type>::val… in test() 86 …static_assert((std::is_same<C::size_type, std::make_unsigned<C::difference_type>::type>::value), "… in main() 87 static_assert((std::is_same<C::difference_type, std::ptrdiff_t>::value), ""); in main()
|
| /minix3/external/bsd/libc++/dist/libcxx/test/containers/sequences/forwardlist/ |
| H A D | types.pass.cpp | 44 static_assert((std::is_same<C::difference_type, std::ptrdiff_t>::value), ""); in main() 56 …static_assert((std::is_same<C::size_type, std::make_unsigned<C::difference_type>::type>::value), "… in main() 57 static_assert((std::is_same<C::difference_type, std::ptrdiff_t>::value), ""); in main()
|
| /minix3/external/bsd/libc++/dist/libcxx/test/std/containers/sequences/forwardlist/ |
| H A D | types.pass.cpp | 46 static_assert((std::is_same<C::difference_type, std::ptrdiff_t>::value), ""); in main() 58 …static_assert((std::is_same<C::size_type, std::make_unsigned<C::difference_type>::type>::value), "… in main() 59 static_assert((std::is_same<C::difference_type, std::ptrdiff_t>::value), ""); in main()
|
| /minix3/external/bsd/libc++/dist/libcxx/test/std/iterators/iterator.primitives/iterator.traits/ |
| H A D | iterator.pass.cpp | 29 typedef int difference_type; typedef 39 static_assert((std::is_same<It::difference_type, int>::value), ""); in main()
|
| /minix3/external/bsd/libc++/dist/libcxx/test/iterators/iterator.primitives/iterator.traits/ |
| H A D | iterator.pass.cpp | 29 typedef int difference_type; typedef 39 static_assert((std::is_same<It::difference_type, int>::value), ""); in main()
|
| /minix3/external/bsd/libc++/dist/libcxx/test/std/containers/associative/set/ |
| H A D | types.pass.cpp | 51 static_assert((std::is_same<C::difference_type, std::ptrdiff_t>::value), ""); in main() 66 …static_assert((std::is_same<C::size_type, std::make_unsigned<C::difference_type>::type>::value), "… in main() 67 static_assert((std::is_same<C::difference_type, std::ptrdiff_t>::value), ""); in main()
|
| /minix3/external/bsd/libc++/dist/libcxx/test/std/containers/associative/multiset/ |
| H A D | types.pass.cpp | 51 static_assert((std::is_same<C::difference_type, std::ptrdiff_t>::value), ""); in main() 66 …static_assert((std::is_same<C::size_type, std::make_unsigned<C::difference_type>::type>::value), "… in main() 67 static_assert((std::is_same<C::difference_type, std::ptrdiff_t>::value), ""); in main()
|
| /minix3/external/bsd/libc++/dist/libcxx/test/containers/associative/set/ |
| H A D | types.pass.cpp | 51 static_assert((std::is_same<C::difference_type, std::ptrdiff_t>::value), ""); in main() 66 …static_assert((std::is_same<C::size_type, std::make_unsigned<C::difference_type>::type>::value), "… in main() 67 static_assert((std::is_same<C::difference_type, std::ptrdiff_t>::value), ""); in main()
|
| /minix3/external/bsd/libc++/dist/libcxx/test/containers/associative/multiset/ |
| H A D | types.pass.cpp | 51 static_assert((std::is_same<C::difference_type, std::ptrdiff_t>::value), ""); in main() 66 …static_assert((std::is_same<C::size_type, std::make_unsigned<C::difference_type>::type>::value), "… in main() 67 static_assert((std::is_same<C::difference_type, std::ptrdiff_t>::value), ""); in main()
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/ADT/ |
| H A D | iterator.h | 141 typename std::iterator_traits<WrappedIteratorT>::difference_type, 166 typedef DifferenceTypeT difference_type; typedef 168 DerivedT &operator+=(difference_type n) { 175 DerivedT &operator-=(difference_type n) { 183 difference_type operator-(const DerivedT &RHS) const {
|
| H A D | DenseSet.h | 83 typedef typename MapTy::iterator::difference_type difference_type; typedef 103 typedef typename MapTy::const_iterator::difference_type difference_type; typedef
|
| /minix3/external/bsd/libc++/dist/libcxx/test/std/containers/unord/unord.multiset/ |
| H A D | types.pass.cpp | 49 static_assert((std::is_same<C::difference_type, std::ptrdiff_t>::value), ""); in main() 65 …static_assert((std::is_same<C::size_type, std::make_unsigned<C::difference_type>::type>::value), "… in main() 66 static_assert((std::is_same<C::difference_type, std::ptrdiff_t>::value), ""); in main()
|
| /minix3/external/bsd/libc++/dist/libcxx/test/std/containers/associative/map/ |
| H A D | types.pass.cpp | 51 static_assert((std::is_same<C::difference_type, std::ptrdiff_t>::value), ""); in main() 66 …static_assert((std::is_same<C::size_type, std::make_unsigned<C::difference_type>::type>::value), "… in main() 67 static_assert((std::is_same<C::difference_type, std::ptrdiff_t>::value), ""); in main()
|