Searched refs:byte_buffer (Results 1 – 3 of 3) sorted by relevance
39 jobject byte_buffer = env->NewDirectByteBuffer(address, dex_file->Size()); in DexCache_getDexNative() local40 if (byte_buffer == nullptr) { in DexCache_getDexNative()46 args[0].l = byte_buffer; in DexCache_getDexNative()
164 jobject byte_buffer = env->NewDirectByteBuffer(&buffer[0], 0); in Java_Main_testZeroLengthByteBuffers() local165 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()
503 ScopedLocalRef<jobject> byte_buffer(env, env->NewDirectByteBuffer(address, dex_file->Size())); in GetDexFromDexCache() local504 if (byte_buffer.get() == nullptr) { in GetDexFromDexCache()510 args[0].l = byte_buffer.get(); in GetDexFromDexCache()