Lines Matching defs:matching
41 // how long to wait for matching root device, secs
115 OSDictionary * matching = 0;
143 matching = IOService::serviceMatching( "IONetworkInterface" );
144 if( !matching)
146 dict = IOService::addLocation( matching );
156 return( matching );
160 if( matching)
161 matching->release();
168 OSDictionary * matching;
174 matching = IOService::serviceMatching( "IONetworkInterface" );
175 if ( matching == 0 )
202 if ( matching->setObject( gIOPropertyMatchKey,
209 return( matching );
213 if ( matching ) matching->release();
376 OSDictionary * matching;
382 call matching help based on device type */
384 matching = IODiskMatching( path, buf, maxLen );
385 if( matching)
386 return( matching );
404 matching = OSDictionary::withCapacity( 1 );
405 if( !matching)
411 matching->setObject( kIOPathMatchKey, str );
414 return( matching );
418 if( matching)
419 matching->release();
426 // find a matching child service
468 OSDictionary * matching = 0;
506 data = OSDynamicCast(OSData, regEntry->getProperty( "root-matching" ));
508 matching = OSDynamicCast(OSDictionary, OSUnserializeXML((char *)data->getBytesNoCopy()));
509 if (matching) {
524 matching = IOUUIDMatching();
613 if (!matching) {
615 matching = IONetworkMatching( look, str, kMaxPathBuf );
617 matching = IODiskMatching( look, str, kMaxPathBuf );
622 if( (!matching) && rdBootVar[0] ) {
629 matching = IONetworkNamePrefixMatching( "en" );
631 matching = IOCDMatching();
648 matching = IOUUIDMatching();
654 matching = IOBSDNameMatching( look );
658 if( !matching) {
662 matching = IOService::serviceMatching( "IOMedia" );
665 matching->setObject("Content", astring);
670 if( true && matching) {
673 if( matching->serialize( s )) {
682 matching->retain();
683 service = IOService::waitForService( matching, &t );
703 matching->release();