/external/chromium/base/memory/ |
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<> can refer t 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...] |
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/gtest/include/gtest/internal/ |
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/ |
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/ |
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/chromium/testing/gtest/include/gtest/internal/ |
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/chromium/third_party/libjingle/source/talk/base/ |
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& r 77 template <class Y> linked_ptr(const linked_ptr<Y>& r) throw() function in class:talk_base::linked_ptr [all...] |
/external/chromium/testing/gtest/test/ |
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/ |
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/protobuf/gtest/test/ |
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/chrome/browser/tab_contents/ |
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/chrome/browser/extensions/ |
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]);
|
extension_devtools_manager.h | 13 #include "base/memory/linked_ptr.h" 54 std::map<int, linked_ptr<ExtensionDevToolsBridge> > tab_id_to_bridge_;
|
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_extension_provider_interface.h | 11 #include "base/memory/linked_ptr.h" 73 typedef std::vector<linked_ptr<ExternalExtensionProviderInterface> >
|
/external/chromium/chrome/browser/download/ |
save_file.cc | 12 : BaseFile(FilePath(), info->url, GURL(), 0, linked_ptr<net::FileStream>()),
|
download_types.h | 12 #include "base/memory/linked_ptr.h" 43 linked_ptr<net::FileStream> file_stream;
|
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_;
|
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/chromeos/extensions/ |
file_browser_event_router.h | 12 #include "base/memory/linked_ptr.h" 42 typedef std::map<std::string, linked_ptr<chromeos::SystemNotification> >
|
/external/chromium/chrome/common/extensions/ |
extension_message_bundle_unittest.cc | 11 #include "base/memory/linked_ptr.h" 159 std::vector<linked_ptr<DictionaryValue> > catalogs_; 174 catalogs_.push_back(linked_ptr<DictionaryValue>(CreateGoodDictionary())); 187 catalogs_.push_back(linked_ptr<DictionaryValue>(CreateGoodDictionary())); 188 catalogs_.push_back(linked_ptr<DictionaryValue>(CreateGoodDictionary())); 212 linked_ptr<DictionaryValue>(CreateBadDictionary(INVALID_NAME))); 213 catalogs_.push_back(linked_ptr<DictionaryValue>(CreateGoodDictionary())); 258 catalogs_.push_back(linked_ptr<DictionaryValue>(CreateGoodDictionary()));
|
/external/chromium/chrome/browser/net/websocket_experiment/ |
websocket_experiment_runner.h | 19 #include "base/memory/linked_ptr.h"
|
/external/chromium/chrome/browser/safe_browsing/ |
malware_details.h | 19 #include "base/memory/linked_ptr.h" 37 linked_ptr<safe_browsing::ClientMalwareReportRequest::Resource> > ResourceMap;
|
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/ |
change_reorder_buffer.h | 16 #include "base/memory/linked_ptr.h" 105 typedef std::map<int64, linked_ptr<ExtraChangeRecordData> > ExtraDataMap;
|