Home
last modified time | relevance | path

Searched refs:jint (Results 1 – 9 of 9) sorted by relevance

/libnativehelper/include_platform/nativehelper/
DJNIPlatformHelp.h66 jint jniGetNioBufferBaseArrayOffset(C_JNIEnv* env, jobject nioBuffer);
78 /*out*/jint* position,
79 /*out*/jint* limit,
80 /*out*/jint* elementSizeShift);
121 inline jint jniGetNioBufferBaseArrayOffset(JNIEnv* env, jobject nioBuffer) { in jniGetNioBufferBaseArrayOffset()
126 jint* position, jint* limit, jint* elementSizeShift) { in jniGetNioBufferFields()
/libnativehelper/
DJniInvocation.c43 jint (*JNI_GetDefaultJavaVMInitArgs)(void*);
44 jint (*JNI_CreateJavaVM)(JavaVM**, JNIEnv**, void*);
45 jint (*JNI_GetCreatedJavaVMs)(JavaVM**, jsize, jsize*);
89 jint JNI_GetDefaultJavaVMInitArgs(void* vmargs) { in JNI_GetDefaultJavaVMInitArgs()
93 jint JNI_CreateJavaVM(JavaVM** p_vm, JNIEnv** p_env, void* vm_args) { in JNI_CreateJavaVM()
97 jint JNI_GetCreatedJavaVMs(JavaVM** vms, jsize size, jsize* vm_count) { in JNI_GetCreatedJavaVMs()
186 instance->JNI_GetDefaultJavaVMInitArgs = (jint (*)(void *)) JNI_GetDefaultJavaVMInitArgs_; in JniInvocationInit()
187 instance->JNI_CreateJavaVM = (jint (*)(JavaVM**, JNIEnv**, void*)) JNI_CreateJavaVM_; in JniInvocationInit()
188 instance->JNI_GetCreatedJavaVMs = (jint (*)(JavaVM**, jsize, jsize*)) JNI_GetCreatedJavaVMs_; in JniInvocationInit()
DJNIPlatformHelp.c90 jint* position, jint* limit, jint* elementSizeShift) { in jniGetNioBufferFields()
DJNIHelpCompat.c48 jint jniGetFDFromFileDescriptor(JNIEnv* env, jobject fileDescriptor) { in jniGetFDFromFileDescriptor()
/libnativehelper/include_jni/
Djni.h34 typedef int32_t jint; /* signed 32 bits */ typedef
40 typedef jint jsize;
114 jint i;
155 jint (*GetVersion)(JNIEnv *);
172 jint (*Throw)(JNIEnv*, jthrowable);
173 jint (*ThrowNew)(JNIEnv *, jclass, const char *);
179 jint (*PushLocalFrame)(JNIEnv*, jint);
188 jint (*EnsureLocalCapacity)(JNIEnv*, jint);
214 jint (*CallIntMethod)(JNIEnv*, jobject, jmethodID, ...);
215 jint (*CallIntMethodV)(JNIEnv*, jobject, jmethodID, va_list);
[all …]
/libnativehelper/tests_mts/jni/
Djni_helper_jni.cpp63 jint value) { in throwExceptionWithIntFormat()
81 static void throwIOException(JNIEnv* env, jclass /*clazz*/, jint cause) { in throwIOException()
89 static jobject fileDescriptorCreate(JNIEnv* env, jclass /*clazz*/, jint unix_fd) { in fileDescriptorCreate()
93 static jint fileDescriptorGetFD(JNIEnv* env, jclass /*clazz*/, jobject jiofd) { in fileDescriptorGetFD()
97 static jint fileDescriptorGetFDCompatQR(JNIEnv* env, jclass /*clazz*/, jobject jiofd) { in fileDescriptorGetFDCompatQR()
104 static void fileDescriptorSetFD(JNIEnv* env, jclass /*clazz*/, jobject jiofd, jint unix_fd) { in fileDescriptorSetFD()
108 static jobject allocateDirectNonHeapBuffer(JNIEnv* env, jclass /*clazz*/, jint length) { in allocateDirectNonHeapBuffer()
117 assertBufferBaseArrayOffsetBytes(JNIEnv* env, jclass /*clazz*/, jobject jnb, jint offset) { in assertBufferBaseArrayOffsetBytes()
127 static void assertBufferPosition(JNIEnv* env, jclass /*clazz*/, jobject jnb, jint position) { in assertBufferPosition()
138 static void assertBufferLimit(JNIEnv* env, jclass /*clazz*/, jobject jnb, jint limit) { in assertBufferLimit()
[all …]
/libnativehelper/tests/
DJniSafeRegisterNativeMethods_test.cpp262 static void v_ei(JNIEnv*, jint l) {} in v_ei()
266 static void bad_noref_jint_norm(JNIEnv*, jclass, jint&) {} in bad_noref_jint_norm()
267 static void bad_noref_jint_crit(jint&) {} in bad_noref_jint_crit()
273 static jint int_fn() { return 0; } in int_fn()
278 static void v_vol_i(volatile jint) {} in v_vol_i()
279 static void v_const_i(const jint) {} in v_const_i()
280 static void v_i(jint) {} in v_i()
282 static void v_lib(jlong, jint, jboolean) {} in v_lib()
283 static jshort s_lib(jlong, jint, jboolean) { return 0; } in s_lib()
289 static void v_eolib(JNIEnv*, jobject, jlong, jint, jboolean) {} in v_eolib()
[all …]
/libnativehelper/header_only_include/nativehelper/
Dscoped_primitive_array.h91 INSTANTIATE_SCOPED_PRIMITIVE_ARRAY_RO(jint, Int);
141 INSTANTIATE_SCOPED_PRIMITIVE_ARRAY_RW(jint, Int);
/libnativehelper/include_platform_header_only/nativehelper/detail/
Dsignature_checker.h778 TYPE_TRAIT_FN(jint, "I", kCriticalNative, kFinal, kSecondOrLate…