Home
last modified time | relevance | path

Searched refs:_strings (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/opengl/tools/glgen/stubs/gles11/
DglCreateShaderProgramv.cpp9 const GLchar** _strings = NULL; in android_glCreateShaderProgramv() local
22 _strings = (const GLchar**) calloc(_count, sizeof(const GLchar*)); in android_glCreateShaderProgramv()
23 if (!_strings) { in android_glCreateShaderProgramv()
46 _strings[i] = _env->GetStringUTFChars(_jstrings[i], 0); in android_glCreateShaderProgramv()
49 _returnValue = glCreateShaderProgramv((GLenum)type, _count, _strings); in android_glCreateShaderProgramv()
51 if (_strings && _jstrings) { in android_glCreateShaderProgramv()
53 if (_strings[i] && _jstrings[i]) { in android_glCreateShaderProgramv()
54 _env->ReleaseStringUTFChars(_jstrings[i], _strings[i]); in android_glCreateShaderProgramv()
58 if (_strings) { in android_glCreateShaderProgramv()
59 free(_strings); in android_glCreateShaderProgramv()
/frameworks/base/core/jni/
Dandroid_opengl_GLES31.cpp923 const GLchar** _strings = NULL; in android_glCreateShaderProgramv() local
936 _strings = (const GLchar**) calloc(_count, sizeof(const GLchar*)); in android_glCreateShaderProgramv()
937 if (!_strings) { in android_glCreateShaderProgramv()
960 _strings[i] = _env->GetStringUTFChars(_jstrings[i], 0); in android_glCreateShaderProgramv()
963 _returnValue = glCreateShaderProgramv((GLenum)type, _count, _strings); in android_glCreateShaderProgramv()
965 if (_strings && _jstrings) { in android_glCreateShaderProgramv()
967 if (_strings[i] && _jstrings[i]) { in android_glCreateShaderProgramv()
968 _env->ReleaseStringUTFChars(_jstrings[i], _strings[i]); in android_glCreateShaderProgramv()
972 if (_strings) { in android_glCreateShaderProgramv()
973 free(_strings); in android_glCreateShaderProgramv()