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

123456

/external/libcxx/test/std/utilities/memory/pointer.traits/pointer.traits.types/
H A Ddifference_type.pass.cpp15 // typedef <details> difference_type;
25 typedef char difference_type; typedef in struct:A
39 typedef char difference_type; typedef in struct:D
44 static_assert((std::is_same<std::pointer_traits<A>::difference_type, char>::value), "");
45 static_assert((std::is_same<std::pointer_traits<B>::difference_type, std::ptrdiff_t>::value), "");
46 static_assert((std::is_same<std::pointer_traits<C<double> >::difference_type, std::ptrdiff_t>::value), "");
47 static_assert((std::is_same<std::pointer_traits<D<int> >::difference_type, char>::value), "");
/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;
27 typedef short difference_type; typedef in struct:A
52 typedef signed char difference_type; typedef in struct:std::pointer_traits
59 static_assert((std::is_same<std::allocator_traits<A<char> >::difference_type, short>::value), "");
60 static_assert((std::is_same<std::allocator_traits<B<char> >::difference_type, std::ptrdiff_t>::value), "");
61 static_assert((std::is_same<std::allocator_traits<C<char> >::difference_type, signed char>::value), "");
/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/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/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/move.iterators/move.iterator/
H A Dtypes.pass.cpp20 // typedef Iter::difference_type difference_type;
38 static_assert((std::is_same<typename R::difference_type, typename T::difference_type>::value), "");
/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), "");
/external/libcxx/test/std/strings/basic.string/
H A Dinput_iterator.h22 typedef typename std::iterator_traits<It>::difference_type difference_type; typedef in class:input_iterator
/external/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/
H A Dminus.pass.cpp27 test(It l, It r, typename std::iterator_traits<It>::difference_type x)
H A Dplus.pass.cpp16 // operator+(Iter::difference_type n, const move_iterator<Iter>& x);
25 test(It i, typename std::iterator_traits<It>::difference_type n, It x)
/external/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.+/
H A Ddifference_type.pass.cpp15 // move_iterator operator+(difference_type n) const;
24 test(It i, typename std::iterator_traits<It>::difference_type n, It x)
/external/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.+=/
H A Ddifference_type.pass.cpp15 // move_iterator& operator+=(difference_type n);
24 test(It i, typename std::iterator_traits<It>::difference_type n, It x)
/external/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.-/
H A Ddifference_type.pass.cpp15 // move_iterator operator-(difference_type n) const;
24 test(It i, typename std::iterator_traits<It>::difference_type n, It x)
/external/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.-=/
H A Ddifference_type.pass.cpp15 // move_iterator& operator-=(difference_type n);
24 test(It i, typename std::iterator_traits<It>::difference_type n, It x)
/external/libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op+/
H A Ddifference_type.pass.cpp15 // reverse_iterator operator+(difference_type n) const;
24 test(It i, typename std::iterator_traits<It>::difference_type n, It x)
/external/libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op+=/
H A Ddifference_type.pass.cpp15 // reverse_iterator& operator+=(difference_type n);
24 test(It i, typename std::iterator_traits<It>::difference_type n, It x)
/external/libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op-/
H A Ddifference_type.pass.cpp15 // reverse_iterator operator-(difference_type n) const;
24 test(It i, typename std::iterator_traits<It>::difference_type n, It x)
/external/libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op-=/
H A Ddifference_type.pass.cpp15 // reverse_iterator& operator-=(difference_type n);
24 test(It i, typename std::iterator_traits<It>::difference_type n, It x)
/external/libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opindex/
H A Ddifference_type.pass.cpp15 // unspecified operator[](difference_type n) const;
24 test(It i, typename std::iterator_traits<It>::difference_type n,
/external/libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opsum/
H A Ddifference_type.pass.cpp16 // operator+(Iter::difference_type n, const reverse_iterator<Iter>& x);
25 test(It i, typename std::iterator_traits<It>::difference_type n, It x)
/external/libcxx/test/support/
H A Dtest_iterators.h31 typedef typename std::iterator_traits<It>::difference_type difference_type; typedef in class:output_iterator
61 typedef typename std::iterator_traits<It>::difference_type difference_type; typedef in class:input_iterator
113 typedef typename std::iterator_traits<It>::difference_type difference_type; typedef in class:forward_iterator
165 typedef typename std::iterator_traits<It>::difference_type difference_type; typedef in class:bidirectional_iterator
216 typedef typename std::iterator_traits<It>::difference_type difference_type; typedef in class:random_access_iterator
[all...]
/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), "");
58 static_assert((std::is_same<C::size_type, std::make_unsigned<C::difference_type>::type>::value), "");
59 static_assert((std::is_same<C::difference_type, std::ptrdiff_t>::value), "");
/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), "");
86 static_assert((std::is_same<C::size_type, std::make_unsigned<C::difference_type>::type>::value), "");
87 static_assert((std::is_same<C::difference_type, std::ptrdiff_t>::value), "");
/external/libcxx/test/std/iterators/iterator.primitives/iterator.basic/
H A Diterator.pass.cpp17 // typedef Distance difference_type;
34 static_assert((std::is_same<typename It::difference_type, std::ptrdiff_t>::value), "");
46 static_assert((std::is_same<typename It::difference_type, short>::value), "");
58 static_assert((std::is_same<typename It::difference_type, int>::value), "");
70 static_assert((std::is_same<typename It::difference_type, long>::value), "");

Completed in 865 milliseconds

123456