/external/skia/src/core/ |
D | SkBitmapHeap.cpp | 91 for (int i = 0; i < fStorage.count(); i++) { in ~SkBitmapHeap() 94 if (fUnusedSlots[j] == fStorage[i]->fSlot) { in ~SkBitmapHeap() 100 fBytesAllocated -= fStorage[i]->fBytesAllocated; in ~SkBitmapHeap() 103 fBytesAllocated -= (fStorage.count() * sizeof(SkBitmapHeapEntry)); in ~SkBitmapHeap() 106 fStorage.deleteAll(); in ~SkBitmapHeap() 154 SkASSERT(fStorage.count() >= fPreferredCount); in findEntryToReplace() 158 SkBitmapHeapEntry* heapEntry = fStorage[iter->fStorageSlot]; in findEntryToReplace() 186 SkBitmapHeapEntry* heapEntry = fStorage[iter->fStorageSlot]; in freeMemoryIfPossible() 209 fBytesAllocated -= (fStorage.count() * sizeof(SkBitmapHeapEntry)); in freeMemoryIfPossible() 210 fStorage.deleteAll(); in freeMemoryIfPossible() [all …]
|
D | SkCachedData.cpp | 38 fStorage.fMalloc = data; in SkCachedData() 50 fStorage.fDM = dm; in SkCachedData() 57 sk_free(fStorage.fMalloc); in ~SkCachedData() 60 delete fStorage.fDM; in ~SkCachedData() 146 this->setData(fStorage.fMalloc); in inMutexLock() 149 if (fStorage.fDM->lock()) { in inMutexLock() 150 void* ptr = fStorage.fDM->data(); in inMutexLock() 172 fStorage.fDM->unlock(); in inMutexUnlock() 187 SkASSERT(fData == fStorage.fMalloc); in validate()
|
D | SkRegion_path.cpp | 52 const Scanline* line = (Scanline*)fStorage; in dump() 87 SkRegion::RunType* fStorage; member in SkRgnBuilder 111 : fStorage(nullptr) { in SkRgnBuilder() 115 sk_free(fStorage); in ~SkRgnBuilder() 149 fStorage = (SkRegion::RunType*)sk_malloc_flags(sk_64_asS32(size), 0); in init() 150 if (nullptr == fStorage) { in init() 162 fCurrScanline = (Scanline*)fStorage; in blitH() 196 SkASSERT(fCurrXPtr - fStorage < fStorageCount); in blitH() 204 const SkRegion::RunType* line = fStorage; in computeRunCount() 213 SkASSERT((const SkRegion::RunType*)fCurrScanline - fStorage == 5); in copyToRect() [all …]
|
D | SkMallocPixelRef.cpp | 158 fStorage = storage; in SkMallocPixelRef() 163 this->setPreLocked(fStorage, rowBytes, fCTable); in SkMallocPixelRef() 181 fStorage = storage; in SkMallocPixelRef() 186 this->setPreLocked(fStorage, rowBytes, fCTable); in SkMallocPixelRef() 193 fReleaseProc(fStorage, fReleaseProcContext); in ~SkMallocPixelRef() 198 rec->fPixels = fStorage; in onNewLockPixels()
|
D | SkTextBlob.cpp | 367 if (nullptr != fStorage.get()) { in ~SkTextBlobBuilder() 474 SkTextBlob::RunRecord* run = reinterpret_cast<SkTextBlob::RunRecord*>(fStorage.get() + in updateDeferredBounds() 491 SkASSERT(nullptr == fStorage.get()); in reserve() 501 fStorage.realloc(fStorageSize); in reserve() 512 SkTextBlob::RunRecord* run = reinterpret_cast<SkTextBlob::RunRecord*>(fStorage.get() + in mergeRun() 537 run = reinterpret_cast<SkTextBlob::RunRecord*>(fStorage.get() + fLastRun); in mergeRun() 549 run->validate(fStorage.get() + fStorageUsed); in mergeRun() 569 SkTextBlob::RunRecord* run = new (fStorage.get() + fStorageUsed) in allocInternal() 580 run->validate(fStorage.get() + fStorageUsed); in allocInternal() 617 SkASSERT((fRunCount > 0) == (nullptr != fStorage.get())); in build() [all …]
|
D | SkBitmapHeap.h | 164 SkASSERT(slot <= fStorage.count()); in getEntry() 168 return fStorage[slot]; in getEntry() 176 fStorage.count() - fUnusedSlots.count() == fLookupTable.count()); in count() 280 SkTDArray<SkBitmapHeapEntry*> fStorage; variable
|
D | SkDescriptor.h | 149 if (size <= sizeof(fStorage)) { in reset() 150 fDesc = (SkDescriptor*)(void*)fStorage; in reset() 159 if (fDesc != (SkDescriptor*)(void*)fStorage) { in free() 171 uint32_t fStorage[(kStorageSize + 3) >> 2]; variable
|
D | SkPerspIter.h | 29 const SkFixed* getXY() const { return fStorage; } in getXY() 42 SkFixed fStorage[kCount * 2]; variable
|
D | SkPixmap.cpp | 284 SkAutoPixmapStorage::SkAutoPixmapStorage() : fStorage(nullptr) {} in SkAutoPixmapStorage() 303 fStorage = pixels; in tryAlloc() 314 if (!fStorage) { in detachPixelsAsData() 318 const SkData* data = SkData::NewFromMalloc(fStorage, this->getSafeSize()); in detachPixelsAsData() 319 fStorage = nullptr; in detachPixelsAsData()
|
D | SkCachedData.h | 35 return kDiscardableMemory_StorageType == fStorageType ? fStorage.fDM : nullptr; in diagnostic_only_getDiscardable() 53 } fStorage; variable
|
D | SkTSearch.cpp | 91 lc = fStorage; in SkAutoAsciiToLC() 111 if (fLC != fStorage) { in ~SkAutoAsciiToLC()
|
D | SkSmallAllocator.h | 92 rec->fObj = static_cast<void*>(fStorage + (fStorageUsed / 4)); 131 uint32_t fStorage[SkAlign4(kTotalBytes) >> 2]; variable
|
/external/skia/src/utils/ |
D | SkMeshUtils.cpp | 17 sk_free(fStorage); in ~SkMeshIndices() 23 sk_free(fStorage); in init() 24 fStorage = nullptr; in init() 31 sk_free(fStorage); in init() 32 fStorage = nullptr; in init() 43 fStorage = sk_malloc_throw(fTexCount * sizeof(SkPoint) + in init() 45 fTex = (SkPoint*)fStorage; in init()
|
D | SkInterpolator.cpp | 15 fStorage = nullptr; in SkInterpolatorBase() 21 if (fStorage) { in ~SkInterpolatorBase() 22 sk_free(fStorage); in ~SkInterpolatorBase() 31 if (fStorage) { in reset() 32 sk_free(fStorage); in reset() 33 fStorage = nullptr; in reset() 143 fStorage = sk_malloc_throw((sizeof(SkScalar) * elemCount + in reset() 145 fTimes = (SkTimeCode*) fStorage; in reset() 146 fValues = (SkScalar*) ((char*) fStorage + sizeof(SkTimeCode) * frameCount); in reset()
|
/external/skia/include/core/ |
D | SkTLazy.h | 26 fPtr = new (fStorage.get()) T(*src); in SkTLazy() 32 fPtr = new (fStorage.get()) T(*src->get()); in SkTLazy() 54 fPtr = new (SkTCast<T*>(fStorage.get())) T(std::forward<Args>(args)...); in init() 68 fPtr = new (SkTCast<T*>(fStorage.get())) T(src); in set() 103 SkAlignedSTStorage<1, T> fStorage; variable
|
D | SkTypes.h | 632 fPtr = fStorage; in SkAutoSMalloc() 641 fPtr = fStorage; in SkAutoSMalloc() 651 if (fPtr != (void*)fStorage) { in ~SkAutoSMalloc() 677 if (fPtr != (void*)fStorage) { 682 SkASSERT(fPtr != fStorage); // otherwise we lied when setting didChangeAlloc. 683 fPtr = fStorage; 691 SkASSERT((fPtr == fStorage) || fSize > kSize); 709 uint32_t fStorage[kSize >> 2]; variable
|
D | SkMallocPixelRef.h | 86 void* getAddr() const { return fStorage; } in getAddr() 115 void* fStorage; variable
|
/external/icu/icu4c/source/i18n/ |
D | digitlst.cpp | 72 fContext.digits = fStorage.getCapacity(); in DigitList() 74 fDecNumber = fStorage.getAlias(); in DigitList() 91 fDecNumber = fStorage.getAlias(); in DigitList() 106 if (other.fStorage.getCapacity() > fStorage.getCapacity()) { in operator =() 107 fDecNumber = fStorage.resize(other.fStorage.getCapacity()); in operator =() 111 fContext.digits = fStorage.getCapacity(); in operator =() 789 decNumber *t = fStorage.resize(numDigits, fStorage.getCapacity()); in set() 910 decNumber *newBuffer = fStorage.resize(requestedCapacity, fStorage.getCapacity()); in ensureCapacity()
|
/external/skia/include/private/ |
D | SkTemplates.h | 200 SkASSERT((T*) fStorage != fArray); in reset() 212 fArray = (T*) fStorage; in reset() 257 char fStorage[kCount * sizeof(T)]; variable 476 void* get() { return fStorage.get(); } in get() 477 const void* get() const { return fStorage.get(); } in get() 479 SkAlignedSStorage<sizeof(T)*N> fStorage;
|
D | SkTArray.h | 483 SkSTArray() : INHERITED(&fStorage) { in SkSTArray() 487 : INHERITED(array, &fStorage) { in SkSTArray() 491 : INHERITED(array, &fStorage) { in SkSTArray() 499 : INHERITED(array, count, &fStorage) { in SkSTArray() 512 SkAlignedSTStorage<N,T> fStorage;
|
/external/skia/src/gpu/ |
D | GrYUVProvider.cpp | 31 SkAutoMalloc fStorage; member in __anonc7ccbaff0111::YUVScoper 63 fStorage.reset(totalSize); in init() 64 planes[0] = fStorage.get(); in init()
|
/external/skia/src/effects/ |
D | SkTableColorFilter.cpp | 24 uint8_t* dst = fStorage; in SkTable_ColorFilter() 74 uint8_t fStorage[256 * 4]; member in SkTable_ColorFilter 118 const uint8_t* table = fStorage; in filterSpan() 162 const uint8_t* table = fStorage; in toString() 203 size_t size = SkPackBits::Pack8(fStorage, count * 256, storage, in flatten() 270 memcpy(bitmapPixels, fStorage + offset, 256); in asComponentTable() 301 const uint8_t* table = fStorage; in newComposed()
|
D | SkMergeImageFilter.cpp | 21 if (size <= sizeof(fStorage)) { in initAllocModes() 22 fModes = SkTCast<uint8_t*>(fStorage); in initAllocModes() 53 if (fModes != SkTCast<uint8_t*>(fStorage)) { in ~SkMergeImageFilter()
|
/external/skia/src/animator/ |
D | SkOperandIterpolator.cpp | 28 fStorage = sk_malloc_throw((sizeof(SkOperand) * elemCount + sizeof(SkTimeCode)) * frameCount); in reset() 29 fTimes = (SkTimeCode*) fStorage; in reset() 30 fValues = (SkOperand*) ((char*) fStorage + sizeof(SkTimeCode) * frameCount); in reset()
|
/external/skia/src/codec/ |
D | SkJpegCodec.cpp | 162 fStorage.free(); in onRewind() 392 fStorage.reset(get_row_bytes(fDecoderMgr->dinfo())); in initializeSwizzler() 393 fSrcRow = fStorage.get(); in initializeSwizzler() 398 SkASSERT(!fSwizzler || (fSrcRow && fStorage.get() == fSrcRow)); in getSampler() 530 fStorage.reset(get_row_bytes(fDecoderMgr->dinfo())); in onSkipScanlines() 531 fSrcRow = fStorage.get(); in onSkipScanlines()
|