Home
last modified time | relevance | path

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

123

/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 …]
Drange_map_truncate_upper_unittest.cc46 using google_breakpad::linked_ptr;
68 typedef RangeMap<AddressType, linked_ptr<CountedObject>> TestMap;
74 linked_ptr<CountedObject> object_1(new CountedObject(1)); in TEST()
79 linked_ptr<CountedObject> object_2(new CountedObject(2)); in TEST()
90 linked_ptr<CountedObject> object_1(new CountedObject(1)); in TEST()
94 linked_ptr<CountedObject> object_2(new CountedObject(2)); in TEST()
97 linked_ptr<CountedObject> object; in TEST()
127 linked_ptr<CountedObject> object_1(new CountedObject(1)); in TEST()
131 linked_ptr<CountedObject> object_2(new CountedObject(2)); in TEST()
134 linked_ptr<CountedObject> object; in TEST()
[all …]
Drange_map_truncate_lower_unittest.cc41 using google_breakpad::linked_ptr;
63 typedef RangeMap<AddressType, linked_ptr<CountedObject>> TestMap;
69 linked_ptr<CountedObject> object_1(new CountedObject(1)); in TEST()
74 linked_ptr<CountedObject> object_2(new CountedObject(2)); in TEST()
85 linked_ptr<CountedObject> object_1(new CountedObject(1)); in TEST()
89 linked_ptr<CountedObject> object_2(new CountedObject(2)); in TEST()
92 linked_ptr<CountedObject> object; in TEST()
122 linked_ptr<CountedObject> object_1(new CountedObject(1)); in TEST()
126 linked_ptr<CountedObject> object_2(new CountedObject(2)); in TEST()
129 linked_ptr<CountedObject> object; in TEST()
[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.cc71 linked_ptr<const CodeModule> module(that->GetModuleAtIndex(i)->Copy()); in BasicCodeModules()
80 linked_ptr<const CodeModule> module(that->GetModuleAtIndex(i)->Copy()); in BasicCodeModules()
87 linked_ptr<CodeModule> shrunk_range_module(module->Copy()); in BasicCodeModules()
108 linked_ptr<const CodeModule> module; in GetModuleForAddress()
124 linked_ptr<const CodeModule> module; in GetModuleAtSequence()
147 vector<linked_ptr<const CodeModule> >
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()
212 linked_ptr<CountedObject> nearest_object; in RetrieveTest()
274 linked_ptr<CountedObject> object; in RetrieveIndexTest()
343 linked_ptr<CountedObject> object(new CountedObject(object_id)); in RetriveAtIndexTest2()
348 linked_ptr<CountedObject> object; in RetriveAtIndexTest2()
Dbasic_source_line_resolver_types.h70 RangeMap< MemAddr, linked_ptr<Line> > lines;
147 RangeMap< MemAddr, linked_ptr<Function> > functions_;
148 AddressMap< MemAddr, linked_ptr<PublicSymbol> > public_symbols_;
155 ContainedRangeMap< MemAddr, linked_ptr<WindowsFrameInfo> >
Dbasic_code_modules.h72 virtual std::vector<linked_ptr<const CodeModule> >
83 RangeMap<uint64_t, linked_ptr<const CodeModule> > map_;
87 std::vector<linked_ptr<const CodeModule> > shrunk_range_modules_;
Dbasic_source_line_resolver.cc125 linked_ptr<Function> cur_func; in LoadMapFromMemory()
215 linked_ptr<Line>(line)); in LoadMapFromMemory()
237 linked_ptr<Function> func; in LookupAddress()
238 linked_ptr<PublicSymbol> public_symbol; in LookupAddress()
248 linked_ptr<Line> line; in LookupAddress()
278 linked_ptr<WindowsFrameInfo> frame_info; in FindWindowsFrameInfo()
294 linked_ptr<Function> function; in FindWindowsFrameInfo()
306 linked_ptr<PublicSymbol> public_symbol; in FindWindowsFrameInfo()
406 linked_ptr<PublicSymbol> symbol(new PublicSymbol(name, address, in ParsePublicSymbol()
431 linked_ptr<WindowsFrameInfo> in ParseStackInfo()
Dmodule_serializer.h117 RangeMapSerializer<MemAddr, linked_ptr<Function> > functions_serializer_;
118 AddressMapSerializer<MemAddr, linked_ptr<PublicSymbol> > pubsym_serializer_;
120 linked_ptr<WindowsFrameInfo> > wfi_serializer_;
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()
Dstackwalker_unittest_utils.h166 virtual std::vector<google_breakpad::linked_ptr<const CodeModule> >
168 return std::vector<google_breakpad::linked_ptr<const CodeModule> >(); in GetShrunkRangeModules()
Dmodule_comparer.h88 bool CompareCRM(const ContainedRangeMap<MemAddr, linked_ptr<WFI> >*,
/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/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/llvm-project/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 …]
Dgtest-param-util.h199 linked_ptr<const ParamGeneratorInterface<T> > impl_;
526 tests_.push_back(linked_ptr<TestInfo>(new TestInfo(test_case_name, in AddTestPattern()
549 linked_ptr<TestInfo> test_info = *test_it; in RegisterTests()
616 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/google-breakpad/src/google_breakpad/processor/
Dprocess_state.h117 const vector<linked_ptr<const CodeModule> >* shrunk_range_modules() const { in shrunk_range_modules()
192 vector<linked_ptr<const CodeModule> > shrunk_range_modules_;
Dcode_modules.h102 virtual std::vector<linked_ptr<const CodeModule> >
Dcall_stack.h56 template<typename T> class linked_ptr; variable
/external/llvm-project/llvm/utils/unittest/googlemock/include/gmock/
Dgmock-actions.h405 internal::linked_ptr<ActionInterface<F> > impl_;
499 const internal::linked_ptr<ActionInterface<F2> > impl_;
578 explicit Impl(const linked_ptr<R>& value)
603 explicit Impl(const linked_ptr<R>& wrapper)
615 const linked_ptr<R> wrapper_;
620 const linked_ptr<R> value_;
843 const internal::linked_ptr<Proto> proto_;

123