/external/skia/fuzz/ |
D | Fuzz.cpp | 28 if ((fNextByte + size) > fBytes->size()) { in nextBytes() 30 memcpy(n, fBytes->bytes() + fNextByte, fBytes->size() - fNextByte); in nextBytes() 31 fNextByte = fBytes->size(); in nextBytes() 34 memcpy(n, fBytes->bytes() + fNextByte, size); in nextBytes()
|
D | Fuzz.h | 25 explicit Fuzz(sk_sp<SkData> bytes) : fBytes(bytes), fNextByte(0) {} in Fuzz() 28 size_t size() { return fBytes->size(); } in size() 31 return fBytes->size() == fNextByte; in exhausted() 35 return fBytes->size() - fNextByte; in remaining() 39 fNextByte = fBytes->size(); in deplete() 82 sk_sp<SkData> fBytes; variable
|
D | FuzzEncoders.cpp | 79 auto bytes = fuzz->fBytes; in DEF_FUZZ()
|
/external/skqp/fuzz/ |
D | Fuzz.cpp | 28 if ((fNextByte + size) > fBytes->size()) { in nextBytes() 30 memcpy(n, fBytes->bytes() + fNextByte, fBytes->size() - fNextByte); in nextBytes() 31 fNextByte = fBytes->size(); in nextBytes() 34 memcpy(n, fBytes->bytes() + fNextByte, size); in nextBytes()
|
D | Fuzz.h | 25 explicit Fuzz(sk_sp<SkData> bytes) : fBytes(bytes), fNextByte(0) {} in Fuzz() 28 size_t size() { return fBytes->size(); } in size() 31 return fBytes->size() == fNextByte; in exhausted() 35 return fBytes->size() - fNextByte; in remaining() 39 fNextByte = fBytes->size(); in deplete() 82 sk_sp<SkData> fBytes; variable
|
D | FuzzEncoders.cpp | 79 auto bytes = fuzz->fBytes; in DEF_FUZZ()
|
/external/skqp/src/lazy/ |
D | SkDiscardableMemoryPool.cpp | 92 const size_t fBytes; member in __anon40f019be0111::PoolDiscardableMemory 98 : fPool(std::move(pool)), fLocked(true), fPointer(std::move(pointer)), fBytes(bytes) { in PoolDiscardableMemory() 101 SkASSERT(fBytes > 0); in PoolDiscardableMemory() 154 SkASSERT(fUsed >= dm->fBytes); in dumpDownTo() 155 fUsed -= dm->fBytes; in dumpDownTo() 183 SkASSERT(fUsed >= dm->fBytes); in removeFromPool() 184 fUsed -= dm->fBytes; in removeFromPool()
|
/external/skia/src/lazy/ |
D | SkDiscardableMemoryPool.cpp | 92 const size_t fBytes; member in __anonc1d8b6470111::PoolDiscardableMemory 98 : fPool(std::move(pool)), fLocked(true), fPointer(std::move(pointer)), fBytes(bytes) { in PoolDiscardableMemory() 101 SkASSERT(fBytes > 0); in PoolDiscardableMemory() 154 SkASSERT(fUsed >= dm->fBytes); in dumpDownTo() 155 fUsed -= dm->fBytes; in dumpDownTo() 183 SkASSERT(fUsed >= dm->fBytes); in removeFromPool() 184 fUsed -= dm->fBytes; in removeFromPool()
|
/external/skqp/src/gpu/ |
D | GrResourceCache.cpp | 84 , fBytes(0) in GrResourceCache() 123 fBytes += size; in insertResource() 126 fHighWaterBytes = SkTMax(fBytes, fHighWaterBytes); in insertResource() 161 fBytes -= size; in removeResource() 203 SkASSERT(!fBytes); in abandonAll() 243 SkASSERT(!fBytes); in releaseAll() 569 const size_t tmpByteBudget = SkTMax((size_t)0, fBytes - bytesToPurge); in purgeUnlockedResources() 570 bool stillOverbudget = tmpByteBudget < fBytes; in purgeUnlockedResources() 585 stillOverbudget = tmpByteBudget < fBytes - scratchByteCount; in purgeUnlockedResources() 594 stillOverbudget = tmpByteBudget < fBytes; in purgeUnlockedResources() [all …]
|
D | GrResourceCache.h | 91 size_t getResourceBytes() const { return fBytes; } in getResourceBytes() 344 size_t fBytes;
|
/external/skia/src/gpu/ |
D | GrResourceCache.cpp | 122 , fBytes(0) in GrResourceCache() 161 fBytes += size; in insertResource() 164 fHighWaterBytes = SkTMax(fBytes, fHighWaterBytes); in insertResource() 199 fBytes -= size; in removeResource() 240 SkASSERT(!fBytes); in abandonAll() 277 SkASSERT(!fBytes); in releaseAll() 603 const size_t tmpByteBudget = SkTMax((size_t)0, fBytes - bytesToPurge); in purgeUnlockedResources() 604 bool stillOverbudget = tmpByteBudget < fBytes; in purgeUnlockedResources() 619 stillOverbudget = tmpByteBudget < fBytes - scratchByteCount; in purgeUnlockedResources() 628 stillOverbudget = tmpByteBudget < fBytes; in purgeUnlockedResources() [all …]
|
D | GrResourceCache.h | 92 size_t getResourceBytes() const { return fBytes; } in getResourceBytes() 367 size_t fBytes;
|
/external/icu/icu4c/source/i18n/unicode/ |
D | sortkey.h | 259 return (fFlagAndLength >= 0) ? fUnion.fStackBuffer : fUnion.fFields.fBytes; in getBytes() 262 return (fFlagAndLength >= 0) ? fUnion.fStackBuffer : fUnion.fFields.fBytes; in getBytes() 311 uint8_t *fBytes; member
|
/external/icu/icu4c/source/i18n/ |
D | sortkey.cpp | 98 if(fFlagAndLength < 0) { uprv_free(fUnion.fFields.fBytes); } in ~CollationKey() 107 if(fFlagAndLength < 0) { uprv_free(fUnion.fFields.fBytes); } in reallocate() 108 fUnion.fFields.fBytes = newBytes; in reallocate() 238 uprv_memcpy(result, fBytes, fCount); in toByteArray()
|
/external/icu/icu4c/source/tools/genrb/ |
D | genrb.cpp | 50 delete[] fBytes; in close() 51 fBytes = NULL; in close() 347 poolBundle.fBytes = new uint8_t[(poolFileSize + 15) & ~15]; in main() 348 if (poolFileSize > 0 && poolBundle.fBytes == NULL) { in main() 355 int32_t bytesRead = T_FileStream_read(poolFile, poolBundle.fBytes, poolFileSize); in main() 365 ds = udata_openSwapperForInputData(poolBundle.fBytes, bytesRead, in main() 372 ures_swap(ds, poolBundle.fBytes, bytesRead, poolBundle.fBytes, &status); in main() 379 header = (const DataHeader *)poolBundle.fBytes; in main()
|
D | reslist.h | 43 : fBytes(NULL), fIndexes(NULL), in ResFile() 51 uint8_t *fBytes; member
|
/external/skqp/src/core/ |
D | SkLiteDL.h | 86 SkAutoTMalloc<uint8_t> fBytes; variable
|
D | SkLiteDL.cpp | 472 fBytes.realloc(fReserved); in push() 475 auto op = (T*)(fBytes.get() + fUsed); in push() 485 auto end = fBytes.get() + fUsed; in map() 486 for (const uint8_t* ptr = fBytes.get(); ptr < end; ) { in map()
|
/external/skia/src/core/ |
D | SkLiteDL.h | 87 SkAutoTMalloc<uint8_t> fBytes; variable
|
D | SkLiteDL.cpp | 478 fBytes.realloc(fReserved); in push() 481 auto op = (T*)(fBytes.get() + fUsed); in push() 491 auto end = fBytes.get() + fUsed; in map() 492 for (const uint8_t* ptr = fBytes.get(); ptr < end; ) { in map()
|
/external/skqp/tools/gpu/ |
D | GrTest.cpp | 170 SkToInt(fBytes), SkToInt(fBudgetedBytes), byteUtilization, in dumpStats()
|