Searched defs:BlobCache (Results 1 - 4 of 4) sorted by relevance

/frameworks/native/opengl/libs/EGL/
H A DBlobCache.h27 // A BlobCache is an in-memory cache for binary key/value pairs. A BlobCache
34 class BlobCache { class in namespace:android
40 BlobCache(size_t maxKeySize, size_t maxValueSize, size_t maxTotalSize);
48 // values specified to the BlobCache constructor), then the key/value pair
85 // loaded into a BlobCache object using the unflatten method. The contents
86 // of the BlobCache object will not be modified.
94 // the BlobCache will be evicted from the cache. If an error occurs while
95 // unflattening the serialized cache contents then the BlobCache will be
102 BlobCache(cons
[all...]
H A DBlobCache.cpp19 #include "BlobCache.h"
29 // BlobCache::Header::mMagicNumber value
32 // BlobCache::Header::mBlobCacheVersion value
35 // BlobCache::Header::mDeviceVersion value
38 BlobCache::BlobCache(size_t maxKeySize, size_t maxValueSize, size_t maxTotalSize): function in class:android::BlobCache
54 void BlobCache::set(const void* key, size_t keySize, const void* value,
133 size_t BlobCache::get(const void* key, size_t keySize, void* value,
166 size_t BlobCache::getFlattenedSize() const {
176 int BlobCache
[all...]
/frameworks/ml/nn/driver/cache/BlobCache/
H A DBlobCache.cpp19 #include "BlobCache.h"
51 // BlobCache::Header::mMagicNumber value
54 // BlobCache::Header::mBlobCacheVersion value
57 // BlobCache::Header::mDeviceVersion value
60 BlobCache::BlobCache(size_t maxKeySize, size_t maxValueSize, size_t maxTotalSize, Policy policy): function in class:android::BlobCache
79 void BlobCache::set(const void* key, size_t keySize, const void* value,
175 size_t BlobCache::get(const void* key, size_t keySize, void* value,
184 size_t BlobCache::get(const void* key, size_t keySize, void** value,
221 size_t BlobCache
[all...]
H A DBlobCache.h29 // A BlobCache is an in-memory cache for binary key/value pairs. A BlobCache
36 class BlobCache { class in namespace:android
71 BlobCache(size_t maxKeySize, size_t maxValueSize, size_t maxTotalSize,
80 // values specified to the BlobCache constructor), then the key/value pair
146 // loaded into a BlobCache object using the unflatten method. The contents
147 // of the BlobCache object will not be modified.
155 // the BlobCache will be evicted from the cache. If an error occurs while
156 // unflattening the serialized cache contents then the BlobCache will be
163 BlobCache(cons
[all...]

Completed in 135 milliseconds