/haiku/src/system/libroot/posix/signal/ |
H A D | siginterrupt.cpp | 17 struct sigaction_beos action; local 18 __sigaction_beos(signal, NULL, &action); 20 action.sa_flags &= ~SA_RESTART; 22 action.sa_flags |= SA_RESTART; 24 return __sigaction_beos(signal, &action, NULL); 31 struct sigaction action; local 32 sigaction(signal, NULL, &action); 34 action.sa_flags &= ~SA_RESTART; 36 action.sa_flags |= SA_RESTART; 38 return sigaction(signal, &action, NUL [all...] |
H A D | sigaction.cpp | 28 // convert the new action 29 struct sigaction action; local 31 action.sa_handler = beosAction->sa_handler; 32 action.sa_mask = from_beos_sigset(beosAction->sa_mask); 33 action.sa_flags = beosAction->sa_flags | SA_BEOS_COMPATIBLE_HANDLER; 34 action.sa_userdata = beosAction->sa_userdata; 38 if (__sigaction(signal, beosAction != NULL ? &action : NULL, 43 // If the signal is SIGSEGV, set the same signal action for SIGBUS. Those 46 __sigaction(SIGBUS, &action, NULL); 48 // convert the old action bac 62 __sigaction(int signal, const struct sigaction* action, struct sigaction* oldAction) argument [all...] |
/haiku/src/system/libroot/posix/musl/search/ |
H A D | twalk.c | 4 static void walk(const struct node *r, void (*action)(const void *, VISIT, int), int d) 9 action(r, leaf, d); 11 action(r, preorder, d); 12 walk(r->a[0], action, d+1); 13 action(r, postorder, d); 14 walk(r->a[1], action, d+1); 15 action(r, endorder, d); 19 void twalk(const void *root, void (*action)(const void *, VISIT, int)) 21 walk(root, action, 0);
|
/haiku/src/libs/bsd/ |
H A D | daemon.c | 16 restore_old_sighup(int result, struct sigaction *action) argument 19 sigaction(SIGHUP, action, NULL); 26 struct sigaction oldAction, action; local 32 sigemptyset(&action.sa_mask); 33 action.sa_handler = SIG_IGN; 34 action.sa_flags = 0; 35 oldActionResult = sigaction(SIGHUP, &action, &oldAction);
|
/haiku/src/apps/aboutsystem/ |
H A D | HyperTextView.cpp | 67 ActionInfo(int32 startOffset, int32 endOffset, HyperTextAction* action) argument 71 action(action) 77 delete action; 95 HyperTextAction* action; member in struct:HyperTextView::ActionInfo 149 HyperTextAction* action = _ActionAt(where); local 150 if (action != NULL) 151 action->Clicked(this, where, message); 163 HyperTextAction* action; local 166 // We moved to a different "action" zon 198 AddHyperTextAction(int32 startOffset, int32 endOffset, HyperTextAction* action) argument 214 InsertHyperText(const char* inText, HyperTextAction* action, const text_run_array* inRuns) argument 226 InsertHyperText(const char* inText, int32 inLength, HyperTextAction* action, const text_run_array* inRuns) argument 244 const ActionInfo* action = fActionInfos->BinarySearch(pointer, local 253 const ActionInfo* action = _ActionInfoAt(where); local [all...] |
H A D | HyperTextView.h | 51 int32 endOffset, HyperTextAction* action); 54 HyperTextAction* action, 57 int32 inLength, HyperTextAction* action,
|
/haiku/src/apps/softwareupdater/ |
H A D | UpdateAction.cpp | 47 update_type action = action_request; local 49 if (action == USER_SELECTION_NEEDED) 50 action = fUpdateManager->GetUpdateType(); 52 if (action == CANCEL_UPDATE) 54 else if (action <= INVALID_SELECTION || action >= UPDATE_TYPE_END) 64 if(action == UPDATE) { 69 } else if (action == FULLSYNC)
|
H A D | WorkingLooper.cpp | 13 WorkingLooper::WorkingLooper(update_type action, bool verbose) argument 18 fActionRequested(action),
|
H A D | WorkingLooper.h | 24 WorkingLooper(update_type action, bool verbose);
|
/haiku/src/tests/system/glue/ |
H A D | StackAlign.cpp | 51 struct sigaction action; local 58 action.sa_handler = handler; 59 action.sa_mask = 0; 60 action.sa_flags = SA_ONSTACK; 61 sigaction(SIGUSR1, &action, NULL);
|
/haiku/src/system/libroot/posix/ |
H A D | spawn.cpp | 44 } action; member in struct:_file_action 100 struct _file_action *action = &actions->actions[i]; local 102 if (action->type == file_action_open) 103 free(action->action.open_action.path); 104 else if (action->type == file_action_chdir) 105 free(action->action.chdir_action.path); 135 struct _file_action *action = &actions->actions[actions->count]; local 136 action 163 struct _file_action *action = &actions->actions[actions->count]; local 188 struct _file_action *action = &actions->actions[actions->count]; local 215 struct _file_action *action = &actions->actions[actions->count]; local 241 struct _file_action *action = &actions->actions[actions->count]; local 412 struct sigaction action; local 457 struct _file_action *action = &actions->actions[i]; local [all...] |
H A D | termios.c | 69 tcflow(int fd, int action) argument 71 switch (action) { 83 return ioctl(fd, TCXONC, action);
|
/haiku/src/apps/deskbar/ |
H A D | ShowHideMenuItem.h | 49 uint32 action); 51 static status_t TeamShowHideCommon(int32 action,
|
H A D | ShowHideMenuItem.cpp | 52 uint32 action) 56 fAction(action) 106 TShowHideMenuItem::TeamShowHideCommon(int32 action, const BList* teamList, argument 115 switch (action) { 51 TShowHideMenuItem(const char* title, const BList* teams, uint32 action) argument
|
/haiku/src/tests/system/kernel/ |
H A D | sigint_bug113_test.cpp | 96 struct sigaction action; local 97 sigaction(kSignals[i].signal, NULL, &action); 106 if (action.sa_handler == SIG_DFL) 108 else if (action.sa_handler == SIG_IGN) 110 else if (action.sa_handler == SIG_ERR) 113 printf("%p", action.sa_handler); 120 if (action.sa_flags & kSigActionFlags[i].flag) {
|
/haiku/src/kits/support/ |
H A D | ByteOrder.cpp | 13 swap_data(type_code type, void *_data, size_t length, swap_action action) argument 17 if (action == B_SWAP_HOST_TO_LENDIAN || action == B_SWAP_LENDIAN_TO_HOST) 20 if (action == B_SWAP_HOST_TO_BENDIAN || action == B_SWAP_BENDIAN_TO_HOST)
|
/haiku/src/kits/network/libnetservices/ |
H A D | NetworkRequest.cpp | 85 struct sigaction action; local 86 action.sa_handler = empty; 87 action.sa_mask = 0; 88 action.sa_flags = 0; 89 sigaction(SIGUSR1, &action, NULL);
|
/haiku/headers/posix/ |
H A D | search.h | 36 extern ENTRY *hsearch(ENTRY iteam, ACTION action); 50 void (*action)(const void *, VISIT, int ));
|
/haiku/src/add-ons/kernel/generic/scsi_periph/ |
H A D | scsi_periph.cpp | 62 if (res.action == err_act_start) { 101 if (res.action == err_act_ok) 102 res.action = err_act_retry; 104 } while ((res.action == err_act_retry && retries++ < 3) 105 || (res.action == err_act_many_retries && retries++ < 30));
|
/haiku/src/bin/desklink/ |
H A D | DeskButton.cpp | 56 BString title, action; local 59 && message->FindString("action", index, &action)==B_OK) { 61 fActionList.AddItem(new BString(action)); 100 data->AddString("action", *(BString*)fActionList.ItemAt(i)); 120 BString action; local 121 if (message->FindString("action", &action) == B_OK) { 122 action += " &"; 123 system(action [all...] |
/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | fat.cpp | 95 _fat_ioctl_(nspace *vol, uint32 action, uint32 cluster, uint32 N) argument 104 = action != _IOCTL_SET_ENTRY_ && action != _IOCTL_ALLOCATE_N_ENTRIES_; 107 uint32 endOfChainMarker = (action == _IOCTL_SET_ENTRY_) ? N : 0x0fffffff; 109 ASSERT(action >= _IOCTL_COUNT_FREE_ 110 && action <= _IOCTL_ALLOCATE_N_ENTRIES_); 112 DPRINTF(3, ("_fat_ioctl_: action %" B_PRIu32 ", cluster %" B_PRIu32 113 ", N %" B_PRId32 "\n", action, cluster, N)); 115 if (action == _IOCTL_COUNT_FREE_) { 123 if (action [all...] |
/haiku/src/bin/debug/scheduling_recorder/ |
H A D | scheduling_recorder.cpp | 118 struct sigaction action; local 119 action.sa_handler = (__sighandler_t)_SignalHandler; 120 action.sa_flags = 0; 121 sigemptyset(&action.sa_mask); 122 action.sa_userdata = this; 123 if (sigaction(SIGHUP, &action, NULL) < 0 124 || sigaction(SIGINT, &action, NULL) < 0 125 || sigaction(SIGQUIT, &action, NULL) < 0) { 315 // start the action
|
/haiku/src/apps/debugger/user_interface/gui/team_window/ |
H A D | BreakpointsView.cpp | 273 BreakpointsView::_HandleBreakpointAction(uint32 action) argument 282 if (action == MSG_ENABLE_BREAKPOINT && !breakpoint->IsEnabled()) 284 else if (action == MSG_DISABLE_BREAKPOINT 287 } else if (action == MSG_CLEAR_BREAKPOINT) 291 if (action == MSG_ENABLE_BREAKPOINT && !watchpoint->IsEnabled()) 293 else if (action == MSG_DISABLE_BREAKPOINT 296 } else if (action == MSG_CLEAR_BREAKPOINT)
|
/haiku/headers/cpp/ |
H A D | stl_config.h | 347 # define __STL_UNWIND(action) catch(...) { action; throw; } 354 # define __STL_UNWIND(action)
|
/haiku/headers/private/kernel/arch/ |
H A D | thread.h | 31 status_t arch_setup_signal_frame(Thread *thread, struct sigaction *action,
|