Home
last modified time | relevance | path

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

/art/runtime/
Djni_internal_test.cc345 jboolean is_copy; in GetPrimitiveArrayElementsOfWrongType() local
346 EXPECT_EQ(env_->GetByteArrayElements(reinterpret_cast<jbyteArray>(array), &is_copy), nullptr); in GetPrimitiveArrayElementsOfWrongType()
350 EXPECT_EQ(env_->GetShortArrayElements(reinterpret_cast<jshortArray>(array), &is_copy), nullptr); in GetPrimitiveArrayElementsOfWrongType()
354 EXPECT_EQ(env_->GetCharArrayElements(reinterpret_cast<jcharArray>(array), &is_copy), nullptr); in GetPrimitiveArrayElementsOfWrongType()
358 EXPECT_EQ(env_->GetIntArrayElements(reinterpret_cast<jintArray>(array), &is_copy), nullptr); in GetPrimitiveArrayElementsOfWrongType()
362 EXPECT_EQ(env_->GetLongArrayElements(reinterpret_cast<jlongArray>(array), &is_copy), nullptr); in GetPrimitiveArrayElementsOfWrongType()
366 EXPECT_EQ(env_->GetFloatArrayElements(reinterpret_cast<jfloatArray>(array), &is_copy), nullptr); in GetPrimitiveArrayElementsOfWrongType()
370 … EXPECT_EQ(env_->GetDoubleArrayElements(reinterpret_cast<jdoubleArray>(array), &is_copy), nullptr); in GetPrimitiveArrayElementsOfWrongType()
375 EXPECT_EQ(env_->GetBooleanArrayElements(reinterpret_cast<jbooleanArray>(array2), &is_copy), in GetPrimitiveArrayElementsOfWrongType()
381 EXPECT_EQ(env_->GetBooleanArrayElements(reinterpret_cast<jbooleanArray>(object), &is_copy), in GetPrimitiveArrayElementsOfWrongType()
[all …]
Djni_internal.cc1696 static const jchar* GetStringChars(JNIEnv* env, jstring java_string, jboolean* is_copy) { in GetStringChars() argument
1704 if (is_copy != nullptr) { in GetStringChars()
1705 *is_copy = JNI_TRUE; in GetStringChars()
1709 if (is_copy != nullptr) { in GetStringChars()
1710 *is_copy = JNI_FALSE; in GetStringChars()
1724 static const jchar* GetStringCritical(JNIEnv* env, jstring java_string, jboolean* is_copy) { in GetStringCritical() argument
1734 if (is_copy != nullptr) { in GetStringCritical()
1735 *is_copy = JNI_FALSE; in GetStringCritical()
1751 static const char* GetStringUTFChars(JNIEnv* env, jstring java_string, jboolean* is_copy) { in GetStringUTFChars() argument
1755 if (is_copy != nullptr) { in GetStringUTFChars()
[all …]
Dcheck_jni.cc1230 static void* CreateGuardedPACopy(JNIEnv* env, const jarray java_array, jboolean* is_copy, in CreateGuardedPACopy() argument
1238 if (is_copy != nullptr) { in CreateGuardedPACopy()
1239 *is_copy = JNI_TRUE; in CreateGuardedPACopy()
2092 static const jchar* GetStringChars(JNIEnv* env, jstring string, jboolean* is_copy) { in GetStringChars() argument
2094 is_copy, false, false)); in GetStringChars()
2097 static const char* GetStringUTFChars(JNIEnv* env, jstring string, jboolean* is_copy) { in GetStringUTFChars() argument
2099 is_copy, true, false)); in GetStringUTFChars()
2102 static const jchar* GetStringCritical(JNIEnv* env, jstring string, jboolean* is_copy) { in GetStringCritical() argument
2104 is_copy, false, true)); in GetStringCritical()
2247 static ctype* Get##name##ArrayElements(JNIEnv* env, ctype##Array array, jboolean* is_copy) { \
[all …]