Lines Matching refs:get

808 …tes = IOTimerEventSource::timerEventSource(kIOTimerEventSourceOptionsPriorityWorkLoop, wl.get(), &…  in IOWorkLoopTest()
810 err = wl->addEventSource(tes.get()); in IOWorkLoopTest()
817 wl->removeEventSource(tes.get()); in IOWorkLoopTest()
821 …tes = IOTimerEventSource::timerEventSource(kIOTimerEventSourceOptionsDefault, wl.get(), ^(IOTimerE… in IOWorkLoopTest()
822 kprintf("wl %p, value %d\n", wl.get(), value); in IOWorkLoopTest()
824 err = wl->addEventSource(tes.get()); in IOWorkLoopTest()
830 wl->removeEventSource(tes.get()); in IOWorkLoopTest()
832 …ies = IOInterruptEventSource::interruptEventSource(wl.get(), NULL, 0, ^void (IOInterruptEventSourc… in IOWorkLoopTest()
837 kprintf("ies %p\n", ies.get()); in IOWorkLoopTest()
838 err = wl->addEventSource(ies.get()); in IOWorkLoopTest()
844 wl->removeEventSource(ies.get()); in IOWorkLoopTest()
884 IOService::getPlatform()->setProperty("OSSerializer_withBlock", serializer.get()); in OSCollectionTest()
899 dict->serialize(s.get()); in OSCollectionTest()
902 assert(dict->isEqualTo(o.get())); in OSCollectionTest()
1106 osci = OSCollectionIterator::withCollection(array.get()); in OSCollectionIteratorTests()
1122 osciSubclass = OSCISubclass::withCollection(array.get()); in OSCollectionIteratorTests()
1142 osci = OSCollectionIterator::withCollection(arraySubclass.get()); in OSCollectionIteratorTests()
1159 osciSubclass = OSCISubclass::withCollection(arraySubclass.get()); in OSCollectionIteratorTests()
1421 note = IOService::addMatchingNotification(gIOMatchedNotification, matching.get(), 0, in IOServiceTest()
1464 __assert_only OSDictionary* oldDict = dict.get(); in OSStaticPtrCastTests()
1466 assert(collection.get() == oldDict); in OSStaticPtrCastTests()
1505 __assert_only OSDictionary const* oldDict = dict.get(); in OSConstPtrCastTests()
1532 OSTaggedSharedPtr<OSCollection, OSCollection> taggedDict(dict.get(), OSRetain); in OSDynamicPtrCastTests()
1537 OSTaggedSharedPtr<OSCollection, OSCollection> taggedDict(dict.get(), OSRetain); in OSDynamicPtrCastTests()
1544 assert(collection.get() == OSDynamicCast(OSDictionary, dict.get())); in OSDynamicPtrCastTests()
1548 assert(newDict.get() == dict.get()); in OSDynamicPtrCastTests()
1585 …IONotifier * notify = IOService::addMatchingNotification( gIOWillTerminateNotification, dict.get(), in IOUserNotificationTestThread()
1615 .userNotify = userNotify.get(), in IOUserNotificationTests()
1669 OSSharedPtr<OSDictionary> result = IOService::serviceMatching(name.get(), table); in IOServiceMatchingSharedPtrTests()
1675 OSSharedPtr<OSDictionary> result2 = IOService::serviceMatching(name.get(), table); in IOServiceMatchingSharedPtrTests()
1697 OSSharedPtr<OSDictionary> result = IOService::nameMatching(name.get(), table); in IOServiceMatchingSharedPtrTests()
1703 OSSharedPtr<OSDictionary> result2 = IOService::nameMatching(name.get(), table); in IOServiceMatchingSharedPtrTests()
1725 OSSharedPtr<OSDictionary> result = IOService::resourceMatching(name.get(), table); in IOServiceMatchingSharedPtrTests()
1731 OSSharedPtr<OSDictionary> result2 = IOService::resourceMatching(name.get(), table); in IOServiceMatchingSharedPtrTests()
1739 OSSharedPtr<OSDictionary> result = IOService::propertyMatching(name.get(), value.get(), table); in IOServiceMatchingSharedPtrTests()
1745 OSSharedPtr<OSDictionary> result2 = IOService::propertyMatching(name.get(), value.get(), table); in IOServiceMatchingSharedPtrTests()
1781 kern_return_t kr = service->StateNotificationItemCreate(str.get(), NULL); in IOServiceStateNotificationTests()
1790 …= IOService::getSystemStateNotificationService()->StateNotificationItemSet(str.get(), value.get()); in IOServiceStateNotificationTests()
1799 array->setObject(str.get()); in IOServiceStateNotificationTests()
1801 kr = service->stateNotificationListenerAdd(array.get(), &listenerRef, ^kern_return_t () { in IOServiceStateNotificationTests()
1805 kr = service->StateNotificationItemCopy(str.get(), &dict); in IOServiceStateNotificationTests()
1808 dict->serialize(s.get()); in IOServiceStateNotificationTests()
1817 service, array.get(), in IOServiceStateNotificationTests()
1822 kr = service->StateNotificationItemCopy(str.get(), &dict); in IOServiceStateNotificationTests()
1825 dict->serialize(s.get()); in IOServiceStateNotificationTests()
1830 IOService::getPlatform()->getWorkLoop()->addEventSource(es.get()); in IOServiceStateNotificationTests()
1833 IOService::getPlatform()->getWorkLoop()->removeEventSource(es.get()); in IOServiceStateNotificationTests()
1889 entry->attachToParent(root.get(), gIODTPlane); in Test100367284()
1890 entry->attachToParent(root.get(), gIOServicePlane); in Test100367284()
1893 replace->init(entry.get(), gIODTPlane); in Test100367284()
1894 replace->detachFromParent(root.get(), gIODTPlane); in Test100367284()
1995 OSSharedPtr<IOCommandGate> cg = IOCommandGate::commandGate(wl.get()); in sysctl_iokittest()
1996 ret = wl->addEventSource(cg.get()); in sysctl_iokittest()
2026 iter = IOService::getMatchingServices(matchingDict.get()); in sysctl_iokittest()