OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:UniquePtr
(Results
1 - 8
of
8
) sorted by null
/system/chre/util/include/chre/util/
unique_ptr.h
32
class
UniquePtr
: public NonCopyable {
35
* Construct a
UniquePtr
instance that does not own any object.
37
UniquePtr
();
40
* Constructs a
UniquePtr
instance that owns the given object, and will free
41
* its memory when the
UniquePtr
is destructed.
47
UniquePtr
(ObjectType *object);
50
* Constructs a new
UniquePtr
via moving the Object from another
UniquePtr
.
52
* @param other
UniquePtr
instance to move into this object
54
UniquePtr
(UniquePtr<ObjectType>&& other)
[
all
...]
unique_ptr_impl.h
32
UniquePtr
<ObjectType>::
UniquePtr
() : mObject(nullptr) {}
35
UniquePtr
<ObjectType>::
UniquePtr
(ObjectType *object) : mObject(object) {}
38
UniquePtr
<ObjectType>::
UniquePtr
(
UniquePtr
<ObjectType>&& other) {
45
UniquePtr
<ObjectType>::
UniquePtr
(
UniquePtr
<OtherObjectType>&& other)
[
all
...]
/prebuilts/ndk/r16/sources/android/support/src/
UniquePtr.h
56
class
UniquePtr
{
58
explicit
UniquePtr
(T* ptr = NULL) : mPtr(ptr) {
61
~
UniquePtr
() {
92
bool operator==(const
UniquePtr
<T2>& p) const;
94
bool operator!=(const
UniquePtr
<T2>& p) const;
96
DISALLOW_COPY_AND_ASSIGN(
UniquePtr
);
102
class
UniquePtr
<T[], D> {
104
explicit
UniquePtr
(T* ptr = NULL) : mPtr(ptr) {
107
~
UniquePtr
() {
134
DISALLOW_COPY_AND_ASSIGN(
UniquePtr
);
[
all
...]
/system/gatekeeper/include/gatekeeper/
UniquePtr.h
50
//
UniquePtr
<C> c(new C);
52
class
UniquePtr
{
54
// Construct a new
UniquePtr
, taking ownership of the given raw pointer.
55
explicit
UniquePtr
(T* ptr = NULL) : mPtr(ptr) {
58
~
UniquePtr
() {
68
// The pointer will not be deleted by
UniquePtr
.
90
template <typename T2> bool operator==(const
UniquePtr
<T2>& p) const;
91
template <typename T2> bool operator!=(const
UniquePtr
<T2>& p) const;
94
UniquePtr
(const
UniquePtr
&)
[
all
...]
/libnativehelper/include/nativehelper/
UniquePtr.h
49
//
UniquePtr
<C> c(new C);
51
class
UniquePtr
{
53
// Construct a new
UniquePtr
, taking ownership of the given raw pointer.
54
explicit
UniquePtr
(T* ptr = NULL) : mPtr(ptr) {
57
~
UniquePtr
() {
67
// The pointer will not be deleted by
UniquePtr
.
89
template <typename T2> bool operator==(const
UniquePtr
<T2>& p) const;
90
template <typename T2> bool operator!=(const
UniquePtr
<T2>& p) const;
92
DISALLOW_COPY_AND_ASSIGN(
UniquePtr
);
98
class
UniquePtr
<T[], D>
[
all
...]
/system/keymaster/include/keymaster/
UniquePtr.h
50
//
UniquePtr
<C> c(new C);
52
class
UniquePtr
{
55
class
UniquePtr
;
57
UniquePtr
() : mPtr(nullptr) {}
58
// Construct a new
UniquePtr
, taking ownership of the given raw pointer.
59
explicit
UniquePtr
(T* ptr) : mPtr(ptr) {
61
UniquePtr
(const decltype(nullptr)&) : mPtr(nullptr) {}
63
UniquePtr
(
UniquePtr
&& other): mPtr(other.mPtr) {
68
UniquePtr
(UniquePtr<U> && other): mPtr(other.mPtr)
[
all
...]
/external/deqp/framework/delibs/decpp/
deUniquePtr.hpp
185
*
UniquePtr
is smart pointer that retains sole ownership of a pointer
186
* and destroys it when
UniquePtr
is destroyed (for example when
UniquePtr
189
*
UniquePtr
is not copyable or assignable. Pointer ownership can be transferred
190
* from a
UniquePtr
only explicitly with the move() member function.
192
* A
UniquePtr
can be constructed from a MovePtr. In this case it assumes
193
* ownership of the pointer from the MovePtr. Because a
UniquePtr
cannot be
197
*
UniquePtr
<Foo> fooPtr(createFoo()); // NOT fooPtr = createFoo();
201
class
UniquePtr
: public UniqueBase<T, Deleter>
204
explicit
UniquePtr
(T* ptr, Deleter deleter = Deleter())
[
all
...]
/external/v8/tools/clang/blink_gc_plugin/
Edge.h
25
class
UniquePtr
;
37
virtual void VisitUniquePtr(
UniquePtr
*) {}
54
void VisitUniquePtr(
UniquePtr
*) override;
74
virtual void AtUniquePtr(
UniquePtr
*);
183
class
UniquePtr
: public PtrEdge {
185
explicit
UniquePtr
(Edge* ptr) : PtrEdge(ptr) { }
Completed in 319 milliseconds