/external/oj-libjdwp/src/share/back/ |
D | DDMImpl.c | 39 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 …]
|
D | ArrayReferenceImpl.c | 42 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 …]
|
D | invoker.c | 381 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 …]
|
D | ArrayTypeImpl.c | 124 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 …]
|
D | ClassTypeImpl.c | 48 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 …]
|
D | util.c | 77 newobj = JNI_FUNC_PTR(env,NewGlobalRef)(env, obj); in saveGlobalRef() 100 JNI_FUNC_PTR(env,DeleteGlobalRef)(env, obj); in tossGlobalRef() 115 x = JNI_FUNC_PTR(env,FindClass)(env, name); in findClass() 120 if ( JNI_FUNC_PTR(env,ExceptionOccurred)(env) ) { in findClass() 144 method = JNI_FUNC_PTR(env,GetMethodID)(env, clazz, name, signature); in getMethod() 150 if ( JNI_FUNC_PTR(env,ExceptionOccurred)(env) ) { in getMethod() 175 method = JNI_FUNC_PTR(env,GetStaticMethodID)(env, clazz, name, signature); in getStaticMethod() 181 if ( JNI_FUNC_PTR(env,ExceptionOccurred)(env) ) { in getStaticMethod() 282 localVMSupportClass = JNI_FUNC_PTR(env,FindClass) in util_initialize() 286 if (JNI_FUNC_PTR(env,ExceptionOccurred)(env)) { in util_initialize() [all …]
|
D | ObjectReferenceImpl.c | 50 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 …]
|
D | vmDebug.c | 109 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()
|
D | StringReferenceImpl.c | 48 utf = (char *)JNI_FUNC_PTR(env,GetStringUTFChars)(env, string, NULL); in value() 50 JNI_FUNC_PTR(env,ReleaseStringUTFChars)(env, string, utf); in value()
|
D | commonRef.c | 102 return JNI_FUNC_PTR(env,NewLocalRef)(env, node->ref); in getLocalRef() 220 JNI_FUNC_PTR(env,DeleteGlobalRef)(env, node->ref); in deleteNode() 244 node->ref = JNI_FUNC_PTR(env,NewGlobalRef)(env, localRef); in strengthenNode() 265 JNI_FUNC_PTR(env,DeleteGlobalRef)(env, node->ref); in weakenNode() 492 node = newCommonRef(env, JNI_FUNC_PTR(env,NewLocalRef)(env, ref)); in commonRef_refToID() 536 JNI_FUNC_PTR(env,DeleteLocalRef)(env, lref); in commonRef_idToRef()
|
D | vm_interface.h | 52 #define JNI_FUNC_PTR(e,name) FUNC_PTR(JNI_ENV_PTR (e,name),name) macro
|
D | debugInit.c | 592 currentException = JNI_FUNC_PTR(env,ExceptionOccurred)(env); in cbEarlyException() 593 JNI_FUNC_PTR(env,ExceptionClear)(env); in cbEarlyException() 605 clazz = JNI_FUNC_PTR(env,GetObjectClass)(env, exception); in cbEarlyException() 633 JNI_FUNC_PTR(env,Throw)(env, currentException); in cbEarlyException() 635 JNI_FUNC_PTR(env,ExceptionClear)(env); in cbEarlyException()
|
D | eventHandler.c | 560 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()
|
D | eventFilter.c | 413 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()
|
D | eventHelper.c | 368 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()
|
D | VirtualMachineImpl.c | 666 string = JNI_FUNC_PTR(env,NewStringUTF)(env, cstring); in createString() 667 if (JNI_FUNC_PTR(env,ExceptionOccurred)(env)) { in createString()
|
D | util.h | 462 JNI_FUNC_PTR(env,PopLocalFrame)(env, NULL); \
|
D | transport.c | 196 JNI_FUNC_PTR(env,GetJavaVM)(env, &jvm); in loadTransport()
|
D | threadControl.c | 2054 JNI_FUNC_PTR(env,Throw)(env, currentException); in threadControl_onEventHandlerEntry() 2056 JNI_FUNC_PTR(env,ExceptionClear)(env); in threadControl_onEventHandlerEntry()
|