Home
last modified time | relevance | path

Searched refs:is_copy (Results 1 – 3 of 3) sorted by relevance

/art/runtime/jni/
Djni_internal.cc2034 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()
[all …]
Djni_internal_test.cc350 jboolean is_copy; in GetPrimitiveArrayElementsOfWrongType() local
351 EXPECT_EQ(env_->GetByteArrayElements(reinterpret_cast<jbyteArray>(array), &is_copy), nullptr); in GetPrimitiveArrayElementsOfWrongType()
355 EXPECT_EQ(env_->GetShortArrayElements(reinterpret_cast<jshortArray>(array), &is_copy), nullptr); in GetPrimitiveArrayElementsOfWrongType()
359 EXPECT_EQ(env_->GetCharArrayElements(reinterpret_cast<jcharArray>(array), &is_copy), nullptr); in GetPrimitiveArrayElementsOfWrongType()
363 EXPECT_EQ(env_->GetIntArrayElements(reinterpret_cast<jintArray>(array), &is_copy), nullptr); in GetPrimitiveArrayElementsOfWrongType()
367 EXPECT_EQ(env_->GetLongArrayElements(reinterpret_cast<jlongArray>(array), &is_copy), nullptr); in GetPrimitiveArrayElementsOfWrongType()
371 EXPECT_EQ(env_->GetFloatArrayElements(reinterpret_cast<jfloatArray>(array), &is_copy), nullptr); in GetPrimitiveArrayElementsOfWrongType()
375 … EXPECT_EQ(env_->GetDoubleArrayElements(reinterpret_cast<jdoubleArray>(array), &is_copy), nullptr); in GetPrimitiveArrayElementsOfWrongType()
380 EXPECT_EQ(env_->GetBooleanArrayElements(reinterpret_cast<jbooleanArray>(array2), &is_copy), in GetPrimitiveArrayElementsOfWrongType()
386 EXPECT_EQ(env_->GetBooleanArrayElements(reinterpret_cast<jbooleanArray>(object), &is_copy), in GetPrimitiveArrayElementsOfWrongType()
[all …]
Dcheck_jni.cc1543 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…
[all …]