Lines Matching refs:JNIEnv
140 typedef _JNIEnv JNIEnv; typedef
143 typedef const struct JNINativeInterface* JNIEnv; typedef
156 jint (*GetVersion)(JNIEnv *);
158 jclass (*DefineClass)(JNIEnv*, const char*, jobject, const jbyte*,
160 jclass (*FindClass)(JNIEnv*, const char*);
162 jmethodID (*FromReflectedMethod)(JNIEnv*, jobject);
163 jfieldID (*FromReflectedField)(JNIEnv*, jobject);
165 jobject (*ToReflectedMethod)(JNIEnv*, jclass, jmethodID, jboolean);
167 jclass (*GetSuperclass)(JNIEnv*, jclass);
168 jboolean (*IsAssignableFrom)(JNIEnv*, jclass, jclass);
171 jobject (*ToReflectedField)(JNIEnv*, jclass, jfieldID, jboolean);
173 jint (*Throw)(JNIEnv*, jthrowable);
174 jint (*ThrowNew)(JNIEnv *, jclass, const char *);
175 jthrowable (*ExceptionOccurred)(JNIEnv*);
176 void (*ExceptionDescribe)(JNIEnv*);
177 void (*ExceptionClear)(JNIEnv*);
178 void (*FatalError)(JNIEnv*, const char*);
180 jint (*PushLocalFrame)(JNIEnv*, jint);
181 jobject (*PopLocalFrame)(JNIEnv*, jobject);
183 jobject (*NewGlobalRef)(JNIEnv*, jobject);
184 void (*DeleteGlobalRef)(JNIEnv*, jobject);
185 void (*DeleteLocalRef)(JNIEnv*, jobject);
186 jboolean (*IsSameObject)(JNIEnv*, jobject, jobject);
188 jobject (*NewLocalRef)(JNIEnv*, jobject);
189 jint (*EnsureLocalCapacity)(JNIEnv*, jint);
191 jobject (*AllocObject)(JNIEnv*, jclass);
192 jobject (*NewObject)(JNIEnv*, jclass, jmethodID, ...);
193 jobject (*NewObjectV)(JNIEnv*, jclass, jmethodID, va_list);
194 jobject (*NewObjectA)(JNIEnv*, jclass, jmethodID, const jvalue*);
196 jclass (*GetObjectClass)(JNIEnv*, jobject);
197 jboolean (*IsInstanceOf)(JNIEnv*, jobject, jclass);
198 jmethodID (*GetMethodID)(JNIEnv*, jclass, const char*, const char*);
200 jobject (*CallObjectMethod)(JNIEnv*, jobject, jmethodID, ...);
201 jobject (*CallObjectMethodV)(JNIEnv*, jobject, jmethodID, va_list);
202 jobject (*CallObjectMethodA)(JNIEnv*, jobject, jmethodID, const jvalue*);
203 jboolean (*CallBooleanMethod)(JNIEnv*, jobject, jmethodID, ...);
204 jboolean (*CallBooleanMethodV)(JNIEnv*, jobject, jmethodID, va_list);
205 jboolean (*CallBooleanMethodA)(JNIEnv*, jobject, jmethodID, const jvalue*);
206 jbyte (*CallByteMethod)(JNIEnv*, jobject, jmethodID, ...);
207 jbyte (*CallByteMethodV)(JNIEnv*, jobject, jmethodID, va_list);
208 jbyte (*CallByteMethodA)(JNIEnv*, jobject, jmethodID, const jvalue*);
209 jchar (*CallCharMethod)(JNIEnv*, jobject, jmethodID, ...);
210 jchar (*CallCharMethodV)(JNIEnv*, jobject, jmethodID, va_list);
211 jchar (*CallCharMethodA)(JNIEnv*, jobject, jmethodID, const jvalue*);
212 jshort (*CallShortMethod)(JNIEnv*, jobject, jmethodID, ...);
213 jshort (*CallShortMethodV)(JNIEnv*, jobject, jmethodID, va_list);
214 jshort (*CallShortMethodA)(JNIEnv*, jobject, jmethodID, const jvalue*);
215 jint (*CallIntMethod)(JNIEnv*, jobject, jmethodID, ...);
216 jint (*CallIntMethodV)(JNIEnv*, jobject, jmethodID, va_list);
217 jint (*CallIntMethodA)(JNIEnv*, jobject, jmethodID, const jvalue*);
218 jlong (*CallLongMethod)(JNIEnv*, jobject, jmethodID, ...);
219 jlong (*CallLongMethodV)(JNIEnv*, jobject, jmethodID, va_list);
220 jlong (*CallLongMethodA)(JNIEnv*, jobject, jmethodID, const jvalue*);
221 jfloat (*CallFloatMethod)(JNIEnv*, jobject, jmethodID, ...);
222 jfloat (*CallFloatMethodV)(JNIEnv*, jobject, jmethodID, va_list);
223 jfloat (*CallFloatMethodA)(JNIEnv*, jobject, jmethodID, const jvalue*);
224 jdouble (*CallDoubleMethod)(JNIEnv*, jobject, jmethodID, ...);
225 jdouble (*CallDoubleMethodV)(JNIEnv*, jobject, jmethodID, va_list);
226 jdouble (*CallDoubleMethodA)(JNIEnv*, jobject, jmethodID, const jvalue*);
227 void (*CallVoidMethod)(JNIEnv*, jobject, jmethodID, ...);
228 void (*CallVoidMethodV)(JNIEnv*, jobject, jmethodID, va_list);
229 void (*CallVoidMethodA)(JNIEnv*, jobject, jmethodID, const jvalue*);
231 jobject (*CallNonvirtualObjectMethod)(JNIEnv*, jobject, jclass,
233 jobject (*CallNonvirtualObjectMethodV)(JNIEnv*, jobject, jclass,
235 jobject (*CallNonvirtualObjectMethodA)(JNIEnv*, jobject, jclass,
237 jboolean (*CallNonvirtualBooleanMethod)(JNIEnv*, jobject, jclass,
239 jboolean (*CallNonvirtualBooleanMethodV)(JNIEnv*, jobject, jclass,
241 jboolean (*CallNonvirtualBooleanMethodA)(JNIEnv*, jobject, jclass,
243 jbyte (*CallNonvirtualByteMethod)(JNIEnv*, jobject, jclass,
245 jbyte (*CallNonvirtualByteMethodV)(JNIEnv*, jobject, jclass,
247 jbyte (*CallNonvirtualByteMethodA)(JNIEnv*, jobject, jclass,
249 jchar (*CallNonvirtualCharMethod)(JNIEnv*, jobject, jclass,
251 jchar (*CallNonvirtualCharMethodV)(JNIEnv*, jobject, jclass,
253 jchar (*CallNonvirtualCharMethodA)(JNIEnv*, jobject, jclass,
255 jshort (*CallNonvirtualShortMethod)(JNIEnv*, jobject, jclass,
257 jshort (*CallNonvirtualShortMethodV)(JNIEnv*, jobject, jclass,
259 jshort (*CallNonvirtualShortMethodA)(JNIEnv*, jobject, jclass,
261 jint (*CallNonvirtualIntMethod)(JNIEnv*, jobject, jclass,
263 jint (*CallNonvirtualIntMethodV)(JNIEnv*, jobject, jclass,
265 jint (*CallNonvirtualIntMethodA)(JNIEnv*, jobject, jclass,
267 jlong (*CallNonvirtualLongMethod)(JNIEnv*, jobject, jclass,
269 jlong (*CallNonvirtualLongMethodV)(JNIEnv*, jobject, jclass,
271 jlong (*CallNonvirtualLongMethodA)(JNIEnv*, jobject, jclass,
273 jfloat (*CallNonvirtualFloatMethod)(JNIEnv*, jobject, jclass,
275 jfloat (*CallNonvirtualFloatMethodV)(JNIEnv*, jobject, jclass,
277 jfloat (*CallNonvirtualFloatMethodA)(JNIEnv*, jobject, jclass,
279 jdouble (*CallNonvirtualDoubleMethod)(JNIEnv*, jobject, jclass,
281 jdouble (*CallNonvirtualDoubleMethodV)(JNIEnv*, jobject, jclass,
283 jdouble (*CallNonvirtualDoubleMethodA)(JNIEnv*, jobject, jclass,
285 void (*CallNonvirtualVoidMethod)(JNIEnv*, jobject, jclass,
287 void (*CallNonvirtualVoidMethodV)(JNIEnv*, jobject, jclass,
289 void (*CallNonvirtualVoidMethodA)(JNIEnv*, jobject, jclass,
292 jfieldID (*GetFieldID)(JNIEnv*, jclass, const char*, const char*);
294 jobject (*GetObjectField)(JNIEnv*, jobject, jfieldID);
295 jboolean (*GetBooleanField)(JNIEnv*, jobject, jfieldID);
296 jbyte (*GetByteField)(JNIEnv*, jobject, jfieldID);
297 jchar (*GetCharField)(JNIEnv*, jobject, jfieldID);
298 jshort (*GetShortField)(JNIEnv*, jobject, jfieldID);
299 jint (*GetIntField)(JNIEnv*, jobject, jfieldID);
300 jlong (*GetLongField)(JNIEnv*, jobject, jfieldID);
301 jfloat (*GetFloatField)(JNIEnv*, jobject, jfieldID);
302 jdouble (*GetDoubleField)(JNIEnv*, jobject, jfieldID);
304 void (*SetObjectField)(JNIEnv*, jobject, jfieldID, jobject);
305 void (*SetBooleanField)(JNIEnv*, jobject, jfieldID, jboolean);
306 void (*SetByteField)(JNIEnv*, jobject, jfieldID, jbyte);
307 void (*SetCharField)(JNIEnv*, jobject, jfieldID, jchar);
308 void (*SetShortField)(JNIEnv*, jobject, jfieldID, jshort);
309 void (*SetIntField)(JNIEnv*, jobject, jfieldID, jint);
310 void (*SetLongField)(JNIEnv*, jobject, jfieldID, jlong);
311 void (*SetFloatField)(JNIEnv*, jobject, jfieldID, jfloat);
312 void (*SetDoubleField)(JNIEnv*, jobject, jfieldID, jdouble);
314 jmethodID (*GetStaticMethodID)(JNIEnv*, jclass, const char*, const char*);
316 jobject (*CallStaticObjectMethod)(JNIEnv*, jclass, jmethodID, ...);
317 jobject (*CallStaticObjectMethodV)(JNIEnv*, jclass, jmethodID, va_list);
318 jobject (*CallStaticObjectMethodA)(JNIEnv*, jclass, jmethodID, const jvalue*);
319 jboolean (*CallStaticBooleanMethod)(JNIEnv*, jclass, jmethodID, ...);
320 jboolean (*CallStaticBooleanMethodV)(JNIEnv*, jclass, jmethodID,
322 jboolean (*CallStaticBooleanMethodA)(JNIEnv*, jclass, jmethodID, const jvalue*);
323 jbyte (*CallStaticByteMethod)(JNIEnv*, jclass, jmethodID, ...);
324 jbyte (*CallStaticByteMethodV)(JNIEnv*, jclass, jmethodID, va_list);
325 jbyte (*CallStaticByteMethodA)(JNIEnv*, jclass, jmethodID, const jvalue*);
326 jchar (*CallStaticCharMethod)(JNIEnv*, jclass, jmethodID, ...);
327 jchar (*CallStaticCharMethodV)(JNIEnv*, jclass, jmethodID, va_list);
328 jchar (*CallStaticCharMethodA)(JNIEnv*, jclass, jmethodID, const jvalue*);
329 jshort (*CallStaticShortMethod)(JNIEnv*, jclass, jmethodID, ...);
330 jshort (*CallStaticShortMethodV)(JNIEnv*, jclass, jmethodID, va_list);
331 jshort (*CallStaticShortMethodA)(JNIEnv*, jclass, jmethodID, const jvalue*);
332 jint (*CallStaticIntMethod)(JNIEnv*, jclass, jmethodID, ...);
333 jint (*CallStaticIntMethodV)(JNIEnv*, jclass, jmethodID, va_list);
334 jint (*CallStaticIntMethodA)(JNIEnv*, jclass, jmethodID, const jvalue*);
335 jlong (*CallStaticLongMethod)(JNIEnv*, jclass, jmethodID, ...);
336 jlong (*CallStaticLongMethodV)(JNIEnv*, jclass, jmethodID, va_list);
337 jlong (*CallStaticLongMethodA)(JNIEnv*, jclass, jmethodID, const jvalue*);
338 jfloat (*CallStaticFloatMethod)(JNIEnv*, jclass, jmethodID, ...);
339 jfloat (*CallStaticFloatMethodV)(JNIEnv*, jclass, jmethodID, va_list);
340 jfloat (*CallStaticFloatMethodA)(JNIEnv*, jclass, jmethodID, const jvalue*);
341 jdouble (*CallStaticDoubleMethod)(JNIEnv*, jclass, jmethodID, ...);
342 jdouble (*CallStaticDoubleMethodV)(JNIEnv*, jclass, jmethodID, va_list);
343 jdouble (*CallStaticDoubleMethodA)(JNIEnv*, jclass, jmethodID, const jvalue*);
344 void (*CallStaticVoidMethod)(JNIEnv*, jclass, jmethodID, ...);
345 void (*CallStaticVoidMethodV)(JNIEnv*, jclass, jmethodID, va_list);
346 void (*CallStaticVoidMethodA)(JNIEnv*, jclass, jmethodID, const jvalue*);
348 jfieldID (*GetStaticFieldID)(JNIEnv*, jclass, const char*,
351 jobject (*GetStaticObjectField)(JNIEnv*, jclass, jfieldID);
352 jboolean (*GetStaticBooleanField)(JNIEnv*, jclass, jfieldID);
353 jbyte (*GetStaticByteField)(JNIEnv*, jclass, jfieldID);
354 jchar (*GetStaticCharField)(JNIEnv*, jclass, jfieldID);
355 jshort (*GetStaticShortField)(JNIEnv*, jclass, jfieldID);
356 jint (*GetStaticIntField)(JNIEnv*, jclass, jfieldID);
357 jlong (*GetStaticLongField)(JNIEnv*, jclass, jfieldID);
358 jfloat (*GetStaticFloatField)(JNIEnv*, jclass, jfieldID);
359 jdouble (*GetStaticDoubleField)(JNIEnv*, jclass, jfieldID);
361 void (*SetStaticObjectField)(JNIEnv*, jclass, jfieldID, jobject);
362 void (*SetStaticBooleanField)(JNIEnv*, jclass, jfieldID, jboolean);
363 void (*SetStaticByteField)(JNIEnv*, jclass, jfieldID, jbyte);
364 void (*SetStaticCharField)(JNIEnv*, jclass, jfieldID, jchar);
365 void (*SetStaticShortField)(JNIEnv*, jclass, jfieldID, jshort);
366 void (*SetStaticIntField)(JNIEnv*, jclass, jfieldID, jint);
367 void (*SetStaticLongField)(JNIEnv*, jclass, jfieldID, jlong);
368 void (*SetStaticFloatField)(JNIEnv*, jclass, jfieldID, jfloat);
369 void (*SetStaticDoubleField)(JNIEnv*, jclass, jfieldID, jdouble);
371 jstring (*NewString)(JNIEnv*, const jchar*, jsize);
372 jsize (*GetStringLength)(JNIEnv*, jstring);
373 const jchar* (*GetStringChars)(JNIEnv*, jstring, jboolean*);
374 void (*ReleaseStringChars)(JNIEnv*, jstring, const jchar*);
375 jstring (*NewStringUTF)(JNIEnv*, const char*);
376 jsize (*GetStringUTFLength)(JNIEnv*, jstring);
378 const char* (*GetStringUTFChars)(JNIEnv*, jstring, jboolean*);
379 void (*ReleaseStringUTFChars)(JNIEnv*, jstring, const char*);
380 jsize (*GetArrayLength)(JNIEnv*, jarray);
381 jobjectArray (*NewObjectArray)(JNIEnv*, jsize, jclass, jobject);
382 jobject (*GetObjectArrayElement)(JNIEnv*, jobjectArray, jsize);
383 void (*SetObjectArrayElement)(JNIEnv*, jobjectArray, jsize, jobject);
385 jbooleanArray (*NewBooleanArray)(JNIEnv*, jsize);
386 jbyteArray (*NewByteArray)(JNIEnv*, jsize);
387 jcharArray (*NewCharArray)(JNIEnv*, jsize);
388 jshortArray (*NewShortArray)(JNIEnv*, jsize);
389 jintArray (*NewIntArray)(JNIEnv*, jsize);
390 jlongArray (*NewLongArray)(JNIEnv*, jsize);
391 jfloatArray (*NewFloatArray)(JNIEnv*, jsize);
392 jdoubleArray (*NewDoubleArray)(JNIEnv*, jsize);
394 jboolean* (*GetBooleanArrayElements)(JNIEnv*, jbooleanArray, jboolean*);
395 jbyte* (*GetByteArrayElements)(JNIEnv*, jbyteArray, jboolean*);
396 jchar* (*GetCharArrayElements)(JNIEnv*, jcharArray, jboolean*);
397 jshort* (*GetShortArrayElements)(JNIEnv*, jshortArray, jboolean*);
398 jint* (*GetIntArrayElements)(JNIEnv*, jintArray, jboolean*);
399 jlong* (*GetLongArrayElements)(JNIEnv*, jlongArray, jboolean*);
400 jfloat* (*GetFloatArrayElements)(JNIEnv*, jfloatArray, jboolean*);
401 jdouble* (*GetDoubleArrayElements)(JNIEnv*, jdoubleArray, jboolean*);
403 void (*ReleaseBooleanArrayElements)(JNIEnv*, jbooleanArray,
405 void (*ReleaseByteArrayElements)(JNIEnv*, jbyteArray,
407 void (*ReleaseCharArrayElements)(JNIEnv*, jcharArray,
409 void (*ReleaseShortArrayElements)(JNIEnv*, jshortArray,
411 void (*ReleaseIntArrayElements)(JNIEnv*, jintArray,
413 void (*ReleaseLongArrayElements)(JNIEnv*, jlongArray,
415 void (*ReleaseFloatArrayElements)(JNIEnv*, jfloatArray,
417 void (*ReleaseDoubleArrayElements)(JNIEnv*, jdoubleArray,
420 void (*GetBooleanArrayRegion)(JNIEnv*, jbooleanArray,
422 void (*GetByteArrayRegion)(JNIEnv*, jbyteArray,
424 void (*GetCharArrayRegion)(JNIEnv*, jcharArray,
426 void (*GetShortArrayRegion)(JNIEnv*, jshortArray,
428 void (*GetIntArrayRegion)(JNIEnv*, jintArray,
430 void (*GetLongArrayRegion)(JNIEnv*, jlongArray,
432 void (*GetFloatArrayRegion)(JNIEnv*, jfloatArray,
434 void (*GetDoubleArrayRegion)(JNIEnv*, jdoubleArray,
438 void (*SetBooleanArrayRegion)(JNIEnv*, jbooleanArray,
440 void (*SetByteArrayRegion)(JNIEnv*, jbyteArray,
442 void (*SetCharArrayRegion)(JNIEnv*, jcharArray,
444 void (*SetShortArrayRegion)(JNIEnv*, jshortArray,
446 void (*SetIntArrayRegion)(JNIEnv*, jintArray,
448 void (*SetLongArrayRegion)(JNIEnv*, jlongArray,
450 void (*SetFloatArrayRegion)(JNIEnv*, jfloatArray,
452 void (*SetDoubleArrayRegion)(JNIEnv*, jdoubleArray,
455 jint (*RegisterNatives)(JNIEnv*, jclass, const JNINativeMethod*,
457 jint (*UnregisterNatives)(JNIEnv*, jclass);
458 jint (*MonitorEnter)(JNIEnv*, jobject);
459 jint (*MonitorExit)(JNIEnv*, jobject);
460 jint (*GetJavaVM)(JNIEnv*, JavaVM**);
462 void (*GetStringRegion)(JNIEnv*, jstring, jsize, jsize, jchar*);
463 void (*GetStringUTFRegion)(JNIEnv*, jstring, jsize, jsize, char*);
465 void* (*GetPrimitiveArrayCritical)(JNIEnv*, jarray, jboolean*);
466 void (*ReleasePrimitiveArrayCritical)(JNIEnv*, jarray, void*, jint);
468 const jchar* (*GetStringCritical)(JNIEnv*, jstring, jboolean*);
469 void (*ReleaseStringCritical)(JNIEnv*, jstring, const jchar*);
471 jweak (*NewWeakGlobalRef)(JNIEnv*, jobject);
472 void (*DeleteWeakGlobalRef)(JNIEnv*, jweak);
474 jboolean (*ExceptionCheck)(JNIEnv*);
476 jobject (*NewDirectByteBuffer)(JNIEnv*, void*, jlong);
477 void* (*GetDirectBufferAddress)(JNIEnv*, jobject);
478 jlong (*GetDirectBufferCapacity)(JNIEnv*, jobject);
481 jobjectRefType (*GetObjectRefType)(JNIEnv*, jobject);
1043 jint (*AttachCurrentThread)(JavaVM*, JNIEnv**, void*);
1046 jint (*AttachCurrentThreadAsDaemon)(JavaVM*, JNIEnv**, void*);
1058 jint AttachCurrentThread(JNIEnv** p_env, void* thr_args) in AttachCurrentThread()
1064 jint AttachCurrentThreadAsDaemon(JNIEnv** p_env, void* thr_args) in AttachCurrentThreadAsDaemon()
1102 jint JNI_CreateJavaVM(JavaVM**, JNIEnv**, void*);