• Home
  • Raw
  • Download

Lines Matching refs:is_copy

2034   static const jchar* GetStringChars(JNIEnv* env, jstring java_string, jboolean* is_copy) {  in GetStringChars()  argument
2049 if (is_copy != nullptr) { in GetStringChars()
2050 *is_copy = JNI_TRUE; in GetStringChars()
2054 if (is_copy != nullptr) { in GetStringChars()
2055 *is_copy = JNI_FALSE; in GetStringChars()
2069 static const jchar* GetStringCritical(JNIEnv* env, jstring java_string, jboolean* is_copy) { in GetStringCritical() argument
2086 if (is_copy != nullptr) { in GetStringCritical()
2087 *is_copy = JNI_TRUE; in GetStringCritical()
2096 if (is_copy != nullptr) { in GetStringCritical()
2097 *is_copy = JNI_FALSE; in GetStringCritical()
2122 static const char* GetStringUTFChars(JNIEnv* env, jstring java_string, jboolean* is_copy) { in GetStringUTFChars() argument
2126 if (is_copy != nullptr) { in GetStringUTFChars()
2127 *is_copy = JNI_TRUE; in GetStringUTFChars()
2261 static void* GetPrimitiveArrayCritical(JNIEnv* env, jarray java_array, jboolean* is_copy) { in GetPrimitiveArrayCritical() argument
2282 if (is_copy != nullptr) { in GetPrimitiveArrayCritical()
2283 *is_copy = JNI_FALSE; in GetPrimitiveArrayCritical()
2302 static jboolean* GetBooleanArrayElements(JNIEnv* env, jbooleanArray array, jboolean* is_copy) { in GetBooleanArrayElements() argument
2303 return GetPrimitiveArray<jbooleanArray, jboolean, mirror::BooleanArray>(env, array, is_copy); in GetBooleanArrayElements()
2306 static jbyte* GetByteArrayElements(JNIEnv* env, jbyteArray array, jboolean* is_copy) { in GetByteArrayElements() argument
2307 return GetPrimitiveArray<jbyteArray, jbyte, mirror::ByteArray>(env, array, is_copy); in GetByteArrayElements()
2310 static jchar* GetCharArrayElements(JNIEnv* env, jcharArray array, jboolean* is_copy) { in GetCharArrayElements() argument
2311 return GetPrimitiveArray<jcharArray, jchar, mirror::CharArray>(env, array, is_copy); in GetCharArrayElements()
2314 static jdouble* GetDoubleArrayElements(JNIEnv* env, jdoubleArray array, jboolean* is_copy) { in GetDoubleArrayElements() argument
2315 return GetPrimitiveArray<jdoubleArray, jdouble, mirror::DoubleArray>(env, array, is_copy); in GetDoubleArrayElements()
2318 static jfloat* GetFloatArrayElements(JNIEnv* env, jfloatArray array, jboolean* is_copy) { in GetFloatArrayElements() argument
2319 return GetPrimitiveArray<jfloatArray, jfloat, mirror::FloatArray>(env, array, is_copy); in GetFloatArrayElements()
2322 static jint* GetIntArrayElements(JNIEnv* env, jintArray array, jboolean* is_copy) { in GetIntArrayElements() argument
2323 return GetPrimitiveArray<jintArray, jint, mirror::IntArray>(env, array, is_copy); in GetIntArrayElements()
2326 static jlong* GetLongArrayElements(JNIEnv* env, jlongArray array, jboolean* is_copy) { in GetLongArrayElements() argument
2327 return GetPrimitiveArray<jlongArray, jlong, mirror::LongArray>(env, array, is_copy); in GetLongArrayElements()
2330 static jshort* GetShortArrayElements(JNIEnv* env, jshortArray array, jboolean* is_copy) { in GetShortArrayElements() argument
2331 return GetPrimitiveArray<jshortArray, jshort, mirror::ShortArray>(env, array, is_copy); in GetShortArrayElements()
2766 static ElementT* GetPrimitiveArray(JNIEnv* env, ArrayT java_array, jboolean* is_copy) { in GetPrimitiveArray() argument
2776 if (is_copy != nullptr) { in GetPrimitiveArray()
2777 *is_copy = JNI_TRUE; in GetPrimitiveArray()
2785 if (is_copy != nullptr) { in GetPrimitiveArray()
2786 *is_copy = JNI_FALSE; in GetPrimitiveArray()
2812 bool is_copy = array_data != elements; in ReleasePrimitiveArray() local
2814 if (is_copy) { in ReleasePrimitiveArray()
2833 if (is_copy) { in ReleasePrimitiveArray()