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

  /system/chre/util/include/chre/util/
unique_ptr.h 30 class UniquePtr : public NonCopyable {
33 * Construct a UniquePtr instance that does not own any object.
35 UniquePtr();
38 * Constructs a UniquePtr instance that owns the given object, and will free
39 * its memory when the UniquePtr is destructed.
45 UniquePtr(ObjectType *object);
48 * Constructs a new UniquePtr via moving the Object from another UniquePtr.
50 * @param other UniquePtr instance to move into this object
52 UniquePtr(UniquePtr<ObjectType>&& other)
    [all...]
unique_ptr_impl.h 27 UniquePtr<ObjectType>::UniquePtr() : mObject(nullptr) {}
30 UniquePtr<ObjectType>::UniquePtr(ObjectType *object) : mObject(object) {}
33 UniquePtr<ObjectType>::UniquePtr(UniquePtr<ObjectType>&& other) {
39 UniquePtr<ObjectType>::~UniquePtr() {
48 bool UniquePtr<ObjectType>::isNull() const
    [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...]
  /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 24 class UniquePtr;
36 virtual void VisitUniquePtr(UniquePtr*) {}
52 void VisitUniquePtr(UniquePtr*) override;
71 virtual void AtUniquePtr(UniquePtr*);
179 class UniquePtr : public PtrEdge {
181 explicit UniquePtr(Edge* ptr) : PtrEdge(ptr) { }

Completed in 85 milliseconds