/frameworks/native/opengl/libs/EGL/ |
D | BlobCache.cpp | 56 size_t valueSize) { in set() argument 62 if (mMaxValueSize < valueSize) { in set() 64 valueSize, mMaxValueSize); in set() 67 if (mMaxTotalSize < keySize + valueSize) { in set() 69 "large: %zu (limit: %zu)", keySize + valueSize, mMaxTotalSize); in set() 76 if (valueSize <= 0) { in set() 89 std::shared_ptr<Blob> valueBlob(new Blob(value, valueSize, true)); in set() 90 size_t newTotalSize = mTotalSize + keySize + valueSize; in set() 100 keySize + valueSize, mMaxTotalSize); in set() 107 keySize, valueSize); in set() [all …]
|
D | egl_cache.cpp | 54 const void* value, EGLsizeiANDROID valueSize) { in setBlob() argument 55 egl_cache_t::get()->setBlob(key, keySize, value, valueSize); in setBlob() 59 void* value, EGLsizeiANDROID valueSize) { in getBlob() argument 60 return egl_cache_t::get()->getBlob(key, keySize, value, valueSize); in getBlob() 126 const void* value, EGLsizeiANDROID valueSize) { in setBlob() argument 129 if (keySize < 0 || valueSize < 0) { in setBlob() 136 bc->set(key, keySize, value, valueSize); in setBlob() 154 void* value, EGLsizeiANDROID valueSize) { in getBlob() argument 157 if (keySize < 0 || valueSize < 0) { in getBlob() 164 return bc->get(key, keySize, value, valueSize); in getBlob()
|
D | egl_cache.h | 58 EGLsizeiANDROID valueSize); 64 void* value, EGLsizeiANDROID valueSize);
|
D | BlobCache.h | 58 size_t valueSize); 76 size_t get(const void* key, size_t keySize, void* value, size_t valueSize);
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | ShaderCache.cpp | 117 size_t valueSize = bc->get(key.data(), keySize, valueBuffer, mObservedBlobValueSize); in load() local 119 while (valueSize > mObservedBlobValueSize && maxTries > 0) { in load() 120 mObservedBlobValueSize = std::min(valueSize, maxValueSize); in load() 127 valueSize = bc->get(key.data(), keySize, valueBuffer, mObservedBlobValueSize); in load() 130 if (!valueSize) { in load() 134 if (valueSize > mObservedBlobValueSize) { in load() 135 ALOGE("ShaderCache::load value size is too big %d", (int)valueSize); in load() 139 return SkData::MakeFromMalloc(valueBuffer, valueSize); in load() 162 size_t valueSize = data.size(); in store() local 164 if (keySize == 0 || valueSize == 0 || valueSize >= maxValueSize) { in store() [all …]
|
/frameworks/ml/nn/driver/cache/BlobCache/ |
D | BlobCache.cpp | 80 size_t valueSize) { in set() argument 86 if (mMaxValueSize < valueSize) { in set() 88 valueSize, mMaxValueSize); in set() 91 if (mMaxTotalSize < keySize + valueSize) { in set() 93 "large: %zu (limit: %zu)", keySize + valueSize, mMaxTotalSize); in set() 100 if (valueSize <= 0) { in set() 113 std::shared_ptr<Blob> valueBlob(new Blob(value, valueSize, true)); in set() 114 size_t newEntrySize = keySize + valueSize; in set() 132 keySize + valueSize, mMaxTotalSize); in set() 139 keySize, valueSize); in set() [all …]
|
D | BlobCache.h | 90 size_t valueSize); 130 size_t get(const void* key, size_t keySize, void* value, size_t valueSize);
|
/frameworks/wilhelm/tests/mimeUri/ |
D | slesTestPlayStreamType.cpp | 194 SLuint32 valueSize = sizeof(SLint32) * 2; // trying too big on purpose in TestStreamTypeConfiguration() local 196 SL_ANDROID_KEY_STREAM_TYPE, &valueSize, NULL); in TestStreamTypeConfiguration() 198 if (valueSize != sizeof(SLint32)) { in TestStreamTypeConfiguration() 200 valueSize, sizeof(SLint32)); in TestStreamTypeConfiguration() 203 SL_ANDROID_KEY_STREAM_TYPE, &valueSize, ¤tType); in TestStreamTypeConfiguration() 220 SL_ANDROID_KEY_STREAM_TYPE, &valueSize, ¤tType); in TestStreamTypeConfiguration()
|
/frameworks/ml/nn/driver/cache/nnCache/ |
D | nnCache.cpp | 76 const void* value, ssize_t valueSize) { in setBlob() argument 79 if (keySize < 0 || valueSize < 0) { in setBlob() 86 bc->set(key, keySize, value, valueSize); in setBlob() 104 void* value, ssize_t valueSize) { in getBlob() argument 107 if (keySize < 0 || valueSize < 0) { in getBlob() 114 return bc->get(key, keySize, value, valueSize); in getBlob()
|
D | nnCache.h | 63 ssize_t valueSize); 68 void* value, ssize_t valueSize);
|
D | nnCache_test.cpp | 199 const size_t valueSize = strlen(value); in yesStringBlob() local 200 ASSERT_LE(valueSize, sizeof(buf)); // Check testing assumption in yesStringBlob() 202 ASSERT_EQ(ssize_t(valueSize), mCache->getBlob(key, keySize, buf, sizeof(buf))); in yesStringBlob() 203 for (size_t i = 0; i < valueSize; i++) { in yesStringBlob()
|
/frameworks/wilhelm/src/itf/ |
D | IAndroidConfiguration.cpp | 37 SLuint32 valueSize) in IAndroidConfiguration_SetConfiguration() argument 42 if (NULL == configKey || NULL == pConfigValue || valueSize == 0) { in IAndroidConfiguration_SetConfiguration() 53 configKey, valueSize); in IAndroidConfiguration_SetConfiguration() 55 pConfigValue, valueSize); in IAndroidConfiguration_SetConfiguration() 59 configKey, valueSize); in IAndroidConfiguration_SetConfiguration() 61 pConfigValue, valueSize); in IAndroidConfiguration_SetConfiguration()
|
D | IMetadataExtraction.cpp | 122 SLuint32 index, SLuint32 valueSize, SLMetadataInfo *pValue) in IMetadataExtraction_GetValue() argument 133 index, valueSize, pValue); in IMetadataExtraction_GetValue()
|
/frameworks/av/media/libeffects/dynamicsproc/ |
D | EffectDynamicsProcessing.cpp | 89 uint32_t valueSize, 368 bool DP_checkSizesInt(uint32_t paramSize, uint32_t valueSize, uint32_t expectedParams, in DP_checkSizesInt() argument 375 if (valueSize < expectedValues * sizeof(int32_t)) { in DP_checkSizesInt() 376 ALOGE("Invalid valueSize %u expected %u", valueSize, in DP_checkSizesInt() 943 uint32_t valueSize, in DP_setParameter() argument 960 ALOGVV("engine architecture paramsize: %d valuesize %d",paramSize, valueSize); in DP_setParameter() 961 if (!DP_checkSizesInt(paramSize, valueSize, 1 /*params*/, 9 /*values*/)) { in DP_setParameter() 1009 ALOGVV("engine DP_PARAM_INPUT_GAIN paramsize: %d valuesize %d",paramSize, valueSize); in DP_setParameter() 1010 if (!DP_checkSizesInt(paramSize, valueSize, 2 /*params*/, 1 /*values*/)) { in DP_setParameter() 1030 ALOGVV("engine DP_PARAM_*_EQ paramsize: %d valuesize %d",paramSize, valueSize); in DP_setParameter() [all …]
|
/frameworks/ml/nn/runtime/test/fuzzing/ |
D | RandomGraphGenerator.h | 70 constexpr size_t valueSize = sizeof(OperandBuffer::value_type); in resizeBuffer() local 71 uint32_t bufferSize = (sizeof(T) * len + valueSize - 1) / valueSize; in resizeBuffer()
|
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
D | EffectBundle.cpp | 146 uint32_t valueSize, 156 uint32_t valueSize, 166 uint32_t valueSize, 176 uint32_t valueSize, 2271 uint32_t valueSize, in Effect_setConfig() argument 2284 if (valueSize < sizeof(int16_t)) { in Effect_setConfig() 2285 ALOGV("%s BASSBOOST_PARAM_STRENGTH invalid valueSize: %u", __func__, valueSize); in Effect_setConfig() 2440 uint32_t valueSize, in Effect_setConfig() argument 2453 if (valueSize < sizeof(int16_t)) { in Effect_setConfig() 2454 ALOGV("%s VIRTUALIZER_PARAM_STRENGTH invalid valueSize: %u", __func__, valueSize); in Effect_setConfig() [all …]
|
/frameworks/native/opengl/specs/ |
D | EGL_ANDROID_blob_cache.txt | 78 EGLsizeiANDROID keySize, const void* value, EGLsizeiANDROID valueSize) 86 EGLsizeiANDROID keySize, void* value, EGLsizeiANDROID valueSize) 142 const void* value, EGLsizeiANDROID valueSize) 145 respectively, that are to be inserted. <keySize> and <valueSize> specify 161 void* value, EGLsizeiANDROID valueSize) 169 less than or equal to <valueSize> then the value is written to the memory
|
/frameworks/wilhelm/src/android/ |
D | AudioRecorder_to_android.h | 32 const void *pConfigValue, SLuint32 valueSize);
|
D | android_Effect.h | 140 int32_t param, uint32_t paramSizeMax, void *pValue, uint32_t valueSize); 143 int32_t param, uint32_t paramSizeMax, void *pValue, uint32_t valueSize);
|
D | android_AudioSfDecoder.cpp | 143 uint32_t valueSize = 0; in getPcmFormatKeyValue() local 144 if (!getPcmFormatValueSize(index, &valueSize)) { in getPcmFormatKeyValue() 146 } else if (size != valueSize) { in getPcmFormatKeyValue() 149 index, size, valueSize); in getPcmFormatKeyValue()
|
D | AudioPlayer_to_android.h | 53 const void *pConfigValue, SLuint32 valueSize);
|
D | AudioPlayer_to_android.cpp | 1432 const void *pConfigValue, SLuint32 valueSize) { in android_audioPlayer_setConfig() argument 1440 if (KEY_STREAM_TYPE_PARAMSIZE > valueSize) { in android_audioPlayer_setConfig() 1449 if (KEY_PERFORMANCE_MODE_PARAMSIZE > valueSize) { in android_audioPlayer_setConfig() 2166 SLuint32 valueSize = 0; in android_audioPlayer_metadata_getValueSize() local 2167 if (!decoder->getPcmFormatValueSize(index, &valueSize)) { in android_audioPlayer_metadata_getValueSize() 2172 *pValueSize = valueSize + sizeof(SLMetadataInfo); in android_audioPlayer_metadata_getValueSize() 2204 SLuint32 valueSize = 0; in android_audioPlayer_metadata_getValue() local 2206 || (!decoder->getPcmFormatValueSize(index, &valueSize)) in android_audioPlayer_metadata_getValue() 2211 pValue->size = valueSize; in android_audioPlayer_metadata_getValue()
|
/frameworks/wilhelm/tests/examples/ |
D | slesTestDecodeToBuffQueue.cpp | 465 SLuint32 i, keySize, valueSize; in TestDecToBuffQueue() local 469 value = NULL; valueSize = 0; in TestDecToBuffQueue() 472 result = (*mdExtrItf)->GetValueSize(mdExtrItf, i, &valueSize); in TestDecToBuffQueue() 479 i, keyInfo->size, keyInfo->data, valueSize); in TestDecToBuffQueue()
|
D | slesTestDecodeAac.cpp | 679 SLuint32 keySize, valueSize; in TestDecToBuffQueue() local 683 value = NULL; valueSize = 0; in TestDecToBuffQueue() 686 res = (*mdExtrItf)->GetValueSize(mdExtrItf, i, &valueSize); in TestDecToBuffQueue() 693 i, keyInfo->size, keyInfo->data, valueSize, keyInfo->encoding, in TestDecToBuffQueue()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | MockWeaverService.java | 29 config.valueSize = VALUE_LENGTH; in getConfig()
|