Lines Matching defs:methods
138 * Generate a temporary list of virtual methods.
141 Method **methods;
142 if (!gatherMethods(interfaces, &methods, &throws, &methodCount)) {
150 createHandlerMethod(newClass, &newClass->virtualMethods[i], methods[i]);
152 free(methods);
231 * Generate a list of methods. The Method pointers returned point to the
244 Method** methods = NULL;
252 * methods declared by each interface and all of its superinterfaces.
254 maxCount = 3; // 3 methods in java.lang.Object
275 methods = (Method**) malloc(maxCount * sizeof(*methods));
276 allMethods = (Method**) malloc(maxCount * sizeof(*methods));
277 if (methods == NULL || allMethods == NULL)
281 * First three entries are the java.lang.Object methods.
292 * Add the methods from each interface, in order.
328 actualCount = copyWithoutDuplicates(allMethods, allCount, methods, throws);
332 //ALOGI("gathered methods:");
335 // i, methods[i]->clazz->descriptor, methods[i]->name);
338 *pMethods = methods;
346 free(methods);
356 * If duplicate methods have different return types, we want to use the
358 * methods. That is, if we have:
365 * All other duplicate methods are stripped out.
369 * throwables (or have no common throwables with duplicate methods) will
372 * Returns the number of methods copied into "methods", or -1 on failure.
381 * The plan is to run through all methods, checking all other methods
382 * for a duplicate. If we find a match, we see if the other methods'
862 * This is the common message body for proxy methods.