Searched refs:fObj (Results 1 – 11 of 11) sorted by relevance
79 SkAutoTCallVProc(T* obj): fObj(obj) {}80 ~SkAutoTCallVProc() { if (fObj) P(fObj); }82 operator T*() const { return fObj; }83 T* operator->() const { SkASSERT(fObj); return fObj; }85 T* detach() { T* obj = fObj; fObj = NULL; return obj; }87 if (fObj != obj) {88 if (fObj) {89 P(fObj);91 fObj = obj;95 T* fObj;[all …]
182 explicit SkAutoTUnref(T* obj = NULL) : fObj(obj) {} in fObj() function183 ~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 …]
153 SkTCopyOnFirstWrite(const T& initial) : fObj(&initial) {} in SkTCopyOnFirstWrite()156 SkTCopyOnFirstWrite() : fObj(NULL) {} in SkTCopyOnFirstWrite()160 SkASSERT(NULL == fObj); in init()162 fObj = &initial; in init()169 SkASSERT(fObj); in writable()171 fLazy.set(*fObj); in writable()172 fObj = fLazy.get(); in writable()174 return const_cast<T*>(fObj); in writable()181 const T *operator->() const { return fObj; }183 operator const T*() const { return fObj; }[all …]
21 GrPendingProgramElement() : fObj(NULL) { }; in GrPendingProgramElement()24 explicit GrPendingProgramElement(T* obj) : fObj(obj) { in GrPendingProgramElement()34 if (fObj) { in reset()35 fObj->completedExecution(); in reset()37 fObj = obj; in reset()40 T* get() const { return fObj; } in get()41 operator T*() { return fObj; }43 T *operator->() const { return fObj; }46 if (fObj) { in ~GrPendingProgramElement()47 fObj->completedExecution(); in ~GrPendingProgramElement()[all …]
35 char fObj[sizeof(T)]; member57 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(node->fObj, T); in addToHead()84 return reinterpret_cast<T*>(node->fObj); in addToHead()91 SkNEW_PLACEMENT_ARGS(node->fObj, T, (t)); in addToTail()93 return reinterpret_cast<T*>(node->fObj); in addToTail()100 SkNEW_PLACEMENT(node->fObj, T); in addToTail()102 return reinterpret_cast<T*>(node->fObj); in addToTail()[all …]
45 rec->fKillProc(rec->fObj); in ~SkSmallAllocator()132 rec->fObj = static_cast<void*>(rec->fHeapStorage);138 rec->fObj = static_cast<void*>(fStorage + (fStorageUsed / 4));143 return rec->fObj;163 void* fObj; member
128 RefBox(T* obj) : fObj(SkSafeRef(obj)) {} in RefBox()129 ~RefBox() { SkSafeUnref(fObj); } in ~RefBox()131 ACT_AS_PTR(fObj);134 T* fObj;
198 fObjects[id].fObj = obj; in loadWithoutXRef()370 fObjects[id].fObj = NULL; in addCrossSectionInfo()493 if (fObjects[i].fObj == NULL) { in object()494 fObjects[i].fObj = readObject(i); in object()500 return fObjects[i].fObj; in object()558 if (fObjects[id].fObj == NULL) { in resolveReference()559 fObjects[id].fObj = readObject(id); in resolveReference()562 if (fObjects[id].fObj != NULL && fObjects[id].fResolvedReference == NULL) { in resolveReference()563 if (!fObjects[id].fObj->isReference()) { in resolveReference()564 fObjects[id].fResolvedReference = fObjects[id].fObj; in resolveReference()[all …]
56 SkPdfNativeObject* fObj; member139 obj->fObj = NULL; in reset()
371 SkPdfNativeObject* fObj; member435 fChars[j - fFirstChar].fObj = fCharProcs->get((*diffs)[i]); in SkPdfType3Font()449 if (ch < fFirstChar || ch > fLastChar || !fChars[ch - fFirstChar].fObj) { in drawOneChar()463 pdfContext->fPdfDoc->resolveReference(fChars[ch - fFirstChar].fObj), in drawOneChar()
826 SkPdfNativeObject* fObj; member in CheckRecursiveRendering828 CheckRecursiveRendering(SkPdfNativeObject* obj) : fObj(obj) { in CheckRecursiveRendering()834 SkASSERT(fObj->inRendering()); in ~CheckRecursiveRendering()835 fObj->doneRendering(); in ~CheckRecursiveRendering()