Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/pipeline/skia/
DShaderCache.cpp116 void* valueBuffer = malloc(mObservedBlobValueSize); in load() local
117 if (!valueBuffer) { in load()
120 size_t valueSize = mBlobCache->get(key.data(), keySize, valueBuffer, mObservedBlobValueSize); in load()
124 void* newValueBuffer = realloc(valueBuffer, mObservedBlobValueSize); in load()
126 free(valueBuffer); in load()
129 valueBuffer = newValueBuffer; in load()
130 valueSize = mBlobCache->get(key.data(), keySize, valueBuffer, mObservedBlobValueSize); in load()
134 free(valueBuffer); in load()
139 free(valueBuffer); in load()
144 return SkData::MakeFromMalloc(valueBuffer, valueSize); in load()
/frameworks/base/core/java/android/util/jar/
DStrictJarManifestReader.java36 private final ByteArrayOutputStream valueBuffer = new ByteArrayOutputStream(80); field in StrictJarManifestReader
146 valueBuffer.reset(); in readValue()
165 valueBuffer.write(buf, mark, last - mark); in readValue()
179 valueBuffer.write(buf, mark, last - mark); in readValue()
182 value = valueBuffer.toString(StandardCharsets.UTF_8.name()); in readValue()