Lines Matching defs:dict
58 OSDictionary * dict;
63 dict = IOService::serviceMatching( gIOServiceKey );
64 if( !dict)
69 dict->setObject( kIOBSDNameKey, (OSObject *) str );
72 return( dict );
76 if( dict)
77 dict->release();
92 OSDictionary * dict;
95 dict = IOService::serviceMatching( "IOMedia" );
96 if( dict == 0 ) {
103 dict->release();
107 dict->setObject( "Content Hint", (OSObject *)str );
109 return( dict );
116 OSDictionary * dict;
146 dict = IOService::addLocation( matching );
147 if( !dict)
153 dict->setObject( kIOPathMatchKey, str );
232 OSDictionary * dict = 0;
242 dict = OSDictionary::withCapacity(3);
243 if ( dict == 0 ) break;
258 dict->setObject( "IOInterfaceUnit", zero );
259 dict->setObject( kIOPathMatchKey, path );
261 stack->setProperties( dict );
267 if ( dict ) dict->release();
431 OSDictionary * dict = OSDictionary::withCapacity( 1 );
432 if( dict == 0 ) {
438 dict->release();
442 dict->setObject( "Content", (OSObject *)str );
444 if ( child->compareProperty( dict, "Content" ) ) {
445 dict->release();
448 dict->release();