Lines Matching defs:array
90 OSArray * array;
96 array = OSDynamicCast(OSArray, OSUnserialize(gIOKernelConfigTables, &errorString));
97 if (!array && errorString) {
107 assert( array && gIOClassKey && gIOProbeScoreKey
112 rc = gIOCatalogue->init(array);
114 array->release();
201 OSArray * array;
215 array = (OSArray *) personalities->getObject(meta->getClassNameSymbol());
216 if (array) for (idx = 0; (nextTable = (OSDictionary *) array->getObject(idx)); idx++)
242 OSArray * array;
261 array = (OSArray *) personalities->getObject(key);
262 if (array) for (idx = 0; (dict = (OSDictionary *) array->getObject(idx)); idx++)
339 OSArray * array = arrayForPersonality(personality);
340 if (!array) addPersonality(personality);
343 count = array->getCount();
348 driver = (OSDictionary *)array->getObject(count);
364 result = array->setObject(personality);
398 OSArray * array;
420 array = (OSArray *) personalities->getObject(key);
421 if (array) for (idx = 0; (dict = (OSDictionary *) array->getObject(idx)); idx++)
428 array->removeObject(idx);
581 OSArray * array;
592 array = (OSArray *) personalities->getObject(key);
593 if (array) for (idx = 0; (dict = (OSDictionary *) array->getObject(idx)); idx++)
596 /* Remove from the catalogue's array any personalities
603 array->removeObject(idx);
706 OSArray * array;
729 array = (OSArray *) personalities->getObject(key);
730 if (array) for (idx = 0; (dict = (OSDictionary *) array->getObject(idx)); idx++)
769 OSArray * array;
801 array = (OSArray *) personalities->getObject(key);
802 if (!array) continue;
803 for (idx = 0; (thisOldPersonality = (OSDictionary *) array->getObject(idx)); idx++)
831 array->removeObject(idx);