HomeSort by relevance Sort by last modified time
    Searched defs:scoped_ptr (Results 1 - 21 of 21) sorted by null

  /external/parameter-framework/asio-1.10.6/include/asio/detail/
scoped_ptr.hpp 2 // 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&);
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/smart_ptr/
scoped_ptr.hpp 11 // http://www.boost.org/libs/smart_ptr/scoped_ptr.htm
34 // scoped_ptr mimics a built-in pointer except that it guarantees deletion
35 // of the object pointed to, either on destruction of the scoped_ptr or via
36 // an explicit reset(). scoped_ptr is a simple solution for simple needs;
39 template<class T> class scoped_ptr // noncopyable class in namespace:boost
45 scoped_ptr(scoped_ptr const &);
46 scoped_ptr & operator=(scoped_ptr const &);
48 typedef scoped_ptr<T> this_type
57 explicit scoped_ptr( T * p = 0 ): px( p ) \/\/ never throws function in class:boost::scoped_ptr
66 explicit scoped_ptr( std::auto_ptr<T> p ): px( p.release() ) \/\/ never throws function in class:boost::scoped_ptr
    [all...]
  /external/ceres-solver/include/ceres/internal/
scoped_ptr.h 32 // 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<C>) == sizeof(C*
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...]
  /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/stubs/
scoped_ptr.h 40 // from google3/base/scoped_ptr.h
45 // implementation of the scoped_ptr class, and its closely-related brethren,
48 template <class C> class scoped_ptr;
51 // A scoped_ptr<T> is like a T*, except that the destructor of scoped_ptr<T>
53 // That is, scoped_ptr<T> owns the T object that it points to.
54 // Like a T*, a scoped_ptr<T> may hold either NULL or a pointer to a T object.
56 // The size of a scoped_ptr is small:
57 // sizeof(scoped_ptr<C>) == sizeof(C*)
59 class scoped_ptr { class in namespace:google::protobuf::internal
68 explicit scoped_ptr(C* p = NULL) : ptr_(p) { } function in class:google::protobuf::internal::scoped_ptr
    [all...]
  /external/google-breakpad/src/common/
scoped_ptr.h 34 // 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 is small
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/
scoped_ptr.h 10 // 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<Foo> PassThru(scoped_ptr<Foo> arg)
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
    [all...]
  /external/libweave/third_party/chromium/base/memory/
scoped_ptr.h 10 // 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<Foo> PassThru(scoped_ptr<Foo> arg)
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
    [all...]
  /external/webrtc/webrtc/base/
scoped_ptr.h 11 // 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<Foo>(new Foo("new"))
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/
common.h 427 // 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...]
  /prebuilts/misc/darwin-x86_64/protobuf2.5/include/google/protobuf/stubs/
common.h 427 // 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...]
  /prebuilts/misc/linux-x86_64/protobuf2.5/include/google/protobuf/stubs/
common.h 427 // 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...]
  /prebuilts/misc/windows/protobuf2.5/include/google/protobuf/stubs/
common.h 427 // 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...]
  /prebuilts/tools/linux-x86_64/protoc/include/google/protobuf/stubs/
common.h 427 // 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/
debug-info-use-after-free.cpp 231 template < class > class scoped_ptr { class
311 scoped_ptr < C1::C3 > context;
  /external/google-breakpad/src/testing/gtest/include/gtest/internal/
gtest-port.h 149 // 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);
    [all...]
  /external/gtest/include/gtest/internal/
gtest-port.h 157 // scoped_ptr - as in TR2.
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
    [all...]
  /external/llvm/utils/unittest/googletest/include/gtest/internal/
gtest-port.h 149 // 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);
    [all...]
  /external/mesa3d/src/gtest/include/gtest/internal/
gtest-port.h 147 // 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);
    [all...]
  /external/protobuf/gtest/include/gtest/internal/
gtest-port.h 134 // 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);
    [all...]
  /external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/internal/
gtest-port.h 157 // scoped_ptr - as in TR2.
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
    [all...]
  /ndk/sources/third_party/googletest/googletest/include/gtest/internal/
gtest-port.h 157 // scoped_ptr - as in TR2.
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
    [all...]

Completed in 2443 milliseconds