/frameworks/compile/slang/ |
D | slang_rs_export_element.cpp | 38 int vsize; member 62 EI->vsize = DataElementInfoTable[i].vsize; in Init() 91 slangAssert(EI->vsize == 1 && "Element not a primitive class (please " in Create() 104 slangAssert(EI->vsize > 1 && "Element not a vector class (please check " in Create() 115 slangAssert(EI->vsize == EVT->getNumElement() && "Element has unexpected " in Create()
|
D | slang_rs_export_element.h | 46 unsigned vsize; member
|
/frameworks/base/media/jni/audioeffect/ |
D | android_media_AudioEffect.cpp | 158 if (p->psize == 0 || p->vsize == 0) { in effectCallback() 163 size = arg1 + p->vsize; in effectCallback() 512 jobject thiz, jint psize, jbyteArray pJavaParam, jint vsize, in android_media_AudioEffect_native_setParameter() argument 528 if (psize == 0 || vsize == 0 || pJavaParam == NULL || pJavaValue == NULL) { in android_media_AudioEffect_native_setParameter() 547 p = (effect_param_t *) malloc(sizeof(effect_param_t) + voffset + vsize); in android_media_AudioEffect_native_setParameter() 550 memcpy(p->data + voffset, lpValue, vsize); in android_media_AudioEffect_native_setParameter() 551 p->vsize = vsize; in android_media_AudioEffect_native_setParameter() 574 jint vsize, jbyteArray pJavaValue) { in android_media_AudioEffect_native_getParameter() argument 589 if (psize == 0 || vsize == 0 || pJavaParam == NULL || pJavaValue == NULL) { in android_media_AudioEffect_native_getParameter() 608 p = (effect_param_t *) malloc(sizeof(effect_param_t) + voffset + vsize); in android_media_AudioEffect_native_getParameter() [all …]
|
D | Visualizer.cpp | 168 p->vsize = sizeof(uint32_t); in setCaptureSize() 197 p->vsize = sizeof(uint32_t); in setScalingMode() 227 p->vsize = sizeof(uint32_t); in setMeasurementMode() 397 p->vsize = sizeof(uint32_t); in initCaptureSize()
|
/frameworks/base/native/webview/loader/ |
D | loader.cpp | 53 size_t vsize = static_cast<size_t>(size); in DoReserveAddressSpace() local 55 void* addr = mmap(NULL, vsize, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in DoReserveAddressSpace() 59 vsize, strerror(errno)); in DoReserveAddressSpace() 62 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, addr, vsize, "libwebview reservation"); in DoReserveAddressSpace() 64 gReservedSize = vsize; in DoReserveAddressSpace() 65 ALOGV("Reserved %zd bytes at %p", vsize, addr); in DoReserveAddressSpace()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | MediaTestUtil.java | 113 String vsize = poList2[3]; in getVsize() local 114 int vsizevalue = Integer.parseInt(vsize); in getVsize()
|
/frameworks/wilhelm/src/android/ |
D | android_Effect.cpp | 213 p->vsize = eq_valueSize(param); in android_eq_getParam() 218 memcpy(pValue, p->data + p->psize, p->vsize); in android_eq_getParam() 239 p->vsize = eq_valueSize(param); in android_eq_setParam() 240 memcpy(p->data + p->psize, pValue, p->vsize); in android_eq_setParam() 621 p->vsize = valueSize; in android_fx_setParam() 622 memcpy(p->data + p->psize, pValue, p->vsize); in android_fx_setParam() 641 p->vsize = valueSize; in android_fx_getParam() 646 memcpy(pValue, p->data + p->psize, p->vsize); in android_fx_getParam()
|
/frameworks/av/media/libaudioclient/ |
D | AudioEffect.cpp | 348 if (param == NULL || param->psize == 0 || param->vsize == 0) { in setParameter() 352 uint32_t psize = ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + param->vsize; in setParameter() 384 if (param == NULL || param->psize == 0 || param->vsize == 0) { in setParameterDeferred() 390 int psize = ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + param->vsize; in setParameterDeferred() 440 if (param == NULL || param->psize == 0 || param->vsize == 0) { in getParameter() 448 param->vsize; in getParameter()
|
/frameworks/base/media/java/android/media/audiofx/ |
D | AudioEffect.java | 1348 int vsize = byteArrayToInt(p, 8); in handleMessage() local 1350 byte[] value = new byte[vsize]; in handleMessage() 1352 System.arraycopy(p, vOffset, value, 0, vsize); in handleMessage() 1406 int vsize, byte[] value); in native_setParameter() argument 1409 int vsize, byte[] value); in native_getParameter() argument
|
/frameworks/av/media/libeffects/lvm/tests/ |
D | EffectTestHelper.cpp | 60 effectParam->vsize = sizeof(paramData[1]); in setParam()
|
D | reverb_test.cpp | 140 effectParam->vsize = sizeof(paramData[1]); in reverbSetConfigParam()
|
/frameworks/av/media/libeffects/visualizer/ |
D | EffectVisualizer.cpp | 561 p->vsize = sizeof(uint32_t); in Visualizer_command() 567 p->vsize = sizeof(uint32_t); in Visualizer_command() 573 p->vsize = sizeof(uint32_t); in Visualizer_command() 588 if (p->psize != sizeof(uint32_t) || p->vsize != sizeof(uint32_t)) { in Visualizer_command()
|
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
D | EffectReverb.cpp | 187 int Reverb_setParameter(ReverbContext* pContext, void* pParam, void* pValue, int vsize); 1603 int Reverb_setParameter(ReverbContext* pContext, void* pParam, void* pValue, int vsize) { in Reverb_setParameter() argument 1617 if (vsize < (int)sizeof(uint16_t)) { in Reverb_setParameter() 1631 if (vsize < Reverb_paramValueSize(param)) { in Reverb_setParameter() 1850 p->status = android::Reverb_getParameter(pContext, (void*)p->data, &p->vsize, in Reverb_command() 1853 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in Reverb_command() 1893 p->data + p->psize, p->vsize); in Reverb_command()
|
/frameworks/av/media/libeffects/downmix/ |
D | EffectDownmix.cpp | 459 *(int32_t *)rep->data, rep->vsize); in Downmix_Command() 460 rep->status = Downmix_getParameter(pDownmixer, *(int32_t *)rep->data, &rep->vsize, in Downmix_Command() 462 *replySize = sizeof(effect_param_t) + sizeof(int32_t) + rep->vsize; in Downmix_Command() 478 cmd->vsize, cmd->data + sizeof(int32_t)); in Downmix_Command()
|
/frameworks/av/media/libeffects/preprocessing/tests/ |
D | EffectTestHelper.cpp | 66 effectParam->vsize = sizeof(paramData[1]); in setParam()
|
/frameworks/av/media/libeffects/lvm/benchmarks/ |
D | reverb_benchmark.cpp | 63 effectParam->vsize = sizeof(paramData[1]); in reverbSetConfigParam()
|
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
D | EffectBundle.cpp | 3170 (EFFECT_PARAM_SIZE_MAX - sizeof(effect_param_t) - paddedParamSize < p->vsize)) { in Effect_command() 3174 uint32_t expectedReplySize = sizeof(effect_param_t) + paddedParamSize + p->vsize; in Effect_command() 3188 p->status = android::BassBoost_getParameter(pContext, p->psize, p->data, &p->vsize, in Effect_command() 3199 &p->vsize, p->data + voffset); in Effect_command() 3210 p->status = android::Equalizer_getParameter(pContext, p->psize, p->data, &p->vsize, in Effect_command() 3223 &p->vsize, p->data + voffset); in Effect_command() 3231 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in Effect_command() 3263 pContext, p->psize, (void*)p->data, p->vsize, p->data + voffset); in Effect_command() 3295 pContext, p->psize, (void*)p->data, p->vsize, p->data + voffset); in Effect_command() 3318 pContext, p->psize, (void*)p->data, p->vsize, p->data + voffset); in Effect_command() [all …]
|
/frameworks/av/media/libeffects/loudness/ |
D | EffectLoudnessEnhancer.cpp | 426 p->vsize = sizeof(int32_t); in LE_command() 441 if (p->psize != sizeof(uint32_t) || p->vsize != sizeof(uint32_t)) { in LE_command()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
D | MediaPlayerPerformance.java | 363 String vsize = poList2[3]; in getMediaserverVsize() local 364 int vsizevalue = Integer.parseInt(vsize); in getMediaserverVsize()
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyEffects.h | 148 ((origParam->vsize + 3) & ~3); in EffectDesc()
|
D | AudioPolicyEffects.cpp | 719 fx_param->vsize = sizeof(int); in loadEffectParameter() 745 fx_param->vsize = 0; in loadEffectParameter() 754 fx_param->vsize += size; in loadEffectParameter()
|
/frameworks/av/media/libeffects/testlibs/ |
D | EffectEqualizer.cpp | 676 p->status = android::Equalizer_getParameter(pEqualizer, (int32_t *)p->data, &p->vsize, in Equalizer_command() 678 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in Equalizer_command()
|
D | EffectReverb.c | 333 …GV("Reverb_Command EFFECT_CMD_GET_PARAM param %d, replySize %d",*(int32_t *)rep->data, rep->vsize); in Reverb_Command() 334 rep->status = Reverb_getParameter(pReverb, *(int32_t *)rep->data, &rep->vsize, in Reverb_Command() 336 *replySize = sizeof(effect_param_t) + sizeof(int32_t) + rep->vsize; in Reverb_Command() 347 cmd->vsize, cmd->data + sizeof(int32_t)); in Reverb_Command()
|
/frameworks/av/media/libaudioprocessing/ |
D | BufferProviders.cpp | 257 param->vsize = sizeof(downmix_type_t); in DownmixerBufferProvider() 258 memcpy(param->data + psizePadded, &downmixType, param->vsize); in DownmixerBufferProvider()
|
/frameworks/av/media/libeffects/dynamicsproc/ |
D | EffectDynamicsProcessing.cpp | 527 &p->vsize, in DP_command() 529 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in DP_command() 549 p->vsize, in DP_command()
|