/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...] |
H A D | linked_ptr_unittest.cc | 7 #include "base/memory/linked_ptr.h" 36 linked_ptr<A> a0, a1, a2; 47 linked_ptr<A> a3(new A); 53 linked_ptr<A> a4(a0); 55 linked_ptr<A> a5(new A); 59 linked_ptr<B> b0(new B); 60 linked_ptr<A> a6(b0); 83 linked_ptr<A> a7;
|
/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/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...] |
/external/protobuf/gtest/test/ |
H A D | gtest-linked_ptr_test.cc | 33 #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/testing/gtest/test/ |
H A D | gtest-linked_ptr_test.cc | 33 #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 D | gtest-linked_ptr_test.cc | 33 #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/chrome/browser/download/ |
H A D | save_file.cc | 12 : BaseFile(FilePath(), info->url, GURL(), 0, linked_ptr<net::FileStream>()),
|
H A D | download_types.h | 12 #include "base/memory/linked_ptr.h" 43 linked_ptr<net::FileStream> file_stream;
|
H A D | base_file.h | 12 #include "base/memory/linked_ptr.h" 32 const linked_ptr<net::FileStream>& file_stream); 84 linked_ptr<net::FileStream> file_stream_;
|
H A D | drag_download_file.h | 10 #include "base/memory/linked_ptr.h" 37 linked_ptr<net::FileStream> file_stream, 86 linked_ptr<net::FileStream> file_stream_;
|
/external/chromium/chrome/browser/extensions/ |
H A D | extension_devtools_manager.cc | 32 linked_ptr<ExtensionDevToolsBridge> bridge( 55 linked_ptr<ExtensionDevToolsBridge> bridge(tab_id_to_bridge_[tab_id]); 66 linked_ptr<ExtensionDevToolsBridge> bridge(tab_id_to_bridge_[tab_id]);
|
H A D | extension_devtools_manager.h | 13 #include "base/memory/linked_ptr.h" 54 std::map<int, linked_ptr<ExtensionDevToolsBridge> > tab_id_to_bridge_;
|
H A D | external_extension_provider_interface.h | 11 #include "base/memory/linked_ptr.h" 73 typedef std::vector<linked_ptr<ExternalExtensionProviderInterface> >
|
H A D | external_extension_provider_impl.cc | 10 #include "base/memory/linked_ptr.h" 227 linked_ptr<ExternalExtensionProviderInterface>( 238 linked_ptr<ExternalExtensionProviderInterface>( 248 linked_ptr<ExternalExtensionProviderInterface>( 256 linked_ptr<ExternalExtensionProviderInterface>(
|
/external/chromium/chrome/browser/tab_contents/ |
H A D | tab_contents_ssl_helper.h | 11 #include "base/memory/linked_ptr.h" 41 std::map<int, linked_ptr<SSLAddCertData> > request_id_to_add_cert_data_;
|
/external/chromium/net/spdy/ |
H A D | spdy_stream.h | 13 #include "base/memory/linked_ptr.h" 165 const linked_ptr<spdy::SpdyHeaderBlock>& spdy_headers() const; 166 void set_spdy_headers(const linked_ptr<spdy::SpdyHeaderBlock>& headers); 296 linked_ptr<spdy::SpdyHeaderBlock> request_; 302 linked_ptr<spdy::SpdyHeaderBlock> response_;
|
H A D | spdy_session.h | 16 #include "base/memory/linked_ptr.h" 112 const linked_ptr<spdy::SpdyHeaderBlock>& headers); 277 const linked_ptr<spdy::SpdyHeaderBlock>& headers); 279 const linked_ptr<spdy::SpdyHeaderBlock>& headers); 281 const linked_ptr<spdy::SpdyHeaderBlock>& headers); 576 NetLogSpdySynParameter(const linked_ptr<spdy::SpdyHeaderBlock>& headers, 581 const linked_ptr<spdy::SpdyHeaderBlock>& GetHeaders() const { 590 const linked_ptr<spdy::SpdyHeaderBlock> headers_;
|
/external/chromium/chrome/browser/content_settings/ |
H A D | host_content_settings_map.h | 18 #include "base/memory/linked_ptr.h" 204 std::vector<linked_ptr<content_settings::DefaultProviderInterface> > 208 std::vector<linked_ptr<content_settings::ProviderInterface> >
|
/external/chromium/chrome/browser/chromeos/ |
H A D | wm_overview_controller.h | 11 #include "base/memory/linked_ptr.h" 134 typedef std::vector<linked_ptr<BrowserListener> > BrowserListenerVector;
|
/external/chromium/chrome/browser/safe_browsing/ |
H A D | malware_details_cache.h | 16 #include "base/memory/linked_ptr.h" 33 linked_ptr<safe_browsing::ClientMalwareReportRequest::Resource> > ResourceMap;
|
/external/chromium/chrome/browser/sync/engine/ |
H A D | change_reorder_buffer.h | 16 #include "base/memory/linked_ptr.h" 105 typedef std::map<int64, linked_ptr<ExtraChangeRecordData> > ExtraDataMap;
|