Home
last modified time | relevance | path

Searched refs:JNI_FUNC_PTR (Results 1 – 19 of 19) sorted by relevance

/external/oj-libjdwp/src/share/back/
DDDMImpl.c39 jclass ddm_class = JNI_FUNC_PTR(env,FindClass)(env, "org/apache/harmony/dalvik/ddmc/DdmServer"); in SendDdmBroadcast()
40 if (JNI_FUNC_PTR(env,ExceptionCheck)(env)) { in SendDdmBroadcast()
41 JNI_FUNC_PTR(env,ExceptionClear)(env); in SendDdmBroadcast()
44 jmethodID broadcast = JNI_FUNC_PTR(env,GetStaticMethodID)(env, ddm_class, "broadcast", "(I)V"); in SendDdmBroadcast()
47 JNI_FUNC_PTR(env,ExceptionDescribe)(env); in SendDdmBroadcast()
48 JNI_FUNC_PTR(env,ExceptionClear)(env); in SendDdmBroadcast()
53 JNI_FUNC_PTR(env,CallStaticVoidMethod)(env, ddm_class, broadcast, event); in SendDdmBroadcast()
54 if (JNI_FUNC_PTR(env,ExceptionCheck)(env)) { in SendDdmBroadcast()
56 JNI_FUNC_PTR(env,ExceptionDescribe)(env); in SendDdmBroadcast()
57 JNI_FUNC_PTR(env,ExceptionClear)(env); in SendDdmBroadcast()
[all …]
DArrayReferenceImpl.c42 arrayLength = JNI_FUNC_PTR(env,GetArrayLength)(env, array); in length()
78 JNI_FUNC_PTR(env,GetBooleanArrayRegion)(env, array, index, length, components); in writeBooleanComponents()
95 JNI_FUNC_PTR(env,GetByteArrayRegion)(env, array, index, length, components); in writeByteComponents()
112 JNI_FUNC_PTR(env,GetCharArrayRegion)(env, array, index, length, components); in writeCharComponents()
129 JNI_FUNC_PTR(env,GetShortArrayRegion)(env, array, index, length, components); in writeShortComponents()
146 JNI_FUNC_PTR(env,GetIntArrayRegion)(env, array, index, length, components); in writeIntComponents()
163 JNI_FUNC_PTR(env,GetLongArrayRegion)(env, array, index, length, components); in writeLongComponents()
180 JNI_FUNC_PTR(env,GetFloatArrayRegion)(env, array, index, length, components); in writeFloatComponents()
197 JNI_FUNC_PTR(env,GetDoubleArrayRegion)(env, array, index, length, components); in writeDoubleComponents()
216 component = JNI_FUNC_PTR(env,GetObjectArrayElement)(env, array, index + i); in writeObjectComponents()
[all …]
Dinvoker.c381 object = JNI_FUNC_PTR(env,NewObjectA)(env, request->clazz, in invokeConstructor()
398 object = JNI_FUNC_PTR(env,CallStaticObjectMethodA)(env, in invokeStatic()
411 request->returnValue.b = JNI_FUNC_PTR(env,CallStaticByteMethodA)(env, in invokeStatic()
418 request->returnValue.c = JNI_FUNC_PTR(env,CallStaticCharMethodA)(env, in invokeStatic()
425 request->returnValue.f = JNI_FUNC_PTR(env,CallStaticFloatMethodA)(env, in invokeStatic()
432 request->returnValue.d = JNI_FUNC_PTR(env,CallStaticDoubleMethodA)(env, in invokeStatic()
439 request->returnValue.i = JNI_FUNC_PTR(env,CallStaticIntMethodA)(env, in invokeStatic()
446 request->returnValue.j = JNI_FUNC_PTR(env,CallStaticLongMethodA)(env, in invokeStatic()
453 request->returnValue.s = JNI_FUNC_PTR(env,CallStaticShortMethodA)(env, in invokeStatic()
460 request->returnValue.z = JNI_FUNC_PTR(env,CallStaticBooleanMethodA)(env, in invokeStatic()
[all …]
DArrayTypeImpl.c124 array = JNI_FUNC_PTR(env,NewObjectArray)(env, size, componentClass, 0); in writeNewObjectArray()
125 if (JNI_FUNC_PTR(env,ExceptionOccurred)(env)) { in writeNewObjectArray()
126 JNI_FUNC_PTR(env,ExceptionClear)(env); in writeNewObjectArray()
153 array = JNI_FUNC_PTR(env,NewByteArray)(env, size); in writeNewPrimitiveArray()
157 array = JNI_FUNC_PTR(env,NewCharArray)(env, size); in writeNewPrimitiveArray()
161 array = JNI_FUNC_PTR(env,NewFloatArray)(env, size); in writeNewPrimitiveArray()
165 array = JNI_FUNC_PTR(env,NewDoubleArray)(env, size); in writeNewPrimitiveArray()
169 array = JNI_FUNC_PTR(env,NewIntArray)(env, size); in writeNewPrimitiveArray()
173 array = JNI_FUNC_PTR(env,NewLongArray)(env, size); in writeNewPrimitiveArray()
177 array = JNI_FUNC_PTR(env,NewShortArray)(env, size); in writeNewPrimitiveArray()
[all …]
DClassTypeImpl.c48 superclass = JNI_FUNC_PTR(env,GetSuperclass)(env,clazz); in superclass()
67 JNI_FUNC_PTR(env,SetStaticObjectField)(env, clazz, field, value.l); in readStaticFieldValue()
72 JNI_FUNC_PTR(env,SetStaticByteField)(env, clazz, field, value.b); in readStaticFieldValue()
77 JNI_FUNC_PTR(env,SetStaticCharField)(env, clazz, field, value.c); in readStaticFieldValue()
82 JNI_FUNC_PTR(env,SetStaticFloatField)(env, clazz, field, value.f); in readStaticFieldValue()
87 JNI_FUNC_PTR(env,SetStaticDoubleField)(env, clazz, field, value.d); in readStaticFieldValue()
92 JNI_FUNC_PTR(env,SetStaticIntField)(env, clazz, field, value.i); in readStaticFieldValue()
97 JNI_FUNC_PTR(env,SetStaticLongField)(env, clazz, field, value.j); in readStaticFieldValue()
102 JNI_FUNC_PTR(env,SetStaticShortField)(env, clazz, field, value.s); in readStaticFieldValue()
107 JNI_FUNC_PTR(env,SetStaticBooleanField)(env, clazz, field, value.z); in readStaticFieldValue()
[all …]
Dutil.c75 newobj = JNI_FUNC_PTR(env,NewGlobalRef)(env, obj); in saveGlobalRef()
98 JNI_FUNC_PTR(env,DeleteGlobalRef)(env, obj); in tossGlobalRef()
113 x = JNI_FUNC_PTR(env,FindClass)(env, name); in findClass()
118 if ( JNI_FUNC_PTR(env,ExceptionOccurred)(env) ) { in findClass()
142 method = JNI_FUNC_PTR(env,GetMethodID)(env, clazz, name, signature); in getMethod()
148 if ( JNI_FUNC_PTR(env,ExceptionOccurred)(env) ) { in getMethod()
173 method = JNI_FUNC_PTR(env,GetStaticMethodID)(env, clazz, name, signature); in getStaticMethod()
179 if ( JNI_FUNC_PTR(env,ExceptionOccurred)(env) ) { in getStaticMethod()
280 localVMSupportClass = JNI_FUNC_PTR(env,FindClass) in util_initialize()
284 if (JNI_FUNC_PTR(env,ExceptionOccurred)(env)) { in util_initialize()
[all …]
DObjectReferenceImpl.c50 clazz = JNI_FUNC_PTR(env,GetObjectClass)(env, object); in referenceType()
80 JNI_FUNC_PTR(env,SetObjectField)(env, object, field, value.l); in readFieldValue()
85 JNI_FUNC_PTR(env,SetByteField)(env, object, field, value.b); in readFieldValue()
90 JNI_FUNC_PTR(env,SetCharField)(env, object, field, value.c); in readFieldValue()
95 JNI_FUNC_PTR(env,SetFloatField)(env, object, field, value.f); in readFieldValue()
100 JNI_FUNC_PTR(env,SetDoubleField)(env, object, field, value.d); in readFieldValue()
105 JNI_FUNC_PTR(env,SetIntField)(env, object, field, value.i); in readFieldValue()
110 JNI_FUNC_PTR(env,SetLongField)(env, object, field, value.j); in readFieldValue()
115 JNI_FUNC_PTR(env,SetShortField)(env, object, field, value.s); in readFieldValue()
120 JNI_FUNC_PTR(env,SetBooleanField)(env, object, field, value.z); in readFieldValue()
[all …]
DcommonRef.c100 weakRef = JNI_FUNC_PTR(env,NewWeakGlobalRef)(env, ref); in createNode()
110 JNI_FUNC_PTR(env,DeleteWeakGlobalRef)(env, weakRef); in createNode()
137 JNI_FUNC_PTR(env,DeleteGlobalRef)(env, node->ref); in deleteNode()
139 JNI_FUNC_PTR(env,DeleteWeakGlobalRef)(env, node->ref); in deleteNode()
153 strongRef = JNI_FUNC_PTR(env,NewGlobalRef)(env, node->ref); in strengthenNode()
163 JNI_FUNC_PTR(env,DeleteWeakGlobalRef)(env, node->ref); in strengthenNode()
180 weakRef = JNI_FUNC_PTR(env,NewWeakGlobalRef)(env, node->ref); in weakenNode()
182 JNI_FUNC_PTR(env,DeleteGlobalRef)(env, node->ref); in weakenNode()
454 lref = JNI_FUNC_PTR(env,NewLocalRef)(env, node->ref); in commonRef_idToRef()
460 JNI_FUNC_PTR(env,DeleteLocalRef)(env, lref); in commonRef_idToRef()
DvmDebug.c109 jclass vmdebug_class = JNI_FUNC_PTR(env,FindClass)(env, "dalvik/system/VMDebug"); in vmDebug_initalize()
114 JNI_FUNC_PTR(env,ExceptionClear)(env); in vmDebug_initalize()
133 jint res = JNI_FUNC_PTR(env,RegisterNatives)(env, in vmDebug_initalize()
DStringReferenceImpl.c48 utf = (char *)JNI_FUNC_PTR(env,GetStringUTFChars)(env, string, NULL); in value()
50 JNI_FUNC_PTR(env,ReleaseStringUTFChars)(env, string, utf); in value()
Dvm_interface.h52 #define JNI_FUNC_PTR(e,name) FUNC_PTR(JNI_ENV_PTR (e,name),name) macro
DdebugInit.c589 currentException = JNI_FUNC_PTR(env,ExceptionOccurred)(env); in cbEarlyException()
590 JNI_FUNC_PTR(env,ExceptionClear)(env); in cbEarlyException()
602 clazz = JNI_FUNC_PTR(env,GetObjectClass)(env, exception); in cbEarlyException()
630 JNI_FUNC_PTR(env,Throw)(env, currentException); in cbEarlyException()
632 JNI_FUNC_PTR(env,ExceptionClear)(env); in cbEarlyException()
DeventHandler.c560 currentException = JNI_FUNC_PTR(env,ExceptionOccurred)(env); in event_callback()
561 JNI_FUNC_PTR(env,ExceptionClear)(env); in event_callback()
703 JNI_FUNC_PTR(env,Throw)(env, currentException); in event_callback()
705 JNI_FUNC_PTR(env,ExceptionClear)(env); in event_callback()
723 clazz = JNI_FUNC_PTR(env,GetObjectClass)(env, object); in getObjectClass()
DeventFilter.c413 if (!JNI_FUNC_PTR(env,IsAssignableFrom)(env, clazz, in eventFilterRestricted_passesFilter()
458 if (!JNI_FUNC_PTR(env,IsInstanceOf)(env, exception, in eventFilterRestricted_passesFilter()
638 if (!JNI_FUNC_PTR(env,IsAssignableFrom)(env, clazz, in eventFilter_predictFiltering()
DeventHelper.c368 JNI_FUNC_PTR(env,DeleteLocalRef)(env, klass); in writeMonitorEvent()
774 JNI_FUNC_PTR(env,ExceptionClear)(env); in saveEventInfoRefs()
833 if (JNI_FUNC_PTR(env,ExceptionOccurred)(env)) { in saveEventInfoRefs()
DVirtualMachineImpl.c660 string = JNI_FUNC_PTR(env,NewStringUTF)(env, cstring); in createString()
661 if (JNI_FUNC_PTR(env,ExceptionOccurred)(env)) { in createString()
Dutil.h444 JNI_FUNC_PTR(env,PopLocalFrame)(env, NULL); \
Dtransport.c196 JNI_FUNC_PTR(env,GetJavaVM)(env, &jvm); in loadTransport()
DthreadControl.c2054 JNI_FUNC_PTR(env,Throw)(env, currentException); in threadControl_onEventHandlerEntry()
2056 JNI_FUNC_PTR(env,ExceptionClear)(env); in threadControl_onEventHandlerEntry()