Lines Matching refs:links

1322     OSArray *	links;
1325 if( (links = (OSArray *)
1328 result = arrayMember( links, to );
1330 result = links->setObject( to );
1334 links = OSArray::withObjects( (const OSObject **) &to, 1, 1 );
1335 result = (links != 0);
1338 links );
1339 links->release();
1350 OSArray * links;
1353 if( (links = (OSArray *)
1356 if( arrayMember( links, to, &index )) {
1357 links->removeObject( index );
1358 if( 0 == links->getCount())
1378 OSArray * links;
1385 links = getParentSetReference( plane );
1386 if( 0 == links)
1387 links = OSArray::withCapacity( 1 );
1389 links = OSArray::withArray( links, links->getCount() );
1392 iter = IOLinkIterator::withCollection( links );
1394 if( links)
1395 links->release();
1403 OSArray * links;
1407 if( (links = getParentSetReference( plane ))) {
1408 entry = (IORegistryEntry *) links->getObject( 0 );
1439 OSArray * links;
1446 links = getChildSetReference( plane );
1447 if( 0 == links)
1448 links = OSArray::withCapacity( 1 );
1450 links = OSArray::withArray( links, links->getCount() );
1453 iter = IOLinkIterator::withCollection( links );
1455 if( links)
1456 links->release();
1466 OSArray * links;
1470 if( (links = getChildSetReference( plane ))) {
1471 entry = (IORegistryEntry *) links->getObject( 0 );
1542 OSArray * links;
1547 if( (links = getChildSetReference( plane ))) {
1548 if( (!onlyChild) || (1 == links->getCount()))
1549 ret = arrayMember( links, child );
1551 if( ret && (links = child->getParentSetReference( plane )))
1552 ret = arrayMember( links, this );
1564 OSArray * links;
1569 if( (links = getParentSetReference( plane ))) {
1570 if( (!onlyParent) || (1 == links->getCount()))
1571 ret = arrayMember( links, parent );
1573 if( ret && (links = parent->getChildSetReference( plane )))
1574 ret = arrayMember( links, this );
1628 OSArray * links;
1642 if( (links = parent->getChildSetReference( plane )))
1643 needParent = (false == arrayMember( links, this ));
1691 OSArray * links;
1702 if( (links = child->getParentSetReference( plane )))
1703 needChild = (false == arrayMember( links, this ));
1718 OSArray * links;
1727 if( (links = parent->getChildSetReference( plane )))
1728 needParent = arrayMember( links, this );
1745 OSArray * links;
1754 if( (links = child->getParentSetReference( plane )))
1755 needChild = arrayMember( links, this );
1983 OSArray * links = 0;
1991 && (links = ( (options & kIORegistryIterateParents) ?
1995 where->iter = OSCollectionIterator::withCollection( links );