/external/chromium_org/third_party/skia/include/core/ |
D | SkRefCnt.h | 182 explicit SkAutoTUnref(T* obj = NULL) : fObj(obj) {} in fObj() function 183 ~SkAutoTUnref() { SkSafeUnref(fObj); } in ~SkAutoTUnref() 185 T* get() const { return fObj; } in get() 188 SkSafeUnref(fObj); in reset() 189 fObj = obj; in reset() 194 T* tmp = fObj; in swap() 195 fObj = other->fObj; in swap() 196 other->fObj = tmp; in swap() 206 T* obj = fObj; in detach() 207 fObj = NULL; in detach() [all …]
|
D | SkTemplates.h | 77 SkAutoTCallVProc(T* obj): fObj(obj) {} 78 ~SkAutoTCallVProc() { if (fObj) P(fObj); } 79 T* detach() { T* obj = fObj; fObj = NULL; return obj; } 81 T* fObj; 94 SkAutoTCallIProc(T* obj): fObj(obj) {} 95 ~SkAutoTCallIProc() { if (fObj) P(fObj); } 96 T* detach() { T* obj = fObj; fObj = NULL; return obj; } 98 T* fObj; 113 SkAutoTDelete(T* obj = NULL) : fObj(obj) {} 114 ~SkAutoTDelete() { SkDELETE(fObj); } [all …]
|
D | SkTLazy.h | 143 SkTCopyOnFirstWrite(const T& initial) : fObj(&initial) {} in SkTCopyOnFirstWrite() 146 SkTCopyOnFirstWrite() : fObj(NULL) {} in SkTCopyOnFirstWrite() 150 SkASSERT(NULL == fObj); in init() 152 fObj = &initial; in init() 159 SkASSERT(NULL != fObj); in writable() 161 fLazy.set(*fObj); in writable() 162 fObj = fLazy.get(); in writable() 164 return const_cast<T*>(fObj); in writable() 171 const T *operator->() const { return fObj; } 173 operator const T*() const { return fObj; } [all …]
|
/external/skia/include/core/ |
D | SkRefCnt.h | 182 explicit SkAutoTUnref(T* obj = NULL) : fObj(obj) {} in fObj() function 183 ~SkAutoTUnref() { SkSafeUnref(fObj); } in ~SkAutoTUnref() 185 T* get() const { return fObj; } in get() 188 SkSafeUnref(fObj); in reset() 189 fObj = obj; in reset() 194 T* tmp = fObj; in swap() 195 fObj = other->fObj; in swap() 196 other->fObj = tmp; in swap() 206 T* obj = fObj; in detach() 207 fObj = NULL; in detach() [all …]
|
D | SkTemplates.h | 77 SkAutoTCallVProc(T* obj): fObj(obj) {} 78 ~SkAutoTCallVProc() { if (fObj) P(fObj); } 79 T* detach() { T* obj = fObj; fObj = NULL; return obj; } 81 T* fObj; 94 SkAutoTCallIProc(T* obj): fObj(obj) {} 95 ~SkAutoTCallIProc() { if (fObj) P(fObj); } 96 T* detach() { T* obj = fObj; fObj = NULL; return obj; } 98 T* fObj; 113 SkAutoTDelete(T* obj = NULL) : fObj(obj) {} 114 ~SkAutoTDelete() { SkDELETE(fObj); } [all …]
|
D | SkTLazy.h | 143 SkTCopyOnFirstWrite(const T& initial) : fObj(&initial) {} in SkTCopyOnFirstWrite() 146 SkTCopyOnFirstWrite() : fObj(NULL) {} in SkTCopyOnFirstWrite() 150 SkASSERT(NULL == fObj); in init() 152 fObj = &initial; in init() 159 SkASSERT(NULL != fObj); in writable() 161 fLazy.set(*fObj); in writable() 162 fObj = fLazy.get(); in writable() 164 return const_cast<T*>(fObj); in writable() 171 const T *operator->() const { return fObj; } 173 operator const T*() const { return fObj; } [all …]
|
/external/skia/src/core/ |
D | SkTemplatesPriv.h | 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() local 67 T* obj = fObj; in detach() 68 fObj = NULL; in detach() 72 T* fObj;
|
D | SkTLList.h | 35 char fObj[sizeof(T)]; member 57 SkTCast<T*>(node->fObj)->~T(); in ~SkTLList() 73 SkNEW_PLACEMENT_ARGS(node->fObj, T, (t)); in addToHead() 75 return reinterpret_cast<T*>(node->fObj); in addToHead() 82 SkNEW_PLACEMENT_ARGS(node->fObj, T, (t)); in addToTail() 84 return reinterpret_cast<T*>(node->fObj); in addToTail() 129 SkASSERT(reinterpret_cast<T*>(node->fObj) == t); in remove() 205 return reinterpret_cast<T*>(node->fObj); in nodeToObj() 250 SkTCast<T*>(node->fObj)->~T(); in removeNode() 331 return node->fObj; in internalAddBefore() [all …]
|
D | SkBlitter.cpp | 763 : fObj(obj), fProc(proc) {} in SkAutoCallProc() 766 if (fObj && fProc) { in ~SkAutoCallProc() 767 fProc(fObj); in ~SkAutoCallProc() 771 void* get() const { return fObj; } in get() 774 void* obj = fObj; in detach() 775 fObj = NULL; in detach() 780 void* fObj; member in SkAutoCallProc
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkTemplatesPriv.h | 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() local 67 T* obj = fObj; in detach() 68 fObj = NULL; in detach() 72 T* fObj;
|
D | SkTLList.h | 35 char fObj[sizeof(T)]; member 57 SkTCast<T*>(node->fObj)->~T(); in ~SkTLList() 73 SkNEW_PLACEMENT_ARGS(node->fObj, T, (t)); in addToHead() 75 return reinterpret_cast<T*>(node->fObj); in addToHead() 82 SkNEW_PLACEMENT_ARGS(node->fObj, T, (t)); in addToTail() 84 return reinterpret_cast<T*>(node->fObj); in addToTail() 129 SkASSERT(reinterpret_cast<T*>(node->fObj) == t); in remove() 205 return reinterpret_cast<T*>(node->fObj); in nodeToObj() 250 SkTCast<T*>(node->fObj)->~T(); in removeNode() 331 return node->fObj; in internalAddBefore() [all …]
|
D | SkBlitter.cpp | 763 : fObj(obj), fProc(proc) {} in SkAutoCallProc() 766 if (fObj && fProc) { in ~SkAutoCallProc() 767 fProc(fObj); in ~SkAutoCallProc() 771 void* get() const { return fObj; } in get() 774 void* obj = fObj; in detach() 775 fObj = NULL; in detach() 780 void* fObj; member in SkAutoCallProc
|
/external/skia/bench/ |
D | ResultsWriter.h | 180 CallEnd(T& obj) : fObj(obj) {} in CallEnd() 181 ~CallEnd() { fObj.end(); } in ~CallEnd() 183 T& fObj;
|
/external/chromium_org/third_party/skia/src/pdf/ |
D | SkPDFTypes.cpp | 74 SkPDFObjRef::SkPDFObjRef(SkPDFObject* obj) : fObj(obj) { in SkPDFObjRef() 83 catalog->emitObjectNumber(stream, fObj.get()); in emitObject() 89 return catalog->getObjectNumberSize(fObj.get()) + strlen(" R"); in getOutputSize()
|
D | SkPDFTypes.h | 125 SkAutoTUnref<SkPDFObject> fObj;
|
/external/skia/src/pdf/ |
D | SkPDFTypes.cpp | 74 SkPDFObjRef::SkPDFObjRef(SkPDFObject* obj) : fObj(obj) { in SkPDFObjRef() 83 catalog->emitObjectNumber(stream, fObj.get()); in emitObject() 89 return catalog->getObjectNumberSize(fObj.get()) + strlen(" R"); in getOutputSize()
|
D | SkPDFTypes.h | 125 SkAutoTUnref<SkPDFObject> fObj;
|