Lines Matching defs:dict
231 osdict_encode(OSDictionary *dict)
248 keyIterator = OSCollectionIterator::withCollection(dict);
256 OSObject * value = dict->getObject(key);
359 OSObject * value = dict->getObject(key);
428 DPRINTF(("osdict: dict\n"));
443 DPRINTF(("osdict: dict ele %d @%p\n", dents, dele));
454 DPRINTF(("osdict: dict new dstrtab %p\n", dstrtab));
467 DPRINTF(("osdict: dict ele size %d ents %d\n", ele->value_size, dents));
545 OSDictionary * dict;
556 dict = (OSDictionary *) prelinkedModules->getObject(togo[next]);
558 data = OSDynamicCast(OSData, dict->getObject("OSBundlePrelink"));
596 dict = (OSDictionary *) prelinkedModules->getObject(togo[next]);
598 data = OSDynamicCast(OSData, dict->getObject("OSBundlePrelink"));
626 dict->removeObject("OSBundlePrelink");
646 OSDictionary * dict;
654 (dict = (OSDictionary *) prelinkedModules->getObject(idx));
657 if ((ident = dict->getObject(kModuleKey))
661 if (dict)
663 if (kernelLinkerPresent && dict->getObject("OSBundleDefer"))
765 OSDictionary * dict;
775 (dict = (OSDictionary *) prelinkedModules->getObject(idx));
778 data = OSDynamicCast(OSData, dict->getObject("OSBundlePrelink"));
818 static void UniqueProperties( OSDictionary * dict )
822 data = OSDynamicCast( OSString, dict->getObject( gIOClassKey ));
826 dict->setObject( gIOClassKey, (OSSymbol *) classSymbol);
830 data = OSDynamicCast( OSString, dict->getObject( gIOMatchCategoryKey ));
834 dict->setObject( gIOMatchCategoryKey, (OSSymbol *) classSymbol);
874 OSDictionary * dict;
892 while( (dict = (OSDictionary *) kernelTables->getNextObject())) {
893 UniqueProperties(dict);
894 if( 0 == dict->getObject( gIOClassKey ))
1008 OSDictionary * dict;
1018 while ( (dict = (OSDictionary *) kernelTables->getNextObject()) ) {
1021 * "matching" dict to enable general searches.
1023 if ( dict->isEqualTo(matching, matching) )
1024 set->setObject(dict);
1036 static void AddNewImports( OSOrderedSet * set, OSDictionary * dict )
1038 set->setObject(dict);
1046 OSDictionary * dict;
1069 while ( (dict = (OSDictionary *) iter->getNextObject()) )
1071 if ((moduleName = OSDynamicCast(OSString, dict->getObject("OSBundleModuleDemand"))))
1082 UniqueProperties( dict );
1098 if (dict->isEqualTo(driver))
1105 ret = array->setObject( dict );
1109 AddNewImports( set, dict );
1131 OSDictionary * dict;
1164 while ( (dict = (OSDictionary *)tables->getNextObject()) ) {
1167 * "matching" dict to enable general searches.
1169 if ( dict->isEqualTo(matching, matching) ) {
1170 AddNewImports( set, dict );
1174 array->setObject(dict);
1226 OSDictionary * dict;
1228 dict = OSDictionary::withCapacity(2);
1229 dict->setObject(gIOModuleIdentifierKey, moduleName);
1230 startMatching(dict);
1231 dict->release();
1275 OSDictionary * dict;
1284 dict = 0;
1296 dict = service->getPropertyTable();
1297 if ( !dict )
1302 * "matching" dict to enable general matching.
1304 if ( !dict->isEqualTo(matching, matching) )
1321 OSDictionary * dict;
1339 while ( (dict = (OSDictionary *)tables->getNextObject()) ) {
1344 * "matching" dict to enable general matching.
1346 if ( dict->isEqualTo(matching, matching) )
1349 array->setObject(dict);
1376 OSDictionary * dict;
1378 dict = OSDictionary::withCapacity(1);
1379 if ( !dict )
1382 dict->setObject(gIOModuleIdentifierKey, moduleName);
1384 ret = _terminateDrivers(dict);
1387 ret = _removeDrivers(array, dict);
1398 dict->release();
1422 OSDictionary * dict;
1436 while ( (dict = (OSDictionary *)kernelTables->getNextObject()) ) {
1439 * "matching" dict to enable general matching.
1441 if ( dict->isEqualTo(matching, matching) )
1442 AddNewImports(set, dict);