Lines Matching defs:key
54 void BlobCache::set(const void* key, size_t keySize, const void* value,
57 ALOGV("set: not caching because the key is too large: %d (limit: %d)",
67 ALOGV("set: not caching because the combined key/value size is too "
80 sp<Blob> dummyKey(new Blob(key, keySize, false));
87 sp<Blob> keyBlob(new Blob(key, keySize, true));
96 ALOGV("set: not caching new key/value pair because the "
105 ALOGV("set: created new cache entry with %d byte key and %d byte value",
126 ALOGV("set: updated existing cache entry with %d byte key and %d byte "
133 size_t BlobCache::get(const void* key, size_t keySize, void* value,
136 ALOGV("get: not searching because the key is too large: %d (limit %d)",
140 sp<Blob> dummyKey(new Blob(key, keySize, false));
144 ALOGV("get: no cache entry found for key of size %d", keySize);
148 // The key was found. Return the value if the caller's buffer is large
346 BlobCache::CacheEntry::CacheEntry(const sp<Blob>& key, const sp<Blob>& value):
347 mKey(key),