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

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

Completed in 10 milliseconds