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

/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/stubs/
H A Dscoped_ptr.h40 // 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/misc/darwin-x86_64/protobuf2.5/include/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...]
/prebuilts/misc/linux-x86_64/protobuf2.5/include/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...]
/prebuilts/misc/windows/protobuf2.5/include/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...]
/prebuilts/tools/linux-x86_64/protoc/include/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...]
/prebuilts/ndk/current/sources/third_party/googletest/googletest/include/gtest/internal/
H A Dgtest-port.h157 // scoped_ptr - as in TR2.
889 // Defines scoped_ptr.
891 // This implementation of scoped_ptr is PARTIAL - it only contains
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
899 ~scoped_ptr() { reset(); }
923 GTEST_DISALLOW_COPY_AND_ASSIGN_(scoped_ptr);
/prebuilts/ndk/current/sources/third_party/vulkan/src/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);
/prebuilts/ndk/r16/sources/third_party/googletest/googletest/include/gtest/internal/
H A Dgtest-port.h157 // scoped_ptr - as in TR2.
889 // Defines scoped_ptr.
891 // This implementation of scoped_ptr is PARTIAL - it only contains
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
899 ~scoped_ptr() { reset(); }
923 GTEST_DISALLOW_COPY_AND_ASSIGN_(scoped_ptr);
/prebuilts/ndk/r16/sources/third_party/vulkan/src/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 2463 milliseconds