Lines Matching refs:current
6093 OSObject * current = NULL; in copyExistingServices() local
6117 current = service; in copyExistingServices()
6119 current = OSSet::withObjects((const OSObject **) &service, 1, 1 ); in copyExistingServices()
6146 current = ctx.result; in copyExistingServices()
6148 if (current && (ctx.done != ctx.count)) { in copyExistingServices()
6149 OSSet * source = OSDynamicCast(OSSet, current); in copyExistingServices()
6150 current = NULL; in copyExistingServices()
6155 current = service; in copyExistingServices()
6158 if (current) { in copyExistingServices()
6159 ((OSSet *)current)->setObject( service ); in copyExistingServices()
6161 current = OSSet::withObjects( in copyExistingServices()
6201 if (((current != 0) != (_current != 0)) in copyExistingServices()
6202 || (current && _current && !current->isEqualTo(_current))) { in copyExistingServices()
6205 current->serialize(s1); in copyExistingServices()
6207 kprintf("**mismatch** %p %p\n%s\n%s\n%s\n", IOSERVICE_OBFUSCATE(current), in copyExistingServices()
6221 if (current && (0 == (options & (kIONotifyOnce | kIOServiceExistingSet)))) { in copyExistingServices()
6222 iter = OSCollectionIterator::withCollection((OSSet *)current ); in copyExistingServices()
6223 current->release(); in copyExistingServices()
6224 current = iter; in copyExistingServices()
6227 return current; in copyExistingServices()