Home
last modified time | relevance | path

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

/system/core/libutils/
DBlobCache.cpp58 size_t valueSize) { in set() argument
64 if (mMaxValueSize < valueSize) { in set()
66 valueSize, mMaxValueSize); in set()
69 if (mMaxTotalSize < keySize + valueSize) { in set()
71 "large: %zu (limit: %zu)", keySize + valueSize, mMaxTotalSize); in set()
78 if (valueSize <= 0) { in set()
91 sp<Blob> valueBlob(new Blob(value, valueSize, true)); in set()
92 size_t newTotalSize = mTotalSize + keySize + valueSize; in set()
102 keySize + valueSize, mMaxTotalSize); in set()
109 keySize, valueSize); in set()
[all …]
/system/core/include/utils/
DBlobCache.h62 size_t valueSize);
80 size_t get(const void* key, size_t keySize, void* value, size_t valueSize);