Home
last modified time | relevance | path

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

123456

/third_party/json/include/nlohmann/detail/iterators/
H A Dprimitive_iterator.hpp26 a `difference_type` variable. Value begin_value (`0`) models the begin,
32 using difference_type = std::ptrdiff_t;
33 static constexpr difference_type begin_value = 0;
34 static constexpr difference_type end_value = begin_value + 1;
38 difference_type m_it = (std::numeric_limits<std::ptrdiff_t>::min)();
41 constexpr difference_type get_value() const noexcept
80 primitive_iterator_t operator+(difference_type n) noexcept
87 friend constexpr difference_type operator-(primitive_iterator_t lhs, primitive_iterator_t rhs) noexcept
118 primitive_iterator_t& operator+=(difference_type n) noexcept
124 primitive_iterator_t& operator-=(difference_type
[all...]
H A Djson_reverse_iterator.hpp47 using difference_type = std::ptrdiff_t;
85 json_reverse_iterator& operator+=(difference_type i) in operator +=()
91 json_reverse_iterator operator+(difference_type i) const in operator +()
97 json_reverse_iterator operator-(difference_type i) const in operator -()
103 difference_type operator-(const json_reverse_iterator& other) const in operator -()
109 reference operator[](difference_type n) const in operator []()
H A Diterator_traits.hpp27 void_t<typename It::difference_type, typename It::value_type, typename It::pointer,
30 using difference_type = typename It::difference_type;
55 using difference_type = ptrdiff_t;
H A Diter_impl.hpp71 /// iterator_category, value_type, difference_type, pointer, and reference.
78 using difference_type = typename BasicJsonType::difference_type;
576 iter_impl& operator+=(difference_type i) in operator +=()
613 iter_impl& operator-=(difference_type i) in operator -=()
622 iter_impl operator+(difference_type i) const in operator +()
633 friend iter_impl operator+(difference_type i, const iter_impl& it) in operator +()
644 iter_impl operator-(difference_type i) const in operator -()
655 difference_type operator-(const iter_impl& other) const in operator -()
684 reference operator[](difference_type
[all...]
/third_party/mesa3d/src/gallium/frontends/clover/util/
H A Dadaptor.hpp52 typedef std::ptrdiff_t difference_type; typedef in clover::detail::iterator_adaptor
108 operator+=(difference_type n) { in operator +=()
114 operator-=(difference_type n) { in operator -=()
120 operator+(difference_type n) const { in operator +()
127 operator-(difference_type n) const { in operator -()
133 difference_type
139 operator[](difference_type n) const { in operator []()
170 operator+(typename iterator_adaptor<F, Is...>::difference_type n, in operator +()
177 operator-(typename iterator_adaptor<F, Is...>::difference_type n, in operator -()
/third_party/node/deps/v8/src/base/
H A Diterator.h18 using difference_type = Diff;
35 using difference_type =
36 typename std::iterator_traits<iterator>::difference_type;
52 reference operator[](difference_type n) { return begin()[n]; } in operator []()
53 difference_type size() const { return cend() - cbegin(); } in size()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DSequence.h38 using difference_type = typename BaseT::difference_type;
49 value_sequence_iterator &operator+=(difference_type N) { in operator +=()
53 value_sequence_iterator &operator-=(difference_type N) { in operator -=()
58 difference_type operator-(const value_sequence_iterator &RHS) const { in operator -()
H A DDenseSet.h111 using difference_type = typename MapTy::iterator::difference_type;
137 using difference_type = typename MapTy::const_iterator::difference_type;
H A Diterator.h196 typename std::iterator_traits<WrappedIteratorT>::difference_type,
223 using difference_type = DifferenceTypeT;
225 DerivedT &operator+=(difference_type n) { in operator +=()
232 DerivedT &operator-=(difference_type n) { in operator -=()
240 difference_type operator-(const DerivedT &RHS) const { in operator -()
/third_party/gn/src/base/
H A Dvalue_iterators.h29 using difference_type = DictStorage::iterator::difference_type;
73 using difference_type = DictStorage::const_iterator::difference_type;
124 using difference_type = DictStorage::difference_type;
163 using difference_type = DictStorage::difference_type;
/third_party/json/tests/src/
H A Dunit-concepts.cpp45 // X::difference_type must return a signed integer
46 CHECK((std::is_signed<json::difference_type>::value));
47 // X::difference_type must be identical to X::iterator::difference_type
48 CHECK((std::is_same<json::difference_type, json::iterator::difference_type>::value));
49 // X::difference_type must be identical to X::const_iterator::difference_type
50 CHECK((std::is_same<json::difference_type, json::const_iterator::difference_type>
[all...]
H A Dunit-user_defined_input.cpp88 using difference_type = std::size_t;
114 CHECK(std::is_same<MyIterator::difference_type, std::size_t>::value);
/third_party/gn/src/base/containers/
H A Dcircular_deque.h132 using difference_type = std::ptrdiff_t;
155 const value_type& operator[](difference_type i) const { return *(*this + i); } in operator []()
180 difference_type offset) { in operator +()
185 circular_deque_const_iterator& operator+=(difference_type offset) { in operator +=()
191 difference_type offset) { in operator -()
196 circular_deque_const_iterator& operator-=(difference_type offset) { in operator -=()
270 void Add(difference_type delta) { in Add()
285 difference_type new_offset = OffsetFromBegin() + delta; in Add()
287 new_offset <= static_cast<difference_type>(parent_deque_->size())); in Add()
332 using difference_type
[all...]
/third_party/node/deps/v8/src/objects/
H A Dslots-atomic-inl.h74 using difference_type = int;
88 Reference operator[](difference_type i) const { in operator []()
94 friend difference_type operator-(AtomicSlot a, AtomicSlot b) { in operator -()
/third_party/node/deps/v8/src/compiler/
H A Dnode.h490 using difference_type = std::ptrdiff_t;
509 iterator& operator+=(difference_type offset) { in operator +=()
514 iterator operator+(difference_type offset) const { in operator +()
517 difference_type operator-(const iterator& other) const { in operator -()
549 using difference_type = std::ptrdiff_t;
568 const_iterator& operator+=(difference_type offset) { in operator +=()
572 const_iterator operator+(difference_type offset) const { in operator +()
575 difference_type operator-(const const_iterator& other) const { in operator -()
645 using difference_type = int;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
H A Diterator.h158 typename std::iterator_traits<WrappedIteratorT>::difference_type,
184 typedef DifferenceTypeT difference_type; typedef in llvm::iterator_adaptor_base
186 DerivedT &operator+=(difference_type n) { in operator +=()
193 DerivedT &operator-=(difference_type n) { in operator -=()
201 difference_type operator-(const DerivedT &RHS) const { in operator -()
H A DSTLExtras.h106 typedef typename std::iterator_traits<RootIt>::difference_type
107 difference_type; typedef in llvm::mapped_iterator
146 mapped_iterator operator+(difference_type n) const { in operator +()
149 mapped_iterator &operator+=(difference_type n) { in operator +=()
153 mapped_iterator operator-(difference_type n) const { in operator -()
156 mapped_iterator &operator-=(difference_type n) { in operator -=()
160 reference operator[](difference_type n) const { return *(*this + n); } in operator []()
168 difference_type operator-(const mapped_iterator &X) const { in operator -()
175 operator+(typename mapped_iterator<Iterator, Func>::difference_type N, in operator +()
529 decltype(std::begin(Range))>::difference_type {
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/memory/
H A Dmemory_test.cc292 using difference_type = char;
297 using difference_type = int16_t;
316 EXPECT_TRUE((std::is_same<TraitsWith::difference_type, int16_t>::value)); in TEST()
325 (std::is_same<TraitsWithout ::difference_type, std::ptrdiff_t>::value)); in TEST()
333 (std::is_same<TraitsRawPtr::difference_type, std::ptrdiff_t>::value)); in TEST()
400 using difference_type = int; in TEST()
404 HasDifferenceType>::difference_type>::value)); in TEST()
406 HasPointer>::difference_type>::value)); in TEST()
H A Dmemory.h282 using GetDifferenceType = typename T::difference_type;
380 // difference_type:
381 // Ptr::difference_type if present, otherwise std::ptrdiff_t
382 using difference_type =
404 using difference_type = std::ptrdiff_t;
461 // difference_type:
462 // Alloc::difference_type if present, otherwise
463 // absl::pointer_traits<pointer>::difference_type
464 using difference_type = memory_internal::ExtractOrT<
466 typename absl::pointer_traits<pointer>::difference_type>;
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
H A Dcounting_allocator.h41 using difference_type = typename AllocatorTraits::difference_type;
H A Dunordered_map_members_test.h43 std::is_signed<typename TypeParam::difference_type>, in TYPED_TEST_P()
44 std::is_integral<typename TypeParam::difference_type>>())); in TYPED_TEST_P()
H A Dunordered_set_members_test.h42 std::is_signed<typename TypeParam::difference_type>, in TYPED_TEST_P()
43 std::is_integral<typename TypeParam::difference_type>>())); in TYPED_TEST_P()
/third_party/protobuf/src/google/protobuf/
H A Drepeated_field.h266 typedef ptrdiff_t difference_type; typedef in google::protobuf::final
999 typedef ptrdiff_t difference_type; typedef in google::protobuf::final
2428 using difference_type = std::ptrdiff_t;
2473 iterator& operator+=(difference_type d) { in operator +=()
2477 friend iterator operator+(iterator it, const difference_type d) { in operator +()
2481 friend iterator operator+(const difference_type d, iterator it) { in operator +()
2485 iterator& operator-=(difference_type d) { in operator -=()
2489 friend iterator operator-(iterator it, difference_type d) { in operator -()
2495 reference operator[](difference_type d) const { return *(*this + d); } in operator []()
2498 difference_type operato
[all...]
/third_party/rust/crates/cxx/gen/src/include/
H A Dcxx.h218 using difference_type = std::ptrdiff_t;
224 reference operator[](difference_type) const noexcept;
231 iterator &operator+=(difference_type) noexcept;
232 iterator &operator-=(difference_type) noexcept;
233 iterator operator+(difference_type) const noexcept;
234 iterator operator-(difference_type) const noexcept;
235 difference_type operator-(const iterator &) const noexcept;
596 typename Slice<T>::iterator::difference_type n) const noexcept {
629 typename Slice<T>::iterator::difference_type n) noexcept {
636 typename Slice<T>::iterator::difference_type
[all...]
/third_party/rust/crates/cxx/gen/cmd/src/gen/include/
H A Dcxx.h218 using difference_type = std::ptrdiff_t;
224 reference operator[](difference_type) const noexcept;
231 iterator &operator+=(difference_type) noexcept;
232 iterator &operator-=(difference_type) noexcept;
233 iterator operator+(difference_type) const noexcept;
234 iterator operator-(difference_type) const noexcept;
235 difference_type operator-(const iterator &) const noexcept;
596 typename Slice<T>::iterator::difference_type n) const noexcept {
629 typename Slice<T>::iterator::difference_type n) noexcept {
636 typename Slice<T>::iterator::difference_type
[all...]

Completed in 21 milliseconds

123456