Lines Matching refs:is_copy
1543 static void* CreateGuardedPACopy(JNIEnv* env, const jarray java_array, jboolean* is_copy, in CreateGuardedPACopy() argument
1551 if (is_copy != nullptr) { in CreateGuardedPACopy()
1552 *is_copy = JNI_TRUE; in CreateGuardedPACopy()
2445 static const jchar* GetStringChars(JNIEnv* env, jstring string, jboolean* is_copy) { in GetStringChars() argument
2447 is_copy, false, false)); in GetStringChars()
2450 static const char* GetStringUTFChars(JNIEnv* env, jstring string, jboolean* is_copy) { in GetStringUTFChars() argument
2452 is_copy, true, false)); in GetStringUTFChars()
2455 static const jchar* GetStringCritical(JNIEnv* env, jstring string, jboolean* is_copy) { in GetStringCritical() argument
2457 is_copy, false, true)); in GetStringCritical()
2607 …static ctype* Get##name##ArrayElements(JNIEnv* env, ctype##Array array, jboolean* is_copy) { /* NO…
2609 GetPrimitiveArrayElements(__FUNCTION__, ptype, env, array, is_copy)); \
2673 static void* GetPrimitiveArrayCritical(JNIEnv* env, jarray array, jboolean* is_copy) { in GetPrimitiveArrayCritical() argument
2677 JniValueType args[3] = {{.E = env}, {.a = array}, {.p = is_copy}}; in GetPrimitiveArrayCritical()
2680 void* ptr = baseEnv(env)->GetPrimitiveArrayCritical(env, array, is_copy); in GetPrimitiveArrayCritical()
2682 ptr = GuardedCopy::CreateGuardedPACopy(env, array, is_copy, ptr); in GetPrimitiveArrayCritical()
3443 jboolean* is_copy, bool utf, bool critical) { in GetStringCharsInternal() argument
3448 JniValueType args[3] = {{.E = env}, {.s = string}, {.p = is_copy}}; in GetStringCharsInternal()
3454 ptr = const_cast<char*>(baseEnv(env)->GetStringUTFChars(env, string, is_copy)); in GetStringCharsInternal()
3457 ptr = const_cast<jchar*>(critical ? baseEnv(env)->GetStringCritical(env, string, is_copy) : in GetStringCharsInternal()
3458 baseEnv(env)->GetStringChars(env, string, is_copy)); in GetStringCharsInternal()
3472 if (is_copy != nullptr) { in GetStringCharsInternal()
3473 *is_copy = JNI_TRUE; in GetStringCharsInternal()
3560 JNIEnv* env, jarray array, jboolean* is_copy) { in GetPrimitiveArrayElements() argument
3564 JniValueType args[3] = {{.E = env}, {.a = array}, {.p = is_copy}}; in GetPrimitiveArrayElements()
3571 is_copy); in GetPrimitiveArrayElements()
3574 ptr = baseEnv(env)->GetByteArrayElements(env, down_cast<jbyteArray>(array), is_copy); in GetPrimitiveArrayElements()
3577 ptr = baseEnv(env)->GetCharArrayElements(env, down_cast<jcharArray>(array), is_copy); in GetPrimitiveArrayElements()
3580 ptr = baseEnv(env)->GetShortArrayElements(env, down_cast<jshortArray>(array), is_copy); in GetPrimitiveArrayElements()
3583 ptr = baseEnv(env)->GetIntArrayElements(env, down_cast<jintArray>(array), is_copy); in GetPrimitiveArrayElements()
3586 ptr = baseEnv(env)->GetLongArrayElements(env, down_cast<jlongArray>(array), is_copy); in GetPrimitiveArrayElements()
3589 ptr = baseEnv(env)->GetFloatArrayElements(env, down_cast<jfloatArray>(array), is_copy); in GetPrimitiveArrayElements()
3592 ptr = baseEnv(env)->GetDoubleArrayElements(env, down_cast<jdoubleArray>(array), is_copy); in GetPrimitiveArrayElements()
3598 ptr = GuardedCopy::CreateGuardedPACopy(env, array, is_copy, ptr); in GetPrimitiveArrayElements()
3599 if (is_copy != nullptr) { in GetPrimitiveArrayElements()
3600 *is_copy = JNI_TRUE; in GetPrimitiveArrayElements()