Home
last modified time | relevance | path

Searched refs:fPtr (Results 1 – 6 of 6) sorted by relevance

/external/skia/include/core/
DSkTypes.h305 SkAutoFree() : fPtr(NULL) {} in SkAutoFree()
306 explicit SkAutoFree(void* ptr) : fPtr(ptr) {} in SkAutoFree()
307 ~SkAutoFree() { sk_free(fPtr); } in ~SkAutoFree()
311 void* get() const { return fPtr; } in get()
318 void* prev = fPtr; in set()
319 fPtr = ptr; in set()
333 sk_free(fPtr); in free()
334 fPtr = NULL; in free()
338 void* fPtr;
365 fPtr = fStorage; in SkAutoSMalloc()
[all …]
DSkTemplates.h180 fPtr = (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW | SK_MALLOC_TEMP); in SkAutoTMalloc()
184 sk_free(fPtr); in ~SkAutoTMalloc()
186 T* get() const { return fPtr; } in get()
189 T* fPtr;
197 fPtr = fTStorage; in SkAutoSTMalloc()
199 fPtr = (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW | SK_MALLOC_TEMP); in SkAutoSTMalloc()
203 if (fPtr != fTStorage) in ~SkAutoSTMalloc()
204 sk_free(fPtr); in ~SkAutoSTMalloc()
206 T* get() const { return fPtr; } in get()
209 T* fPtr;
DSkPtrRecorder.h38 void* fPtr; member
/external/skia/src/core/
DSkPtrRecorder.cpp8 this->decPtr(p->fPtr); in reset()
15 return (char*)a.fPtr - (char*)b.fPtr; in Cmp()
25 pair.fPtr = ptr; in recordPtr()
48 array[index] = p[i].fPtr; in getPtrs()
/external/skia/include/views/
DSkMetaData.h133 void* fPtr; member
/external/skia/src/views/
DSkMetaData.cpp127 rec->fData.fPtr = *(void**)rec->data(); in set()