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

/frameworks/base/libs/hwui/pipeline/skia/
H A DShaderCache.cpp77 void* valueBuffer = malloc(mObservedBlobValueSize); local
78 if (!valueBuffer) {
82 size_t valueSize = bc->get(key.data(), keySize, valueBuffer, mObservedBlobValueSize);
86 void *newValueBuffer = realloc(valueBuffer, mObservedBlobValueSize);
88 free(valueBuffer);
91 valueBuffer = newValueBuffer;
92 valueSize = bc->get(key.data(), keySize, valueBuffer, mObservedBlobValueSize);
96 free(valueBuffer);
101 free(valueBuffer);
104 return SkData::MakeFromMalloc(valueBuffer, valueSiz
[all...]
/frameworks/base/core/java/android/util/jar/
H A DStrictJarManifestReader.java36 private final ByteArrayOutputStream valueBuffer = new ByteArrayOutputStream(80); field in class:StrictJarManifestReader
146 valueBuffer.reset();
165 valueBuffer.write(buf, mark, last - mark);
179 valueBuffer.write(buf, mark, last - mark);
182 value = valueBuffer.toString(StandardCharsets.UTF_8.name());

Completed in 9 milliseconds