Searched refs:nioBuffer (Results 1 – 2 of 2) sorted by relevance
/libnativehelper/include/nativehelper/ |
D | JNIHelp.h | 131 MODULE_API jarray jniGetNioBufferBaseArray(C_JNIEnv* env, jobject nioBuffer); 140 MODULE_API jint jniGetNioBufferBaseArrayOffset(C_JNIEnv* env, jobject nioBuffer); 151 jobject nioBuffer, 164 MODULE_API jlong jniGetNioBufferPointer(C_JNIEnv* env, jobject nioBuffer); 241 inline jarray jniGetNioBufferBaseArray(JNIEnv* env, jobject nioBuffer) { in jniGetNioBufferBaseArray() argument 242 return jniGetNioBufferBaseArray(&env->functions, nioBuffer); in jniGetNioBufferBaseArray() 245 inline jint jniGetNioBufferBaseArrayOffset(JNIEnv* env, jobject nioBuffer) { in jniGetNioBufferBaseArrayOffset() argument 246 return jniGetNioBufferBaseArrayOffset(&env->functions, nioBuffer); in jniGetNioBufferBaseArrayOffset() 249 inline jlong jniGetNioBufferFields(JNIEnv* env, jobject nioBuffer, in jniGetNioBufferFields() argument 251 return jniGetNioBufferFields(&env->functions, nioBuffer, in jniGetNioBufferFields() [all …]
|
/libnativehelper/ |
D | JNIHelp.cpp | 358 MODULE_API jarray jniGetNioBufferBaseArray(C_JNIEnv* env, jobject nioBuffer) { in jniGetNioBufferBaseArray() argument 362 jobject object = e->CallStaticObjectMethod(nioAccessClass, getBaseArrayMethod, nioBuffer); in jniGetNioBufferBaseArray() 366 MODULE_API int jniGetNioBufferBaseArrayOffset(C_JNIEnv* env, jobject nioBuffer) { in jniGetNioBufferBaseArrayOffset() argument 370 return e->CallStaticIntMethod(nioAccessClass, getBaseArrayOffsetMethod, nioBuffer); in jniGetNioBufferBaseArrayOffset() 373 MODULE_API jlong jniGetNioBufferPointer(C_JNIEnv* env, jobject nioBuffer) { in jniGetNioBufferPointer() argument 375 jlong baseAddress = e->GetLongField(nioBuffer, JniConstants::GetNioBufferAddressField(e)); in jniGetNioBufferPointer() 377 const int position = e->GetIntField(nioBuffer, JniConstants::GetNioBufferPositionField(e)); in jniGetNioBufferPointer() 379 e->GetIntField(nioBuffer, JniConstants::GetNioBufferElementSizeShiftField(e)); in jniGetNioBufferPointer() 385 MODULE_API jlong jniGetNioBufferFields(C_JNIEnv* env, jobject nioBuffer, in jniGetNioBufferFields() argument 388 *position = e->GetIntField(nioBuffer, JniConstants::GetNioBufferPositionField(e)); in jniGetNioBufferFields() [all …]
|