Lines Matching refs:is_copy
1839 static const jchar* GetStringChars(JNIEnv* env, jstring java_string, jboolean* is_copy) { in GetStringChars() argument
1854 if (is_copy != nullptr) { in GetStringChars()
1855 *is_copy = JNI_TRUE; in GetStringChars()
1859 if (is_copy != nullptr) { in GetStringChars()
1860 *is_copy = JNI_FALSE; in GetStringChars()
1874 static const jchar* GetStringCritical(JNIEnv* env, jstring java_string, jboolean* is_copy) { in GetStringCritical() argument
1891 if (is_copy != nullptr) { in GetStringCritical()
1892 *is_copy = JNI_TRUE; in GetStringCritical()
1901 if (is_copy != nullptr) { in GetStringCritical()
1902 *is_copy = JNI_FALSE; in GetStringCritical()
1927 static const char* GetStringUTFChars(JNIEnv* env, jstring java_string, jboolean* is_copy) { in GetStringUTFChars() argument
1931 if (is_copy != nullptr) { in GetStringUTFChars()
1932 *is_copy = JNI_TRUE; in GetStringUTFChars()
2066 static void* GetPrimitiveArrayCritical(JNIEnv* env, jarray java_array, jboolean* is_copy) { in GetPrimitiveArrayCritical() argument
2087 if (is_copy != nullptr) { in GetPrimitiveArrayCritical()
2088 *is_copy = JNI_FALSE; in GetPrimitiveArrayCritical()
2107 static jboolean* GetBooleanArrayElements(JNIEnv* env, jbooleanArray array, jboolean* is_copy) { in GetBooleanArrayElements() argument
2108 return GetPrimitiveArray<jbooleanArray, jboolean, mirror::BooleanArray>(env, array, is_copy); in GetBooleanArrayElements()
2111 static jbyte* GetByteArrayElements(JNIEnv* env, jbyteArray array, jboolean* is_copy) { in GetByteArrayElements() argument
2112 return GetPrimitiveArray<jbyteArray, jbyte, mirror::ByteArray>(env, array, is_copy); in GetByteArrayElements()
2115 static jchar* GetCharArrayElements(JNIEnv* env, jcharArray array, jboolean* is_copy) { in GetCharArrayElements() argument
2116 return GetPrimitiveArray<jcharArray, jchar, mirror::CharArray>(env, array, is_copy); in GetCharArrayElements()
2119 static jdouble* GetDoubleArrayElements(JNIEnv* env, jdoubleArray array, jboolean* is_copy) { in GetDoubleArrayElements() argument
2120 return GetPrimitiveArray<jdoubleArray, jdouble, mirror::DoubleArray>(env, array, is_copy); in GetDoubleArrayElements()
2123 static jfloat* GetFloatArrayElements(JNIEnv* env, jfloatArray array, jboolean* is_copy) { in GetFloatArrayElements() argument
2124 return GetPrimitiveArray<jfloatArray, jfloat, mirror::FloatArray>(env, array, is_copy); in GetFloatArrayElements()
2127 static jint* GetIntArrayElements(JNIEnv* env, jintArray array, jboolean* is_copy) { in GetIntArrayElements() argument
2128 return GetPrimitiveArray<jintArray, jint, mirror::IntArray>(env, array, is_copy); in GetIntArrayElements()
2131 static jlong* GetLongArrayElements(JNIEnv* env, jlongArray array, jboolean* is_copy) { in GetLongArrayElements() argument
2132 return GetPrimitiveArray<jlongArray, jlong, mirror::LongArray>(env, array, is_copy); in GetLongArrayElements()
2135 static jshort* GetShortArrayElements(JNIEnv* env, jshortArray array, jboolean* is_copy) { in GetShortArrayElements() argument
2136 return GetPrimitiveArray<jshortArray, jshort, mirror::ShortArray>(env, array, is_copy); in GetShortArrayElements()
2568 static ElementT* GetPrimitiveArray(JNIEnv* env, ArrayT java_array, jboolean* is_copy) { in GetPrimitiveArray() argument
2579 if (is_copy != nullptr) { in GetPrimitiveArray()
2580 *is_copy = JNI_TRUE; in GetPrimitiveArray()
2588 if (is_copy != nullptr) { in GetPrimitiveArray()
2589 *is_copy = JNI_FALSE; in GetPrimitiveArray()
2613 bool is_copy = array_data != elements; in ReleasePrimitiveArray() local
2615 if (is_copy) { in ReleasePrimitiveArray()
2634 if (is_copy) { in ReleasePrimitiveArray()