/haiku-fatelf/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-fatelf/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-fatelf/src/apps/aboutsystem/ |
H A D | HyperTextView.cpp | 47 ActionInfo(int32 startOffset, int32 endOffset, HyperTextAction* action) argument 51 action(action) 57 delete action; 75 HyperTextAction* action; member in struct:HyperTextView::ActionInfo 127 HyperTextAction* action = _ActionAt(where); local 128 if (action != NULL) 129 action->Clicked(this, where, message); 142 HyperTextAction* action; local 144 && buttons == 0 && (action 154 AddHyperTextAction(int32 startOffset, int32 endOffset, HyperTextAction* action) argument 170 InsertHyperText(const char* inText, HyperTextAction* action, const text_run_array* inRuns) argument 182 InsertHyperText(const char* inText, int32 inLength, HyperTextAction* action, const text_run_array* inRuns) argument 200 const ActionInfo* action = fActionInfos->BinarySearch(pointer, local [all...] |
H A D | HyperTextView.h | 47 int32 endOffset, HyperTextAction* action); 50 HyperTextAction* action, 53 int32 inLength, HyperTextAction* action,
|
/haiku-fatelf/src/system/libroot/posix/glibc/misc/ |
H A D | hsearch.c | 28 hsearch (item, action) 30 ACTION action; 34 (void) hsearch_r (item, action, &result, &htab);
|
/haiku-fatelf/src/bin/bash/lib/readline/ |
H A D | rlwinsize.h | 55 # define tcflow(fd, action) ioctl(fd, TCXONC, action)
|
/haiku-fatelf/src/apps/deskbar/ |
H A D | ShowHideMenuItem.h | 49 uint32 action); 51 static status_t TeamShowHideCommon(int32 action,
|
/haiku-fatelf/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-fatelf/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-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/aio_suspend/ |
H A D | 6-1.c | 65 struct sigaction action; local 133 action.sa_sigaction = sigrt1_handler; 134 sigemptyset(&action.sa_mask); 135 action.sa_flags = SA_SIGINFO|SA_RESTART; 136 sigaction(SIGRTMIN+1, &action, NULL); 139 action.sa_sigaction = sigrt2_handler; 140 sigemptyset(&action.sa_mask); 141 action.sa_flags = SA_SIGINFO|SA_RESTART; 142 sigaction(SIGRTMIN+2, &action, NULL);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/lio_listio/ |
H A D | 1-1.c | 61 struct sigaction action; local 120 action.sa_sigaction = sigrt1_handler; 121 sigemptyset(&action.sa_mask); 122 action.sa_flags = SA_SIGINFO|SA_RESTART; 123 sigaction(SIGRTMIN+1, &action, NULL); 126 action.sa_sigaction = sigrt2_handler; 127 sigemptyset(&action.sa_mask); 128 action.sa_flags = SA_SIGINFO|SA_RESTART; 129 sigaction(SIGRTMIN+2, &action, NULL);
|
H A D | 10-1.c | 60 struct sigaction action; local 117 action.sa_sigaction = sigrt1_handler; 118 sigemptyset(&action.sa_mask); 119 action.sa_flags = SA_SIGINFO|SA_RESTART; 120 sigaction(SIGRTMIN+1, &action, NULL); 123 action.sa_sigaction = sigrt2_handler; 124 sigemptyset(&action.sa_mask); 125 action.sa_flags = SA_SIGINFO|SA_RESTART; 126 sigaction(SIGRTMIN+2, &action, NULL);
|
H A D | 11-1.c | 60 struct sigaction action; local 121 action.sa_sigaction = sigrt1_handler; 122 sigemptyset(&action.sa_mask); 123 action.sa_flags = SA_SIGINFO|SA_RESTART; 124 sigaction(SIGRTMIN+1, &action, NULL); 127 action.sa_sigaction = sigrt2_handler; 128 sigemptyset(&action.sa_mask); 129 action.sa_flags = SA_SIGINFO|SA_RESTART; 130 sigaction(SIGRTMIN+2, &action, NULL);
|
H A D | 14-1.c | 60 struct sigaction action; local 121 action.sa_sigaction = sigrt1_handler; 122 sigemptyset(&action.sa_mask); 123 action.sa_flags = SA_SIGINFO|SA_RESTART; 124 sigaction(SIGRTMIN+1, &action, NULL); 127 action.sa_sigaction = sigrt2_handler; 128 sigemptyset(&action.sa_mask); 129 action.sa_flags = SA_SIGINFO|SA_RESTART; 130 sigaction(SIGRTMIN+2, &action, NULL);
|
H A D | 15-1.c | 60 struct sigaction action; local 121 action.sa_sigaction = sigrt1_handler; 122 sigemptyset(&action.sa_mask); 123 action.sa_flags = SA_SIGINFO|SA_RESTART; 124 sigaction(SIGRTMIN+1, &action, NULL); 127 action.sa_sigaction = sigrt2_handler; 128 sigemptyset(&action.sa_mask); 129 action.sa_flags = SA_SIGINFO|SA_RESTART; 130 sigaction(SIGRTMIN+2, &action, NULL);
|
H A D | 2-1.c | 59 struct sigaction action; local 116 action.sa_sigaction = sigrt1_handler; 117 sigemptyset(&action.sa_mask); 118 action.sa_flags = SA_SIGINFO|SA_RESTART; 119 sigaction(SIGRTMIN+1, &action, NULL); 122 action.sa_sigaction = sigrt2_handler; 123 sigemptyset(&action.sa_mask); 124 action.sa_flags = SA_SIGINFO|SA_RESTART; 125 sigaction(SIGRTMIN+2, &action, NULL);
|
H A D | 3-1.c | 60 struct sigaction action; local 117 action.sa_sigaction = sigrt1_handler; 118 sigemptyset(&action.sa_mask); 119 action.sa_flags = SA_SIGINFO|SA_RESTART; 120 sigaction(SIGRTMIN+1, &action, NULL); 123 action.sa_sigaction = sigrt2_handler; 124 sigemptyset(&action.sa_mask); 125 action.sa_flags = SA_SIGINFO|SA_RESTART; 126 sigaction(SIGRTMIN+2, &action, NULL);
|
H A D | 4-1.c | 60 struct sigaction action; local 124 action.sa_sigaction = sigrt1_handler; 125 sigemptyset(&action.sa_mask); 126 action.sa_flags = SA_SIGINFO|SA_RESTART; 127 sigaction(SIGRTMIN+1, &action, NULL); 130 action.sa_sigaction = sigrt2_handler; 131 sigemptyset(&action.sa_mask); 132 action.sa_flags = SA_SIGINFO|SA_RESTART; 133 sigaction(SIGRTMIN+2, &action, NULL);
|
H A D | 7-1.c | 63 struct sigaction action; local 123 action.sa_sigaction = sigrt1_handler; 124 sigemptyset(&action.sa_mask); 125 action.sa_flags = SA_SIGINFO|SA_RESTART; 126 sigaction(SIGRTMIN+1, &action, NULL); 129 action.sa_sigaction = sigrt2_handler; 130 sigemptyset(&action.sa_mask); 131 action.sa_flags = SA_SIGINFO|SA_RESTART; 132 sigaction(SIGRTMIN+2, &action, NULL);
|
/haiku-fatelf/src/bin/less/ |
H A D | decode.c | 18 * <c1><c2>...<cN><0><action> 22 * The byte after the null byte is the action code associated 24 * If an action byte is OR-ed with A_EXTRA, this indicates 272 * the action byte with A_SKIP. 405 * Return the action code, which is the character 475 * Decode a command character and return the associated action. 485 register int action = A_INVALID; local 489 * Stop when we find an action which is not A_INVALID. 493 action = cmd_search(cmd, t->t_start, t->t_end, sp); 494 if (action ! 746 int action; local [all...] |
/haiku-fatelf/headers/posix/ |
H A D | search.h | 36 extern ENTRY *hsearch(ENTRY iteam, ACTION action); 50 void (*action)(const void *, VISIT, int ));
|
/haiku-fatelf/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-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/aio_cancel/ |
H A D | 3-1.c | 72 struct sigaction action; local 94 action.sa_sigaction = sigusr1_handler; 95 sigemptyset(&action.sa_mask); 96 action.sa_flags = SA_SIGINFO|SA_RESTART; 97 if (sigaction(SIGRTMIN+1, &action, NULL))
|
/haiku-fatelf/src/bin/desklink/ |
H A D | DeskButton.cpp | 59 BString title, action; local 62 && message->FindString("action", index, &action)==B_OK) { 64 fActionList.AddItem(new BString(action)); 104 data->AddString("action", *(BString*)fActionList.ItemAt(i)); 122 BString action; local 123 if (message->FindString("action", &action) == B_OK) { 124 action += " &"; 125 system(action [all...] |