• Home
  • Raw
  • Download

Lines Matching refs:JNIEnv

89 static bool IsHandleScopeLocalRef(JNIEnv* env, jobject localRef) {  in IsHandleScopeLocalRef()
152 explicit ScopedCheck(JNIEnv* env, int flags, const char* functionName) in ScopedCheck()
447 JNIEnv* env = va_arg(ap, JNIEnv*); in Check()
1080 static void* CreateGuardedPACopy(JNIEnv* env, const jarray java_array, jboolean* isCopy) { in CreateGuardedPACopy()
1097 static void ReleaseGuardedPACopy(JNIEnv* env, jarray java_array, void* dataBuf, int mode) { in ReleaseGuardedPACopy()
1120 static jint GetVersion(JNIEnv* env) { in GetVersion()
1125 …static jclass DefineClass(JNIEnv* env, const char* name, jobject loader, const jbyte* buf, jsize b… in DefineClass()
1131 static jclass FindClass(JNIEnv* env, const char* name) { in FindClass()
1137 static jclass GetSuperclass(JNIEnv* env, jclass c) { in GetSuperclass()
1142 static jboolean IsAssignableFrom(JNIEnv* env, jclass c1, jclass c2) { in IsAssignableFrom()
1147 static jmethodID FromReflectedMethod(JNIEnv* env, jobject method) { in FromReflectedMethod()
1153 static jfieldID FromReflectedField(JNIEnv* env, jobject field) { in FromReflectedField()
1159 static jobject ToReflectedMethod(JNIEnv* env, jclass cls, jmethodID mid, jboolean isStatic) { in ToReflectedMethod()
1164 static jobject ToReflectedField(JNIEnv* env, jclass cls, jfieldID fid, jboolean isStatic) { in ToReflectedField()
1169 static jint Throw(JNIEnv* env, jthrowable obj) { in Throw()
1175 static jint ThrowNew(JNIEnv* env, jclass c, const char* message) { in ThrowNew()
1180 static jthrowable ExceptionOccurred(JNIEnv* env) { in ExceptionOccurred()
1185 static void ExceptionDescribe(JNIEnv* env) { in ExceptionDescribe()
1191 static void ExceptionClear(JNIEnv* env) { in ExceptionClear()
1197 static void FatalError(JNIEnv* env, const char* msg) { in FatalError()
1206 static jint PushLocalFrame(JNIEnv* env, jint capacity) { in PushLocalFrame()
1211 static jobject PopLocalFrame(JNIEnv* env, jobject res) { in PopLocalFrame()
1216 static jobject NewGlobalRef(JNIEnv* env, jobject obj) { in NewGlobalRef()
1221 static jobject NewLocalRef(JNIEnv* env, jobject ref) { in NewLocalRef()
1226 static void DeleteGlobalRef(JNIEnv* env, jobject globalRef) { in DeleteGlobalRef()
1237 static void DeleteWeakGlobalRef(JNIEnv* env, jweak weakGlobalRef) { in DeleteWeakGlobalRef()
1248 static void DeleteLocalRef(JNIEnv* env, jobject localRef) { in DeleteLocalRef()
1259 static jint EnsureLocalCapacity(JNIEnv *env, jint capacity) { in EnsureLocalCapacity()
1264 static jboolean IsSameObject(JNIEnv* env, jobject ref1, jobject ref2) { in IsSameObject()
1269 static jobject AllocObject(JNIEnv* env, jclass c) { in AllocObject()
1274 static jobject NewObject(JNIEnv* env, jclass c, jmethodID mid, ...) { in NewObject()
1283 static jobject NewObjectV(JNIEnv* env, jclass c, jmethodID mid, va_list args) { in NewObjectV()
1288 static jobject NewObjectA(JNIEnv* env, jclass c, jmethodID mid, jvalue* args) { in NewObjectA()
1293 static jclass GetObjectClass(JNIEnv* env, jobject obj) { in GetObjectClass()
1298 static jboolean IsInstanceOf(JNIEnv* env, jobject obj, jclass c) { in IsInstanceOf()
1303 static jmethodID GetMethodID(JNIEnv* env, jclass c, const char* name, const char* sig) { in GetMethodID()
1308 static jfieldID GetFieldID(JNIEnv* env, jclass c, const char* name, const char* sig) { in GetFieldID()
1313 static jmethodID GetStaticMethodID(JNIEnv* env, jclass c, const char* name, const char* sig) { in GetStaticMethodID()
1318 static jfieldID GetStaticFieldID(JNIEnv* env, jclass c, const char* name, const char* sig) { in GetStaticFieldID()
1324 static _ctype GetStatic##_jname##Field(JNIEnv* env, jclass c, jfieldID fid) { \
1329 static _ctype Get##_jname##Field(JNIEnv* env, jobject obj, jfieldID fid) { \
1334 static void SetStatic##_jname##Field(JNIEnv* env, jclass c, jfieldID fid, _ctype value) { \
1344 static void Set##_jname##Field(JNIEnv* env, jobject obj, jfieldID fid, _ctype value) { \
1367 static _ctype Call##_jname##Method(JNIEnv* env, jobject obj, \
1380 static _ctype Call##_jname##MethodV(JNIEnv* env, jobject obj, \
1390 static _ctype Call##_jname##MethodA(JNIEnv* env, jobject obj, \
1401 static _ctype CallNonvirtual##_jname##Method(JNIEnv* env, \
1414 static _ctype CallNonvirtual##_jname##MethodV(JNIEnv* env, \
1424 static _ctype CallNonvirtual##_jname##MethodA(JNIEnv* env, \
1435 static _ctype CallStatic##_jname##Method(JNIEnv* env, jclass c, jmethodID mid, ...) \
1447 static _ctype CallStatic##_jname##MethodV(JNIEnv* env, jclass c, jmethodID mid, va_list args) \
1456 static _ctype CallStatic##_jname##MethodA(JNIEnv* env, jclass c, jmethodID mid, jvalue* args) \
1480 static jstring NewString(JNIEnv* env, const jchar* unicodeChars, jsize len) { in NewString()
1485 static jsize GetStringLength(JNIEnv* env, jstring string) { in GetStringLength()
1490 static const jchar* GetStringChars(JNIEnv* env, jstring java_string, jboolean* isCopy) { in GetStringChars()
1504 static void ReleaseStringChars(JNIEnv* env, jstring string, const jchar* chars) { in ReleaseStringChars()
1515 static jstring NewStringUTF(JNIEnv* env, const char* bytes) { in NewStringUTF()
1520 static jsize GetStringUTFLength(JNIEnv* env, jstring string) { in GetStringUTFLength()
1525 static const char* GetStringUTFChars(JNIEnv* env, jstring string, jboolean* isCopy) { in GetStringUTFChars()
1537 static void ReleaseStringUTFChars(JNIEnv* env, jstring string, const char* utf) { in ReleaseStringUTFChars()
1547 static jsize GetArrayLength(JNIEnv* env, jarray array) { in GetArrayLength()
1552 …static jobjectArray NewObjectArray(JNIEnv* env, jsize length, jclass elementClass, jobject initial… in NewObjectArray()
1557 static jobject GetObjectArrayElement(JNIEnv* env, jobjectArray array, jsize index) { in GetObjectArrayElement()
1562 static void SetObjectArrayElement(JNIEnv* env, jobjectArray array, jsize index, jobject value) { in SetObjectArrayElement()
1569 static _artype New##_jname##Array(JNIEnv* env, jsize length) { \
1594 ResultT Check(JNIEnv* env, jarray array, jboolean* isCopy, ResultT result) { in Check()
1606 static _ctype* Get##_jname##ArrayElements(JNIEnv* env, _ctype##Array array, jboolean* isCopy) { \
1613 …static void Release##_jname##ArrayElements(JNIEnv* env, _ctype##Array array, _ctype* elems, jint m…
1624 …static void Get##_jname##ArrayRegion(JNIEnv* env, _ctype##Array array, jsize start, jsize len, _ct…
1631 …static void Set##_jname##ArrayRegion(JNIEnv* env, _ctype##Array array, jsize start, jsize len, con…
1653 …static jint RegisterNatives(JNIEnv* env, jclass c, const JNINativeMethod* methods, jint nMethods) { in RegisterNatives()
1658 static jint UnregisterNatives(JNIEnv* env, jclass c) { in UnregisterNatives()
1663 static jint MonitorEnter(JNIEnv* env, jobject obj) { in MonitorEnter()
1671 static jint MonitorExit(JNIEnv* env, jobject obj) { in MonitorExit()
1679 static jint GetJavaVM(JNIEnv *env, JavaVM **vm) { in GetJavaVM()
1684 static void GetStringRegion(JNIEnv* env, jstring str, jsize start, jsize len, jchar* buf) { in GetStringRegion()
1690 static void GetStringUTFRegion(JNIEnv* env, jstring str, jsize start, jsize len, char* buf) { in GetStringUTFRegion()
1696 static void* GetPrimitiveArrayCritical(JNIEnv* env, jarray array, jboolean* isCopy) { in GetPrimitiveArrayCritical()
1705 static void ReleasePrimitiveArrayCritical(JNIEnv* env, jarray array, void* carray, jint mode) { in ReleasePrimitiveArrayCritical()
1715 static const jchar* GetStringCritical(JNIEnv* env, jstring java_string, jboolean* isCopy) { in GetStringCritical()
1729 static void ReleaseStringCritical(JNIEnv* env, jstring string, const jchar* carray) { in ReleaseStringCritical()
1740 static jweak NewWeakGlobalRef(JNIEnv* env, jobject obj) { in NewWeakGlobalRef()
1745 static jboolean ExceptionCheck(JNIEnv* env) { in ExceptionCheck()
1750 static jobjectRefType GetObjectRefType(JNIEnv* env, jobject obj) { in GetObjectRefType()
1758 static jobject NewDirectByteBuffer(JNIEnv* env, void* address, jlong capacity) { in NewDirectByteBuffer()
1767 static void* GetDirectBufferAddress(JNIEnv* env, jobject buf) { in GetDirectBufferAddress()
1773 static jlong GetDirectBufferCapacity(JNIEnv* env, jobject buf) { in GetDirectBufferCapacity()
1780 static inline const JNINativeInterface* baseEnv(JNIEnv* env) { in baseEnv()
2033 static jint AttachCurrentThread(JavaVM* vm, JNIEnv** p_env, void* thr_args) { in AttachCurrentThread()
2039 static jint AttachCurrentThreadAsDaemon(JavaVM* vm, JNIEnv** p_env, void* thr_args) { in AttachCurrentThreadAsDaemon()