• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/iokit/bsddev/

Lines Matching defs:str

59     const OSSymbol *	str = 0;
66 str = OSSymbol::withCString( name );
67 if( !str)
69 dict->setObject( kIOBSDNameKey, (OSObject *) str );
70 str->release();
78 if( str)
79 str->release();
93 const OSSymbol * str;
101 str = OSSymbol::withCString( "CD_ROM_Mode_1" );
102 if( str == 0 ) {
107 dict->setObject( "Content Hint", (OSObject *)str );
108 str->release();
117 OSString * str;
150 str = OSString::withCString( buf );
151 if( !str)
153 dict->setObject( kIOPathMatchKey, str );
154 str->release();
170 const OSSymbol * str = 0;
182 str = OSSymbol::withCString( prefix );
183 if ( str == 0 )
186 propDict->setObject( "IOInterfaceNamePrefix", (OSObject *) str );
187 str->release();
188 str = 0;
193 str = OSSymbol::withCString( networkType );
194 if(str)
196 propDict->setObject( "IONetworkRootType", str);
197 str->release();
198 str = 0;
215 if ( str ) str->release();
377 OSString * str;
408 str = OSString::withCString( buf );
409 if( !str)
411 matching->setObject( kIOPathMatchKey, str );
412 str->release();
436 const OSSymbol * str = OSSymbol::withCString( "Apple_HFS" );
437 if( str == 0 ) {
442 dict->setObject( "Content", (OSObject *)str );
443 str->release();
480 char * str;
495 str = (char *) IOMalloc( kMaxPathBuf + kMaxBootVar );
496 if( !str)
498 rdBootVar = str + kMaxPathBuf;
615 matching = IONetworkMatching( look, str, kMaxPathBuf );
617 matching = IODiskMatching( look, str, kMaxPathBuf );
741 service->getPath( str, &len, gIOServicePlane );
742 IOLog( "Got boot device = %s\n", str );
773 IOFree( str, kMaxPathBuf + kMaxBootVar );