Home
last modified time | relevance | path

Searched refs:fBytes (Results 1 - 20 of 20) sorted by relevance

/third_party/skia/fuzz/
H A DFuzz.cpp20 if ((fNextByte + size) > fBytes->size()) { in nextBytes()
22 memcpy(n, fBytes->bytes() + fNextByte, fBytes->size() - fNextByte); in nextBytes()
23 fNextByte = fBytes->size(); in nextBytes()
26 memcpy(n, fBytes->bytes() + fNextByte, size); in nextBytes()
H A DFuzz.h26 explicit Fuzz(sk_sp<SkData> bytes) : fBytes(bytes), fNextByte(0) {} in Fuzz()
29 size_t size() { return fBytes->size(); } in size()
32 return fBytes->size() == fNextByte; in exhausted()
36 return fBytes->size() - fNextByte; in remaining()
40 fNextByte = fBytes->size(); in deplete()
92 sk_sp<SkData> fBytes; member in Fuzz
H A DFuzzEncoders.cpp79 auto bytes = fuzz->fBytes; in DEF_FUZZ()
/third_party/skia/src/lazy/
H A DSkDiscardableMemoryPool.cpp91 const size_t fBytes; member in __anon18894::PoolDiscardableMemory
97 : fPool(std::move(pool)), fLocked(true), fPointer(std::move(pointer)), fBytes(bytes) { in PoolDiscardableMemory()
100 SkASSERT(fBytes > 0); in PoolDiscardableMemory()
153 SkASSERT(fUsed >= dm->fBytes); in dumpDownTo()
154 fUsed -= dm->fBytes; in dumpDownTo()
182 SkASSERT(fUsed >= dm->fBytes); in removeFromPool()
183 fUsed -= dm->fBytes; in removeFromPool()
/third_party/icu/icu4c/source/i18n/unicode/
H A Dsortkey.h256 * Set a new length for a new sort key in the existing fBytes.
261 return (fFlagAndLength >= 0) ? fUnion.fStackBuffer : fUnion.fFields.fBytes; in getBytes()
264 return (fFlagAndLength >= 0) ? fUnion.fStackBuffer : fUnion.fFields.fBytes; in getBytes()
313 uint8_t *fBytes; member
/third_party/node/deps/icu-small/source/i18n/unicode/
H A Dsortkey.h256 * Set a new length for a new sort key in the existing fBytes.
261 return (fFlagAndLength >= 0) ? fUnion.fStackBuffer : fUnion.fFields.fBytes; in getBytes()
264 return (fFlagAndLength >= 0) ? fUnion.fStackBuffer : fUnion.fFields.fBytes; in getBytes()
313 uint8_t *fBytes; member
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
H A Dsortkey.h256 * Set a new length for a new sort key in the existing fBytes.
261 return (fFlagAndLength >= 0) ? fUnion.fStackBuffer : fUnion.fFields.fBytes; in getBytes()
264 return (fFlagAndLength >= 0) ? fUnion.fStackBuffer : fUnion.fFields.fBytes; in getBytes()
313 uint8_t *fBytes; member
/third_party/icu/icu4c/source/i18n/
H A 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()
/third_party/node/deps/icu-small/source/i18n/
H A 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()
/third_party/skia/third_party/externals/icu/source/i18n/
H A 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()
/third_party/node/deps/icu-small/source/tools/genrb/
H A Dgenrb.cpp58 delete[] fBytes; in close()
59 fBytes = nullptr; in close()
382 poolBundle.fBytes = new uint8_t[(poolFileSize + 15) & ~15]; in main()
383 if (poolFileSize > 0 && poolBundle.fBytes == nullptr) { in main()
390 int32_t bytesRead = T_FileStream_read(poolFile, poolBundle.fBytes, poolFileSize); in main()
400 ds = udata_openSwapperForInputData(poolBundle.fBytes, bytesRead, in main()
407 ures_swap(ds, poolBundle.fBytes, bytesRead, poolBundle.fBytes, &status); in main()
414 header = (const DataHeader *)poolBundle.fBytes; in main()
H A Dreslist.h47 : fBytes(nullptr), fIndexes(nullptr), in ResFile()
55 uint8_t *fBytes; member
/third_party/icu/icu4c/source/tools/genrb/
H A Dgenrb.cpp58 delete[] fBytes; in close()
59 fBytes = NULL; in close()
382 poolBundle.fBytes = new uint8_t[(poolFileSize + 15) & ~15]; in main()
383 if (poolFileSize > 0 && poolBundle.fBytes == NULL) { in main()
390 int32_t bytesRead = T_FileStream_read(poolFile, poolBundle.fBytes, poolFileSize); in main()
400 ds = udata_openSwapperForInputData(poolBundle.fBytes, bytesRead, in main()
407 ures_swap(ds, poolBundle.fBytes, bytesRead, poolBundle.fBytes, &status); in main()
414 header = (const DataHeader *)poolBundle.fBytes; in main()
H A Dreslist.h47 : fBytes(NULL), fIndexes(NULL), in ResFile()
55 uint8_t *fBytes; member
/third_party/skia/third_party/externals/icu/source/tools/genrb/
H A Dgenrb.cpp57 delete[] fBytes; in close()
58 fBytes = NULL; in close()
364 poolBundle.fBytes = new uint8_t[(poolFileSize + 15) & ~15]; in main()
365 if (poolFileSize > 0 && poolBundle.fBytes == NULL) { in main()
372 int32_t bytesRead = T_FileStream_read(poolFile, poolBundle.fBytes, poolFileSize); in main()
382 ds = udata_openSwapperForInputData(poolBundle.fBytes, bytesRead, in main()
389 ures_swap(ds, poolBundle.fBytes, bytesRead, poolBundle.fBytes, &status); in main()
396 header = (const DataHeader *)poolBundle.fBytes; in main()
H A Dreslist.h47 : fBytes(NULL), fIndexes(NULL), in ResFile()
55 uint8_t *fBytes; member
/third_party/skia/src/gpu/vk/
H A DGrVkMemory.cpp74 alloc->fBytes = size;
148 ((GrVkGpu*)gpu)->removeAllocBufferBytes(alloc.fBytes);
212 alloc->fBytes = memorySize;
233 ((GrVkGpu*)gpu)->removeAllocImageBytes(alloc.fBytes);
/third_party/skia/src/gpu/
H A DGrResourceCache.cpp191 << "; fBytes : " << fBytes in cacheInfo()
192 << "(" << static_cast<size_t>(fBytes / MB) in cacheInfo()
644 fBytes += size; in insertResource()
664 fHighWaterBytes = std::max(fBytes, fHighWaterBytes); in insertResource()
710 fBytes -= size; in removeResource()
764 SkASSERT(!fBytes); in abandonAll()
805 SkASSERT(!fBytes); in releaseAll()
1532 const size_t tmpByteBudget = std::max((size_t)0, fBytes - bytesToPurge); in purgeUnlockedResources()
1533 bool stillOverbudget = tmpByteBudget < fBytes; in purgeUnlockedResources()
[all...]
H A DGrResourceCache.h116 size_t getResourceBytes() const { return fBytes; } in getResourceBytes()
531 size_t fBytes = 0; member in GrResourceCache
571 // OH ISSUE: stores fBytes of each pid.
/third_party/skia/include/gpu/vk/
H A DGrVkTypes.h32 VkDeviceSize fBytes = 0; member

Completed in 18 milliseconds