Home
last modified time | relevance | path

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

/frameworks/base/libs/utils/
DBlobCache.cpp45 size_t valueSize) { in set() argument
51 if (mMaxValueSize < valueSize) { in set()
53 valueSize, mMaxValueSize); in set()
56 if (mMaxTotalSize < keySize + valueSize) { in set()
58 "large: %d (limit: %d)", keySize + valueSize, mMaxTotalSize); in set()
65 if (valueSize <= 0) { in set()
80 sp<Blob> valueBlob(new Blob(value, valueSize, true)); in set()
81 size_t newTotalSize = mTotalSize + keySize + valueSize; in set()
91 keySize + valueSize, mMaxTotalSize); in set()
98 keySize, valueSize); in set()
[all …]
/frameworks/base/include/utils/
DBlobCache.h59 size_t valueSize);
78 size_t get(const void* key, size_t keySize, void* value, size_t valueSize);
/frameworks/base/opengl/specs/
DEGL_ANDROID_blob_cache.txt78 const void* value, EGLsizei valueSize)
86 void* value, EGLsizei valueSize)
142 EGLsizei valueSize)
145 respectively, that are to be inserted. <keySize> and <valueSize> specify
161 EGLsizei valueSize)
169 less than or equal to <valueSize> then the value is written to the memory
/frameworks/ex/variablespeed/jni/
Dvariablespeed.cc229 SLuint32 i, keySize, valueSize; in ReadSampleRateAndChannelCount() local
233 keySize = valueSize = 0; in ReadSampleRateAndChannelCount()
240 OpenSL(decoderMetadata, GetValueSize, i, &valueSize); in ReadSampleRateAndChannelCount()
241 value = static_cast<SLMetadataInfo*>(malloc(valueSize)); in ReadSampleRateAndChannelCount()
243 OpenSL(decoderMetadata, GetValue, i, valueSize, value); in ReadSampleRateAndChannelCount()