Searched refs:hook (Results 1 - 25 of 93) sorted by relevance

1234

/haiku-fatelf/src/libs/ncurses/c++/
H A Dcursesp.cc47 UserHook* hook = new UserHook; local
48 hook->m_user = NULL;
49 hook->m_back = this;
50 hook->m_owner = p;
51 ::set_panel_userptr(p, reinterpret_cast<void *>(hook));
56 UserHook* hook = UserPointer(); local
57 assert(hook != 0 && hook->m_back==this && hook->m_owner==p);
58 delete hook;
[all...]
H A Dcursesm.cc65 /* Internal hook functions. They will route the hook
67 * so in C++ providing a hook is done simply by
139 UserHook* hook = new UserHook; local
140 hook->m_user = NULL;
141 hook->m_back = this;
142 hook->m_owner = menu;
143 ::set_menu_userptr(menu, static_cast<void*>(hook));
180 UserHook* hook = reinterpret_cast<UserHook*>(::menu_userptr(menu)); local
181 delete hook;
[all...]
H A Dcursesf.cc123 UserHook* hook = new UserHook; local
124 hook->m_user = NULL;
125 hook->m_back = this;
126 hook->m_owner = form;
127 ::set_form_userptr(form, reinterpret_cast<void*>(hook));
154 UserHook* hook = reinterpret_cast<UserHook*>(::form_userptr(form)); local
155 delete hook;
193 /* Internal hook functions. They will route the hook
195 * so in C++ providing a hook i
[all...]
/haiku-fatelf/src/system/libroot/posix/unistd/
H A Dfork.c34 /** Adds a hook to the specified list.
35 * If \a _lastHook is NULL, the hook will be added at the head of the list,
44 fork_hook *hook = (fork_hook *)malloc(sizeof(struct fork_hook)); local
45 if (hook == NULL)
48 hook->function = function;
51 // add hook at the end of the list
55 *_hooks = hook;
56 *_lastHook = hook;
61 // search for last hook (need if an item was added to the beginning only --
71 (*_lastHook)->next = hook;
90 call_fork_hooks(fork_hook *hook) argument
[all...]
/haiku-fatelf/headers/private/fs_shell/
H A Dfssh_kernel_export.h44 fssh_debugger_command_hook hook, const char *help);
46 fssh_debugger_command_hook hook);
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,
/haiku-fatelf/headers/private/kernel/
H A Dlisteners.h42 NotifySchedulerListeners(void (SchedulerListener::*hook)(Parameter1),
48 (listener->*hook)(parameter1);
56 void (SchedulerListener::*hook)(Parameter1, Parameter2),
62 (listener->*hook)(parameter1, parameter2);
88 NotifyWaitObjectListeners(void (WaitObjectListener::*hook)(Parameter1),
96 (listener->*hook)(parameter1);
104 void (WaitObjectListener::*hook)(Parameter1, Parameter2),
112 (listener->*hook)(parameter1, parameter2);
H A Dgeneric_syscall.h29 status_t register_generic_syscall(const char *subsystem, syscall_hook hook,
/haiku-fatelf/src/system/libroot/posix/stdlib/
H A Dexit.cpp38 void (*hook)(void*); member in struct:AtExitInfo
113 addr_t address = (addr_t)info->hook;
161 // call the hook
162 info->hook(info->data);
182 /*! exit() hook registration function (mandated by the C++ ABI).
183 \param hook Hook function to be called.
184 \param data The data to be passed to the hook.
185 \param dsoHandle If non-NULL, the hook is associated with the respective
186 loaded shared object (aka image) -- the hook will be called either on
187 exit() or earlier when the shared object is unloaded. If NULL, the hook
192 __cxa_atexit(void (*hook)(void*), void* data, void* dsoHandle) argument
[all...]
/haiku-fatelf/headers/private/graphics/common/
H A Dcreate_display_modes.h24 check_display_mode_hook hook, display_mode** _modes, uint32* _count);
/haiku-fatelf/src/bin/coreutils/lib/
H A Dclose-hook.h62 extern void register_close_hook (close_hook_fn hook, struct close_hook *link);
H A Dclose-hook.c24 #include "close-hook.h"
57 register_close_hook (close_hook_fn hook, struct close_hook *link) argument
64 link->private_fn = hook;
71 if (link->private_fn != hook)
/haiku-fatelf/headers/os/drivers/
H A DKernelExport.h67 timer_hook hook; member in struct:timer
134 extern status_t add_timer(timer *t, timer_hook hook, bigtime_t period,
176 debugger_command_hook hook, const char *help);
178 debugger_command_hook hook);
183 extern status_t register_kernel_daemon(daemon_hook hook, void *arg,
185 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-fatelf/src/kits/media/
H A DTimedEventQueuePrivate.h39 BTimedEventQueue::for_each_hook hook,
46 void SetCleanupHook(BTimedEventQueue::cleanup_hook hook, void *context);
/haiku-fatelf/src/libs/print/libgutenprint/src/xml/escp2/mediasizes/
H A DMakefile.am39 dist-hook: xml-stamp
/haiku-fatelf/src/libs/print/libgutenprint/src/xml/escp2/qualitypresets/
H A DMakefile.am43 dist-hook: xml-stamp
/haiku-fatelf/src/libs/print/libgutenprint/src/xml/escp2/weaves/
H A DMakefile.am42 dist-hook: xml-stamp
/haiku-fatelf/src/tools/fs_shell/
H A Dkernel_export.cpp93 fssh_add_debugger_command(const char *name, fssh_debugger_command_hook hook, argument
101 fssh_remove_debugger_command(char *name, fssh_debugger_command_hook hook) argument
/haiku-fatelf/src/system/kernel/
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) {
285 // call the hook anymore.
291 rc = event->hook(event);
337 add_timer(timer* event, timer_hook hook, bigtime_t period, int32 flags) argument
342 if (event == NULL || hook
[all...]
/haiku-fatelf/src/libs/print/libgutenprint/src/xml/escp2/inputslots/
H A DMakefile.am55 dist-hook: xml-stamp
/haiku-fatelf/src/kits/tracker/
H A DSlowContextPopup.cpp362 TrackingHookData* hook)
426 if (hook)
427 menu->InitTrackingHook(hook->fTrackingHook, &(hook->fTarget),
428 hook->fDragMessage);
522 BSlowContextMenu::InitTrackingHook(bool (*hook)(BMenu*, void*), argument
525 fTrackingHook.fTrackingHook = hook;
529 SetTrackingHookDeep(this, hook, &fTrackingHook);
359 NewModelItem(Model* model, const BMessage* invokeMessage, const BMessenger &target, bool suppressFolderHierarchy, BContainerWindow* parentWindow, const BObjectList<BString>* typeslist, TrackingHookData* hook) argument
/haiku-fatelf/src/libs/print/libgutenprint/src/xml/escp2/
H A DMakefile.am54 dist-hook: xml-stamp
/haiku-fatelf/src/tools/docbook/libxml2/include/libxml/
H A DMakefile.am54 install-exec-hook:
/haiku-fatelf/src/bin/gdb/gdb/
H A Dscm-valprint.c281 SCM hook;
282 hook = scm_get_lvector_hook (exp, LV_PRINT_FN);
283 if (hook == BOOL_F)
292 = scm_apply (hook,

Completed in 122 milliseconds

1234