Home
last modified time | relevance | path

Searched refs:before_begin (Results 1 – 17 of 17) sorted by relevance

/external/llvm-project/libcxx/test/std/containers/sequences/forwardlist/forwardlist.iter/
Dbefore_begin.pass.cpp28 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/
Dbefore_begin.pass.cpp28 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/
Dintrusive_list.h94 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/
Dinsert_after_init.pass.cpp29 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()
Dinsert_after_size_value.pass.cpp27 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()
Dinsert_after_range.pass.cpp32 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/
Dinsert_after_init.pass.cpp29 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()
Dinsert_after_size_value.pass.cpp27 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()
Dinsert_after_range.pass.cpp32 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/
Dintrusive_list.cc53 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()
Dintrusive_list_test.cc443 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/
Dpatch_list.h71 PatchList() : last_(list_.before_begin()) {} in PatchList()
84 last_ = list_.before_begin(); in pop_front()
/external/pigweed/pw_containers/public/pw_containers/internal/
Dintrusive_list_impl.h125 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/
DGrClientMappedBufferManager.cpp54 auto prev = fClientHeldBuffers.before_begin(); in remove()
/external/llvm-project/libcxx/include/
Dforward_list79 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/
Dforward_list80 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/
Dcontainer_debug_tests.h176 C.insert_after(C.before_begin(), Helper::makeValueType(i));