Home
last modified time | relevance | path

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

/art/runtime/jni/
Djni_internal.cc2688 static void* GetDirectBufferAddress(JNIEnv* env, jobject java_buffer) { in GetDirectBufferAddress() argument
2690 if (java_buffer == nullptr) { in GetDirectBufferAddress()
2695 if (!IsInstanceOf(env, java_buffer, WellKnownClasses::java_nio_Buffer)) { in GetDirectBufferAddress()
2701 java_buffer, WellKnownClasses::java_nio_Buffer_address)); in GetDirectBufferAddress()
2704 static jlong GetDirectBufferCapacity(JNIEnv* env, jobject java_buffer) { in GetDirectBufferCapacity() argument
2705 if (java_buffer == nullptr) { in GetDirectBufferCapacity()
2709 if (!IsInstanceOf(env, java_buffer, WellKnownClasses::java_nio_Buffer)) { in GetDirectBufferCapacity()
2720 jboolean direct = env->CallBooleanMethod(java_buffer, in GetDirectBufferCapacity()
2727 java_buffer, WellKnownClasses::java_nio_Buffer_capacity)); in GetDirectBufferCapacity()