Lines Matching refs:str
128 const OSSymbol * str = 0;
135 str = OSSymbol::withCString( name );
136 if( !str)
138 dict->setObject( kIOBSDNameKey, (OSObject *) str );
139 str->release();
147 if( str)
148 str->release();
162 const OSSymbol * str = 0;
174 str = OSSymbol::withCString( prefix );
175 if ( str == 0 )
178 propDict->setObject( "IOInterfaceNamePrefix", (OSObject *) str );
179 str->release();
180 str = 0;
185 str = OSSymbol::withCString( networkType );
186 if(str)
188 propDict->setObject( "IONetworkRootType", str);
189 str->release();
190 str = 0;
207 if ( str ) str->release();
268 OSString * str;
292 str = OSString::withCString( buf );
293 if( !str)
295 matching->setObject( kIOPathMatchKey, str );
296 str->release();
327 char * str;
341 str = (char *) IOMalloc( kMaxPathBuf + kMaxBootVar );
342 if( !str)
344 rdBootVar = str + kMaxPathBuf;
538 service->getPath( str, &len, gIOServicePlane );
539 IOLog( "Got boot device = %s\n", str );
570 IOFree( str, kMaxPathBuf + kMaxBootVar );