Home
last modified time | relevance | path

Searched refs:vsize (Results 1 – 25 of 25) sorted by relevance

/frameworks/compile/slang/
Dslang_rs_export_element.cpp38 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()
Dslang_rs_export_element.h46 unsigned vsize; member
/frameworks/base/media/jni/audioeffect/
Dandroid_media_AudioEffect.cpp155 if (p->psize == 0 || p->vsize == 0) { in effectCallback()
160 size = arg1 + p->vsize; in effectCallback()
500 jobject thiz, jint psize, jbyteArray pJavaParam, jint vsize, in android_media_AudioEffect_native_setParameter() argument
516 if (psize == 0 || vsize == 0 || pJavaParam == NULL || pJavaValue == NULL) { in android_media_AudioEffect_native_setParameter()
535 p = (effect_param_t *) malloc(sizeof(effect_param_t) + voffset + vsize); in android_media_AudioEffect_native_setParameter()
538 memcpy(p->data + voffset, lpValue, vsize); in android_media_AudioEffect_native_setParameter()
539 p->vsize = vsize; in android_media_AudioEffect_native_setParameter()
562 jint vsize, jbyteArray pJavaValue) { in android_media_AudioEffect_native_getParameter() argument
577 if (psize == 0 || vsize == 0 || pJavaParam == NULL || pJavaValue == NULL) { in android_media_AudioEffect_native_getParameter()
596 p = (effect_param_t *) malloc(sizeof(effect_param_t) + voffset + vsize); in android_media_AudioEffect_native_getParameter()
[all …]
DVisualizer.cpp161 p->vsize = sizeof(uint32_t); in setCaptureSize()
190 p->vsize = sizeof(uint32_t); in setScalingMode()
220 p->vsize = sizeof(uint32_t); in setMeasurementMode()
390 p->vsize = sizeof(uint32_t); in initCaptureSize()
/frameworks/base/native/webview/loader/
Dloader.cpp53 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/av/media/libaudioclient/
DAudioEffect.cpp291 if (param == NULL || param->psize == 0 || param->vsize == 0) { in setParameter()
296 uint32_t psize = ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + param->vsize; in setParameter()
311 if (param == NULL || param->psize == 0 || param->vsize == 0) { in setParameterDeferred()
317 int psize = ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + param->vsize; in setParameterDeferred()
351 if (param == NULL || param->psize == 0 || param->vsize == 0) { in getParameter()
359 param->vsize; in getParameter()
/frameworks/wilhelm/src/android/
Dandroid_Effect.cpp211 p->vsize = eq_valueSize(param); in android_eq_getParam()
216 memcpy(pValue, p->data + p->psize, p->vsize); in android_eq_getParam()
237 p->vsize = eq_valueSize(param); in android_eq_setParam()
238 memcpy(p->data + p->psize, pValue, p->vsize); in android_eq_setParam()
619 p->vsize = valueSize; in android_fx_setParam()
620 memcpy(p->data + p->psize, pValue, p->vsize); in android_fx_setParam()
639 p->vsize = valueSize; in android_fx_getParam()
644 memcpy(pValue, p->data + p->psize, p->vsize); in android_fx_getParam()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaTestUtil.java113 String vsize = poList2[3]; in getVsize() local
114 int vsizevalue = Integer.parseInt(vsize); in getVsize()
/frameworks/base/media/java/android/media/audiofx/
DAudioEffect.java1294 int vsize = byteArrayToInt(p, 8); in handleMessage() local
1296 byte[] value = new byte[vsize]; in handleMessage()
1298 System.arraycopy(p, vOffset, value, 0, vsize); in handleMessage()
1352 int vsize, byte[] value); in native_setParameter() argument
1355 int vsize, byte[] value); in native_getParameter() argument
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp561 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/
DEffectReverb.cpp185 int Reverb_setParameter (ReverbContext *pContext, void *pParam, void *pValue, int vsize);
1673 int Reverb_setParameter (ReverbContext *pContext, void *pParam, void *pValue, int vsize){ in Reverb_setParameter() argument
1687 if (vsize < (int)sizeof(uint16_t)) { in Reverb_setParameter()
1701 if (vsize < Reverb_paramValueSize(param)) { in Reverb_setParameter()
1934 &p->vsize, in Reverb_command()
1937 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in Reverb_command()
1980 p->vsize); in Reverb_command()
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp3405 p->vsize)) { in Effect_command()
3409 uint32_t expectedReplySize = sizeof(effect_param_t) + paddedParamSize + p->vsize; in Effect_command()
3426 &p->vsize, in Effect_command()
3439 &p->vsize, in Effect_command()
3454 &p->vsize, in Effect_command()
3469 &p->vsize, in Effect_command()
3478 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in Effect_command()
3511 p->vsize, in Effect_command()
3544 p->vsize, in Effect_command()
3568 p->vsize, in Effect_command()
[all …]
/frameworks/av/media/libeffects/loudness/
DEffectLoudnessEnhancer.cpp426 p->vsize = sizeof(int32_t); in LE_command()
441 if (p->psize != sizeof(uint32_t) || p->vsize != sizeof(uint32_t)) { in LE_command()
/frameworks/av/media/libeffects/downmix/
DEffectDownmix.c554 *(int32_t *)rep->data, rep->vsize); in Downmix_Command()
555 rep->status = Downmix_getParameter(pDownmixer, *(int32_t *)rep->data, &rep->vsize, in Downmix_Command()
557 *replySize = sizeof(effect_param_t) + sizeof(int32_t) + rep->vsize; in Downmix_Command()
573 cmd->vsize, cmd->data + sizeof(int32_t)); in Downmix_Command()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
DMediaPlayerPerformance.java363 String vsize = poList2[3]; in getMediaserverVsize() local
364 int vsizevalue = Integer.parseInt(vsize); in getMediaserverVsize()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyEffects.h148 ((origParam->vsize + 3) & ~3); in EffectDesc()
DAudioPolicyEffects.cpp711 fx_param->vsize = sizeof(int); in loadEffectParameter()
737 fx_param->vsize = 0; in loadEffectParameter()
746 fx_param->vsize += size; in loadEffectParameter()
/frameworks/av/media/libeffects/testlibs/
DEffectEqualizer.cpp676 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()
DEffectReverb.c333 …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/
DBufferProviders.cpp257 param->vsize = sizeof(downmix_type_t); in DownmixerBufferProvider()
258 memcpy(param->data + psizePadded, &downmixType, param->vsize); in DownmixerBufferProvider()
/frameworks/av/media/libeffects/dynamicsproc/
DEffectDynamicsProcessing.cpp527 &p->vsize, in DP_command()
529 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in DP_command()
549 p->vsize, in DP_command()
/frameworks/base/core/java/com/android/internal/os/
DProcessCpuTracker.java206 public long vsize; field in ProcessCpuTracker.Stats
533 st.vsize = procStats[PROCESS_FULL_STAT_VSIZE]; in collectStats()
/frameworks/av/services/audioflinger/
DEffects.cpp1004 p->vsize = sizeof(uint32_t); in configure()
1196 || ((effect_param_t *)pCmdData)->vsize > *replySize in command()
1203 - ((effect_param_t *)pCmdData)->vsize)) { in command()
1213 || ((effect_param_t *)pCmdData)->vsize > cmdSize in command()
1220 - ((effect_param_t *)pCmdData)->vsize)) { in command()
/frameworks/av/media/libeffects/preprocessing/
DPreProcessing.cpp1516 &p->vsize, in PreProcessingFx_Command()
1518 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in PreProcessingFx_Command()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java1936 return st.vsize > 0 && st.uid < FIRST_APPLICATION_UID;
12663 if (st.vsize > 0 && procMemsMap.indexOfKey(st.pid) < 0) { in dumpApplicationMemoryUsage()
13188 if (st.vsize > 0 && procMemsMap.indexOfKey(st.pid) < 0) { in dumpApplicationMemoryUsage()
13398 return st.vsize > 0; in reportMemUsage()