Home
last modified time | relevance | path

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

/external/skia/fuzz/oss_fuzz/
DFuzzSkRuntimeEffect.cpp16 static constexpr size_t kReservedBytes = 256; variable
33 if (bytes->size() < kReservedBytes) { in FuzzSkRuntimeEffect_Once()
36 sk_sp<SkData> codeBytes = SkData::MakeSubset(bytes.get(), 0, bytes->size() - kReservedBytes); in FuzzSkRuntimeEffect_Once()
42 if (!effect || effect->uniformSize() > kReservedBytes) { // if there is not enough uniform bytes in FuzzSkRuntimeEffect_Once()
46 SkData::MakeSubset(bytes.get(), bytes->size() - kReservedBytes, effect->uniformSize()); in FuzzSkRuntimeEffect_Once()