Searched refs:difference_type (Results 1 - 25 of 180) sorted by relevance

12345678

/external/libcxx/test/std/utilities/memory/pointer.traits/pointer.traits.types/
H A Ddifference_type.pass.cpp15 // typedef <details> difference_type;
27 typedef char difference_type; typedef in struct:A
41 typedef char difference_type; typedef in struct:D
47 static int difference_type; member in struct:E
53 typedef int difference_type; typedef in struct:F
58 static_assert((std::is_same<std::pointer_traits<A>::difference_type, char>::value), "");
59 static_assert((std::is_same<std::pointer_traits<B>::difference_type, std::ptrdiff_t>::value), "");
60 static_assert((std::is_same<std::pointer_traits<C<double> >::difference_type, std::ptrdiff_t>::value), "");
61 static_assert((std::is_same<std::pointer_traits<D<int> >::difference_type, char>::value), "");
62 static_assert((std::is_same<std::pointer_traits<E<int> >::difference_type, st
[all...]
/external/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.types/
H A Ddifference_type.pass.cpp15 // typedef Alloc::difference_type
16 // | pointer_traits<pointer>::difference_type difference_type;
29 typedef short difference_type; typedef in struct:A
54 typedef void difference_type; typedef in struct:D
65 typedef signed char difference_type; typedef in struct:std::pointer_traits
72 static_assert((std::is_same<std::allocator_traits<A<char> >::difference_type, short>::value), "");
73 static_assert((std::is_same<std::allocator_traits<B<char> >::difference_type, std::ptrdiff_t>::value), "");
74 static_assert((std::is_same<std::allocator_traits<C<char> >::difference_type, signed char>::value), "");
76 static_assert((std::is_same<std::allocator_traits<D<char> >::difference_type, st
[all...]
/external/libcxx/test/std/utilities/memory/pointer.traits/
H A Ddifference_type.pass.cpp15 // typedef ptrdiff_t difference_type;
24 static_assert((std::is_same<std::pointer_traits<double*>::difference_type, std::ptrdiff_t>::value), "");
H A Dpointer.pass.cpp25 typedef char difference_type; typedef in struct:A
/external/libcxx/test/std/containers/sequences/forwardlist/
H A Dtypes.pass.cpp24 // typedef typename allocator_traits<allocator_type>::difference_type difference_type;
46 static_assert((std::is_same<C::difference_type, std::ptrdiff_t>::value), "");
48 static_assert((std::is_signed<typename C::difference_type>::value), "");
50 static_assert((std::is_same<typename C::difference_type,
51 typename std::iterator_traits<typename C::iterator>::difference_type>::value), "");
52 static_assert((std::is_same<typename C::difference_type,
53 typename std::iterator_traits<typename C::const_iterator>::difference_type>::value), "");
65 static_assert((std::is_same<C::size_type, std::make_unsigned<C::difference_type>::type>::value), "");
66 static_assert((std::is_same<C::difference_type, st
[all...]
H A Dmax_size.pass.cpp34 const C::difference_type max_dist =
35 std::numeric_limits<C::difference_type>::max();
42 const C::difference_type max_dist =
43 std::numeric_limits<C::difference_type>::max();
/external/libcxx/test/std/containers/associative/map/map.access/
H A Dmax_size.pass.cpp37 const C::difference_type max_dist =
38 std::numeric_limits<C::difference_type>::max();
45 const C::difference_type max_dist =
46 std::numeric_limits<C::difference_type>::max();
/external/libcxx/test/std/containers/associative/multimap/
H A Dmax_size.pass.cpp37 const C::difference_type max_dist =
38 std::numeric_limits<C::difference_type>::max();
45 const C::difference_type max_dist =
46 std::numeric_limits<C::difference_type>::max();
/external/libcxx/test/std/containers/associative/multiset/
H A Dmax_size.pass.cpp36 const C::difference_type max_dist =
37 std::numeric_limits<C::difference_type>::max();
44 const C::difference_type max_dist =
45 std::numeric_limits<C::difference_type>::max();
/external/libcxx/test/std/containers/associative/set/
H A Dmax_size.pass.cpp36 const C::difference_type max_dist =
37 std::numeric_limits<C::difference_type>::max();
44 const C::difference_type max_dist =
45 std::numeric_limits<C::difference_type>::max();
/external/libcxx/test/std/containers/sequences/deque/deque.capacity/
H A Dmax_size.pass.cpp33 const C::difference_type max_dist =
34 std::numeric_limits<C::difference_type>::max();
41 const C::difference_type max_dist =
42 std::numeric_limits<C::difference_type>::max();
/external/libcxx/test/std/containers/sequences/list/list.capacity/
H A Dmax_size.pass.cpp33 const C::difference_type max_dist =
34 std::numeric_limits<C::difference_type>::max();
41 const C::difference_type max_dist =
42 std::numeric_limits<C::difference_type>::max();
/external/libcxx/test/std/containers/sequences/vector/vector.capacity/
H A Dmax_size.pass.cpp34 const C::difference_type max_dist =
35 std::numeric_limits<C::difference_type>::max();
42 const C::difference_type max_dist =
43 std::numeric_limits<C::difference_type>::max();
/external/libcxx/test/std/containers/unord/unord.map/
H A Dmax_size.pass.cpp39 const C::difference_type max_dist =
40 std::numeric_limits<C::difference_type>::max();
47 const C::difference_type max_dist =
48 std::numeric_limits<C::difference_type>::max();
/external/libcxx/test/std/containers/unord/unord.multimap/
H A Dmax_size.pass.cpp41 const C::difference_type max_dist =
42 std::numeric_limits<C::difference_type>::max();
49 const C::difference_type max_dist =
50 std::numeric_limits<C::difference_type>::max();
/external/libcxx/test/std/containers/unord/unord.multiset/
H A Dmax_size.pass.cpp40 const C::difference_type max_dist =
41 std::numeric_limits<C::difference_type>::max();
48 const C::difference_type max_dist =
49 std::numeric_limits<C::difference_type>::max();
/external/libcxx/test/std/containers/unord/unord.set/
H A Dmax_size.pass.cpp36 const C::difference_type max_dist =
37 std::numeric_limits<C::difference_type>::max();
44 const C::difference_type max_dist =
45 std::numeric_limits<C::difference_type>::max();
/external/libcxx/test/std/containers/sequences/list/
H A Dtypes.pass.cpp43 static_assert((std::is_signed<typename C::difference_type>::value), "");
45 static_assert((std::is_same<typename C::difference_type,
46 typename std::iterator_traits<typename C::iterator>::difference_type>::value), "");
47 static_assert((std::is_same<typename C::difference_type,
48 typename std::iterator_traits<typename C::const_iterator>::difference_type>::value), "");
61 static_assert((std::is_signed<typename C::difference_type>::value), "");
63 static_assert((std::is_same<typename C::difference_type,
64 typename std::iterator_traits<typename C::iterator>::difference_type>::value), "");
65 static_assert((std::is_same<typename C::difference_type,
66 typename std::iterator_traits<typename C::const_iterator>::difference_type>
[all...]
/external/libcxx/test/std/containers/sequences/deque/
H A Dtypes.pass.cpp25 // typedef typename allocator_type::difference_type difference_type;
50 static_assert((std::is_same<typename C::difference_type, typename Allocator::difference_type>::value), "");
67 static_assert((std::is_signed<typename C::difference_type>::value), "");
69 static_assert((std::is_same<typename C::difference_type,
70 typename std::iterator_traits<typename C::iterator>::difference_type>::value), "");
71 static_assert((std::is_same<typename C::difference_type,
72 typename std::iterator_traits<typename C::const_iterator>::difference_type>::value), "");
93 static_assert((std::is_same<C::size_type, std::make_unsigned<C::difference_type>
[all...]
/external/libcxx/test/std/containers/sequences/vector.bool/
H A Dtypes.pass.cpp23 // typedef typename allocator_type::difference_type difference_type;
48 static_assert((std::is_same<typename C::difference_type, typename std::allocator_traits<Allocator>::difference_type>::value), "");
50 static_assert((std::is_signed<typename C::difference_type>::value), "");
52 static_assert((std::is_same<typename C::difference_type,
53 typename std::iterator_traits<typename C::iterator>::difference_type>::value), "");
54 static_assert((std::is_same<typename C::difference_type,
55 typename std::iterator_traits<typename C::const_iterator>::difference_type>::value), "");
/external/llvm/include/llvm/ADT/
H A DSequence.h35 typedef typename BaseT::difference_type difference_type; typedef in class:llvm::detail::value_sequence_iterator
46 value_sequence_iterator &operator+=(difference_type N) {
50 value_sequence_iterator &operator-=(difference_type N) {
55 difference_type operator-(const value_sequence_iterator &RHS) const {
/external/libcxx/test/std/iterators/iterator.primitives/iterator.traits/
H A Diterator.pass.cpp15 // typedef typename Iter::difference_type difference_type;
29 typedef int difference_type; typedef in struct:test_iterator
39 static_assert((std::is_same<It::difference_type, int>::value), "");
/external/libcxx/test/std/containers/sequences/array/
H A Dtypes.pass.cpp23 // typedef ptrdiff_t difference_type;
42 static_assert((std::is_same<typename ItT::difference_type, typename C::difference_type>::value), "");
48 static_assert((std::is_same<typename CItT::difference_type, typename C::difference_type>::value), "");
64 static_assert((std::is_same<C::difference_type, std::ptrdiff_t>::value), "");
68 static_assert((std::is_signed<typename C::difference_type>::value), "");
70 static_assert((std::is_same<typename C::difference_type,
71 typename std::iterator_traits<typename C::iterator>::difference_type>::value), "");
72 static_assert((std::is_same<typename C::difference_type,
[all...]
/external/v8/src/base/
H A Diterator.h28 typename std::iterator_traits<iterator>::difference_type difference_type; typedef in class:v8::base::iterator_range
45 reference operator[](difference_type n) { return begin()[n]; }
46 difference_type size() const { return cend() - cbegin(); }
/external/libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iterator/
H A Dtypes.pass.cpp23 // typename iterator_traits<Iterator>::difference_type,
50 static_assert((std::is_same<typename R::difference_type, typename T::difference_type>::value), "");

Completed in 484 milliseconds

12345678