• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/libdispatch-442.1.4/src/

Lines Matching defs:handler

267 _dispatch_source_handler_alloc(dispatch_source_t ds, void *handler, long kind,
271 if (handler) {
279 if (slowpath(_dispatch_block_has_private_data(handler))) {
282 flags |= _dispatch_block_get_flags(handler);
284 _dispatch_block_get_priority(handler), flags);
289 dc->dc_func = _dispatch_Block_invoke(handler);
291 dc->dc_ctxt = _dispatch_Block_copy(handler);
294 dc->dc_func = handler;
357 dispatch_block_t handler)
360 dc = _dispatch_source_handler_alloc(ds, handler, DS_EVENT_HANDLER, true);
368 dispatch_function_t handler)
371 dc = _dispatch_source_handler_alloc(ds, handler, DS_EVENT_HANDLER, false);
378 void *ctxt, dispatch_function_t handler)
381 dc = _dispatch_source_handler_alloc(ds, handler, DS_EVENT_HANDLER, false);
392 dispatch_block_t handler)
395 dc = _dispatch_source_handler_alloc(ds, handler, DS_CANCEL_HANDLER, true);
403 dispatch_function_t handler)
406 dc = _dispatch_source_handler_alloc(ds, handler, DS_CANCEL_HANDLER, false);
414 dispatch_block_t handler)
417 dc = _dispatch_source_handler_alloc(ds, handler, DS_REGISTN_HANDLER, true);
425 dispatch_function_t handler)
428 dc = _dispatch_source_handler_alloc(ds, handler, DS_REGISTN_HANDLER, false);
603 // The source has been registered and the registration handler needs
615 // manager queue. After uninstallation, the cancellation handler needs
632 // The source has pending data to deliver via the event handler callback
672 // The registration handler needs to be delivered to the target queue.
676 // cancellation handler needs to be delivered to the target queue.
3057 dispatch_mach_handler_function_t handler, bool handler_is_block)
3074 dr->dm_handler_func = handler;
3093 dispatch_mach_handler_t handler)
3095 dispatch_block_t bb = _dispatch_Block_copy((void*)handler);
3102 dispatch_mach_handler_function_t handler)
3104 return _dispatch_mach_create(label, q, context, handler, false);
4009 // manager queue. After uninstallation, the cancellation handler needs
4065 // the cancellation handler needs to be delivered to the target