/third_party/skia/fuzz/ |
D | Fuzz.cpp | 20 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()
|
D | Fuzz.h | 26 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; variable
|
D | FuzzEncoders.cpp | 79 auto bytes = fuzz->fBytes; in DEF_FUZZ()
|
/third_party/skia/src/lazy/ |
D | SkDiscardableMemoryPool.cpp | 91 const size_t fBytes; member in __anonc45dbb700111::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/ |
D | sortkey.h | 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/ |
D | sortkey.h | 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/ |
D | sortkey.h | 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/src/gpu/ |
D | GrResourceCache.cpp | 151 fBytes += size; in insertResource() 154 fHighWaterBytes = std::max(fBytes, fHighWaterBytes); in insertResource() 184 fBytes -= size; in removeResource() 226 SkASSERT(!fBytes); in abandonAll() 267 SkASSERT(!fBytes); in releaseAll() 817 const size_t tmpByteBudget = std::max((size_t)0, fBytes - bytesToPurge); in purgeUnlockedResources() 818 bool stillOverbudget = tmpByteBudget < fBytes; in purgeUnlockedResources() 833 stillOverbudget = tmpByteBudget < fBytes - scratchByteCount; in purgeUnlockedResources() 842 stillOverbudget = tmpByteBudget < fBytes; in purgeUnlockedResources() 1027 SkToInt(fBytes), SkToInt(fBudgetedBytes), byteUtilization, in dumpStats() [all …]
|
D | GrResourceCache.h | 112 size_t getResourceBytes() const { return fBytes; } in getResourceBytes() 407 size_t fBytes = 0;
|
/third_party/skia/third_party/externals/icu/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()
|
/third_party/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()
|
/third_party/node/deps/icu-small/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()
|
/third_party/node/deps/icu-small/source/tools/genrb/ |
D | genrb.cpp | 58 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()
|
D | reslist.h | 47 : fBytes(nullptr), fIndexes(nullptr), in ResFile() 55 uint8_t *fBytes; member
|
/third_party/icu/icu4c/source/tools/genrb/ |
D | genrb.cpp | 58 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()
|
D | reslist.h | 47 : fBytes(NULL), fIndexes(NULL), in ResFile() 55 uint8_t *fBytes; member
|
/third_party/skia/third_party/externals/icu/source/tools/genrb/ |
D | genrb.cpp | 57 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()
|
D | reslist.h | 47 : fBytes(NULL), fIndexes(NULL), in ResFile() 55 uint8_t *fBytes; member
|