Home | History | Annotate | Download | only in libjnitest

Lines Matching defs:method

23  * This file also defines a static method called runAllTests(), which
50 * how to call a method: (virtual, direct, static) x (standard, array of
132 * Looks up a static method on StaticFromNative.
140 *errorMsg = failure("could not find static test method %s:%s",
148 * Looks up an instance method on InstanceFromNative.
155 *errorMsg = failure("could not find instance test method %s:%s",
163 * Looks up either an instance method on InstanceFromNative or a
164 * static method on StaticFromNative, depending on the given
191 jmethodID method = findAppropriateMethod(env, &msg, ct,
194 if (method == NULL) {
202 result = CALL(CallBooleanMethod, o, method);
206 result = CALL(CallBooleanMethodA, o, method, NULL);
210 result = CALL(CallBooleanMethodV, o, method, args);
215 method);
220 method, NULL);
225 method, args);
229 result = CALL(CallStaticBooleanMethod, StaticFromNative, method);
233 result = CALL(CallStaticBooleanMethodA, StaticFromNative, method,
238 result = CALL(CallStaticBooleanMethodV, StaticFromNative, method,
294 jmethodID method = findAppropriateMethod(env, &msg, ct,
297 if (method == NULL) {
305 result = CALL(CallByteMethod, o, method);
309 result = CALL(CallByteMethodA, o, method, NULL);
313 result = CALL(CallByteMethodV, o, method, args);
318 method);
323 method, NULL);
328 method, args);
332 result = CALL(CallStaticByteMethod, StaticFromNative, method);
336 result = CALL(CallStaticByteMethodA, StaticFromNative, method,
341 result = CALL(CallStaticByteMethodV, StaticFromNative, method,
397 jmethodID method = findAppropriateMethod(env, &msg, ct,
400 if (method == NULL) {
408 result = CALL(CallShortMethod, o, method);
412 result = CALL(CallShortMethodA, o, method, NULL);
416 result = CALL(CallShortMethodV, o, method, args);
421 method);
426 method, NULL);
431 method, args);
435 result = CALL(CallStaticShortMethod, StaticFromNative, method);
439 result = CALL(CallStaticShortMethodA, StaticFromNative, method,
444 result = CALL(CallStaticShortMethodV, StaticFromNative, method,
500 jmethodID method = findAppropriateMethod(env, &msg, ct,
503 if (method == NULL) {
511 result = CALL(CallCharMethod, o, method);
515 result = CALL(CallCharMethodA, o, method, NULL);
519 result = CALL(CallCharMethodV, o, method, args);
524 method);
529 method, NULL);
534 method, args);
538 result = CALL(CallStaticCharMethod, StaticFromNative, method);
542 result = CALL(CallStaticCharMethodA, StaticFromNative, method,
547 result = CALL(CallStaticCharMethodV, StaticFromNative, method,
603 jmethodID method = findAppropriateMethod(env, &msg, ct,
606 if (method == NULL) {
614 method);
618 result = CALL(CallIntMethodA, o, method, NULL);
622 result = CALL(CallIntMethodV, o, method, args);
627 method);
632 method, NULL);
637 method, args);
641 result = CALL(CallStaticIntMethod, StaticFromNative, method);
645 result = CALL(CallStaticIntMethodA, StaticFromNative, method,
650 result = CALL(CallStaticIntMethodV, StaticFromNative, method,
706 jmethodID method = findAppropriateMethod(env, &msg, ct,
709 if (method == NULL) {
717 result = CALL(CallLongMethod, o, method);
721 result = CALL(CallLongMethodA, o, method, NULL);
725 result = CALL(CallLongMethodV, o, method, args);
730 method);
735 method, NULL);
740 method, args);
744 result = CALL(CallStaticLongMethod, StaticFromNative, method);
748 result = CALL(CallStaticLongMethodA, StaticFromNative, method,
753 result = CALL(CallStaticLongMethodV, StaticFromNative, method,
809 jmethodID method = findAppropriateMethod(env, &msg, ct,
812 if (method == NULL) {
820 result = CALL(CallFloatMethod, o, method);
824 result = CALL(CallFloatMethodA, o, method, NULL);
828 result = CALL(CallFloatMethodV, o, method, args);
833 method);
838 method, NULL);
843 method, args);
847 result = CALL(CallStaticFloatMethod, StaticFromNative, method);
851 result = CALL(CallStaticFloatMethodA, StaticFromNative, method,
856 result = CALL(CallStaticFloatMethodV, StaticFromNative, method,
912 jmethodID method = findAppropriateMethod(env, &msg, ct,
915 if (method == NULL) {
923 result = CALL(CallDoubleMethod, o, method);
927 result = CALL(CallDoubleMethodA, o, method, NULL);
931 result = CALL(CallDoubleMethodV, o, method, args);
936 method);
941 method, NULL);
946 method, args);
950 result = CALL(CallStaticDoubleMethod, StaticFromNative, method);
954 result = CALL(CallStaticDoubleMethodA, StaticFromNative, method,
959 result = CALL(CallStaticDoubleMethodV, StaticFromNative, method,
1015 jmethodID method = findAppropriateMethod(env, &msg, ct,
1018 if (method == NULL) {
1026 CALL(CallVoidMethod, o, method);
1030 CALL(CallVoidMethodA, o, method, NULL);
1034 CALL(CallVoidMethodV, o, method, args);
1039 method);
1044 method, NULL);
1049 method, args);
1053 CALL(CallStaticVoidMethod, StaticFromNative, method);
1057 CALL(CallStaticVoidMethodA, StaticFromNative, method,
1062 CALL(CallStaticVoidMethodV, StaticFromNative, method,
1118 jmethodID method = findAppropriateMethod(env, &msg, ct,
1121 if (method == NULL) {
1129 result = (jstring) CALL(CallObjectMethod, o, method);
1133 result = (jstring) CALL(CallObjectMethodA, o, method, NULL);
1137 result = (jstring) CALL(CallObjectMethodV, o, method, args);
1143 method);
1149 method, NULL);
1155 method, args);
1160 CALL(CallStaticObjectMethod, StaticFromNative, method);
1165 CALL(CallStaticObjectMethodA, StaticFromNative, method, NULL);
1170 CALL(CallStaticObjectMethodV, StaticFromNative, method, args);
1239 jmethodID method = findAppropriateMethod(env, &msg, ct,
1242 if (method == NULL) {
1255 result = CALL(CallBooleanMethod, o, method,
1261 result = CALL(CallBooleanMethodA, o, method, jargs);
1265 result = CALL(CallBooleanMethodV, o, method, args);
1270 method,
1277 method, jargs);
1282 method, args);
1286 result = CALL(CallStaticBooleanMethod, StaticFromNative, method,
1292 result = CALL(CallStaticBooleanMethodA, StaticFromNative, method,
1297 result = CALL(CallStaticBooleanMethodV, StaticFromNative, method,
1359 jmethodID method = findAppropriateMethod(env, &msg, ct,
1363 if (method == NULL) {
1385 result = CALL(CallBooleanMethod, o, method,
1395 result = CALL(CallBooleanMethodA, o, method, jargs);
1399 result = CALL(CallBooleanMethodV, o, method, args);
1404 method,
1415 method, jargs);
1420 method, args);
1424 result = CALL(CallStaticBooleanMethod, StaticFromNative, method,
1434 result = CALL(CallStaticBooleanMethodA, StaticFromNative, method,
1439 result = CALL(CallStaticBooleanMethodV, StaticFromNative, method,