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&);
  /external/protobuf/src/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...]
  /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/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...]
  /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/llvm/utils/unittest/googletest/include/gtest/internal/
gtest-port.h 150 // scoped_ptr - as in TR2.
782 // Defines scoped_ptr.
784 // This implementation of scoped_ptr is PARTIAL - it only contains
787 class scoped_ptr { class in namespace:testing::internal
791 explicit scoped_ptr(T* p = NULL) : ptr_(p) {} function in class:testing::internal::scoped_ptr
792 ~scoped_ptr() { reset(); }
815 GTEST_DISALLOW_COPY_AND_ASSIGN_(scoped_ptr);
    [all...]
  /external/mesa3d/src/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/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/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/internal/
gtest-port.h 148 // scoped_ptr - as in TR2.
774 // Defines scoped_ptr.
776 // This implementation of scoped_ptr is PARTIAL - it only contains
779 class scoped_ptr { class in namespace:testing::internal
783 explicit scoped_ptr(T* p = NULL) : ptr_(p) {} function in class:testing::internal::scoped_ptr
784 ~scoped_ptr() { reset(); }
807 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...]
  /prebuilts/ndk/r16/sources/third_party/googletest/googletest/include/gtest/internal/
gtest-port.h 157 // scoped_ptr - as in TR2.
894 class scoped_ptr { class in namespace:testing::internal
898 explicit scoped_ptr(T* p = NULL) : ptr_(p) {} function in class:testing::internal::scoped_ptr
    [all...]
  /prebuilts/ndk/r16/sources/third_party/vulkan/src/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...]
  /external/googletest/googletest/include/gtest/internal/
gtest-port.h 223 // scoped_ptr - as in TR2.
1160 class scoped_ptr { class in namespace:testing::internal
1164 explicit scoped_ptr(T* p = NULL) : ptr_(p) {} function in class:testing::internal::scoped_ptr
    [all...]
  /external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/
gtest-port.h 221 // scoped_ptr - as in TR2.
1128 class scoped_ptr { class in namespace:testing::internal
1132 explicit scoped_ptr(T* p = NULL) : ptr_(p) {} function in class:testing::internal::scoped_ptr
    [all...]
  /external/v8/testing/gtest/include/gtest/internal/
gtest-port.h 221 // scoped_ptr - as in TR2.
1114 class scoped_ptr { class in namespace:testing::internal
1118 explicit scoped_ptr(T* p = NULL) : ptr_(p) {} function in class:testing::internal::scoped_ptr
    [all...]

Completed in 1180 milliseconds