Searched refs:stringsLength (Results 1 – 2 of 2) sorted by relevance
/frameworks/support/v8/renderscript/jni/ |
D | android_renderscript_RenderScript.cpp | 56 AutoJavaStringArrayToUTF8(JNIEnv* env, jobjectArray strings, jsize stringsLength) in AutoJavaStringArrayToUTF8() argument 57 : mEnv(env), mStrings(strings), mStringsLength(stringsLength) { in AutoJavaStringArrayToUTF8() 60 if (stringsLength > 0) { in AutoJavaStringArrayToUTF8() 61 mCStrings = (const char **)calloc(stringsLength, sizeof(char *)); in AutoJavaStringArrayToUTF8() 62 mSizeArray = (size_t*)calloc(stringsLength, sizeof(size_t)); in AutoJavaStringArrayToUTF8() 63 for (jsize ct = 0; ct < stringsLength; ct ++) { in AutoJavaStringArrayToUTF8()
|
/frameworks/base/graphics/jni/ |
D | android_renderscript_RenderScript.cpp | 74 AutoJavaStringArrayToUTF8(JNIEnv* env, jobjectArray strings, jsize stringsLength) in AutoJavaStringArrayToUTF8() argument 75 : mEnv(env), mStrings(strings), mStringsLength(stringsLength) { in AutoJavaStringArrayToUTF8() 78 if (stringsLength > 0) { in AutoJavaStringArrayToUTF8() 79 mCStrings = (const char **)calloc(stringsLength, sizeof(char *)); in AutoJavaStringArrayToUTF8() 80 mSizeArray = (size_t*)calloc(stringsLength, sizeof(size_t)); in AutoJavaStringArrayToUTF8() 81 for (jsize ct = 0; ct < stringsLength; ct ++) { in AutoJavaStringArrayToUTF8()
|