Lines Matching refs:cfSource
613 kresult = (*(dpriv->device))->CreateDeviceAsyncEventSource (dpriv->device, &priv->cfSource);
617 /* add the cfSource to the aync run loop */
618 CFRunLoopAddSource(libusb_darwin_acfl, priv->cfSource, kCFRunLoopCommonModes);
660 if (priv->cfSource) {
661 CFRunLoopRemoveSource (libusb_darwin_acfl, priv->cfSource, kCFRunLoopDefaultMode);
662 CFRelease (priv->cfSource);
914 cInterface->cfSource = NULL;
917 kresult = (*(cInterface->interface))->CreateInterfaceAsyncEventSource (cInterface->interface, &cInterface->cfSource);
927 /* add the cfSource to the async thread's run loop */
928 CFRunLoopAddSource(libusb_darwin_acfl, cInterface->cfSource, kCFRunLoopDefaultMode);
950 if (cInterface->cfSource) {
951 CFRunLoopRemoveSource (libusb_darwin_acfl, cInterface->cfSource, kCFRunLoopDefaultMode);
952 CFRelease (cInterface->cfSource);
1420 if (hpriv->cfSource) {
1422 CFRunLoopRemoveSource (libusb_darwin_acfl, hpriv->cfSource, kCFRunLoopDefaultMode);
1423 CFRelease (hpriv->cfSource);
1424 hpriv->cfSource = NULL;