Searched refs:nioBuffer (Results 1 – 3 of 3) sorted by relevance
/libnativehelper/ |
D | JNIPlatformHelp.c | 23 static int GetBufferPosition(JNIEnv* env, jobject nioBuffer) { in GetBufferPosition() argument 24 return(*env)->GetIntField(env, nioBuffer, JniConstants_NioBuffer_position(env)); in GetBufferPosition() 27 static int GetBufferLimit(JNIEnv* env, jobject nioBuffer) { in GetBufferLimit() argument 28 return(*env)->GetIntField(env, nioBuffer, JniConstants_NioBuffer_limit(env)); in GetBufferLimit() 31 static int GetBufferElementSizeShift(JNIEnv* env, jobject nioBuffer) { in GetBufferElementSizeShift() argument 32 return(*env)->GetIntField(env, nioBuffer, JniConstants_NioBuffer__elementSizeShift(env)); in GetBufferElementSizeShift() 35 jarray jniGetNioBufferBaseArray(JNIEnv* env, jobject nioBuffer) { in jniGetNioBufferBaseArray() argument 39 nioAccessClass, getBaseArrayMethod, nioBuffer); in jniGetNioBufferBaseArray() 43 int jniGetNioBufferBaseArrayOffset(JNIEnv* env, jobject nioBuffer) { in jniGetNioBufferBaseArrayOffset() argument 46 return (*env)->CallStaticIntMethod(env, nioAccessClass, getBaseArrayOffsetMethod, nioBuffer); in jniGetNioBufferBaseArrayOffset() [all …]
|
D | libnativehelper_lazy.c | 226 jarray jniGetNioBufferBaseArray(JNIEnv* env, jobject nioBuffer) { in jniGetNioBufferBaseArray() argument 228 INVOKE_METHOD(jniGetNioBufferBaseArray, M, env, nioBuffer); in jniGetNioBufferBaseArray() 231 int jniGetNioBufferBaseArrayOffset(JNIEnv* env, jobject nioBuffer) { in jniGetNioBufferBaseArrayOffset() argument 233 INVOKE_METHOD(jniGetNioBufferBaseArrayOffset, M, env, nioBuffer); in jniGetNioBufferBaseArrayOffset() 236 jlong jniGetNioBufferFields(JNIEnv* env, jobject nioBuffer, in jniGetNioBufferFields() argument 239 INVOKE_METHOD(jniGetNioBufferFields, M, env, nioBuffer, position, limit, in jniGetNioBufferFields() 243 jlong jniGetNioBufferPointer(JNIEnv* env, jobject nioBuffer) { in jniGetNioBufferPointer() argument 245 INVOKE_METHOD(jniGetNioBufferPointer, M, env, nioBuffer); in jniGetNioBufferPointer()
|
/libnativehelper/include_platform/nativehelper/ |
D | JNIPlatformHelp.h | 40 jarray jniGetNioBufferBaseArray(C_JNIEnv* env, jobject nioBuffer); 50 jint jniGetNioBufferBaseArrayOffset(C_JNIEnv* env, jobject nioBuffer); 61 jobject nioBuffer, 74 jlong jniGetNioBufferPointer(C_JNIEnv* env, jobject nioBuffer); 115 inline jarray jniGetNioBufferBaseArray(JNIEnv* env, jobject nioBuffer) { in jniGetNioBufferBaseArray() argument 116 return jniGetNioBufferBaseArray(&env->functions, nioBuffer); in jniGetNioBufferBaseArray() 119 inline jint jniGetNioBufferBaseArrayOffset(JNIEnv* env, jobject nioBuffer) { in jniGetNioBufferBaseArrayOffset() argument 120 return jniGetNioBufferBaseArrayOffset(&env->functions, nioBuffer); in jniGetNioBufferBaseArrayOffset() 123 inline jlong jniGetNioBufferFields(JNIEnv* env, jobject nioBuffer, in jniGetNioBufferFields() argument 125 return jniGetNioBufferFields(&env->functions, nioBuffer, in jniGetNioBufferFields() [all …]
|