Lines Matching defs:metaClass
1581 // <ClassName>.metaClass A pointer to the meta class structure.
1740 static Boolean resolveKernelVTable(struct metaClassRecord *metaClass)
1750 if (metaClass->fPatchedVTable)
1753 DEBUG_LOG(("Kernel vtable %s\n", metaClass->fClassName)); // @@@ gvdl:
1756 return_if(!metaClass->fVTableSym,
1759 file = metaClass->fFile;
1761 // If the metaClass we are being to ask is in the kernel then we
1776 sectionBase = getSectionForSymbol(file, metaClass->fVTableSym, &endSection);
1780 vtableEntries = (void **) (sectionBase + metaClass->fVTableSym->n_value);
1822 metaClass->fPatchedVTable = patchedVTable;
2014 static Boolean patchVTable(struct metaClassRecord *metaClass)
2024 if (metaClass->fPatchedVTable)
2028 return_if(!metaClass->fVTableSym,
2031 file = metaClass->fFile;
2035 // If the metaClass we are being to ask is already relocated then we
2041 res = resolveKernelVTable(metaClass);
2045 if (!metaClass->fSuperName)
2050 super = getClass(sMergeMetaClasses, metaClass->fSuperName);
2052 metaClass->fClassName, metaClass->fSuperName));
2062 DEBUG_LOG(("Patching %s\n", metaClass->fClassName)); // @@@ gvdl:
2067 metaClass->fVTableSym, (void ***) &endSection);
2072 (sectionBase + metaClass->fVTableSym->n_value);
2122 metaClass->fClassName, super->fClassName);
2150 metaClass->fPatchedVTable = patchedVTable;