Searched refs:NewDirectByteBuffer (Results 1 – 4 of 4) sorted by relevance
/art/test/004-JniTest/ |
D | jni_test.cc | 192 jobject byte_buffer = env->NewDirectByteBuffer(&buffer[0], 0); in Java_Main_testZeroLengthByteBuffers()
|
/art/runtime/jni/ |
D | check_jni.cc | 2709 static jobject NewDirectByteBuffer(JNIEnv* env, void* address, jlong capacity) { in NewDirectByteBuffer() function in art::__anon846bc2ca0111::CheckJNI 2717 result.L = baseEnv(env)->NewDirectByteBuffer(env, address, capacity); in NewDirectByteBuffer() 4000 CheckJNI::NewDirectByteBuffer,
|
D | jni_internal_test.cc | 2284 jobject direct_buffer = env_->NewDirectByteBuffer(bytes, sizeof(bytes)); in TEST_F() 2311 env_->NewDirectByteBuffer(bytes, static_cast<jlong>(INT_MAX) + 1); in TEST_F()
|
D | jni_internal.cc | 2494 static jobject NewDirectByteBuffer(JNIEnv* env, void* address, jlong capacity) { in NewDirectByteBuffer() function in art::JNI 2988 JNIImpl::NewDirectByteBuffer,
|