Home
last modified time | relevance | path

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

/frameworks/native/opengl/libs/EGL/
DBlobCache.cpp89 std::shared_ptr<Blob> valueBlob(new Blob(value, valueSize, true)); in set() local
104 mCacheEntries.insert(index, CacheEntry(keyBlob, valueBlob)); in set()
110 std::shared_ptr<Blob> valueBlob(new Blob(value, valueSize, true)); in set() local
125 index->setValue(valueBlob); in set()
151 std::shared_ptr<Blob> valueBlob(index->getValue()); in get() local
152 size_t valueBlobSize = valueBlob->getSize(); in get()
155 memcpy(value, valueBlob->getData(), valueBlobSize); in get()
171 std::shared_ptr<Blob> const& valueBlob = e.getValue(); in getFlattenedSize() local
172 size += align4(sizeof(EntryHeader) + keyBlob->getSize() + valueBlob->getSize()); in getFlattenedSize()
197 std::shared_ptr<Blob> const& valueBlob = e.getValue(); in flatten() local
[all …]
/frameworks/ml/nn/driver/cache/BlobCache/
DBlobCache.cpp113 std::shared_ptr<Blob> valueBlob(new Blob(value, valueSize, true)); in set() local
136 mCacheEntries.insert(index, CacheEntry(keyBlob, valueBlob, ++mAccessCount)); in set()
142 std::shared_ptr<Blob> valueBlob(new Blob(value, valueSize, true)); in set() local
165 index->setValue(valueBlob); in set()
201 std::shared_ptr<Blob> valueBlob(index->getValue()); in get() local
202 size_t valueBlobSize = valueBlob->getSize(); in get()
206 memcpy(buf, valueBlob->getData(), valueBlobSize); in get()
224 std::shared_ptr<Blob> const& valueBlob = e.getValue(); in getFlattenedSize() local
225 size += align4(sizeof(EntryHeader) + keyBlob->getSize() + valueBlob->getSize()); in getFlattenedSize()
250 std::shared_ptr<Blob> const& valueBlob = e.getValue(); in flatten() local
[all …]