Searched refs:hook (Results 1 - 25 of 44) sorted by last modified time

12

/haiku/headers/os/drivers/
H A DKernelExport.h95 timer_hook hook; member in struct:timer
176 extern status_t add_timer(timer *t, timer_hook hook, bigtime_t period,
221 debugger_command_hook hook, const char *help);
223 debugger_command_hook hook);
228 extern status_t register_kernel_daemon(daemon_hook hook, void *arg,
230 extern status_t unregister_kernel_daemon(daemon_hook hook, void *arg);
H A Dfs_cache.h39 transaction_notification_hook hook, void *data);
42 transaction_notification_hook hook, void *data);
46 int32 events, transaction_notification_hook hook,
49 transaction_notification_hook hook, void *data);
/haiku/src/add-ons/kernel/network/stack/
H A Dutility.cpp349 timer->hook(timer, timer->data);
386 init_timer(net_timer* timer, net_timer_func hook, void* data) argument
388 timer->hook = hook;
408 TRACE("set_timer %p, hook %p, data %p\n", timer, timer->hook, timer->data);
435 TRACE("cancel_timer %p, hook %p, data %p\n", timer, timer->hook,
492 kprintf("timer hook data due in\n");
500 kprintf("%p %p %p %" B_PRId64 "\n", timer, timer->hook, time
[all...]
/haiku/src/system/libnetwork/netresolv/resolv/
H A Dres_data.c234 res_send_setqhook(res_send_qhook hook) { argument
235 _nres.qhook = hook;
239 res_send_setrhook(res_send_rhook hook) { argument
240 _nres.rhook = hook;
/haiku/src/kits/tracker/
H A DNavMenu.cpp586 TrackingHookData* hook)
658 if (hook != NULL) {
659 menu->InitTrackingHook(hook->fTrackingHook, &(hook->fTarget),
660 hook->fDragMessage);
873 BNavMenu::InitTrackingHook(bool (*hook)(BMenu*, void*), argument
876 fTrackingHook.fTrackingHook = hook;
881 SetTrackingHookDeep(this, hook, &fTrackingHook);
583 NewModelItem(Model* model, const BMessage* invokeMessage, const BMessenger& target, bool suppressFolderHierarchy, BContainerWindow* parentWindow, const BObjectList<BString>* typeslist, TrackingHookData* hook) argument
/haiku/headers/private/tracker/
H A DNavMenu.h117 TrackingHookData* hook = NULL);
/haiku/src/system/kernel/
H A Dsyscalls.cpp65 syscall_hook hook; member in struct:generic_syscall
161 = syscall->hook(subsystem, function, buffer, bufferSize);
246 register_generic_syscall(const char* subsystem, syscall_hook hook, argument
249 if (hook == NULL)
269 syscall->hook = hook;
H A Dteam.cpp3339 watcher->hook(teamID, watcher->data);
3505 /*! Adds a hook to the team that is called as soon as this team goes away.
3509 start_watching_team(team_id teamID, void (*hook)(team_id, void*), void* data) argument
3511 if (hook == NULL || teamID < B_OK)
3519 watcher->hook = hook;
3539 stop_watching_team(team_id teamID, void (*hook)(team_id, void*), void* data) argument
3541 if (hook == NULL || teamID < 0)
3553 if (watcher->hook == hook
[all...]
H A Dtimer.cpp182 event->flags, event->user_data, event->hook);
184 // look up and print the hook function symbol
190 (addr_t)event->hook, NULL, &symbol, &imageName, &exactMatch);
271 TRACE(("timer_interrupt: calling hook %p for event %p\n", event->hook,
277 if (event->hook)
278 rc = event->hook(event);
320 add_timer(timer* event, timer_hook hook, bigtime_t period, int32 flags) argument
325 if (event == NULL || hook == NULL || period < 0)
343 event->hook
[all...]
/haiku/src/tools/fs_shell/
H A Dblock_cache.cpp95 fssh_transaction_notification_hook hook; member in struct:FSShell::cache_notification
238 copy.hook(copy.transaction_id, event, copy.data);
253 fssh_transaction_notification_hook hook, void* data)
258 notification.hook = hook;
289 if (notification->hook == NULL)
363 if (listener->data == data && listener->hook == hookFunction) {
1043 fssh_transaction_notification_hook hook, void* data)
1059 hook, data) != FSSH_B_OK) {
1157 fssh_transaction_notification_hook hook, voi
251 set_notification(cache_transaction* transaction, cache_notification &notification, int32_t events, fssh_transaction_notification_hook hook, void* data) argument
1042 fssh_cache_end_transaction(void* _cache, int32_t id, fssh_transaction_notification_hook hook, void* data) argument
1156 fssh_cache_detach_sub_transaction(void* _cache, int32_t id, fssh_transaction_notification_hook hook, void* data) argument
[all...]
/haiku/src/tests/system/kernel/scheduler/
H A Dmain.cpp297 add_timer(timer *event, timer_hook hook, bigtime_t period, int32 flags) argument
/haiku/headers/private/kernel/
H A Dthread_types.h95 void (*hook)(team_id team, void *data); member in struct:team_watcher
H A Dteam.h55 status_t start_watching_team(team_id team, void (*hook)(team_id, void *),
57 status_t stop_watching_team(team_id team, void (*hook)(team_id, void *),
/haiku/src/system/kernel/cache/
H A Dblock_cache.cpp128 transaction_notification_hook hook; member in struct:__anon39::cache_notification
845 copy.hook(copy.transaction_id, event, copy.data);
856 /*! Flushes all pending notifications by calling the appropriate hook
878 transaction_notification_hook hook, void* data)
883 notification.hook = hook;
914 if (notification->hook == NULL)
990 if (listener->data == data && listener->hook == hookFunction) {
2275 notification->events_pending, notification->hook,
2377 listener->hook, listene
876 set_notification(cache_transaction* transaction, cache_notification &notification, int32 events, transaction_notification_hook hook, void* data) argument
2879 cache_end_transaction(void* _cache, int32 id, transaction_notification_hook hook, void* data) argument
2998 cache_detach_sub_transaction(void* _cache, int32 id, transaction_notification_hook hook, void* data) argument
3251 cache_add_transaction_listener(void* _cache, int32 id, int32 events, transaction_notification_hook hook, void* data) argument
[all...]
/haiku/src/system/kernel/util/
H A Dkernel_cpp.cpp72 __cxa_atexit(void (*hook)(void*), void* data, void* dsoHandle) argument
/haiku/src/kits/media/
H A DTimedEventQueue.cpp236 BTimedEventQueue::DoForEach(for_each_hook hook, argument
244 return fImp->DoForEach(hook, context, eventTime, direction, inclusive, eventType);
249 BTimedEventQueue::SetCleanupHook(cleanup_hook hook, argument
253 fImp->SetCleanupHook(hook, context);
/haiku/headers/os/media/
H A DTimedEventQueue.h132 status_t DoForEach(for_each_hook hook, void* context,
140 // The cleanup hook is called when events are flushed from the queue and
144 void SetCleanupHook(cleanup_hook hook,
/haiku/src/add-ons/accelerants/common/
H A Dcreate_display_modes.cpp101 void Filter(check_display_mode_hook hook);
366 ModeList::Filter(check_display_mode_hook hook) argument
368 if (hook == NULL)
372 if (!hook(&fModes[i]))
489 check_display_mode_hook hook, display_mode** _modes, uint32* _count)
516 modes.Filter(hook);
486 create_display_modes(const char* name, edid1_info* edid, const display_mode* initialModes, uint32 initialModeCount, const color_space *spaces, uint32 spacesCount, check_display_mode_hook hook, display_mode** _modes, uint32* _count) argument
/haiku/src/kits/game/
H A DWindowScreen.cpp459 graphics_card_hook hook = NULL;
464 hook = (graphics_card_hook)draw_rect_8;
468 hook = (graphics_card_hook)draw_rect_32;
472 hook = (graphics_card_hook)blit;
476 hook = (graphics_card_hook)scaled_filtered_blit;
480 hook = (graphics_card_hook)card_sync;
484 hook = (graphics_card_hook)draw_rect_16;
490 return hook;
996 fprintf(stderr, "InitClone: cannot get clone hook\n");
H A DStreamingGameSound.cpp72 BStreamingGameSound::SetStreamHook(void (*hook)(void* inCookie, void* inBuffer,
75 fStreamHook = hook;
/haiku/headers/os/interface/
H A DMenu.h170 void SetTrackingHook(menu_tracking_hook hook,
/haiku/src/add-ons/translators/raw/
H A DLibRAW.h80 void SetProgressMonitor(monitor_hook hook,
H A DLibRAW.cpp330 LibRAW::SetProgressMonitor(monitor_hook hook, void* data) argument
332 fProgressMonitor = hook;
334 fRaw->set_progress_handler(hook != NULL ? ProgressCallback : NULL, this);
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dkernel.h79 int config_intrhook_establish(struct intr_config_hook *hook);
80 void config_intrhook_disestablish(struct intr_config_hook *hook);
/haiku/headers/private/fs_shell/
H A Dfssh_fs_cache.h38 fssh_transaction_notification_hook hook,
42 int32_t id, fssh_transaction_notification_hook hook,
50 fssh_transaction_notification_hook hook,
53 int32_t id, fssh_transaction_notification_hook hook,

Completed in 146 milliseconds

12