Home
last modified time | relevance | path

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

/frameworks/native/opengl/libs/EGL/
DBlobCache.cpp152 size_t valueBlobSize = valueBlob->getSize(); in get() local
153 if (valueBlobSize <= valueSize) { in get()
154 ALOGV("get: copying %zu bytes to caller's buffer", valueBlobSize); in get()
155 memcpy(value, valueBlob->getData(), valueBlobSize); in get()
158 valueSize, valueBlobSize); in get()
160 return valueBlobSize; in get()
/frameworks/ml/nn/driver/cache/BlobCache/
DBlobCache.cpp202 size_t valueBlobSize = valueBlob->getSize(); in get() local
203 void* buf = alloc(valueBlobSize); in get()
205 ALOGV("get: copying %zu bytes to caller's buffer", valueBlobSize); in get()
206 memcpy(buf, valueBlob->getData(), valueBlobSize); in get()
210 ALOGV("get: cannot allocate caller's buffer: needs %zu", valueBlobSize); in get()
213 return valueBlobSize; in get()