Lines Matching refs:allMethods
34 static int copyWithoutDuplicates(Method** allMethods, int allCount,
245 Method** allMethods = NULL;
276 allMethods = (Method**) malloc(maxCount * sizeof(*methods));
277 if (methods == NULL || allMethods == NULL)
285 allMethods[0] = obj->vtable[gDvm.voffJavaLangObject_equals];
286 allMethods[1] = obj->vtable[gDvm.voffJavaLangObject_hashCode];
287 allMethods[2] = obj->vtable[gDvm.voffJavaLangObject_toString];
300 allMethods[allCount++] = &clazz->virtualMethods[j];
308 allMethods[allCount++] = &iclass->virtualMethods[k];
328 actualCount = copyWithoutDuplicates(allMethods, allCount, methods, throws);
344 free(allMethods);
374 static int copyWithoutDuplicates(Method** allMethods, int allCount,
396 if (allMethods[i] == NULL)
411 if (allMethods[j] == NULL)
414 if (dvmCompareMethodNamesAndParameterProtos(allMethods[i],
415 allMethods[j]) == 0)
423 allMethods[i]->clazz->descriptor, allMethods[i]->name,
424 allMethods[j]->clazz->descriptor, allMethods[j]->name);
426 if (!returnTypesAreCompatible(allMethods[i], allMethods[j]))
441 allMethods[i]->clazz->descriptor, allMethods[i]->name,
446 if (!createExceptionClassList(allMethods[i], &commonThrows))
456 allMethods[j] == NULL)
458 if (dvmCompareMethodNamesAndParameterProtos(allMethods[i],
459 allMethods[j]) == 0)
462 allMethods[j]->clazz->descriptor,
463 allMethods[j]->name);
470 updateExceptionClassList(allMethods[j],
474 allMethods[j] = NULL;
512 outMethods[outCount++] = allMethods[i];
513 allMethods[i] = NULL;
524 allMethods[i]->clazz->descriptor, allMethods[i]->name,
528 ArrayObject* exceptionArray = dvmGetMethodThrows(allMethods[i]);
537 outMethods[outCount++] = allMethods[i];
538 allMethods[i] = NULL;
546 if (allMethods[i] != NULL) {
548 allMethods[i]->clazz->descriptor, allMethods[i]->name);