Lines Matching defs:source
120 /* run loop source, callout, context, rl scheduling info */
2024 dispatch_source_t source;
2027 source = dispatch_source_create(DISPATCH_SOURCE_TYPE_MACH_RECV, mp, 0, queue);
2028 if (source == NULL) {
2034 // have our dispatch source hold a reference to the notification CFMachPort
2036 dispatch_set_context(source, (void *)connectionPrivate->notify_port);
2037 dispatch_set_finalizer_f(source, (dispatch_function_t)CFRelease);
2058 dispatch_source_set_event_handler(source, ^{
2082 notify_port = dispatch_get_context(source);
2093 dispatch_source_set_cancel_handler(source, ^{
2094 dispatch_release(source);
2097 connectionPrivate->dispatchSource = source;
2098 dispatch_resume(source);