Searched refs:_strings (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
D | glCreateShaderProgramv.cpp | 9 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/ |
D | android_opengl_GLES31.cpp | 924 const GLchar** _strings = NULL; in android_glCreateShaderProgramv() local 937 _strings = (const GLchar**) calloc(_count, sizeof(const GLchar*)); in android_glCreateShaderProgramv() 938 if (!_strings) { in android_glCreateShaderProgramv() 961 _strings[i] = _env->GetStringUTFChars(_jstrings[i], 0); in android_glCreateShaderProgramv() 964 _returnValue = glCreateShaderProgramv((GLenum)type, _count, _strings); in android_glCreateShaderProgramv() 966 if (_strings && _jstrings) { in android_glCreateShaderProgramv() 968 if (_strings[i] && _jstrings[i]) { in android_glCreateShaderProgramv() 969 _env->ReleaseStringUTFChars(_jstrings[i], _strings[i]); in android_glCreateShaderProgramv() 973 if (_strings) { in android_glCreateShaderProgramv() 974 free(_strings); in android_glCreateShaderProgramv()
|