Home
last modified time | relevance | path

Searched refs:difference_type (Results 1 – 25 of 33) sorted by relevance

12

/oneTBB/test/common/
H A Diterator.h36 typedef typename allocator_traits_type::difference_type difference_type; typedef
117 typedef typename allocator_traits_type::difference_type difference_type; typedef
146 typedef typename allocator_traits_type::difference_type difference_type; typedef
174 RandomIterator& operator+=( difference_type n ) {
178 RandomIterator& operator-=( difference_type n ) {
186 RandomIterator operator-( difference_type n ) const {
189 reference operator[]( difference_type n ) const {
204 typedef typename allocator_traits_type::difference_type difference_type; typedef
233 ConstRandomIterator& operator+=( difference_type n ) {
237 ConstRandomIterator& operator-=( difference_type n ) {
[all …]
H A Dutils.h54 typename std::iterator_traits<It>::difference_type distance = std::distance(first, last); in median()
180 …ename T> using iterator_traits_difference_type = typename std::iterator_traits<T>::difference_type;
198 …ing is_add_assignable = decltype(std::declval<T>() += std::declval<typename T::difference_type>());
199 …ing is_sub_assignable = decltype(std::declval<T>() -= std::declval<typename T::difference_type>());
201 …ing have_operator_plus = decltype(std::declval<T>() + std::declval<typename T::difference_type>());
202 …ng have_operator_minus = decltype(std::declval<T>() + std::declval<typename T::difference_type>());
204 …ng have_operator_access = decltype(std::declval<T>()[std::declval<typename T::difference_type>()]);
H A Dcontainer_move_support.h300 using difference_type = std::ptrdiff_t; variable
316 using difference_type = std::ptrdiff_t; variable
H A Dallocator_test_common.h127 typename A::difference_type difference; in TestBrokenAllocator()
/oneTBB/test/tbb/
H A Dtest_parallel_for_each.cpp40 using difference_type = std::ptrdiff_t; typedef
73 cpp20_iterator& operator+=(difference_type n) in operator +=()
80 cpp20_iterator& operator-=(difference_type n) in operator -=()
87 T& operator[](difference_type n) const in operator []()
98 friend cpp20_iterator operator+(cpp20_iterator i, difference_type n) in operator +()
104 friend cpp20_iterator operator+(difference_type n, cpp20_iterator i) in operator +()
110 friend cpp20_iterator operator-(cpp20_iterator i, difference_type n) in operator -()
116 friend difference_type operator-(const cpp20_iterator& x, const cpp20_iterator& y) { in operator -()
/oneTBB/include/oneapi/tbb/
H A Dconcurrent_vector.h47 using difference_type = typename vector_type::difference_type; variable
90 vector_iterator operator+( difference_type offset ) const {
94 vector_iterator& operator+=( difference_type offset ) {
100 vector_iterator operator-( difference_type offset ) const {
104 vector_iterator& operator-=( difference_type offset ) {
122 reference operator[]( difference_type k ) const {
180 vector_iterator<Vector, T> operator+( typename vector_iterator<Vector, T>::difference_type offset,
190 using difference_type = typename vector_iterator<Vector, T>::difference_type; variable
191 return static_cast<difference_type>(i.my_index) - static_cast<difference_type>(j.my_index);
243 using difference_type = std::ptrdiff_t; variable
[all …]
H A Dconcurrent_set.h61 using difference_type = typename base_type::difference_type; variable
162 using difference_type = typename base_type::difference_type; variable
H A Dconcurrent_map.h78 using difference_type = typename base_type::difference_type; variable
228 using difference_type = typename base_type::difference_type; variable
H A Dconcurrent_unordered_set.h55 using difference_type = typename base_type::difference_type; variable
194 using difference_type = typename base_type::difference_type; variable
H A Denumerable_thread_specific.h369 using difference_type = std::ptrdiff_t;
522 using difference_type = std::ptrdiff_t;
775 using difference_type = std::ptrdiff_t;
833 using difference_type = typename internal_collection_type::difference_type;
1056 using difference_type = typename conval_type::difference_type;
H A Dtbb_allocator.h78 using difference_type = std::ptrdiff_t; variable
H A Dconcurrent_unordered_map.h57 using difference_type = typename base_type::difference_type; variable
256 using difference_type = typename base_type::difference_type; variable
H A Dcache_aligned_allocator.h72 using difference_type = std::ptrdiff_t; variable
H A Dscalable_allocator.h242 using difference_type = std::ptrdiff_t; variable
H A Dmemory_pool.h95 typedef ptrdiff_t difference_type; typedef
H A Dconcurrent_queue.h63 using difference_type = std::ptrdiff_t; variable
338 using difference_type = std::ptrdiff_t; variable
H A Dconcurrent_hash_map.h381 using difference_type = typename Container::difference_type; variable
505 using difference_type = typename Iterator::difference_type; variable
612 using difference_type = std::ptrdiff_t; in __TBB_requires() local
/oneTBB/doc/main/reference/scalable_memory_pools/
H A Dmemory_pool_allocator_cls.rst49 using difference_type = ptrdiff_t;
/oneTBB/test/conformance/
H A Dconformance_concurrent_set.cpp59 static_assert(std::is_signed<typename container_type::difference_type>::value, in test_member_types()
H A Dconformance_concurrent_vector.cpp43 typename Vector::difference_type delta = cp-u.begin(); in CheckConstIterator()
104 typename V::difference_type delta = p-v.begin(); in TestSequentialFor()
145 typename V::difference_type delta = i*3 % u.size(); in TestSequentialFor()
599 …AssertSameType( static_cast<typename Iterator::difference_type*>(nullptr), static_cast<std::ptrdif… in TestIteratorTraits()
722 if( p-my_vector.begin() < typename MyVector::difference_type(req) ) in operator ()()
1277 static_assert(std::is_signed<typename container_type::difference_type>::value, in test_member_types()
H A Dconformance_concurrent_map.cpp79 static_assert(std::is_signed<typename container_type::difference_type>::value, in test_member_types()
H A Dconformance_concurrent_unordered_set.cpp64 static_assert(std::is_signed<typename container_type::difference_type>::value, in test_member_types()
H A Dconformance_concurrent_unordered_map.cpp81 static_assert(std::is_signed<typename container_type::difference_type>::value, in test_member_types()
/oneTBB/include/oneapi/tbb/detail/
H A D_concurrent_unordered_base.h70 using difference_type = typename Container::difference_type; variable
206 using difference_type = std::ptrdiff_t; variable
707 using difference_type = typename concurrent_unordered_base::difference_type; variable
H A D_concurrent_skip_list.h192 using difference_type = std::ptrdiff_t; variable
259 using difference_type = std::ptrdiff_t; variable
668 using difference_type = typename concurrent_skip_list::difference_type; variable

12