Searched defs:scoped_ptr (Results 1 - 15 of 15) sorted by relevance

/external/parameter-framework/asio/include/asio/detail/
H A Dscoped_ptr.hpp2 // detail/scoped_ptr.hpp
23 class scoped_ptr class in namespace:asio::detail
27 explicit scoped_ptr(T* p = 0) function in class:asio::detail::scoped_ptr
33 ~scoped_ptr()
65 scoped_ptr(const scoped_ptr&);
66 scoped_ptr& operator=(const scoped_ptr&);
/external/parameter-framework/asio-1.10.6/include/asio/detail/
H A Dscoped_ptr.hpp2 // detail/scoped_ptr.hpp
23 class scoped_ptr class in namespace:asio::detail
27 explicit scoped_ptr(T* p = 0) function in class:asio::detail::scoped_ptr
33 ~scoped_ptr()
65 scoped_ptr(const scoped_ptr&);
66 scoped_ptr& operator=(const scoped_ptr&);
/external/ceres-solver/include/ceres/internal/
H A Dscoped_ptr.h32 // implementation of the scoped_ptr class, and its closely-related brethren,
46 template <class C> class scoped_ptr;
51 scoped_ptr<C> make_scoped_ptr(C *);
53 // A scoped_ptr<T> is like a T*, except that the destructor of
54 // scoped_ptr<T> automatically deletes the pointer it holds (if
55 // any). That is, scoped_ptr<T> owns the T object that it points
56 // to. Like a T*, a scoped_ptr<T> may hold either NULL or a pointer to
57 // a T object. Also like T*, scoped_ptr<T> is thread-compatible, and
60 // The size of a scoped_ptr is small: sizeof(scoped_ptr<
62 class scoped_ptr { class in namespace:ceres::internal
70 explicit scoped_ptr(C* p = NULL) : ptr_(p) { } function in class:ceres::internal::scoped_ptr
[all...]
/external/google-breakpad/src/common/
H A Dscoped_ptr.h34 // Example usage (scoped_ptr):
36 // scoped_ptr<Foo> foo(new Foo("wee"));
40 // scoped_ptr<Foo> foo; // No pointer managed.
64 // implementation of the scoped_ptr class, and its closely-related brethren,
73 // A scoped_ptr<T> is like a T*, except that the destructor of scoped_ptr<T>
75 // That is, scoped_ptr<T> owns the T object that it points to.
76 // Like a T*, a scoped_ptr<T> may hold either NULL or a pointer to a T object.
77 // Also like T*, scoped_ptr<T> is thread-compatible, and once you
80 // The size of a scoped_ptr i
83 class scoped_ptr { class in namespace:google_breakpad
92 explicit scoped_ptr(C* p = NULL) : ptr_(p) { } function in class:google_breakpad::scoped_ptr
[all...]
/external/libchrome/base/memory/
H A Dscoped_ptr.h10 // Example usage (scoped_ptr<T>):
12 // scoped_ptr<Foo> foo(new Foo("wee"));
16 // scoped_ptr<Foo> foo; // No pointer managed.
29 // Example usage (scoped_ptr<T[]>):
31 // scoped_ptr<Foo[]> foo(new Foo[100]);
43 // using scoped_ptr:
45 // void TakesOwnership(scoped_ptr<Foo> arg) {
48 // scoped_ptr<Foo> CreateFoo() {
51 // return scoped_ptr<Foo>(new Foo("new"));
53 // scoped_ptr<Fo
240 class scoped_ptr { class
254 scoped_ptr() : impl_(nullptr) {} function in class:scoped_ptr
257 explicit scoped_ptr(element_type* p) : impl_(p) {} function in class:scoped_ptr
260 scoped_ptr(element_type* p, const D& d) : impl_(p, d) {} function in class:scoped_ptr
263 scoped_ptr(std::nullptr_t) : impl_(nullptr) {} function in class:scoped_ptr
273 scoped_ptr(scoped_ptr&& other) : impl_(&other.impl_) {} function in class:scoped_ptr
300 scoped_ptr(scoped_ptr<U, E>&& other) function in class:scoped_ptr
407 class scoped_ptr<T[], D> { class
416 scoped_ptr() : impl_(nullptr) {} function in class:scoped_ptr
429 explicit scoped_ptr(element_type* array) : impl_(array) {} function in class:scoped_ptr
432 scoped_ptr(std::nullptr_t) : impl_(nullptr) {} function in class:scoped_ptr
435 scoped_ptr(scoped_ptr&& other) : impl_(&other.impl_) {} function in class:scoped_ptr
517 operator ==(const scoped_ptr<T1, D1>& p1, const scoped_ptr<T2, D2>& p2) argument
521 operator ==(const scoped_ptr<T, D>& p, std::nullptr_t) argument
525 operator ==(std::nullptr_t, const scoped_ptr<T, D>& p) argument
530 operator !=(const scoped_ptr<T1, D1>& p1, const scoped_ptr<T2, D2>& p2) argument
534 operator !=(const scoped_ptr<T, D>& p, std::nullptr_t) argument
538 operator !=(std::nullptr_t, const scoped_ptr<T, D>& p) argument
543 operator <(const scoped_ptr<T1, D1>& p1, const scoped_ptr<T2, D2>& p2) argument
547 operator <(const scoped_ptr<T, D>& p, std::nullptr_t) argument
552 operator <(std::nullptr_t, const scoped_ptr<T, D>& p) argument
558 operator >(const scoped_ptr<T1, D1>& p1, const scoped_ptr<T2, D2>& p2) argument
562 operator >(const scoped_ptr<T, D>& p, std::nullptr_t) argument
566 operator >(std::nullptr_t, const scoped_ptr<T, D>& p) argument
571 operator <=(const scoped_ptr<T1, D1>& p1, const scoped_ptr<T2, D2>& p2) argument
575 operator <=(const scoped_ptr<T, D>& p, std::nullptr_t) argument
579 operator <=(std::nullptr_t, const scoped_ptr<T, D>& p) argument
584 operator >=(const scoped_ptr<T1, D1>& p1, const scoped_ptr<T2, D2>& p2) argument
588 operator >=(const scoped_ptr<T, D>& p, std::nullptr_t) argument
592 operator >=(std::nullptr_t, const scoped_ptr<T, D>& p) argument
[all...]
/external/libweave/third_party/chromium/base/memory/
H A Dscoped_ptr.h10 // Example usage (scoped_ptr<T>):
12 // scoped_ptr<Foo> foo(new Foo("wee"));
16 // scoped_ptr<Foo> foo; // No pointer managed.
29 // Example usage (scoped_ptr<T[]>):
31 // scoped_ptr<Foo[]> foo(new Foo[100]);
43 // using scoped_ptr:
45 // void TakesOwnership(scoped_ptr<Foo> arg) {
48 // scoped_ptr<Foo> CreateFoo() {
51 // return scoped_ptr<Foo>(new Foo("new"));
53 // scoped_ptr<Fo
240 class scoped_ptr { class
254 scoped_ptr() : impl_(nullptr) {} function in class:scoped_ptr
257 explicit scoped_ptr(element_type* p) : impl_(p) {} function in class:scoped_ptr
260 scoped_ptr(element_type* p, const D& d) : impl_(p, d) {} function in class:scoped_ptr
263 scoped_ptr(std::nullptr_t) : impl_(nullptr) {} function in class:scoped_ptr
273 scoped_ptr(scoped_ptr&& other) : impl_(&other.impl_) {} function in class:scoped_ptr
300 scoped_ptr(scoped_ptr<U, E>&& other) function in class:scoped_ptr
407 class scoped_ptr<T[], D> { class
416 scoped_ptr() : impl_(nullptr) {} function in class:scoped_ptr
429 explicit scoped_ptr(element_type* array) : impl_(array) {} function in class:scoped_ptr
432 scoped_ptr(std::nullptr_t) : impl_(nullptr) {} function in class:scoped_ptr
435 scoped_ptr(scoped_ptr&& other) : impl_(&other.impl_) {} function in class:scoped_ptr
517 operator ==(const scoped_ptr<T1, D1>& p1, const scoped_ptr<T2, D2>& p2) argument
521 operator ==(const scoped_ptr<T, D>& p, std::nullptr_t) argument
525 operator ==(std::nullptr_t, const scoped_ptr<T, D>& p) argument
530 operator !=(const scoped_ptr<T1, D1>& p1, const scoped_ptr<T2, D2>& p2) argument
534 operator !=(const scoped_ptr<T, D>& p, std::nullptr_t) argument
538 operator !=(std::nullptr_t, const scoped_ptr<T, D>& p) argument
543 operator <(const scoped_ptr<T1, D1>& p1, const scoped_ptr<T2, D2>& p2) argument
547 operator <(const scoped_ptr<T, D>& p, std::nullptr_t) argument
552 operator <(std::nullptr_t, const scoped_ptr<T, D>& p) argument
558 operator >(const scoped_ptr<T1, D1>& p1, const scoped_ptr<T2, D2>& p2) argument
562 operator >(const scoped_ptr<T, D>& p, std::nullptr_t) argument
566 operator >(std::nullptr_t, const scoped_ptr<T, D>& p) argument
571 operator <=(const scoped_ptr<T1, D1>& p1, const scoped_ptr<T2, D2>& p2) argument
575 operator <=(const scoped_ptr<T, D>& p, std::nullptr_t) argument
579 operator <=(std::nullptr_t, const scoped_ptr<T, D>& p) argument
584 operator >=(const scoped_ptr<T1, D1>& p1, const scoped_ptr<T2, D2>& p2) argument
588 operator >=(const scoped_ptr<T, D>& p, std::nullptr_t) argument
592 operator >=(std::nullptr_t, const scoped_ptr<T, D>& p) argument
[all...]
/external/webrtc/webrtc/base/
H A Dscoped_ptr.h11 // Borrowed from Chromium's src/base/memory/scoped_ptr.h.
18 // Example usage (scoped_ptr<T>):
20 // scoped_ptr<Foo> foo(new Foo("wee"));
24 // scoped_ptr<Foo> foo; // No pointer managed.
37 // Example usage (scoped_ptr<T[]>):
39 // scoped_ptr<Foo[]> foo(new Foo[100]);
50 // copy will NOT work. Here is an example using scoped_ptr:
52 // void TakesOwnership(scoped_ptr<Foo> arg) {
55 // scoped_ptr<Foo> CreateFoo() {
58 // return scoped_ptr<Fo
309 class scoped_ptr { class in namespace:rtc
322 scoped_ptr() : impl_(nullptr) {} function in class:rtc::scoped_ptr
325 explicit scoped_ptr(element_type* p) : impl_(p) {} function in class:rtc::scoped_ptr
328 scoped_ptr(element_type* p, const D& d) : impl_(p, d) {} function in class:rtc::scoped_ptr
331 scoped_ptr(std::nullptr_t) : impl_(nullptr) {} function in class:rtc::scoped_ptr
344 scoped_ptr(scoped_ptr<U, V>&& other) function in class:rtc::scoped_ptr
466 class scoped_ptr<T[], D> { class in namespace:rtc
473 scoped_ptr() : impl_(nullptr) {} function in class:rtc::scoped_ptr
488 explicit scoped_ptr(element_type* array) : impl_(array) {} function in class:rtc::scoped_ptr
491 scoped_ptr(std::nullptr_t) : impl_(nullptr) {} function in class:rtc::scoped_ptr
494 scoped_ptr(scoped_ptr&& other) : impl_(&other.impl_) {} function in class:rtc::scoped_ptr
[all...]
/external/protobuf/src/google/protobuf/stubs/
H A Dcommon.h427 // from google3/base/scoped_ptr.h
432 // implementation of the scoped_ptr class, and its closely-related brethren,
435 template <class C> class scoped_ptr;
438 // A scoped_ptr<T> is like a T*, except that the destructor of scoped_ptr<T>
440 // That is, scoped_ptr<T> owns the T object that it points to.
441 // Like a T*, a scoped_ptr<T> may hold either NULL or a pointer to a T object.
443 // The size of a scoped_ptr is small:
444 // sizeof(scoped_ptr<C>) == sizeof(C*)
446 class scoped_ptr { class in namespace:google::protobuf::internal
455 explicit scoped_ptr(C* p = NULL) : ptr_(p) { } function in class:google::protobuf::internal::scoped_ptr
[all...]
/external/clang/test/CodeGenCXX/
H A Ddebug-info-use-after-free.cpp231 template < class > class scoped_ptr { class
311 scoped_ptr < C1::C3 > context;
/external/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-port.h149 // scoped_ptr - as in TR2.
779 // Defines scoped_ptr.
781 // This implementation of scoped_ptr is PARTIAL - it only contains
784 class scoped_ptr { class in namespace:testing::internal
788 explicit scoped_ptr(T* p = NULL) : ptr_(p) {} function in class:testing::internal::scoped_ptr
789 ~scoped_ptr() { reset(); }
812 GTEST_DISALLOW_COPY_AND_ASSIGN_(scoped_ptr);
/external/mesa3d/src/gtest/include/gtest/internal/
H A Dgtest-port.h147 // scoped_ptr - as in TR2.
769 // Defines scoped_ptr.
771 // This implementation of scoped_ptr is PARTIAL - it only contains
774 class scoped_ptr { class in namespace:testing::internal
778 explicit scoped_ptr(T* p = NULL) : ptr_(p) {} function in class:testing::internal::scoped_ptr
779 ~scoped_ptr() { reset(); }
802 GTEST_DISALLOW_COPY_AND_ASSIGN_(scoped_ptr);
/external/protobuf/gtest/include/gtest/internal/
H A Dgtest-port.h134 // scoped_ptr - as in TR2.
618 // Defines scoped_ptr.
620 // This implementation of scoped_ptr is PARTIAL - it only contains
623 class scoped_ptr { class in namespace:testing::internal
627 explicit scoped_ptr(T* p = NULL) : ptr_(p) {} function in class:testing::internal::scoped_ptr
628 ~scoped_ptr() { reset(); }
651 GTEST_DISALLOW_COPY_AND_ASSIGN_(scoped_ptr);
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
H A Dgtest-port.h149 // scoped_ptr - as in TR2.
792 // Defines scoped_ptr.
794 // This implementation of scoped_ptr is PARTIAL - it only contains
797 class scoped_ptr { class in namespace:testing::internal
801 explicit scoped_ptr(T* p = NULL) : ptr_(p) {} function in class:testing::internal::scoped_ptr
802 ~scoped_ptr() { reset(); }
826 GTEST_DISALLOW_COPY_AND_ASSIGN_(scoped_ptr);
/external/gtest/include/gtest/internal/
H A Dgtest-port.h157 // scoped_ptr - as in TR2.
885 // Defines scoped_ptr.
887 // This implementation of scoped_ptr is PARTIAL - it only contains
890 class scoped_ptr { class in namespace:testing::internal
894 explicit scoped_ptr(T* p = NULL) : ptr_(p) {} function in class:testing::internal::scoped_ptr
895 ~scoped_ptr() { reset(); }
919 GTEST_DISALLOW_COPY_AND_ASSIGN_(scoped_ptr);
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/internal/
H A Dgtest-port.h157 // scoped_ptr - as in TR2.
899 // Defines scoped_ptr.
901 // This implementation of scoped_ptr is PARTIAL - it only contains
904 class scoped_ptr { class in namespace:testing::internal
908 explicit scoped_ptr(T* p = NULL) : ptr_(p) {} function in class:testing::internal::scoped_ptr
909 ~scoped_ptr() { reset(); }
933 GTEST_DISALLOW_COPY_AND_ASSIGN_(scoped_ptr);

Completed in 1139 milliseconds