Searched refs:linked_ptr (Results 1 - 25 of 398) sorted by relevance

1234567891011>>

/external/chromium_org/base/memory/
H A Dlinked_ptr.h16 // - 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
42 // This is used internally by all instances of linked_ptr<>. It needs to be
43 // a non-template class because different types of linked_ptr<> ca
77 class linked_ptr { class
83 explicit linked_ptr(T* ptr = NULL) { capture(ptr); } function in class:linked_ptr
87 template <typename U> linked_ptr(linked_ptr<U> const& ptr) { copy(&ptr); } function in class:linked_ptr
89 linked_ptr(linked_ptr const& ptr) { function in class:linked_ptr
[all...]
H A Dlinked_ptr_unittest.cc7 #include "base/memory/linked_ptr.h"
38 linked_ptr<A> a0, a1, a2;
49 linked_ptr<A> a3(new A);
55 linked_ptr<A> a4(a0);
57 linked_ptr<A> a5(new A);
61 linked_ptr<B> b0(new B);
62 linked_ptr<A> a6(b0);
85 linked_ptr<A> a7;
/external/chromium_org/third_party/webrtc/base/
H A Dlinked_ptr.h12 * linked_ptr - simple reference linked pointer
16 * The implementation stores three pointers for every linked_ptr, but
29 template <class X> class linked_ptr class in namespace:rtc
35 TEMPLATE_FUNCTION friend class linked_ptr<Y>;
43 explicit linked_ptr(X* p = 0) throw() function in class:rtc::linked_ptr
45 ~linked_ptr()
47 linked_ptr(const linked_ptr& r) throw() function in class:rtc::linked_ptr
49 linked_ptr& operator=(const linked_ptr
60 template <class Y> linked_ptr(const linked_ptr<Y>& r) throw() function in class:rtc::linked_ptr
[all...]
/external/chromium_org/chrome/test/chromedriver/
H A Dsession_thread_map.h11 #include "base/memory/linked_ptr.h"
14 typedef std::map<std::string, linked_ptr<base::Thread> > SessionThreadMap;
/external/chromium_org/media/cdm/ppapi/
H A Dlinked_ptr.h5 // This is a copy of base/linked_ptr.h with CHECKS/DCHECKS replaced with
19 // - References are only tracked as long as linked_ptr<> objects are copied.
20 // If a linked_ptr<> is converted to a raw pointer and back, BAD THINGS
24 // You can safely put linked_ptr<> in a vector<>.
27 // Note: If you use an incomplete type with linked_ptr<>, the class
28 // *containing* linked_ptr<> must have a constructor and destructor (even
32 // A linked_ptr is NOT thread safe. Copying a linked_ptr object is
35 // Alternative: to linked_ptr is shared_ptr, which
45 // This is used internally by all instances of linked_ptr<>
80 class linked_ptr { class
86 explicit linked_ptr(T* ptr = NULL) { capture(ptr); } function in class:linked_ptr
90 template <typename U> linked_ptr(linked_ptr<U> const& ptr) { copy(&ptr); } function in class:linked_ptr
92 linked_ptr(linked_ptr const& ptr) { function in class:linked_ptr
[all...]
/external/chromium_org/testing/gtest/include/gtest/internal/
H A Dgtest-linked_ptr.h43 // - 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/chromium_org/third_party/mesa/src/src/gtest/include/gtest/internal/
H A Dgtest-linked_ptr.h43 // - 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 Dgtest-linked_ptr.h43 // - 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 Dgtest-linked_ptr.h43 // - 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/mesa3d/src/gtest/include/gtest/internal/
H A Dgtest-linked_ptr.h43 // - 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 Dgtest-linked_ptr.h43 // - 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/chromium_org/device/hid/
H A Dhid_report_descriptor.h10 #include "base/memory/linked_ptr.h"
24 const std::vector<linked_ptr<HidReportDescriptorItem> >& items() const {
37 std::vector<linked_ptr<HidReportDescriptorItem> > items_;
/external/chromium_org/media/cast/logging/
H A Dencoding_event_subscriber.h10 #include "base/memory/linked_ptr.h"
28 typedef std::vector<linked_ptr<media::cast::proto::AggregatedFrameEvent> >
30 typedef std::vector<linked_ptr<media::cast::proto::AggregatedPacketEvent> >
69 linked_ptr<media::cast::proto::AggregatedFrameEvent> >
72 linked_ptr<media::cast::proto::AggregatedPacketEvent> >
83 const linked_ptr<media::cast::proto::AggregatedFrameEvent>&
86 const linked_ptr<media::cast::proto::AggregatedPacketEvent>&
H A Dlog_deserializer.h11 #include "base/memory/linked_ptr.h"
19 linked_ptr<media::cast::proto::AggregatedFrameEvent> >
22 linked_ptr<media::cast::proto::AggregatedPacketEvent> >
/external/protobuf/gtest/test/
H A Dgtest-linked_ptr_test.cc33 #include <gtest/internal/gtest-linked_ptr.h>
41 using testing::internal::linked_ptr;
79 linked_ptr<A> a0, a1, a2;
90 linked_ptr<A> a3(new A);
96 linked_ptr<A> a4(a0);
98 linked_ptr<A> a5(new A);
102 linked_ptr<B> b0(new B);
103 linked_ptr<A> a6(b0);
126 linked_ptr<A> a7;
/external/chromium_org/chrome/browser/extensions/api/log_private/
H A Dlog_parser.h11 #include "base/memory/linked_ptr.h"
32 std::vector<linked_ptr<api::log_private::LogEntry> >* output,
40 std::vector<linked_ptr<api::log_private::LogEntry> >* output,
/external/chromium_org/testing/gtest/test/
H A Dgtest-linked_ptr_test.cc33 #include "gtest/internal/gtest-linked_ptr.h"
41 using testing::internal::linked_ptr;
79 linked_ptr<A> a0, a1, a2;
91 linked_ptr<A> a3(new A);
97 linked_ptr<A> a4(a0);
99 linked_ptr<A> a5(new A);
103 linked_ptr<B> b0(new B);
104 linked_ptr<A> a6(b0);
127 linked_ptr<A> a7;
/external/gtest/test/
H A Dgtest-linked_ptr_test.cc33 #include "gtest/internal/gtest-linked_ptr.h"
41 using testing::internal::linked_ptr;
79 linked_ptr<A> a0, a1, a2;
91 linked_ptr<A> a3(new A);
97 linked_ptr<A> a4(a0);
99 linked_ptr<A> a5(new A);
103 linked_ptr<B> b0(new B);
104 linked_ptr<A> a6(b0);
127 linked_ptr<A> a7;
/external/chromium_org/chrome/browser/extensions/api/image_writer_private/
H A Dremovable_storage_provider.h15 typedef RefCountedVector<linked_ptr
/external/chromium_org/chrome/browser/extensions/api/audio/
H A Daudio_service.h14 typedef std::vector<linked_ptr<api::audio::OutputDeviceInfo> > OutputInfo;
15 typedef std::vector<linked_ptr<api::audio::InputDeviceInfo> > InputInfo;
/external/chromium_org/chrome/browser/extensions/api/bookmarks/
H A Dbookmark_api_helpers.h32 std::vector<linked_ptr<api::bookmarks::BookmarkTreeNode> >* nodes,
37 std::vector<linked_ptr<
/external/chromium_org/extensions/common/
H A Dvalue_counter.h10 #include "base/memory/linked_ptr.h"
55 linked_ptr<base::Value> value_;
60 typedef std::vector<linked_ptr<Entry> > EntryList;
/external/chromium_org/ash/first_run/
H A Ddesktop_cleaner.h12 #include "base/memory/linked_ptr.h"
33 std::vector<linked_ptr<ContainerHider> > container_hiders_;
/external/chromium_org/chrome/browser/extensions/api/copresence/
H A Dcopresence_translations.h13 #include "base/memory/linked_ptr.h"
37 const std::vector<linked_ptr<api::copresence::Operation>>& operations,
/external/chromium_org/google_apis/gcm/engine/
H A Dregistration_info.h13 #include "base/memory/linked_ptr.h"
30 typedef std::map<std::string, linked_ptr<RegistrationInfo> >

Completed in 494 milliseconds

1234567891011>>