Lines Matching defs:JNIEnv
153 typedef _JNIEnv JNIEnv;
156 typedef const struct JNINativeInterface* JNIEnv;
169 jint (*GetVersion)(JNIEnv *);
171 jclass (*DefineClass)(JNIEnv*, const char*, jobject, const jbyte*,
173 jclass (*FindClass)(JNIEnv*, const char*);
175 jmethodID (*FromReflectedMethod)(JNIEnv*, jobject);
176 jfieldID (*FromReflectedField)(JNIEnv*, jobject);
178 jobject (*ToReflectedMethod)(JNIEnv*, jclass, jmethodID, jboolean);
180 jclass (*GetSuperclass)(JNIEnv*, jclass);
181 jboolean (*IsAssignableFrom)(JNIEnv*, jclass, jclass);
184 jobject (*ToReflectedField)(JNIEnv*, jclass, jfieldID, jboolean);
186 jint (*Throw)(JNIEnv*, jthrowable);
187 jint (*ThrowNew)(JNIEnv *, jclass, const char *);
188 jthrowable (*ExceptionOccurred)(JNIEnv*);
189 void (*ExceptionDescribe)(JNIEnv*);
190 void (*ExceptionClear)(JNIEnv*);
191 void (*FatalError)(JNIEnv*, const char*);
193 jint (*PushLocalFrame)(JNIEnv*, jint);
194 jobject (*PopLocalFrame)(JNIEnv*, jobject);
196 jobject (*NewGlobalRef)(JNIEnv*, jobject);
197 void (*DeleteGlobalRef)(JNIEnv*, jobject);
198 void (*DeleteLocalRef)(JNIEnv*, jobject);
199 jboolean (*IsSameObject)(JNIEnv*, jobject, jobject);
201 jobject (*NewLocalRef)(JNIEnv*, jobject);
202 jint (*EnsureLocalCapacity)(JNIEnv*, jint);
204 jobject (*AllocObject)(JNIEnv*, jclass);
205 jobject (*NewObject)(JNIEnv*, jclass, jmethodID, ...);
206 jobject (*NewObjectV)(JNIEnv*, jclass, jmethodID, va_list);
207 jobject (*NewObjectA)(JNIEnv*, jclass, jmethodID, jvalue*);
209 jclass (*GetObjectClass)(JNIEnv*, jobject);
210 jboolean (*IsInstanceOf)(JNIEnv*, jobject, jclass);
211 jmethodID (*GetMethodID)(JNIEnv*, jclass, const char*, const char*);
213 jobject (*CallObjectMethod)(JNIEnv*, jobject, jmethodID, ...);
214 jobject (*CallObjectMethodV)(JNIEnv*, jobject, jmethodID, va_list);
215 jobject (*CallObjectMethodA)(JNIEnv*, jobject, jmethodID, jvalue*);
216 jboolean (*CallBooleanMethod)(JNIEnv*, jobject, jmethodID, ...);
217 jboolean (*CallBooleanMethodV)(JNIEnv*, jobject, jmethodID, va_list);
218 jboolean (*CallBooleanMethodA)(JNIEnv*, jobject, jmethodID, jvalue*);
219 jbyte (*CallByteMethod)(JNIEnv*, jobject, jmethodID, ...);
220 jbyte (*CallByteMethodV)(JNIEnv*, jobject, jmethodID, va_list);
221 jbyte (*CallByteMethodA)(JNIEnv*, jobject, jmethodID, jvalue*);
222 jchar (*CallCharMethod)(JNIEnv*, jobject, jmethodID, ...);
223 jchar (*CallCharMethodV)(JNIEnv*, jobject, jmethodID, va_list);
224 jchar (*CallCharMethodA)(JNIEnv*, jobject, jmethodID, jvalue*);
225 jshort (*CallShortMethod)(JNIEnv*, jobject, jmethodID, ...);
226 jshort (*CallShortMethodV)(JNIEnv*, jobject, jmethodID, va_list);
227 jshort (*CallShortMethodA)(JNIEnv*, jobject, jmethodID, jvalue*);
228 jint (*CallIntMethod)(JNIEnv*, jobject, jmethodID, ...);
229 jint (*CallIntMethodV)(JNIEnv*, jobject, jmethodID, va_list);
230 jint (*CallIntMethodA)(JNIEnv*, jobject, jmethodID, jvalue*);
231 jlong (*CallLongMethod)(JNIEnv*, jobject, jmethodID, ...);
232 jlong (*CallLongMethodV)(JNIEnv*, jobject, jmethodID, va_list);
233 jlong (*CallLongMethodA)(JNIEnv*, jobject, jmethodID, jvalue*);
234 jfloat (*CallFloatMethod)(JNIEnv*, jobject, jmethodID, ...);
235 jfloat (*CallFloatMethodV)(JNIEnv*, jobject, jmethodID, va_list);
236 jfloat (*CallFloatMethodA)(JNIEnv*, jobject, jmethodID, jvalue*);
237 jdouble (*CallDoubleMethod)(JNIEnv*, jobject, jmethodID, ...);
238 jdouble (*CallDoubleMethodV)(JNIEnv*, jobject, jmethodID, va_list);
239 jdouble (*CallDoubleMethodA)(JNIEnv*, jobject, jmethodID, jvalue*);
240 void (*CallVoidMethod)(JNIEnv*, jobject, jmethodID, ...);
241 void (*CallVoidMethodV)(JNIEnv*, jobject, jmethodID, va_list);
242 void (*CallVoidMethodA)(JNIEnv*, jobject, jmethodID, jvalue*);
244 jobject (*CallNonvirtualObjectMethod)(JNIEnv*, jobject, jclass,
246 jobject (*CallNonvirtualObjectMethodV)(JNIEnv*, jobject, jclass,
248 jobject (*CallNonvirtualObjectMethodA)(JNIEnv*, jobject, jclass,
250 jboolean (*CallNonvirtualBooleanMethod)(JNIEnv*, jobject, jclass,
252 jboolean (*CallNonvirtualBooleanMethodV)(JNIEnv*, jobject, jclass,
254 jboolean (*CallNonvirtualBooleanMethodA)(JNIEnv*, jobject, jclass,
256 jbyte (*CallNonvirtualByteMethod)(JNIEnv*, jobject, jclass,
258 jbyte (*CallNonvirtualByteMethodV)(JNIEnv*, jobject, jclass,
260 jbyte (*CallNonvirtualByteMethodA)(JNIEnv*, jobject, jclass,
262 jchar (*CallNonvirtualCharMethod)(JNIEnv*, jobject, jclass,
264 jchar (*CallNonvirtualCharMethodV)(JNIEnv*, jobject, jclass,
266 jchar (*CallNonvirtualCharMethodA)(JNIEnv*, jobject, jclass,
268 jshort (*CallNonvirtualShortMethod)(JNIEnv*, jobject, jclass,
270 jshort (*CallNonvirtualShortMethodV)(JNIEnv*, jobject, jclass,
272 jshort (*CallNonvirtualShortMethodA)(JNIEnv*, jobject, jclass,
274 jint (*CallNonvirtualIntMethod)(JNIEnv*, jobject, jclass,
276 jint (*CallNonvirtualIntMethodV)(JNIEnv*, jobject, jclass,
278 jint (*CallNonvirtualIntMethodA)(JNIEnv*, jobject, jclass,
280 jlong (*CallNonvirtualLongMethod)(JNIEnv*, jobject, jclass,
282 jlong (*CallNonvirtualLongMethodV)(JNIEnv*, jobject, jclass,
284 jlong (*CallNonvirtualLongMethodA)(JNIEnv*, jobject, jclass,
286 jfloat (*CallNonvirtualFloatMethod)(JNIEnv*, jobject, jclass,
288 jfloat (*CallNonvirtualFloatMethodV)(JNIEnv*, jobject, jclass,
290 jfloat (*CallNonvirtualFloatMethodA)(JNIEnv*, jobject, jclass,
292 jdouble (*CallNonvirtualDoubleMethod)(JNIEnv*, jobject, jclass,
294 jdouble (*CallNonvirtualDoubleMethodV)(JNIEnv*, jobject, jclass,
296 jdouble (*CallNonvirtualDoubleMethodA)(JNIEnv*, jobject, jclass,
298 void (*CallNonvirtualVoidMethod)(JNIEnv*, jobject, jclass,
300 void (*CallNonvirtualVoidMethodV)(JNIEnv*, jobject, jclass,
302 void (*CallNonvirtualVoidMethodA)(JNIEnv*, jobject, jclass,
305 jfieldID (*GetFieldID)(JNIEnv*, jclass, const char*, const char*);
307 jobject (*GetObjectField)(JNIEnv*, jobject, jfieldID);
308 jboolean (*GetBooleanField)(JNIEnv*, jobject, jfieldID);
309 jbyte (*GetByteField)(JNIEnv*, jobject, jfieldID);
310 jchar (*GetCharField)(JNIEnv*, jobject, jfieldID);
311 jshort (*GetShortField)(JNIEnv*, jobject, jfieldID);
312 jint (*GetIntField)(JNIEnv*, jobject, jfieldID);
313 jlong (*GetLongField)(JNIEnv*, jobject, jfieldID);
314 jfloat (*GetFloatField)(JNIEnv*, jobject, jfieldID);
315 jdouble (*GetDoubleField)(JNIEnv*, jobject, jfieldID);
317 void (*SetObjectField)(JNIEnv*, jobject, jfieldID, jobject);
318 void (*SetBooleanField)(JNIEnv*, jobject, jfieldID, jboolean);
319 void (*SetByteField)(JNIEnv*, jobject, jfieldID, jbyte);
320 void (*SetCharField)(JNIEnv*, jobject, jfieldID, jchar);
321 void (*SetShortField)(JNIEnv*, jobject, jfieldID, jshort);
322 void (*SetIntField)(JNIEnv*, jobject, jfieldID, jint);
323 void (*SetLongField)(JNIEnv*, jobject, jfieldID, jlong);
324 void (*SetFloatField)(JNIEnv*, jobject, jfieldID, jfloat);
325 void (*SetDoubleField)(JNIEnv*, jobject, jfieldID, jdouble);
327 jmethodID (*GetStaticMethodID)(JNIEnv*, jclass, const char*, const char*);
329 jobject (*CallStaticObjectMethod)(JNIEnv*, jclass, jmethodID, ...);
330 jobject (*CallStaticObjectMethodV)(JNIEnv*, jclass, jmethodID, va_list);
331 jobject (*CallStaticObjectMethodA)(JNIEnv*, jclass, jmethodID, jvalue*);
332 jboolean (*CallStaticBooleanMethod)(JNIEnv*, jclass, jmethodID, ...);
333 jboolean (*CallStaticBooleanMethodV)(JNIEnv*, jclass, jmethodID,
335 jboolean (*CallStaticBooleanMethodA)(JNIEnv*, jclass, jmethodID,
337 jbyte (*CallStaticByteMethod)(JNIEnv*, jclass, jmethodID, ...);
338 jbyte (*CallStaticByteMethodV)(JNIEnv*, jclass, jmethodID, va_list);
339 jbyte (*CallStaticByteMethodA)(JNIEnv*, jclass, jmethodID, jvalue*);
340 jchar (*CallStaticCharMethod)(JNIEnv*, jclass, jmethodID, ...);
341 jchar (*CallStaticCharMethodV)(JNIEnv*, jclass, jmethodID, va_list);
342 jchar (*CallStaticCharMethodA)(JNIEnv*, jclass, jmethodID, jvalue*);
343 jshort (*CallStaticShortMethod)(JNIEnv*, jclass, jmethodID, ...);
344 jshort (*CallStaticShortMethodV)(JNIEnv*, jclass, jmethodID, va_list);
345 jshort (*CallStaticShortMethodA)(JNIEnv*, jclass, jmethodID, jvalue*);
346 jint (*CallStaticIntMethod)(JNIEnv*, jclass, jmethodID, ...);
347 jint (*CallStaticIntMethodV)(JNIEnv*, jclass, jmethodID, va_list);
348 jint (*CallStaticIntMethodA)(JNIEnv*, jclass, jmethodID, jvalue*);
349 jlong (*CallStaticLongMethod)(JNIEnv*, jclass, jmethodID, ...);
350 jlong (*CallStaticLongMethodV)(JNIEnv*, jclass, jmethodID, va_list);
351 jlong (*CallStaticLongMethodA)(JNIEnv*, jclass, jmethodID, jvalue*);
352 jfloat (*CallStaticFloatMethod)(JNIEnv*, jclass, jmethodID, ...);
353 jfloat (*CallStaticFloatMethodV)(JNIEnv*, jclass, jmethodID, va_list);
354 jfloat (*CallStaticFloatMethodA)(JNIEnv*, jclass, jmethodID, jvalue*);
355 jdouble (*CallStaticDoubleMethod)(JNIEnv*, jclass, jmethodID, ...);
356 jdouble (*CallStaticDoubleMethodV)(JNIEnv*, jclass, jmethodID, va_list);
357 jdouble (*CallStaticDoubleMethodA)(JNIEnv*, jclass, jmethodID, jvalue*);
358 void (*CallStaticVoidMethod)(JNIEnv*, jclass, jmethodID, ...);
359 void (*CallStaticVoidMethodV)(JNIEnv*, jclass, jmethodID, va_list);
360 void (*CallStaticVoidMethodA)(JNIEnv*, jclass, jmethodID, jvalue*);
362 jfieldID (*GetStaticFieldID)(JNIEnv*, jclass, const char*,
365 jobject (*GetStaticObjectField)(JNIEnv*, jclass, jfieldID);
366 JNIEnv*, jclass, jfieldID);
367 jbyte (*GetStaticByteField)(JNIEnv*, jclass, jfieldID);
368 jchar (*GetStaticCharField)(JNIEnv*, jclass, jfieldID);
369 jshort (*GetStaticShortField)(JNIEnv*, jclass, jfieldID);
370 jint (*GetStaticIntField)(JNIEnv*, jclass, jfieldID);
371 jlong (*GetStaticLongField)(JNIEnv*, jclass, jfieldID);
372 jfloat (*GetStaticFloatField)(JNIEnv*, jclass, jfieldID);
373 jdouble (*GetStaticDoubleField)(JNIEnv*, jclass, jfieldID);
375 void (*SetStaticObjectField)(JNIEnv*, jclass, jfieldID, jobject);
376 void (*SetStaticBooleanField)(JNIEnv*, jclass, jfieldID, jboolean);
377 void (*SetStaticByteField)(JNIEnv*, jclass, jfieldID, jbyte);
378 void (*SetStaticCharField)(JNIEnv*, jclass, jfieldID, jchar);
379 void (*SetStaticShortField)(JNIEnv*, jclass, jfieldID, jshort);
380 void (*SetStaticIntField)(JNIEnv*, jclass, jfieldID, jint);
381 void (*SetStaticLongField)(JNIEnv*, jclass, jfieldID, jlong);
382 void (*SetStaticFloatField)(JNIEnv*, jclass, jfieldID, jfloat);
383 void (*SetStaticDoubleField)(JNIEnv*, jclass, jfieldID, jdouble);
385 jstring (*NewString)(JNIEnv*, const jchar*, jsize);
386 jsize (*GetStringLength)(JNIEnv*, jstring);
387 const jchar* (*GetStringChars)(JNIEnv*, jstring, jboolean*);
388 void (*ReleaseStringChars)(JNIEnv*, jstring, const jchar*);
389 jstring (*NewStringUTF)(JNIEnv*, const char*);
390 jsize (*GetStringUTFLength)(JNIEnv*, jstring);
392 const char* (*GetStringUTFChars)(JNIEnv*, jstring, jboolean*);
393 void (*ReleaseStringUTFChars)(JNIEnv*, jstring, const char*);
394 jsize (*GetArrayLength)(JNIEnv*, jarray);
395 jobjectArray (*NewObjectArray)(JNIEnv*, jsize, jclass, jobject);
396 jobject (*GetObjectArrayElement)(JNIEnv*, jobjectArray, jsize);
397 void (*SetObjectArrayElement)(JNIEnv*, jobjectArray, jsize, jobject);
399 jbooleanArray (*NewBooleanArray)(JNIEnv*, jsize);
400 jbyteArray (*NewByteArray)(JNIEnv*, jsize);
401 jcharArray (*NewCharArray)(JNIEnv*, jsize);
402 jshortArray (*NewShortArray)(JNIEnv*, jsize);
403 jintArray (*NewIntArray)(JNIEnv*, jsize);
404 jlongArray (*NewLongArray)(JNIEnv*, jsize);
405 jfloatArray (*NewFloatArray)(JNIEnv*, jsize);
406 jdoubleArray (*NewDoubleArray)(JNIEnv*, jsize);
408 jboolean* (*GetBooleanArrayElements)(JNIEnv*, jbooleanArray, jboolean*);
409 jbyte* (*GetByteArrayElements)(JNIEnv*, jbyteArray, jboolean*);
410 jchar* (*GetCharArrayElements)(JNIEnv*, jcharArray, jboolean*);
411 jshort* (*GetShortArrayElements)(JNIEnv*, jshortArray, jboolean*);
412 jint* (*GetIntArrayElements)(JNIEnv*, jintArray, jboolean*);
413 jlong* (*GetLongArrayElements)(JNIEnv*, jlongArray, jboolean*);
414 jfloat* (*GetFloatArrayElements)(JNIEnv*, jfloatArray, jboolean*);
415 jdouble* (*GetDoubleArrayElements)(JNIEnv*, jdoubleArray, jboolean*);
417 void (*ReleaseBooleanArrayElements)(JNIEnv*, jbooleanArray,
419 void (*ReleaseByteArrayElements)(JNIEnv*, jbyteArray,
421 void (*ReleaseCharArrayElements)(JNIEnv*, jcharArray,
423 void (*ReleaseShortArrayElements)(JNIEnv*, jshortArray,
425 void (*ReleaseIntArrayElements)(JNIEnv*, jintArray,
427 void (*ReleaseLongArrayElements)(JNIEnv*, jlongArray,
429 void (*ReleaseFloatArrayElements)(JNIEnv*, jfloatArray,
431 void (*ReleaseDoubleArrayElements)(JNIEnv*, jdoubleArray,
434 void (*GetBooleanArrayRegion)(JNIEnv*, jbooleanArray,
436 void (*GetByteArrayRegion)(JNIEnv*, jbyteArray,
438 void (*GetCharArrayRegion)(JNIEnv*, jcharArray,
440 void (*GetShortArrayRegion)(JNIEnv*, jshortArray,
442 void (*GetIntArrayRegion)(JNIEnv*, jintArray,
444 void (*GetLongArrayRegion)(JNIEnv*, jlongArray,
446 void (*GetFloatArrayRegion)(JNIEnv*, jfloatArray,
448 void (*GetDoubleArrayRegion)(JNIEnv*, jdoubleArray,
452 void (*SetBooleanArrayRegion)(JNIEnv*, jbooleanArray,
454 void (*SetByteArrayRegion)(JNIEnv*, jbyteArray,
456 void (*SetCharArrayRegion)(JNIEnv*, jcharArray,
458 void (*SetShortArrayRegion)(JNIEnv*, jshortArray,
460 void (*SetIntArrayRegion)(JNIEnv*, jintArray,
462 void (*SetLongArrayRegion)(JNIEnv*, jlongArray,
464 void (*SetFloatArrayRegion)(JNIEnv*, jfloatArray,
466 void (*SetDoubleArrayRegion)(JNIEnv*, jdoubleArray,
469 jint (*RegisterNatives)(JNIEnv*, jclass, const JNINativeMethod*,
471 jint (*UnregisterNatives)(JNIEnv*, jclass);
472 jint (*MonitorEnter)(JNIEnv*, jobject);
473 jint (*MonitorExit)(JNIEnv*, jobject);
474 jint (*GetJavaVM)(JNIEnv*, JavaVM**);
476 void (*GetStringRegion)(JNIEnv*, jstring, jsize, jsize, jchar*);
477 void (*GetStringUTFRegion)(JNIEnv*, jstring, jsize, jsize, char*);
479 void* (*GetPrimitiveArrayCritical)(JNIEnv*, jarray, jboolean*);
480 void (*ReleasePrimitiveArrayCritical)(JNIEnv*, jarray, void*, jint);
482 const jchar* (*GetStringCritical)(JNIEnv*, jstring, jboolean*);
483 void (*ReleaseStringCritical)(JNIEnv*, jstring, const jchar*);
485 jweak (*NewWeakGlobalRef)(JNIEnv*, jobject);
486 void (*DeleteWeakGlobalRef)(JNIEnv*, jweak);
488 jboolean (*ExceptionCheck)(JNIEnv*);
490 jobject (*NewDirectByteBuffer)(JNIEnv*, void*, jlong);
491 void* (*GetDirectBufferAddress)(JNIEnv*, jobject);
492 jlong (*GetDirectBufferCapacity)(JNIEnv*, jobject);
495 jobjectRefType (*GetObjectRefType)(JNIEnv*, jobject);
1057 jint (*AttachCurrentThread)(JavaVM*, JNIEnv**, void*);
1060 jint (*AttachCurrentThreadAsDaemon)(JavaVM*, JNIEnv**, void*);
1072 jint AttachCurrentThread(JNIEnv** p_env, void* thr_args)
1078 jint AttachCurrentThreadAsDaemon(JNIEnv** p_env, void* thr_args)
1117 jint JNI_CreateJavaVM(JavaVM**, JNIEnv**, void*);