Lines Matching refs:serviceArray
4626 OSArray * serviceArray = OSDynamicCast(OSArray, serviceArrayObj); in serviceAttach() local
4627 if (!serviceArray) { in serviceAttach()
4628 serviceArray = OSArray::withCapacity(0); in serviceAttach()
4630 serviceArray = OSDynamicCast(OSArray, serviceArray->copyCollection()); in serviceAttach()
4631 assert(serviceArray != NULL); in serviceAttach()
4635 serviceArray->setObject(registryEntryNumber); in serviceAttach()
4636 setProperty(gIOAssociatedServicesKey, serviceArray); in serviceAttach()
4638 OSSafeReleaseNULL(serviceArray); in serviceAttach()
5731 OSArray * serviceArray = OSDynamicCast(OSArray, serviceArrayObj); in serviceStop() local
5732 assert(serviceArray != NULL); in serviceStop()
5734 serviceArray = OSDynamicCast(OSArray, serviceArray->copyCollection()); in serviceStop()
5735 assert(serviceArray != NULL); in serviceStop()
5738 OSNumber * __assert_only registryEntryID = OSDynamicCast(OSNumber, serviceArray->getObject(idx)); in serviceStop()
5743 serviceArray->removeObject(idx); in serviceStop()
5745 setProperty(gIOAssociatedServicesKey, serviceArray); in serviceStop()
5746 OSSafeReleaseNULL(serviceArray); in serviceStop()