Home
last modified time | relevance | path

Searched refs:fMalloc (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_memory.cpp146 void *fMalloc; member in dng_malloc_block
170 , fMalloc (NULL) in dng_malloc_block()
176 int err = ::posix_memalign( (void **) &fMalloc, 16, (size_t) PhysicalSize() ); in dng_malloc_block()
187 fMalloc = (char*)malloc (PhysicalSize ()); in dng_malloc_block()
189 if (!fMalloc) in dng_malloc_block()
198 SetBuffer (fMalloc); in dng_malloc_block()
207 if (fMalloc) in ~dng_malloc_block()
210 free (fMalloc); in ~dng_malloc_block()
/third_party/skia/src/core/
DSkBitmapCache.cpp69 , fMalloc(block) in Rec()
73 SkASSERT(!(fDM && fMalloc)); // can't have both in Rec()
86 sk_free(fMalloc); // may be null in ~Rec()
113 SkASSERT(rec->fMalloc == nullptr); in ReleaseProc()
119 SkASSERT(rec->fMalloc != nullptr); in ReleaseProc()
126 if (!fDM && !fMalloc) { in install()
142 bitmap->installPixels(fInfo, fDM ? fDM->data() : fMalloc, fRowBytes, ReleaseProc, this); in install()
162 void* fMalloc; member in SkBitmapCache::Rec
DSkCachedData.cpp20 fStorage.fMalloc = data; in SkCachedData()
37 sk_free(fStorage.fMalloc); in ~SkCachedData()
125 this->setData(fStorage.fMalloc); in inMutexLock()
166 SkASSERT(fData == fStorage.fMalloc); in validate()
DSkCachedData.h53 void* fMalloc; member
DSkRegion.cpp57 fMalloc.realloc(count); in resizeToAtLeast()
59 memcpy(fMalloc.get(), fStack, fCount * sizeof(SkRegionPriv::RunType)); in resizeToAtLeast()
61 fPtr = fMalloc.get(); in resizeToAtLeast()
67 SkAutoTMalloc<SkRegionPriv::RunType> fMalloc; member in RunArray