Lines Matching refs:iter
779 inst->iter = _iter;
789 iter->release();
802 while( (next = (IOService *) iter->getNextObject())) {
818 return( iter->isValid() );
827 iter->reset();
1654 OSIterator * iter;
1696 iter = victim->getClientIterator();
1697 if( iter) {
1698 while( (client = (IOService *) iter->getNextObject())) {
1707 iter->release();
1868 OSIterator * iter;
1872 iter = victim->getClientIterator();
1873 if( iter) {
1874 while( (client = (IOService *) iter->getNextObject())) {
1880 iter->release();
1886 OSIterator * iter;
1892 iter = victim->getClientIterator();
1893 if( iter) {
1894 while( (client = (IOService *) iter->getNextObject())) {
1901 iter->release();
2070 OSIterator * iter;
2073 iter = getProviderIterator();
2074 assert( iter );
2076 if( iter) {
2077 while( (provider = (IOService *) iter->getNextObject())) {
2095 iter->release();
2335 OSIterator * iter;
2338 iter = getClientIterator();
2339 if( iter) {
2340 while( (service = (IOService *) iter->getNextObject())) {
2348 iter->release();
2405 OSIterator * iter;
2637 iter = OSCollectionIterator::withCollection( startDict );
2638 if( iter) {
2639 while( (category = (const OSSymbol *) iter->getNextObject())) {
2673 iter->release();
2841 OSIterator * iter;
2850 iter = OSCollectionIterator::withCollection( set );
2851 ok = (0 != iter);
2852 while( ok && (resourcesProp = iter->getNextObject()) )
2854 if( iter)
2855 iter->release();
2894 OSIterator * iter;
2920 iter = OSCollectionIterator::withCollection( (OSOrderedSet *)
2922 if( iter) {
2924 iter->getNextObject())) {
2930 iter->release();
3250 OSIterator * iter;
3276 iter = IORegistryIterator::iterateOver( gIOServicePlane,
3278 if( iter) {
3280 iter->reset();
3281 while( (service = (IOService *) iter->getNextObject())) {
3297 } while( !service && !iter->isValid());
3298 iter->release();
3303 iter = OSCollectionIterator::withCollection( (OSSet *)current );
3305 current = iter;
3314 OSIterator * iter;
3319 iter = (OSIterator *) getExistingServices( matching,
3324 return( iter );
3540 OSIterator * iter;
3550 iter = OSCollectionIterator::withCollection( (OSOrderedSet *)
3553 if( iter) {
3554 while( (notify = (_IOServiceNotifier *) iter->getNextObject())) {
3564 iter->release();
3802 OSIterator * iter;
3812 iter = OSCollectionIterator::withCollection( set );
3813 ok = (iter != 0);
3814 while( ok && (str = OSDynamicCast( OSString, iter->getNextObject()) ))
3817 if( iter)
3818 iter->release();
3829 OSCollectionIterator * iter;
3839 iter = OSCollectionIterator::withCollection( dict);
3840 if( 0 == iter)
3843 while( (key = OSDynamicCast(OSSymbol, iter->getNextObject()))) {
3856 iter->release();
3901 OSCollectionIterator * iter;
3908 iter = OSCollectionIterator::withCollection( keys );
3910 if( iter) {
3911 while( ok && (key = OSDynamicCast( OSString, iter->getNextObject())))
3914 iter->release();
4019 OSIterator * iter;
4027 iter = 0;
4029 iter = OSCollectionIterator::withCollection(
4033 || (iter && (0 != (nextDict = OSDynamicCast(OSDictionary,
4034 iter->getNextObject()))))) {
4041 if( iter)
4042 iter->release();
4062 OSIterator * iter;
4067 iter = where->getClientIterator();
4068 if( iter) {
4069 while( (service = (IOService *) iter->getNextObject())) {
4076 iter->release();