Home | History | Annotate | Download | only in runtime

Lines Matching refs:is_copy

1977   static const jchar* GetStringChars(JNIEnv* env, jstring java_string, jboolean* is_copy) {
1984 if (is_copy != nullptr) {
1985 *is_copy = JNI_TRUE;
1995 if (is_copy != nullptr) {
1996 *is_copy = JNI_FALSE;
2012 static const jchar* GetStringCritical(JNIEnv* env, jstring java_string, jboolean* is_copy) {
2024 if (is_copy != nullptr) {
2025 *is_copy = JNI_FALSE;
2041 static const char* GetStringUTFChars(JNIEnv* env, jstring java_string, jboolean* is_copy) {
2045 if (is_copy != nullptr) {
2046 *is_copy = JNI_TRUE;
2171 static void* GetPrimitiveArrayCritical(JNIEnv* env, jarray java_array, jboolean* is_copy) {
2186 if (is_copy != nullptr) {
2187 *is_copy = JNI_FALSE;
2206 static jboolean* GetBooleanArrayElements(JNIEnv* env, jbooleanArray array, jboolean* is_copy) {
2207 return GetPrimitiveArray<jbooleanArray, jboolean, mirror::BooleanArray>(env, array, is_copy);
2210 static jbyte* GetByteArrayElements(JNIEnv* env, jbyteArray array, jboolean* is_copy) {
2211 return GetPrimitiveArray<jbyteArray, jbyte, mirror::ByteArray>(env, array, is_copy);
2214 static jchar* GetCharArrayElements(JNIEnv* env, jcharArray array, jboolean* is_copy) {
2215 return GetPrimitiveArray<jcharArray, jchar, mirror::CharArray>(env, array, is_copy);
2218 static jdouble* GetDoubleArrayElements(JNIEnv* env, jdoubleArray array, jboolean* is_copy) {
2219 return GetPrimitiveArray<jdoubleArray, jdouble, mirror::DoubleArray>(env, array, is_copy);
2222 static jfloat* GetFloatArrayElements(JNIEnv* env, jfloatArray array, jboolean* is_copy) {
2223 return GetPrimitiveArray<jfloatArray, jfloat, mirror::FloatArray>(env, array, is_copy);
2226 static jint* GetIntArrayElements(JNIEnv* env, jintArray array, jboolean* is_copy) {
2227 return GetPrimitiveArray<jintArray, jint, mirror::IntArray>(env, array, is_copy);
2230 static jlong* GetLongArrayElements(JNIEnv* env, jlongArray array, jboolean* is_copy) {
2231 return GetPrimitiveArray<jlongArray, jlong, mirror::LongArray>(env, array, is_copy);
2234 static jshort* GetShortArrayElements(JNIEnv* env, jshortArray array, jboolean* is_copy) {
2235 return GetPrimitiveArray<jshortArray, jshort, mirror::ShortArray>(env, array, is_copy);
2605 static ElementT* GetPrimitiveArray(JNIEnv* env, ArrayT java_array, jboolean* is_copy) {
2616 if (is_copy != nullptr) {
2617 *is_copy = JNI_TRUE;
2625 if (is_copy != nullptr) {
2626 *is_copy = JNI_FALSE;
2650 bool is_copy = array_data != elements;
2654 if (is_copy) {
2665 if (mode != JNI_ABORT && is_copy) {
2669 if (is_copy) {