Lines Matching defs:dict

120 OSArray * IOCatalogue::arrayForPersonality(OSDictionary * dict)
124 sym = OSDynamicCast(OSSymbol, dict->getObject(gIOProviderClassKey));
130 void IOCatalogue::addPersonality(OSDictionary * dict)
135 sym = OSDynamicCast(OSSymbol, dict->getObject(gIOProviderClassKey));
138 if (arr) arr->setObject(dict);
141 arr = OSArray::withObjects((const OSObject **)&dict, 1, 2);
152 OSDictionary * dict;
164 dict = OSDynamicCast(OSDictionary, obj);
165 if (!dict) continue;
166 OSKext::uniquePersonalityProperties(dict);
167 if( 0 == dict->getObject( gIOClassKey ))
173 dict->setObject("KernelConfigTable", kOSBooleanTrue);
174 addPersonality(dict);
240 OSDictionary * dict;
262 if (array) for (idx = 0; (dict = (OSDictionary *) array->getObject(idx)); idx++)
265 * "matching" dict to enable general searches.
267 if ( dict->isEqualTo(matching, matching) )
268 set->setObject(dict);
397 OSDictionary * dict;
421 if (array) for (idx = 0; (dict = (OSDictionary *) array->getObject(idx)); idx++)
424 * "matching" dict to enable general searches.
426 if ( dict->isEqualTo(matching, matching) ) {
427 set->setObject(dict);
505 OSDictionary * dict;
507 dict = OSDictionary::withCapacity(2);
508 dict->setObject(gIOModuleIdentifierKey, moduleName);
509 startMatching(dict);
510 dict->release();
533 OSDictionary * dict;
542 dict = 0;
554 dict = service->getPropertyTable();
555 if ( !dict )
560 * "matching" dict to enable general matching.
562 if ( !dict->isEqualTo(matching, matching) )
580 OSDictionary * dict;
593 if (array) for (idx = 0; (dict = (OSDictionary *) array->getObject(idx)); idx++)
599 * "matching" dict to enable general matching.
601 if (dict->isEqualTo(matching, matching))
631 OSDictionary * dict;
654 dict = OSDictionary::withCapacity(1);
655 if (!dict) {
660 dict->setObject(gIOModuleIdentifierKey, moduleName);
662 ret = _terminateDrivers(dict);
668 ret = _removeDrivers(dict);
678 dict->release();
704 OSDictionary * dict;
730 if (array) for (idx = 0; (dict = (OSDictionary *) array->getObject(idx)); idx++)
733 * "matching" dict to enable general matching.
735 if (dict->isEqualTo(matching, matching)) {
736 set->setObject(dict);