Home
last modified time | relevance | path

Searched refs:fBytes (Results 1 – 12 of 12) sorted by relevance

/external/skia/fuzz/
DFuzz.h56 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()
Dfuzz.cpp576 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/
DSkDiscardableMemoryPool.cpp93 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/
DGrResourceCache.cpp73 , 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 …]
DGrResourceCache.h88 size_t getResourceBytes() const { return fBytes; } in getResourceBytes()
319 size_t fBytes;
/external/icu/icu4c/source/i18n/unicode/
Dsortkey.h259 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/
Dsortkey.cpp98 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/
Dgenrb.cpp50 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()
Dreslist.h43 : fBytes(NULL), fIndexes(NULL), in ResFile()
51 uint8_t *fBytes; member
/external/skia/src/core/
DSkLiteDL.h88 SkAutoTMalloc<uint8_t> fBytes; variable
DSkLiteDL.cpp513 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/
DGrTest.cpp192 SkToInt(fBytes), SkToInt(fBudgetedBytes), byteUtilization, in dumpStats()