Searched refs:RandomAccessIter (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.transform/ |
| H A D | types.h | 59 using RandomAccessIter = random_access_iterator<int*>; variable 61 RandomAccessIter begin() const noexcept; 62 RandomAccessIter end() const noexcept; 97 constexpr auto begin() const { return RandomAccessIter(globalBuff); } in begin() 101 constexpr auto operator- (const RandomAccessIter &lhs, int* rhs) { return base(lhs) - rhs; } 102 constexpr auto operator- (int* lhs, const RandomAccessIter &rhs) { return lhs - base(rhs); } 103 constexpr bool operator==(const RandomAccessIter &lhs, int* rhs) { return base(lhs) == rhs; } 104 constexpr bool operator==(int* lhs, const RandomAccessIter &rhs) { return base(rhs) == lhs; }
|
| /llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.take/ |
| H A D | types.h | 46 using RandomAccessIter = random_access_iterator<int*>; variable 50 constexpr auto begin() const { return RandomAccessIter(ptr_); } in begin() 51 …constexpr auto end() const { return sized_sentinel<RandomAccessIter>(RandomAccessIter(ptr_ + 8)); } in end()
|
| H A D | end.pass.cpp | 30 ASSERT_SAME_TYPE(decltype(tv.end()), RandomAccessIter); in test() 36 ASSERT_SAME_TYPE(decltype(tv.end()), RandomAccessIter); in test()
|
| H A D | begin.pass.cpp | 38 ASSERT_SAME_TYPE(decltype(tv.begin()), RandomAccessIter); in test() 44 ASSERT_SAME_TYPE(decltype(tv.begin()), RandomAccessIter); in test()
|
| /llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.common.view/ |
| H A D | end.pass.cpp | 31 …std::same_as<RandomAccessIter> auto end = common.end(); // Note this should NOT be the sentinel ty… in test() 39 …std::same_as<RandomAccessIter> auto end = common.end(); // Note this should NOT be the sentinel ty… in test()
|
| H A D | begin.pass.cpp | 44 std::same_as<RandomAccessIter> auto begin = common.begin(); in test() 51 std::same_as<RandomAccessIter> auto begin = common.begin(); in test()
|
| H A D | types.h | 61 using RandomAccessIter = random_access_iterator<int*>; variable
|
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | IteratorTest.cpp | 41 using RandomAccessIter = SmallVectorImpl<int*>::iterator; typedef 146 RandomAccessIter>::value, ""); 151 RandomAccessIter>::value, "");
|