Lines Matching refs:serviceArray
4538 OSArray * serviceArray = OSDynamicCast(OSArray, serviceArrayObj); in serviceAttach() local
4539 if (!serviceArray) { in serviceAttach()
4540 serviceArray = OSArray::withCapacity(0); in serviceAttach()
4542 serviceArray = OSDynamicCast(OSArray, serviceArray->copyCollection()); in serviceAttach()
4543 assert(serviceArray != NULL); in serviceAttach()
4547 serviceArray->setObject(registryEntryNumber); in serviceAttach()
4548 setProperty(gIOAssociatedServicesKey, serviceArray); in serviceAttach()
4550 OSSafeReleaseNULL(serviceArray); in serviceAttach()
5609 OSArray * serviceArray = OSDynamicCast(OSArray, serviceArrayObj); in serviceStop() local
5610 assert(serviceArray != NULL); in serviceStop()
5612 serviceArray = OSDynamicCast(OSArray, serviceArray->copyCollection()); in serviceStop()
5613 assert(serviceArray != NULL); in serviceStop()
5616 OSNumber * __assert_only registryEntryID = OSDynamicCast(OSNumber, serviceArray->getObject(idx)); in serviceStop()
5621 serviceArray->removeObject(idx); in serviceStop()
5623 setProperty(gIOAssociatedServicesKey, serviceArray); in serviceStop()
5624 OSSafeReleaseNULL(serviceArray); in serviceStop()