Searched refs:keyBlob (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/opengl/libs/EGL/ |
D | BlobCache.cpp | 88 std::shared_ptr<Blob> keyBlob(new Blob(key, keySize, true)); in set() local 104 mCacheEntries.insert(index, CacheEntry(keyBlob, valueBlob)); in set() 170 std::shared_ptr<Blob> const& keyBlob = e.getKey(); in getFlattenedSize() local 172 size += align4(sizeof(EntryHeader) + keyBlob->getSize() + valueBlob->getSize()); in getFlattenedSize() 196 std::shared_ptr<Blob> const& keyBlob = e.getKey(); in flatten() local 198 size_t keySize = keyBlob->getSize(); in flatten() 212 memcpy(eheader->mData, keyBlob->getData(), keySize); in flatten()
|
/frameworks/ml/nn/driver/cache/BlobCache/ |
D | BlobCache.cpp | 112 std::shared_ptr<Blob> keyBlob(new Blob(key, keySize, true)); in set() local 136 mCacheEntries.insert(index, CacheEntry(keyBlob, valueBlob, ++mAccessCount)); in set() 223 std::shared_ptr<Blob> const& keyBlob = e.getKey(); in getFlattenedSize() local 225 size += align4(sizeof(EntryHeader) + keyBlob->getSize() + valueBlob->getSize()); in getFlattenedSize() 249 std::shared_ptr<Blob> const& keyBlob = e.getKey(); in flatten() local 251 size_t keySize = keyBlob->getSize(); in flatten() 265 memcpy(eheader->mData, keyBlob->getData(), keySize); in flatten()
|