Searched refs:fObj (Results 1 – 8 of 8) sorted by relevance
109 explicit SkAutoTUnref(T* obj = NULL) : fObj(obj) {} in fObj() function110 ~SkAutoTUnref() { SkSafeUnref(fObj); } in ~SkAutoTUnref()112 T* get() const { return fObj; } in get()115 SkSafeUnref(fObj); in reset()116 fObj = obj; in reset()126 T* obj = fObj; in detach()127 fObj = NULL; in detach()132 T* fObj;142 SkAutoRef(SkRefCnt* obj) : fObj(obj) { SkSafeRef(obj); } in SkAutoRef()143 ~SkAutoRef() { SkSafeUnref(fObj); } in ~SkAutoRef()[all …]
27 explicit SkTScopedPtr(T* o = NULL) : fObj(o) {} in fObj() function30 delete fObj; in ~SkTScopedPtr() local37 if (o != fObj) {39 delete fObj; variable40 fObj = o;48 T* retVal = fObj; in release()49 fObj = NULL; in release()54 SkASSERT(fObj != NULL);55 return *fObj;58 SkASSERT(fObj != NULL);[all …]
31 SkAutoTCallVProc(T* obj): fObj(obj) {} in SkAutoTCallVProc()32 ~SkAutoTCallVProc() { if (fObj) P(fObj); } in ~SkAutoTCallVProc()33 T* detach() { T* obj = fObj; fObj = NULL; return obj; } in detach()35 T* fObj;48 SkAutoTCallIProc(T* obj): fObj(obj) {} in SkAutoTCallIProc()49 ~SkAutoTCallIProc() { if (fObj) P(fObj); } in ~SkAutoTCallIProc()50 T* detach() { T* obj = fObj; fObj = NULL; return obj; } in detach()52 T* fObj;58 SkAutoTDelete(T* obj, bool deleteWhenDone = true) : fObj(obj) { in fObj() function61 ~SkAutoTDelete() { if (fDeleteWhenDone) delete fObj; } in ~SkAutoTDelete() local[all …]
52 SkAutoTPlacementDelete(T* obj, void* storage) : fObj(obj), fStorage(storage) in SkAutoTPlacementDelete()57 if (fObj) in ~SkAutoTPlacementDelete()59 if (fObj == fStorage) in ~SkAutoTPlacementDelete()60 fObj->~T(); in ~SkAutoTPlacementDelete()62 delete fObj; in ~SkAutoTPlacementDelete() local67 T* obj = fObj; in detach()68 fObj = NULL; in detach()72 T* fObj;
747 : fObj(obj), fProc(proc) {} in SkAutoCallProc()750 if (fObj && fProc) { in ~SkAutoCallProc()751 fProc(fObj); in ~SkAutoCallProc()755 void* get() const { return fObj; } in get()758 void* obj = fObj; in detach()759 fObj = NULL; in detach()764 void* fObj; member in SkAutoCallProc
67 SkPDFObjRef::SkPDFObjRef(SkPDFObject* obj) : fObj(obj) {} in SkPDFObjRef()73 catalog->emitObjectNumber(stream, fObj.get()); in emitObject()79 return catalog->getObjectNumberSize(fObj.get()) + strlen(" R"); in getOutputSize()
43 AutoCFRelease(CFTypeRef obj) : fObj(obj) {} in AutoCFRelease()44 ~AutoCFRelease() { CFSafeRelease(fObj); } in ~AutoCFRelease()47 CFTypeRef fObj; member in AutoCFRelease327 AutoCFDataRelease(CFDataRef obj) : fObj(obj) {} in AutoCFDataRelease()329 return fObj ? (const uint16_t*) CFDataGetBytePtr(fObj) : NULL; in getShortPtr()331 ~AutoCFDataRelease() { CFSafeRelease(fObj); } in ~AutoCFDataRelease()333 CFDataRef fObj; member in AutoCFDataRelease
114 SkRefPtr<SkPDFObject> fObj;