Searched refs:is_copy (Results 1 – 3 of 3) sorted by relevance
/art/runtime/jni/ |
D | jni_internal.cc | 2033 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 2075 if (is_copy != nullptr) { in GetStringCritical() 2076 *is_copy = JNI_TRUE; in GetStringCritical() 2097 if (is_copy != nullptr) { in GetStringCritical() 2098 *is_copy = JNI_FALSE; in GetStringCritical() [all …]
|
D | jni_internal_test.cc | 351 jboolean is_copy; in GetPrimitiveArrayElementsOfWrongType() local 352 EXPECT_EQ(env_->GetByteArrayElements(reinterpret_cast<jbyteArray>(array), &is_copy), nullptr); in GetPrimitiveArrayElementsOfWrongType() 356 EXPECT_EQ(env_->GetShortArrayElements(reinterpret_cast<jshortArray>(array), &is_copy), nullptr); in GetPrimitiveArrayElementsOfWrongType() 360 EXPECT_EQ(env_->GetCharArrayElements(reinterpret_cast<jcharArray>(array), &is_copy), nullptr); in GetPrimitiveArrayElementsOfWrongType() 364 EXPECT_EQ(env_->GetIntArrayElements(reinterpret_cast<jintArray>(array), &is_copy), nullptr); in GetPrimitiveArrayElementsOfWrongType() 368 EXPECT_EQ(env_->GetLongArrayElements(reinterpret_cast<jlongArray>(array), &is_copy), nullptr); in GetPrimitiveArrayElementsOfWrongType() 372 EXPECT_EQ(env_->GetFloatArrayElements(reinterpret_cast<jfloatArray>(array), &is_copy), nullptr); in GetPrimitiveArrayElementsOfWrongType() 376 … EXPECT_EQ(env_->GetDoubleArrayElements(reinterpret_cast<jdoubleArray>(array), &is_copy), nullptr); in GetPrimitiveArrayElementsOfWrongType() 381 EXPECT_EQ(env_->GetBooleanArrayElements(reinterpret_cast<jbooleanArray>(array2), &is_copy), in GetPrimitiveArrayElementsOfWrongType() 387 EXPECT_EQ(env_->GetBooleanArrayElements(reinterpret_cast<jbooleanArray>(object), &is_copy), in GetPrimitiveArrayElementsOfWrongType() [all …]
|
D | check_jni.cc | 1593 static void* CreateGuardedPACopy(JNIEnv* env, const jarray java_array, jboolean* is_copy, in CreateGuardedPACopy() argument 1601 if (is_copy != nullptr) { in CreateGuardedPACopy() 1602 *is_copy = JNI_TRUE; in CreateGuardedPACopy() 2495 static const jchar* GetStringChars(JNIEnv* env, jstring string, jboolean* is_copy) { in GetStringChars() argument 2497 is_copy, false, false)); in GetStringChars() 2500 static const char* GetStringUTFChars(JNIEnv* env, jstring string, jboolean* is_copy) { in GetStringUTFChars() argument 2502 is_copy, true, false)); in GetStringUTFChars() 2505 static const jchar* GetStringCritical(JNIEnv* env, jstring string, jboolean* is_copy) { in GetStringCritical() argument 2507 is_copy, false, true)); in GetStringCritical() 2657 …static ctype* Get##name##ArrayElements(JNIEnv* env, ctype##Array array, jboolean* is_copy) { /* NO… [all …]
|