/external/llvm-project/libcxx/test/std/containers/sequences/forwardlist/forwardlist.iter/ |
D | before_begin.pass.cpp | 28 C::iterator i = c.before_begin(); in main() 35 C::const_iterator i = c.before_begin(); in main() 44 assert(c.cbefore_begin() == c.before_begin()); in main() 51 C::iterator i = c.before_begin(); in main() 53 assert(std::next(c.before_begin()) == c.begin()); in main() 60 C::const_iterator i = c.before_begin(); in main() 68 C::iterator i = c.before_begin(); in main() 75 C::const_iterator i = c.before_begin(); in main() 84 assert(c.cbefore_begin() == c.before_begin()); in main() 91 C::iterator i = c.before_begin(); in main() [all …]
|
/external/libcxx/test/std/containers/sequences/forwardlist/forwardlist.iter/ |
D | before_begin.pass.cpp | 28 C::iterator i = c.before_begin(); in main() 35 C::const_iterator i = c.before_begin(); in main() 44 assert(c.cbefore_begin() == c.before_begin()); in main() 51 C::iterator i = c.before_begin(); in main() 53 assert(std::next(c.before_begin()) == c.begin()); in main() 60 C::const_iterator i = c.before_begin(); in main() 68 C::iterator i = c.before_begin(); in main() 75 C::const_iterator i = c.before_begin(); in main() 84 assert(c.cbefore_begin() == c.before_begin()); in main() 91 C::iterator i = c.before_begin(); in main() [all …]
|
/external/pigweed/pw_containers/public/pw_containers/ |
D | intrusive_list.h | 94 void push_front(T& item) { list_.insert_after(list_.before_begin(), item); } in push_front() 104 void pop_front() { list_.erase_after(list_.before_begin()); } in pop_front() 127 iterator before_begin() noexcept { in before_begin() function 128 return iterator(static_cast<Item*>(list_.before_begin())); in before_begin() 130 const_iterator before_begin() const noexcept { in before_begin() function 131 return const_iterator(static_cast<const Item*>(list_.before_begin())); in before_begin() 133 const_iterator cbefore_begin() const noexcept { return before_begin(); } in cbefore_begin()
|
/external/llvm-project/libcxx/test/std/containers/sequences/forwardlist/forwardlist.modifiers/ |
D | insert_after_init.pass.cpp | 29 assert(i == c.before_begin()); in main() 33 assert(i == next(c.before_begin(), 3)); in main() 54 assert(i == c.before_begin()); in main() 58 assert(i == next(c.before_begin(), 3)); in main()
|
D | insert_after_size_value.pass.cpp | 27 assert(i == c.before_begin()); in main() 31 assert(i == next(c.before_begin(), 3)); in main() 53 assert(i == c.before_begin()); in main() 57 assert(i == next(c.before_begin(), 3)); in main()
|
D | insert_after_range.pass.cpp | 32 assert(i == c.before_begin()); in main() 36 assert(i == next(c.before_begin(), 3)); in main() 60 assert(i == c.before_begin()); in main() 64 assert(i == next(c.before_begin(), 3)); in main()
|
/external/libcxx/test/std/containers/sequences/forwardlist/forwardlist.modifiers/ |
D | insert_after_init.pass.cpp | 29 assert(i == c.before_begin()); in main() 33 assert(i == next(c.before_begin(), 3)); in main() 54 assert(i == c.before_begin()); in main() 58 assert(i == next(c.before_begin(), 3)); in main()
|
D | insert_after_size_value.pass.cpp | 27 assert(i == c.before_begin()); in main() 31 assert(i == next(c.before_begin(), 3)); in main() 53 assert(i == c.before_begin()); in main() 57 assert(i == next(c.before_begin(), 3)); in main()
|
D | insert_after_range.pass.cpp | 32 assert(i == c.before_begin()); in main() 36 assert(i == next(c.before_begin(), 3)); in main() 60 assert(i == c.before_begin()); in main() 64 assert(i == next(c.before_begin(), 3)); in main()
|
/external/pigweed/pw_containers/ |
D | intrusive_list.cc | 53 List::Item* List::before_end() noexcept { return before_begin()->previous(); } in before_end() 57 erase_after(before_begin()); in clear() 62 for (Item* pos = before_begin(); pos->next_ != end(); pos = pos->next_) { in remove()
|
D | intrusive_list_test.cc | 443 auto it = list.erase_after(list.before_begin()); in TEST() 470 auto it = list.erase_after(list.before_begin()); in TEST()
|
/external/perfetto/src/tracing/core/ |
D | patch_list.h | 71 PatchList() : last_(list_.before_begin()) {} in PatchList() 84 last_ = list_.before_begin(); in pop_front()
|
/external/pigweed/pw_containers/public/pw_containers/internal/ |
D | intrusive_list_impl.h | 125 constexpr Item* before_begin() noexcept { return &head_; } in before_begin() function 126 constexpr const Item* before_begin() const noexcept { return &head_; } in before_begin() function
|
/external/skia/src/gpu/ |
D | GrClientMappedBufferManager.cpp | 54 auto prev = fClientHeldBuffers.before_begin(); in remove()
|
/external/llvm-project/libcxx/include/ |
D | forward_list | 79 iterator before_begin() noexcept; 80 const_iterator before_begin() const noexcept; 747 iterator before_begin() _NOEXCEPT 750 const_iterator before_begin() const _NOEXCEPT 1084 iterator __i = before_begin(); 1099 iterator __i = before_begin(); 1365 iterator __p = before_begin(); 1397 iterator __p = before_begin(); 1433 const_iterator __lm1 = __x.before_begin(); 1514 for (iterator __i = before_begin(); __i.__get_begin()->__next_ != nullptr;) [all …]
|
/external/libcxx/include/ |
D | forward_list | 80 iterator before_begin() noexcept; 81 const_iterator before_begin() const noexcept; 739 iterator before_begin() _NOEXCEPT 742 const_iterator before_begin() const _NOEXCEPT 1078 iterator __i = before_begin(); 1093 iterator __i = before_begin(); 1359 iterator __p = before_begin(); 1391 iterator __p = before_begin(); 1427 const_iterator __lm1 = __x.before_begin(); 1511 for (iterator __i = before_begin(); __i.__get_begin()->__next_ != nullptr;) [all …]
|
/external/llvm-project/libcxx/test/support/ |
D | container_debug_tests.h | 176 C.insert_after(C.before_begin(), Helper::makeValueType(i));
|