Home
last modified time | relevance | path

Searched refs:linked_ptr (Results 1 – 3 of 3) sorted by relevance

/ndk/sources/third_party/googletest/googletest/include/gtest/internal/
Dgtest-linked_ptr.h136 class linked_ptr {
142 explicit linked_ptr(T* ptr = NULL) { capture(ptr); }
143 ~linked_ptr() { depart(); } in ~linked_ptr()
146 template <typename U> linked_ptr(linked_ptr<U> const& ptr) { copy(&ptr); } in linked_ptr() function
147 linked_ptr(linked_ptr const& ptr) { // NOLINT in linked_ptr() function
153 template <typename U> linked_ptr& operator=(linked_ptr<U> const& ptr) {
159 linked_ptr& operator=(linked_ptr const& ptr) {
179 bool operator==(linked_ptr<U> const& ptr) const {
183 bool operator!=(linked_ptr<U> const& ptr) const {
189 friend class linked_ptr;
[all …]
Dgtest-param-util.h175 linked_ptr<const ParamGeneratorInterface<T> > impl_;
469 tests_.push_back(linked_ptr<TestInfo>(new TestInfo(test_case_name, in AddTestPattern()
490 linked_ptr<TestInfo> test_info = *test_it; in RegisterTests()
537 typedef ::std::vector<linked_ptr<TestInfo> > TestInfoContainer;
/ndk/sources/third_party/googletest/googletest/test/
Dgtest-linked_ptr_test.cc41 using testing::internal::linked_ptr;
79 linked_ptr<A> a0, a1, a2; in TEST_F()
91 linked_ptr<A> a3(new A); in TEST_F()
97 linked_ptr<A> a4(a0); in TEST_F()
99 linked_ptr<A> a5(new A); in TEST_F()
103 linked_ptr<B> b0(new B); in TEST_F()
104 linked_ptr<A> a6(b0); in TEST_F()
127 linked_ptr<A> a7; in TEST_F()