Searched defs:linked_ptr (Results 1 - 6 of 6) sorted by relevance
/external/chromium/third_party/libjingle/source/talk/base/ |
H A D | linked_ptr.h | 29 * linked_ptr - simple reference linked pointer 33 * The implementation stores three pointers for every linked_ptr, but 46 template <class X> class linked_ptr class in namespace:talk_base 52 TEMPLATE_FUNCTION friend class linked_ptr<Y>; 60 explicit linked_ptr(X* p = 0) throw() function in class:talk_base::linked_ptr 62 ~linked_ptr() 64 linked_ptr(const linked_ptr& r) throw() function in class:talk_base::linked_ptr 66 linked_ptr& operator=(const linked_ptr 77 template <class Y> linked_ptr(const linked_ptr<Y>& r) throw() function in class:talk_base::linked_ptr [all...] |
/external/chromium/base/memory/ |
H A D | linked_ptr.h | 16 // - References are only tracked as long as linked_ptr<> objects are copied. 17 // If a linked_ptr<> is converted to a raw pointer and back, BAD THINGS 21 // You can safely put linked_ptr<> in a vector<>. 24 // Note: If you use an incomplete type with linked_ptr<>, the class 25 // *containing* linked_ptr<> must have a constructor and destructor (even 29 // A linked_ptr is NOT thread safe. Copying a linked_ptr object is 32 // Alternative: to linked_ptr is shared_ptr, which 43 // This is used internally by all instances of linked_ptr<>. It needs to be 44 // a non-template class because different types of linked_ptr<> ca 78 class linked_ptr { class 84 explicit linked_ptr(T* ptr = NULL) { capture(ptr); } function in class:linked_ptr 88 template <typename U> linked_ptr(linked_ptr<U> const& ptr) { copy(&ptr); } function in class:linked_ptr 90 linked_ptr(linked_ptr const& ptr) { function in class:linked_ptr [all...] |
/external/chromium/testing/gtest/include/gtest/internal/ |
H A D | gtest-linked_ptr.h | 43 // - References are only tracked as long as linked_ptr<> objects are copied. 44 // If a linked_ptr<> is converted to a raw pointer and back, BAD THINGS 48 // You can safely put linked_ptr<> in a vector<>. 51 // Note: If you use an incomplete type with linked_ptr<>, the class 52 // *containing* linked_ptr<> must have a constructor and destructor (even 58 // Unlike other linked_ptr implementations, in this implementation 59 // a linked_ptr object is thread-safe in the sense that: 60 // - it's safe to copy linked_ptr objects concurrently, 61 // - it's safe to copy *from* a linked_ptr and read its underlying 66 // confusion with normal linked_ptr 136 class linked_ptr { class in namespace:testing::internal 142 explicit linked_ptr(T* ptr = NULL) { capture(ptr); } function in class:testing::internal::linked_ptr 146 template <typename U> linked_ptr(linked_ptr<U> const& ptr) { copy(&ptr); } function in class:testing::internal::linked_ptr 147 linked_ptr(linked_ptr const& ptr) { // NOLINT function in class:testing::internal::linked_ptr [all...] |
/external/gtest/include/gtest/internal/ |
H A D | gtest-linked_ptr.h | 43 // - References are only tracked as long as linked_ptr<> objects are copied. 44 // If a linked_ptr<> is converted to a raw pointer and back, BAD THINGS 48 // You can safely put linked_ptr<> in a vector<>. 51 // Note: If you use an incomplete type with linked_ptr<>, the class 52 // *containing* linked_ptr<> must have a constructor and destructor (even 58 // Unlike other linked_ptr implementations, in this implementation 59 // a linked_ptr object is thread-safe in the sense that: 60 // - it's safe to copy linked_ptr objects concurrently, 61 // - it's safe to copy *from* a linked_ptr and read its underlying 66 // confusion with normal linked_ptr 136 class linked_ptr { class in namespace:testing::internal 142 explicit linked_ptr(T* ptr = NULL) { capture(ptr); } function in class:testing::internal::linked_ptr 146 template <typename U> linked_ptr(linked_ptr<U> const& ptr) { copy(&ptr); } function in class:testing::internal::linked_ptr 147 linked_ptr(linked_ptr const& ptr) { // NOLINT function in class:testing::internal::linked_ptr [all...] |
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
H A D | gtest-linked_ptr.h | 43 // - References are only tracked as long as linked_ptr<> objects are copied. 44 // If a linked_ptr<> is converted to a raw pointer and back, BAD THINGS 48 // You can safely put linked_ptr<> in a vector<>. 51 // Note: If you use an incomplete type with linked_ptr<>, the class 52 // *containing* linked_ptr<> must have a constructor and destructor (even 58 // Unlike other linked_ptr implementations, in this implementation 59 // a linked_ptr object is thread-safe in the sense that: 60 // - it's safe to copy linked_ptr objects concurrently, 61 // - it's safe to copy *from* a linked_ptr and read its underlying 66 // confusion with normal linked_ptr 136 class linked_ptr { class in namespace:testing::internal 142 explicit linked_ptr(T* ptr = NULL) { capture(ptr); } function in class:testing::internal::linked_ptr 146 template <typename U> linked_ptr(linked_ptr<U> const& ptr) { copy(&ptr); } function in class:testing::internal::linked_ptr 147 linked_ptr(linked_ptr const& ptr) { // NOLINT function in class:testing::internal::linked_ptr [all...] |
/external/protobuf/gtest/include/gtest/internal/ |
H A D | gtest-linked_ptr.h | 43 // - References are only tracked as long as linked_ptr<> objects are copied. 44 // If a linked_ptr<> is converted to a raw pointer and back, BAD THINGS 48 // You can safely put linked_ptr<> in a vector<>. 51 // Note: If you use an incomplete type with linked_ptr<>, the class 52 // *containing* linked_ptr<> must have a constructor and destructor (even 58 // Unlike other linked_ptr implementations, in this implementation 59 // a linked_ptr object is thread-safe in the sense that: 60 // - it's safe to copy linked_ptr objects concurrently, 61 // - it's safe to copy *from* a linked_ptr and read its underlying 66 // confusion with normal linked_ptr 136 class linked_ptr { class in namespace:testing::internal 142 explicit linked_ptr(T* ptr = NULL) { capture(ptr); } function in class:testing::internal::linked_ptr 146 template <typename U> linked_ptr(linked_ptr<U> const& ptr) { copy(&ptr); } function in class:testing::internal::linked_ptr 147 linked_ptr(linked_ptr const& ptr) { // NOLINT function in class:testing::internal::linked_ptr [all...] |
Completed in 266 milliseconds