Home
last modified time | relevance | path

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

/libnativehelper/include_platform/nativehelper/
DJNIPlatformHelp.h50 jint jniGetNioBufferBaseArrayOffset(C_JNIEnv* env, jobject nioBuffer);
62 /*out*/jint* position,
63 /*out*/jint* limit,
64 /*out*/jint* elementSizeShift);
119 inline jint jniGetNioBufferBaseArrayOffset(JNIEnv* env, jobject nioBuffer) { in jniGetNioBufferBaseArrayOffset()
124 jint* position, jint* limit, jint* elementSizeShift) { in jniGetNioBufferFields()
/libnativehelper/
Dlibnativehelper_lazy.c192 static jint JNI_CreateJavaVMImpl(JavaVM** p_vm, JNIEnv** p_env, void* vm_args) { in JNI_CreateJavaVMImpl()
193 typedef jint (*M)(JavaVM**, JNIEnv**, void*); in JNI_CreateJavaVMImpl()
197 jint JNI_CreateJavaVM(JavaVM** p_vm, JNIEnv** p_env, void* vm_args) { in JNI_CreateJavaVM()
198 jint status = JNI_CreateJavaVMImpl(p_vm, p_env, vm_args); in JNI_CreateJavaVM()
205 jint JNI_GetDefaultJavaVMInitArgs(void* vm_args) { in JNI_GetDefaultJavaVMInitArgs()
206 typedef jint (*M)(void*); in JNI_GetDefaultJavaVMInitArgs()
210 jint JNI_GetCreatedJavaVMs(JavaVM** p_vm, jsize vm_max, jsize* p_vm_count) { in JNI_GetCreatedJavaVMs()
211 typedef jint (*M)(JavaVM**, jsize, jsize*); in JNI_GetCreatedJavaVMs()
237 jint* position, jint* limit, jint* elementSizeShift) { in jniGetNioBufferFields()
238 typedef jlong (*M)(JNIEnv*, jobject, jint*, jint*, jint*); in jniGetNioBufferFields()
DJniInvocation.c54 jint (*JNI_GetDefaultJavaVMInitArgs)(void*);
55 jint (*JNI_CreateJavaVM)(JavaVM**, JNIEnv**, void*);
56 jint (*JNI_GetCreatedJavaVMs)(JavaVM**, jsize, jsize*);
100 jint JNI_GetDefaultJavaVMInitArgs(void* vmargs) { in JNI_GetDefaultJavaVMInitArgs()
105 jint JNI_CreateJavaVM(JavaVM** p_vm, JNIEnv** p_env, void* vm_args) { in JNI_CreateJavaVM()
110 jint JNI_GetCreatedJavaVMs(JavaVM** vms, jsize size, jsize* vm_count) { in JNI_GetCreatedJavaVMs()
214 instance->JNI_GetDefaultJavaVMInitArgs = (jint (*)(void *)) JNI_GetDefaultJavaVMInitArgs_; in JniInvocationInit()
215 instance->JNI_CreateJavaVM = (jint (*)(JavaVM**, JNIEnv**, void*)) JNI_CreateJavaVM_; in JniInvocationInit()
216 instance->JNI_GetCreatedJavaVMs = (jint (*)(JavaVM**, jsize, jsize*)) JNI_GetCreatedJavaVMs_; in JniInvocationInit()
DJNIPlatformHelp.c60 jint* position, jint* limit, jint* elementSizeShift) { in jniGetNioBufferFields()
/libnativehelper/tests/
Dlibnativehelper_test.cpp45 jint ret = [&](JNIEnv* env) -> jint { in TEST_F()
70 jint ret = [&](JNIEnv* env) -> jint { in TEST_F()
98 jint ret = [&](JNIEnv* env) -> jint { in TEST_F()
122 jint ret = [&](JNIEnv* env) -> jint { in TEST_F()
138 jint ret = [&](JNIEnv* env) -> jint { in TEST_F()
169 jint ret = [&](JNIEnv* env) -> jint { in TEST_F()
DJniSafeRegisterNativeMethods_test.cpp250 static void v_ei(JNIEnv*, jint l) {} in v_ei()
254 static void bad_noref_jint_norm(JNIEnv*, jclass, jint&) {} in bad_noref_jint_norm()
255 static void bad_noref_jint_crit(jint&) {} in bad_noref_jint_crit()
261 static jint int_fn() { return 0; } in int_fn()
266 static void v_vol_i(volatile jint) {} in v_vol_i()
267 static void v_const_i(const jint) {} in v_const_i()
268 static void v_i(jint) {} in v_i()
270 static void v_lib(jlong, jint, jboolean) {} in v_lib()
271 static jshort s_lib(jlong, jint, jboolean) { return 0; } in s_lib()
277 static void v_eolib(JNIEnv*, jobject, jlong, jint, jboolean) {} in v_eolib()
[all …]
/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.cpp43 jint value) { in throwExceptionWithIntFormat()
61 static void throwIOException(JNIEnv* env, jclass /*clazz*/, jint cause) { in throwIOException()
65 static void throwErrnoException(JNIEnv* env, jclass /*clazz*/, jstring functionName, jint cause) { in throwErrnoException()
74 static jobject fileDescriptorCreate(JNIEnv* env, jclass /*clazz*/, jint unix_fd) { in fileDescriptorCreate()
78 static jint fileDescriptorGetFD(JNIEnv* env, jclass /*clazz*/, jobject jiofd) { in fileDescriptorGetFD()
82 static void fileDescriptorSetFD(JNIEnv* env, jclass /*clazz*/, jobject jiofd, jint unix_fd) { in fileDescriptorSetFD()
93 JNIEXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved) { in JNI_OnLoad()
/libnativehelper/header_only_include/nativehelper/
Dscoped_primitive_array.h91 INSTANTIATE_SCOPED_PRIMITIVE_ARRAY_RO(jint, Int);
141 INSTANTIATE_SCOPED_PRIMITIVE_ARRAY_RW(jint, Int);
Dutils.h52 operator jint() const { return 0; } in jint() function
/libnativehelper/include_platform_header_only/nativehelper/detail/
Dsignature_checker.h779 TYPE_TRAIT_FN(jint, "I", kCriticalNative, kFinal, kSecondOrLate…