Lines Matching refs:serviceArray
4630 OSArray * serviceArray = OSDynamicCast(OSArray, serviceArrayObj); in serviceAttach() local
4631 if (!serviceArray) { in serviceAttach()
4632 serviceArray = OSArray::withCapacity(0); in serviceAttach()
4634 serviceArray = OSDynamicCast(OSArray, serviceArray->copyCollection()); in serviceAttach()
4635 assert(serviceArray != NULL); in serviceAttach()
4639 serviceArray->setObject(registryEntryNumber); in serviceAttach()
4640 setProperty(gIOAssociatedServicesKey, serviceArray); in serviceAttach()
4642 OSSafeReleaseNULL(serviceArray); in serviceAttach()
5983 OSArray * serviceArray = OSDynamicCast(OSArray, serviceArrayObj); in serviceStop() local
5984 assert(serviceArray != NULL); in serviceStop()
5986 serviceArray = OSDynamicCast(OSArray, serviceArray->copyCollection()); in serviceStop()
5987 assert(serviceArray != NULL); in serviceStop()
5990 OSNumber * __assert_only registryEntryID = OSDynamicCast(OSNumber, serviceArray->getObject(idx)); in serviceStop()
5995 serviceArray->removeObject(idx); in serviceStop()
5997 setProperty(gIOAssociatedServicesKey, serviceArray); in serviceStop()
5998 OSSafeReleaseNULL(serviceArray); in serviceStop()