Home
last modified time | relevance | path

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

123

/external/webrtc/webrtc/base/
Dlinked_ptr.h29 template <class X> class linked_ptr
35 TEMPLATE_FUNCTION friend class linked_ptr<Y>;
43 explicit linked_ptr(X* p = 0) throw() in throw()
45 ~linked_ptr() in ~linked_ptr()
47 linked_ptr(const linked_ptr& r) throw() in throw()
49 linked_ptr& operator=(const linked_ptr& r)
59 template <class Y> friend class linked_ptr<Y>; variable
60 template <class Y> linked_ptr(const linked_ptr<Y>& r) throw() in linked_ptr() function
62 template <class Y> linked_ptr& operator=(const linked_ptr<Y>& r)
79 mutable const linked_ptr* itsPrev;
[all …]
/external/libchrome/base/memory/
Dlinked_ptr.h75 class linked_ptr {
81 explicit linked_ptr(T* ptr = NULL) { capture(ptr); }
82 ~linked_ptr() { depart(); } in ~linked_ptr()
85 template <typename U> linked_ptr(linked_ptr<U> const& ptr) { copy(&ptr); } in linked_ptr() function
87 linked_ptr(linked_ptr const& ptr) { in linked_ptr() function
93 template <typename U> linked_ptr& operator=(linked_ptr<U> const& ptr) {
99 linked_ptr& operator=(linked_ptr const& ptr) {
128 bool operator==(linked_ptr<U> const& ptr) const {
132 bool operator!=(linked_ptr<U> const& ptr) const {
138 friend class linked_ptr;
[all …]
Dlinked_ptr_unittest.cc36 linked_ptr<A> a0, a1, a2; in TEST()
47 linked_ptr<A> a3(new A); in TEST()
53 linked_ptr<A> a4(a0); in TEST()
55 linked_ptr<A> a5(new A); in TEST()
59 linked_ptr<B> b0(new B); in TEST()
60 linked_ptr<A> a6(b0); in TEST()
83 linked_ptr<A> a7; in TEST()
/external/google-breakpad/src/processor/
Dlinked_ptr.h95 class linked_ptr {
101 explicit linked_ptr(T* ptr = NULL) { capture(ptr); }
102 ~linked_ptr() { depart(); } in ~linked_ptr()
105 template <typename U> linked_ptr(linked_ptr<U> const& ptr) { copy(&ptr); } in linked_ptr() function
106 linked_ptr(linked_ptr const& ptr) { copy(&ptr); } in linked_ptr() function
109 template <typename U> linked_ptr& operator=(linked_ptr<U> const& ptr) {
115 linked_ptr& operator=(linked_ptr const& ptr) {
140 bool operator==(linked_ptr<U> const& ptr) const {
144 bool operator!=(linked_ptr<U> const& ptr) const {
150 friend class linked_ptr;
[all …]
Daddress_map_unittest.cc54 using google_breakpad::linked_ptr;
74 typedef AddressMap< AddressType, linked_ptr<CountedObject> > TestMap;
80 linked_ptr<CountedObject> entry; in DoAddressMapTest()
91 linked_ptr<CountedObject>(new CountedObject(0)))); in DoAddressMapTest()
104 linked_ptr<CountedObject>(new CountedObject(1)))); in DoAddressMapTest()
115 linked_ptr<CountedObject>(new CountedObject(2)))); in DoAddressMapTest()
118 linked_ptr<CountedObject>(new CountedObject(3)))); in DoAddressMapTest()
120 linked_ptr<CountedObject>(new CountedObject(4)))); in DoAddressMapTest()
122 linked_ptr<CountedObject>(new CountedObject(5)))); // already in map in DoAddressMapTest()
124 linked_ptr<CountedObject>(new CountedObject(6)))); in DoAddressMapTest()
[all …]
Dsimple_serializer-inl.h170 class SimpleSerializer< linked_ptr<BasicSourceLineResolver::Line> > {
173 static size_t SizeOf(const linked_ptr<Line> &lineptr) { in SizeOf()
177 static char *Write(const linked_ptr<Line> &lineptr, char *dest) { in Write()
210 static RangeMapSerializer< MemAddr, linked_ptr<Line> > range_map_serializer_;
214 class SimpleSerializer< linked_ptr<BasicSourceLineResolver::Function> > {
217 static size_t SizeOf(const linked_ptr<Function> &func) { in SizeOf()
222 static char *Write(const linked_ptr<Function> &func, char *dest) { in Write()
230 class SimpleSerializer< linked_ptr<BasicSourceLineResolver::PublicSymbol> > {
233 static size_t SizeOf(const linked_ptr<PublicSymbol> &pubsymbol) { in SizeOf()
237 static char *Write(const linked_ptr<PublicSymbol> &pubsymbol, char *dest) { in Write()
[all …]
Dbasic_code_modules.cc50 map_(new RangeMap<uint64_t, linked_ptr<const CodeModule> >()) { in BasicCodeModules()
67 linked_ptr<const CodeModule> module( in BasicCodeModules()
78 map_(new RangeMap<uint64_t, linked_ptr<const CodeModule> >()) { in BasicCodeModules()
91 linked_ptr<const CodeModule> module; in GetModuleForAddress()
106 linked_ptr<const CodeModule> module; in GetModuleAtSequence()
Drange_map_unittest.cc47 using google_breakpad::linked_ptr;
71 typedef RangeMap< AddressType, linked_ptr<CountedObject> > TestMap;
106 linked_ptr<CountedObject> object(new CountedObject(range_test->id)); in StoreTest()
166 linked_ptr<CountedObject> object; in RetrieveTest()
210 linked_ptr<CountedObject> nearest_object; in RetrieveTest()
270 linked_ptr<CountedObject> object; in RetrieveIndexTest()
337 linked_ptr<CountedObject> object(new CountedObject(object_id)); in RetriveAtIndexTest2()
342 linked_ptr<CountedObject> object; in RetriveAtIndexTest2()
Dbasic_source_line_resolver.cc87 linked_ptr<Function> cur_func; in LoadMapFromMemory()
177 linked_ptr<Line>(line)); in LoadMapFromMemory()
199 linked_ptr<Function> func; in LookupAddress()
200 linked_ptr<PublicSymbol> public_symbol; in LookupAddress()
210 linked_ptr<Line> line; in LookupAddress()
239 linked_ptr<WindowsFrameInfo> frame_info; in FindWindowsFrameInfo()
255 linked_ptr<Function> function; in FindWindowsFrameInfo()
267 linked_ptr<PublicSymbol> public_symbol; in FindWindowsFrameInfo()
365 linked_ptr<PublicSymbol> symbol(new PublicSymbol(name, address, in ParsePublicSymbol()
389 linked_ptr<WindowsFrameInfo> in ParseStackInfo()
Dbasic_source_line_resolver_types.h68 RangeMap< MemAddr, linked_ptr<Line> > lines;
145 RangeMap< MemAddr, linked_ptr<Function> > functions_;
146 AddressMap< MemAddr, linked_ptr<PublicSymbol> > public_symbols_;
153 ContainedRangeMap< MemAddr, linked_ptr<WindowsFrameInfo> >
Dmodule_serializer.h117 RangeMapSerializer<MemAddr, linked_ptr<Function> > functions_serializer_;
118 AddressMapSerializer<MemAddr, linked_ptr<PublicSymbol> > pubsym_serializer_;
120 linked_ptr<WindowsFrameInfo> > wfi_serializer_;
Dbasic_code_modules.h48 template<typename T> class linked_ptr; variable
78 RangeMap<uint64_t, linked_ptr<const CodeModule> > *map_;
Dmodule_comparer.cc110 RangeMap<MemAddr, linked_ptr<BasicFunc> >::MapConstIterator iter1; in CompareModule()
129 AddressMap<MemAddr, linked_ptr<BasicPubSymbol> >::MapConstIterator iter1; in CompareModule()
200 RangeMap<MemAddr, linked_ptr<BasicLine> >::MapConstIterator iter1; in CompareFunction()
262 const ContainedRangeMap<MemAddr, linked_ptr<WFI> >* basic_crm, in CompareCRM()
280 ContainedRangeMap<MemAddr, linked_ptr<WFI> >::MapConstIterator iter1; in CompareCRM()
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/internal/
Dgtest-linked_ptr.h146 class linked_ptr {
152 explicit linked_ptr(T* ptr = NULL) { capture(ptr); }
153 ~linked_ptr() { depart(); } in ~linked_ptr()
156 template <typename U> linked_ptr(linked_ptr<U> const& ptr) { copy(&ptr); } in linked_ptr() function
157 linked_ptr(linked_ptr const& ptr) { // NOLINT in linked_ptr() function
163 template <typename U> linked_ptr& operator=(linked_ptr<U> const& ptr) {
169 linked_ptr& operator=(linked_ptr const& ptr) {
189 bool operator==(linked_ptr<U> const& ptr) const {
193 bool operator!=(linked_ptr<U> const& ptr) const {
199 friend class linked_ptr;
[all …]
/external/mesa3d/src/gtest/include/gtest/internal/
Dgtest-linked_ptr.h146 class linked_ptr {
152 explicit linked_ptr(T* ptr = NULL) { capture(ptr); }
153 ~linked_ptr() { depart(); } in ~linked_ptr()
156 template <typename U> linked_ptr(linked_ptr<U> const& ptr) { copy(&ptr); } in linked_ptr() function
157 linked_ptr(linked_ptr const& ptr) { // NOLINT in linked_ptr() function
163 template <typename U> linked_ptr& operator=(linked_ptr<U> const& ptr) {
169 linked_ptr& operator=(linked_ptr const& ptr) {
189 bool operator==(linked_ptr<U> const& ptr) const {
193 bool operator!=(linked_ptr<U> const& ptr) const {
199 friend class linked_ptr;
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-linked_ptr.h146 class linked_ptr {
152 explicit linked_ptr(T* ptr = NULL) { capture(ptr); }
153 ~linked_ptr() { depart(); } in ~linked_ptr()
156 template <typename U> linked_ptr(linked_ptr<U> const& ptr) { copy(&ptr); } in linked_ptr() function
157 linked_ptr(linked_ptr const& ptr) { // NOLINT in linked_ptr() function
163 template <typename U> linked_ptr& operator=(linked_ptr<U> const& ptr) {
169 linked_ptr& operator=(linked_ptr const& ptr) {
189 bool operator==(linked_ptr<U> const& ptr) const {
193 bool operator!=(linked_ptr<U> const& ptr) const {
199 friend class linked_ptr;
[all …]
/external/google-breakpad/src/testing/gtest/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;
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/
Dgtest-linked_ptr.h146 class linked_ptr {
152 explicit linked_ptr(T* ptr = NULL) { capture(ptr); }
153 ~linked_ptr() { depart(); } in ~linked_ptr()
156 template <typename U> linked_ptr(linked_ptr<U> const& ptr) { copy(&ptr); } in linked_ptr() function
157 linked_ptr(linked_ptr const& ptr) { // NOLINT in linked_ptr() function
163 template <typename U> linked_ptr& operator=(linked_ptr<U> const& ptr) {
169 linked_ptr& operator=(linked_ptr const& ptr) {
189 bool operator==(linked_ptr<U> const& ptr) const {
193 bool operator!=(linked_ptr<U> const& ptr) const {
199 friend class linked_ptr;
[all …]
/external/swiftshader/third_party/LLVM/utils/unittest/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 …]
/external/llvm/utils/unittest/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;
/external/google-breakpad/src/testing/gtest/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()
/external/google-breakpad/src/testing/test/
Dgmock_stress_test.cc64 using internal::linked_ptr;
93 linked_ptr<Derived1> pointer1(new Derived1(1, 2));
94 linked_ptr<Derived2> pointer2(new Derived2(3, 4));
108 linked_ptr<Derived1> p1(pointer1); in TestConcurrentCopyAndReadLinkedPtr()
113 linked_ptr<Base> p2; in TestConcurrentCopyAndReadLinkedPtr()
122 const linked_ptr<Derived1> p0(new Derived1(1, 2));
130 linked_ptr<Derived1> p1(p0); in TestConcurrentWriteToEqualLinkedPtr()
131 linked_ptr<Derived1> p2(p0); in TestConcurrentWriteToEqualLinkedPtr()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/include/gmock/
Dgmock-actions.h402 internal::linked_ptr<ActionInterface<F> > impl_;
496 const internal::linked_ptr<ActionInterface<F2> > impl_;
575 explicit Impl(const linked_ptr<R>& value)
600 explicit Impl(const linked_ptr<R>& wrapper)
612 const linked_ptr<R> wrapper_;
617 const linked_ptr<R> value_;
840 const internal::linked_ptr<Proto> proto_;

123