Home
last modified time | relevance | path

Searched refs:typesPtr (Results 1 – 3 of 3) sorted by relevance

/frameworks/rs/support/jni/
Dandroid_renderscript_RenderScript.cpp1969 RsType* typesPtr; in nScriptGroupCreate() local
2014 typesPtr = (RsType*) malloc(sizeof(RsType) * typesLen); in nScriptGroupCreate()
2016 typesPtr[i] = (RsType)jTypesPtr[i]; in nScriptGroupCreate()
2024 (RsType *)typesPtr, typesLen * sizeof(RsType)); in nScriptGroupCreate()
2030 free(typesPtr); in nScriptGroupCreate()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp413 jint *typesPtr = nullptr; in getVectorOfAudioDeviceTypeAddr() local
414 typesPtr = env->GetIntArrayElements(deviceTypes, 0); in getVectorOfAudioDeviceTypeAddr()
415 if (typesPtr == nullptr) { in getVectorOfAudioDeviceTypeAddr()
419 deviceTypesVector.push_back(static_cast<audio_devices_t>(typesPtr[i])); in getVectorOfAudioDeviceTypeAddr()
430 AudioDeviceTypeAddr(static_cast<audio_devices_t>(typesPtr[i]), address); in getVectorOfAudioDeviceTypeAddr()
434 env->ReleaseIntArrayElements(deviceTypes, typesPtr, 0); in getVectorOfAudioDeviceTypeAddr()
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp2319 RsType* typesPtr; in nScriptGroupCreate() local
2364 typesPtr = (RsType*) malloc(sizeof(RsType) * typesLen); in nScriptGroupCreate()
2366 typesPtr[i] = (RsType)jTypesPtr[i]; in nScriptGroupCreate()
2374 (RsType *)typesPtr, typesLen * sizeof(RsType)); in nScriptGroupCreate()
2380 free(typesPtr); in nScriptGroupCreate()