Home
last modified time | relevance | path

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

/art/runtime/native/
Djava_lang_DexCache.cc39 jobject byte_buffer = env->NewDirectByteBuffer(address, dex_file->Size()); in DexCache_getDexNative() local
40 if (byte_buffer == nullptr) { in DexCache_getDexNative()
46 args[0].l = byte_buffer; in DexCache_getDexNative()
/art/test/004-JniTest/
Djni_test.cc164 jobject byte_buffer = env->NewDirectByteBuffer(&buffer[0], 0); in Java_Main_testZeroLengthByteBuffers() local
165 assert(byte_buffer != nullptr); in Java_Main_testZeroLengthByteBuffers()
168 assert(env->GetDirectBufferAddress(byte_buffer) == &buffer[0]); in Java_Main_testZeroLengthByteBuffers()
169 assert(env->GetDirectBufferCapacity(byte_buffer) == 0); in Java_Main_testZeroLengthByteBuffers()
/art/runtime/interpreter/
Dunstarted_runtime.cc503 ScopedLocalRef<jobject> byte_buffer(env, env->NewDirectByteBuffer(address, dex_file->Size())); in GetDexFromDexCache() local
504 if (byte_buffer.get() == nullptr) { in GetDexFromDexCache()
510 args[0].l = byte_buffer.get(); in GetDexFromDexCache()