Lines Matching defs:dict
139 OSDictionary ** dict;
142 dict = &gIOObjectPorts;
144 dict = &gIOConnectPorts;
148 if( 0 == *dict)
149 *dict = OSDictionary::withCapacity( 1 );
151 return( *dict );
158 OSDictionary * dict;
164 dict = dictForType( type );
165 if( !dict)
169 dict->getObject( (const OSSymbol *) obj ))) {
184 dict->setObject( (const OSSymbol *) obj, inst );
202 OSDictionary * dict;
208 if( (dict = dictForType( type ))) {
211 machPort = (IOMachPort *) dict->getObject( (const OSSymbol *) obj );
215 dict->removeObject( (const OSSymbol *) obj );
230 OSDictionary * dict;
235 if( (dict = dictForType( type ))) {
237 machPort = (IOMachPort *) dict->getObject( (const OSSymbol *) obj );
239 dict->removeObject( (const OSSymbol *) obj );
248 OSDictionary * dict;
253 if( (dict = dictForType( type ))) {
254 machPort = (IOMachPort *) dict->getObject( (const OSSymbol *) obj );
269 OSDictionary * dict;
274 if( (dict = IOMachPort::dictForType( IKOT_IOKIT_CONNECT )))
277 port = (IOMachPort *) dict->getObject( (const OSSymbol *) obj );
283 dict->setObject((const OSSymbol *) uc->mappings, port);
289 dict->removeObject( (const OSSymbol *) obj );
1384 OSDictionary * dict;
1388 if( (dict = OSDynamicCast( OSDictionary, obj))) {
1389 *matches = service->passiveMatch( dict );
1433 OSDictionary * dict;
1440 if( (dict = OSDynamicCast( OSDictionary, obj))) {
1441 *existing = IOService::getMatchingServices( dict );
1490 OSDictionary * dict;
1504 if( !(dict = OSDynamicCast( OSDictionary,
1531 notify = IOService::addNotification( sym, dict,
1534 dict = 0;
1545 if( dict)
1546 dict->release();
3596 OSDictionary * dict;
3604 dict = IOService::serviceMatching( gIOServiceKey );
3608 dict = IOBSDNameMatching( (const char *) input );
3612 dict = IOOFPathMatching( (const char *) input,
3617 dict = 0;
3620 if( !dict)
3630 if( !dict->serialize( s )) {
3645 if( dict)
3646 dict->release();
3713 OSDictionary * dict;
3715 dict = OSDynamicCast(OSDictionary, obj);
3716 if ( dict ) {
3717 if ( !gIOCatalogue->removeDrivers( dict,
3729 OSDictionary * dict;
3731 dict = OSDynamicCast(OSDictionary, obj);
3732 if ( dict ) {
3733 if ( !gIOCatalogue->startMatching( dict ) ) {