Searched refs:action (Results 1 - 25 of 134) sorted by relevance

123456

/haiku/src/system/libroot/posix/signal/
H A Dsiginterrupt.cpp17 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 Dsigaction.cpp28 // 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/libs/bsd/
H A Ddaemon.c16 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 DHyperTextView.cpp47 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 DHyperTextView.h47 int32 endOffset, HyperTextAction* action);
50 HyperTextAction* action,
53 int32 inLength, HyperTextAction* action,
/haiku/src/system/libroot/posix/glibc/misc/
H A Dhsearch.c28 hsearch (item, action)
30 ACTION action;
34 (void) hsearch_r (item, action, &result, &htab);
/haiku/src/system/libroot/posix/
H A Dspawn.cpp43 } action; member in struct:_file_action
99 struct _file_action *action = &actions->actions[i]; local
101 if (action->type == file_action_open)
102 free(action->action.open_action.path);
103 else if (action->type == file_action_chdir)
104 free(action->action.chdir_action.path);
134 struct _file_action *action = &actions->actions[actions->count]; local
135 action
162 struct _file_action *action = &actions->actions[actions->count]; local
187 struct _file_action *action = &actions->actions[actions->count]; local
214 struct _file_action *action = &actions->actions[actions->count]; local
240 struct _file_action *action = &actions->actions[actions->count]; local
410 struct sigaction action; local
455 struct _file_action *action = &actions->actions[i]; local
[all...]
H A Dtermios.c69 tcflow(int fd, int action) argument
71 switch (action) {
83 return ioctl(fd, TCXONC, action);
/haiku/src/apps/softwareupdater/
H A DUpdateAction.cpp47 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 DWorkingLooper.cpp13 WorkingLooper::WorkingLooper(update_type action, bool verbose) argument
18 fActionRequested(action),
H A DWorkingLooper.h24 WorkingLooper(update_type action, bool verbose);
/haiku/src/tests/system/glue/
H A DStackAlign.cpp51 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/apps/deskbar/
H A DShowHideMenuItem.h49 uint32 action);
51 static status_t TeamShowHideCommon(int32 action,
H A DShowHideMenuItem.cpp52 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 Dsigint_bug113_test.cpp96 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 DByteOrder.cpp13 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/libnetapi/
H A DNetworkRequest.cpp82 struct sigaction action; local
83 action.sa_handler = empty;
84 action.sa_mask = 0;
85 action.sa_flags = 0;
86 sigaction(SIGUSR1, &action, NULL);
/haiku/headers/posix/
H A Dsearch.h36 extern ENTRY *hsearch(ENTRY iteam, ACTION action);
50 void (*action)(const void *, VISIT, int ));
/haiku/src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/iwm/
H A Dif_iwm_binding.c159 iwm_mvm_binding_cmd(struct iwm_softc *sc, uint32_t action, argument
171 cmd.action = htole32(action);
185 "Failed to send binding (action:%d): %d\n", action, ret);
205 uint32_t action; local
208 action = IWM_FW_CTXT_ACTION_ADD;
210 action = IWM_FW_CTXT_ACTION_REMOVE;
218 return iwm_mvm_binding_cmd(sc, action, &data);
/haiku/src/add-ons/kernel/generic/scsi_periph/
H A Dscsi_periph.cpp62 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 DDeskButton.cpp59 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...]
/haiku/src/add-ons/kernel/file_systems/fat/
H A Dfat.c95 _fat_ioctl_(nspace *vol, uint32 action, uint32 cluster, int32 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/system/libroot/posix/glibc/include/
H A Dsearch.h17 extern void __twalk (__const void *__root, __action_fn_t action);
/haiku/src/bin/debug/scheduling_recorder/
H A Dscheduling_recorder.cpp118 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 DBreakpointsView.cpp273 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)

Completed in 204 milliseconds

123456