Searched refs:fBytes (Results 1 – 12 of 12) sorted by relevance
/external/skia/fuzz/ |
D | Fuzz.h | 56 sk_sp<SkData> fBytes; variable 70 if ((fNextByte + sizeof(T)) > fBytes->size()) { in next() 72 memcpy(n, fBytes->bytes() + fNextByte, fBytes->size() - fNextByte); in next() 73 fNextByte = fBytes->size(); in next() 76 memcpy(n, fBytes->bytes() + fNextByte, sizeof(T)); in next()
|
D | fuzz.cpp | 576 Fuzz::Fuzz(sk_sp<SkData> bytes) : fBytes(bytes), fNextByte(0) {} in Fuzz() 580 size_t Fuzz::size() { return fBytes->size(); } in size() 583 return fBytes->size() == fNextByte; in exhausted()
|
/external/skia/src/lazy/ |
D | SkDiscardableMemoryPool.cpp | 93 const size_t fBytes; member in __anonc6ded2be0111::PoolDiscardableMemory 102 , fBytes(bytes) { in PoolDiscardableMemory() 105 SkASSERT(fBytes > 0); in PoolDiscardableMemory() 165 SkASSERT(fUsed >= dm->fBytes); in dumpDownTo() 166 fUsed -= dm->fBytes; in dumpDownTo() 196 SkASSERT(fUsed >= dm->fBytes); in free() 197 fUsed -= dm->fBytes; in free()
|
/external/skia/src/gpu/ |
D | GrResourceCache.cpp | 73 , fBytes(0) in GrResourceCache() 108 fBytes += size; in insertResource() 111 fHighWaterBytes = SkTMax(fBytes, fHighWaterBytes); in insertResource() 144 fBytes -= size; in removeResource() 181 SkASSERT(!fBytes); in abandonAll() 205 SkASSERT(!fBytes); in releaseAll() 405 fBytes += delta; in didChangeGpuMemorySize() 407 fHighWaterBytes = SkTMax(fBytes, fHighWaterBytes); in didChangeGpuMemorySize() 657 size_t fBytes; in validate() member 674 fBytes += resource->gpuMemorySize(); in validate() [all …]
|
D | GrResourceCache.h | 88 size_t getResourceBytes() const { return fBytes; } in getResourceBytes() 319 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/skia/src/core/ |
D | SkLiteDL.h | 88 SkAutoTMalloc<uint8_t> fBytes; variable
|
D | SkLiteDL.cpp | 513 fBytes.realloc(fReserved); in push() 516 auto op = (T*)(fBytes.get() + fUsed); in push() 526 auto end = fBytes.get() + fUsed; in map() 527 for (uint8_t* ptr = fBytes.get(); ptr < end; ) { in map()
|
/external/skia/tools/gpu/ |
D | GrTest.cpp | 192 SkToInt(fBytes), SkToInt(fBudgetedBytes), byteUtilization, in dumpStats()
|