Home | History | Annotate | Download | only in oo

Lines Matching refs:interfaces

43 and interfaces are available, prepare its fields, and return it.  This gets
49 load superclasses and interfaces. Barring circular references (e.g. two
1797 * The elements of newClass->interfaces are not traversed or freed by
1804 newClass->interfaces = (ClassObject**) dvmLinearAlloc(classLoader,
1809 newClass->interfaces[i] = (ClassObject*)(u4) pType->typeIdx;
1811 dvmLinearReadOnly(classLoader, newClass->interfaces);
2077 NULL_AND_LINEAR_FREE(clazz->interfaces);
2496 * If clazz->status is CLASS_IDX, then clazz->super and interfaces[] are
2548 assert(sizeof(*interfaceIdxArray) == sizeof(*clazz->interfaces));
2555 memcpy(interfaceIdxArray, clazz->interfaces, len);
2557 dvmLinearReadWrite(clazz->classLoader, clazz->interfaces);
2558 memset(clazz->interfaces, 0, len);
2559 dvmLinearReadOnly(clazz->classLoader, clazz->interfaces);
2566 * superclass and interfaces are all NULL.
2590 /* Resolve the interfaces implemented directly by this class. */
2592 dvmLinearReadWrite(clazz->classLoader, clazz->interfaces);
2595 clazz->interfaces[i] =
2597 if (clazz->interfaces[i] == NULL) {
2601 dvmLinearReadOnly(clazz->classLoader, clazz->interfaces);
2620 if (!dvmCheckClassAccess(clazz, clazz->interfaces[i])) {
2621 dvmLinearReadOnly(clazz->classLoader, clazz->interfaces);
2623 clazz->interfaces[i]->descriptor, clazz->descriptor);
2628 clazz->interfaces[i]->descriptor);
2630 dvmLinearReadOnly(clazz->classLoader, clazz->interfaces);
2635 * interfaces.
3004 * The set of interfaces we support is the combination of the interfaces
3009 * We might be able to speed this up when there are lots of interfaces
3037 ifCount += clazz->interfaces[i]->iftableCount;
3049 * Create a table with enough space for all interfaces, and copy the
3062 * Create a flattened interface hierarchy of our immediate interfaces.
3067 ClassObject* interf = clazz->interfaces[i];
3092 * interfaces for sufficiently complicated interface hierarchies.
3093 * This has quadratic runtime in the number of interfaces.
3146 * the vtable indices from our superclass for all of the interfaces
3168 LOGVV("INTF: didn't find any new interfaces with methods");
3179 * Fill in the vtable offsets for the interfaces that weren't part of
3276 * signature declared in two interfaces implemented by the
3337 * We found methods in one or more interfaces for which we do not
3425 * Sort the interfaces by number of declared methods. All we really
3426 * want is to get the interfaces with zero methods at the end of the
3428 * we don't examine interfaces that can't possibly be useful.
3432 * We have to be careful not to change the order of two interfaces
3434 * zero-method interfaces to the end.)
3438 * current class interfaces by comparing clazz->super->iftableCount. This
3439 * breaks anything that only wants to find interfaces declared directly
3440 * by the class (dvmFindStaticFieldHier, ReferenceType.Interfaces,
3443 * We can sort just the interfaces implemented directly by this class,
4026 * Validate the descriptors in the superclass and interfaces.
4107 * Check the methods defined by this class against the interfaces it
4412 * with our superclass and interfaces. We know that the UTF-8
4722 ALOGI(" interfaces (%d):", clazz->iftableCount);