Searched refs:AutoDelete (Results 1 – 6 of 6) sorted by relevance
34 class AutoDelete {50 AutoDelete(Tp* object = NULL) : fObject(object), fOwnsObject(true) { } in fObject()53 virtual ~AutoDelete() in ~AutoDelete()
26 class AutoDelete class29 AutoDelete(T *object) : fObject(object) { } in AutoDelete() function in AutoDelete30 ~AutoDelete() { delete fObject; fObject = NULL; } in ~AutoDelete()64 AutoDelete<BBitmap> _bitmap(bitmap); in OffscreenBitmap()69 AutoDelete<BView> _view(view); in OffscreenBitmap()110 AutoDelete<BBitmap> _copy(copy); in Copy()193 AutoDelete<BPicture> _picture(picture); in Test()197 AutoDelete<BPicture> _archivedPicture(archivedPicture); in Test()334 AutoDelete<BMallocIO> _data(data); in SaveAndRestore()358 AutoDelete<BArchivable> _archivable(archivable); in SaveAndRestore()
23 bool AutoDelete() const in AutoDelete() function
46 if (event->AutoDelete()) in ~EventQueue()178 bool deleteEvent = event->AutoDelete(); in _ExecuteEvents()
122 AutoDelete<Value> value(new Value()); in ParseValue()199 AutoDelete<Statement> statement(new Statement()); in ParseStatement()
272 AutoDelete<Statement> statement(_statement); in ParseStatement()