Home
last modified time | relevance | path

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

/external/skia/src/lazy/
DSkDiscardableMemoryPool.cpp92 const size_t fBytes; member in __anon37dff1430111::PoolDiscardableMemory
101 , fBytes(bytes) { in PoolDiscardableMemory()
104 SkASSERT(fBytes > 0); in PoolDiscardableMemory()
164 SkASSERT(fUsed >= dm->fBytes); in dumpDownTo()
165 fUsed -= dm->fBytes; in dumpDownTo()
195 SkASSERT(fUsed >= dm->fBytes); in free()
196 fUsed -= dm->fBytes; in free()
/external/skia/src/gpu/
DGrResourceCache.cpp72 , fBytes(0) in GrResourceCache()
134 fBytes += size; in insertResource()
137 fHighWaterBytes = SkTMax(fBytes, fHighWaterBytes); in insertResource()
169 fBytes -= size; in removeResource()
205 SkASSERT(!fBytes); in abandonAll()
229 SkASSERT(!fBytes); in releaseAll()
413 fBytes += delta; in didChangeGpuMemorySize()
415 fHighWaterBytes = SkTMax(fBytes, fHighWaterBytes); in didChangeGpuMemorySize()
638 size_t fBytes; in validate() member
655 fBytes += resource->gpuMemorySize(); in validate()
[all …]
DGrResourceCache.h92 size_t getResourceBytes() const { return fBytes; } in getResourceBytes()
334 size_t fBytes;
DGrTest.cpp231 SkToInt(fBytes), SkToInt(fBudgetedBytes), byteUtilization, in dumpStats()
/external/icu/icu4c/source/i18n/unicode/
Dsortkey.h257 return (fFlagAndLength >= 0) ? fUnion.fStackBuffer : fUnion.fFields.fBytes; in getBytes()
260 return (fFlagAndLength >= 0) ? fUnion.fStackBuffer : fUnion.fFields.fBytes; in getBytes()
309 uint8_t *fBytes; member
/external/icu/icu4c/source/i18n/
Dsortkey.cpp96 if(fFlagAndLength < 0) { uprv_free(fUnion.fFields.fBytes); } in ~CollationKey()
105 if(fFlagAndLength < 0) { uprv_free(fUnion.fFields.fBytes); } in reallocate()
106 fUnion.fFields.fBytes = newBytes; in reallocate()
236 uprv_memcpy(result, fBytes, fCount); in toByteArray()
/external/icu/icu4c/source/tools/genrb/
Dgenrb.cpp47 delete[] fBytes; in close()
48 fBytes = NULL; in close()
344 poolBundle.fBytes = new uint8_t[(poolFileSize + 15) & ~15]; in main()
345 if (poolFileSize > 0 && poolBundle.fBytes == NULL) { in main()
352 int32_t bytesRead = T_FileStream_read(poolFile, poolBundle.fBytes, poolFileSize); in main()
362 ds = udata_openSwapperForInputData(poolBundle.fBytes, bytesRead, in main()
369 ures_swap(ds, poolBundle.fBytes, bytesRead, poolBundle.fBytes, &status); in main()
376 header = (const DataHeader *)poolBundle.fBytes; in main()
Dreslist.h41 : fBytes(NULL), fIndexes(NULL), in ResFile()
49 uint8_t *fBytes; member
/external/skia/fuzz/
DFuzz.h40 SkAutoTUnref<SkData> fBytes; variable
Dfuzz.cpp379 Fuzz::Fuzz(SkData* bytes) : fBytes(SkSafeRef(bytes)), fNextByte(0) {} in Fuzz()
386 if (fNextByte + sizeof(T) > fBytes->size()) { in nextT()
391 memcpy(&val, fBytes->bytes() + fNextByte, sizeof(T)); in nextT()