Lines Matching refs:iter
409 IORegistryIterator * iter; \
410 iter = IORegistryIterator::iterateOver( entry, plane, options ); \
412 if(iter) { \
413 while ( (0 == obj) && (entry = iter->getNextObject()) ) { \
416 iter->release(); \
433 IORegistryIterator * iter; \
434 iter = IORegistryIterator::iterateOver( entry, plane, options ); \
436 if(iter) { \
437 while ( (0 == obj) && (entry = iter->getNextObject()) ) { \
440 iter->release(); \
819 OSIterator * iter = 0;
823 iter = OSCollectionIterator::withCollection( collection );
833 && iter && (string = OSDynamicCast( OSString, iter->getNextObject())));
835 if( iter)
836 iter->release();
1076 OSIterator * iter;
1083 if( (iter = OSCollectionIterator::withCollection(
1086 while( (key = (OSSymbol *) iter->getNextObject())) {
1101 iter->release();
1338 OSIterator * iter;
1351 iter = IOLinkIterator::withCollection( links );
1356 return( iter );
1399 OSIterator * iter;
1412 iter = IOLinkIterator::withCollection( links );
1417 return( iter );
1555 OSCollectionIterator *iter =
1557 if( iter) {
1560 while( (key = (OSSymbol *) iter->getNextObject()) ) {
1575 iter->release();
1609 OSCollectionIterator *iter =
1611 if( iter) {
1614 while( (key = (OSSymbol *) iter->getNextObject( ))) {
1625 iter->release();
1852 if( where->iter)
1853 ok = where->iter->isValid();
1870 where->iter = 0;
1886 if( where->iter) {
1887 where->iter->release();
1888 where->iter = 0;
1935 if( (0 == where->iter)) {
1936 // just entered - create new iter
1943 where->iter = OSCollectionIterator::withCollection( links );
1950 if( where->iter) {
1952 next = (IORegistryEntry *) where->iter->getNextObject();
1956 else if( !where->iter->isValid())