/external/skia/src/sksl/ |
D | SkSLASTNode.h | 257 char fBytes[std::max({sizeof(Operator), member 287 new (fBytes) Operator(op); in NodeData() 292 new (fBytes) StringFragment(data); in NodeData() 297 new (fBytes) bool(data); in NodeData() 302 new (fBytes) SKSL_INT(data); in NodeData() 307 new (fBytes) SKSL_FLOAT(data); in NodeData() 312 new (fBytes) Modifiers(data); in NodeData() 317 new (fBytes) FunctionData(data); in NodeData() 322 new (fBytes) VarData(data); in NodeData() 327 new (fBytes) ParameterData(data); in NodeData() [all …]
|
/external/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() 86 sk_sp<SkData> fBytes; variable
|
D | FuzzEncoders.cpp | 79 auto bytes = fuzz->fBytes; in DEF_FUZZ()
|
/external/skqp/fuzz/ |
D | Fuzz.cpp | 28 if ((fNextByte + size) > fBytes->size()) { in nextBytes() 30 memcpy(n, fBytes->bytes() + fNextByte, fBytes->size() - fNextByte); in nextBytes() 31 fNextByte = fBytes->size(); in nextBytes() 34 memcpy(n, fBytes->bytes() + fNextByte, size); in nextBytes()
|
D | Fuzz.h | 25 explicit Fuzz(sk_sp<SkData> bytes) : fBytes(bytes), fNextByte(0) {} in Fuzz() 28 size_t size() { return fBytes->size(); } in size() 31 return fBytes->size() == fNextByte; in exhausted() 35 return fBytes->size() - fNextByte; in remaining() 39 fNextByte = fBytes->size(); in deplete() 82 sk_sp<SkData> fBytes; variable
|
D | FuzzEncoders.cpp | 79 auto bytes = fuzz->fBytes; in DEF_FUZZ()
|
/external/skqp/src/lazy/ |
D | SkDiscardableMemoryPool.cpp | 92 const size_t fBytes; member in __anon84d28adc0111::PoolDiscardableMemory 98 : fPool(std::move(pool)), fLocked(true), fPointer(std::move(pointer)), fBytes(bytes) { in PoolDiscardableMemory() 101 SkASSERT(fBytes > 0); in PoolDiscardableMemory() 154 SkASSERT(fUsed >= dm->fBytes); in dumpDownTo() 155 fUsed -= dm->fBytes; in dumpDownTo() 183 SkASSERT(fUsed >= dm->fBytes); in removeFromPool() 184 fUsed -= dm->fBytes; in removeFromPool()
|
/external/skia/src/lazy/ |
D | SkDiscardableMemoryPool.cpp | 91 const size_t fBytes; member in __anon05bb27650111::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()
|
/external/skqp/src/gpu/ |
D | GrResourceCache.cpp | 84 , fBytes(0) in GrResourceCache() 123 fBytes += size; in insertResource() 126 fHighWaterBytes = SkTMax(fBytes, fHighWaterBytes); in insertResource() 161 fBytes -= size; in removeResource() 203 SkASSERT(!fBytes); in abandonAll() 243 SkASSERT(!fBytes); in releaseAll() 569 const size_t tmpByteBudget = SkTMax((size_t)0, fBytes - bytesToPurge); in purgeUnlockedResources() 570 bool stillOverbudget = tmpByteBudget < fBytes; in purgeUnlockedResources() 585 stillOverbudget = tmpByteBudget < fBytes - scratchByteCount; in purgeUnlockedResources() 594 stillOverbudget = tmpByteBudget < fBytes; in purgeUnlockedResources() [all …]
|
D | GrResourceCache.h | 91 size_t getResourceBytes() const { return fBytes; } in getResourceBytes() 344 size_t fBytes;
|
/external/skia/src/gpu/ |
D | GrResourceCache.cpp | 148 fBytes += size; in insertResource() 151 fHighWaterBytes = std::max(fBytes, fHighWaterBytes); in insertResource() 181 fBytes -= size; in removeResource() 223 SkASSERT(!fBytes); in abandonAll() 264 SkASSERT(!fBytes); in releaseAll() 675 const size_t tmpByteBudget = std::max((size_t)0, fBytes - bytesToPurge); in purgeUnlockedResources() 676 bool stillOverbudget = tmpByteBudget < fBytes; in purgeUnlockedResources() 691 stillOverbudget = tmpByteBudget < fBytes - scratchByteCount; in purgeUnlockedResources() 700 stillOverbudget = tmpByteBudget < fBytes; in purgeUnlockedResources() 872 SkToInt(fBytes), SkToInt(fBudgetedBytes), byteUtilization, in dumpStats() [all …]
|
D | GrResourceCache.h | 94 size_t getResourceBytes() const { return fBytes; } in getResourceBytes() 372 size_t fBytes = 0;
|
/external/icu/libicu/cts_headers/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
|
/external/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
|
/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 | 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
|
/external/skqp/src/core/ |
D | SkLiteDL.h | 86 SkAutoTMalloc<uint8_t> fBytes; variable
|
D | SkLiteDL.cpp | 472 fBytes.realloc(fReserved); in push() 475 auto op = (T*)(fBytes.get() + fUsed); in push() 485 auto end = fBytes.get() + fUsed; in map() 486 for (const uint8_t* ptr = fBytes.get(); ptr < end; ) { in map()
|
/external/skqp/tools/gpu/ |
D | GrTest.cpp | 170 SkToInt(fBytes), SkToInt(fBudgetedBytes), byteUtilization, in dumpStats()
|