Home
last modified time | relevance | path

Searched refs:action (Results 1 – 25 of 928) sorted by relevance

12345678910>>...38

/netbsd/src/usr.bin/menuc/testm/
Dmenus.mc53 error action { fprintf (stderr, "Testm: Could not initialize curses.\n");
57 display action {
66 action { }
84 action { do_dynamic (); }
90 action (endwin) { system ("/bin/sh"); }
92 exit action (endwin) { printf ("Thanks for playing\n"); };
195 option "first", action {};
196 option "second", action {};
197 option "third", action {};
200 option "option 1", action {};
[all …]
/netbsd/src/usr.sbin/apm/
Dapm.c100 do_zzz(const char *pn, enum apm_action action) in do_zzz() argument
106 switch (action) { in do_zzz()
109 command.action = SUSPEND; in do_zzz()
112 command.action = STANDBY; in do_zzz()
154 enum apm_action action = NONE; in main() local
169 if (action != NONE) in main()
171 action = SUSPEND; in main()
174 if (action != NONE) in main()
176 action = STANDBY; in main()
179 if (action != NONE && action != GETSTATUS) in main()
[all …]
/netbsd/src/external/ibm-public/postfix/dist/src/master/
Dmaster_sig.c182 struct sigaction action; in master_sigdeath() local
193 sigemptyset(&action.sa_mask); in master_sigdeath()
194 action.sa_flags = 0; in master_sigdeath()
195 action.sa_handler = SIG_IGN; in master_sigdeath()
196 if (sigaction(SIGTERM, &action, (struct sigaction *) 0) < 0) in master_sigdeath()
222 sigemptyset(&action.sa_mask); in master_sigdeath()
223 action.sa_flags = 0; in master_sigdeath()
224 action.sa_handler = SIG_DFL; in master_sigdeath()
225 if (sigaction(sig, &action, (struct sigaction *) 0) < 0) in master_sigdeath()
236 struct sigaction action; in master_sigsetup() local
[all …]
/netbsd/src/sys/dev/wscons/
Dwsksymdef.h654 #define KB_ENC_FUN(action) \ argument
655 action(KB_USER, 0, 0x0100, "user", , "User-defined") \
656 action(KB_US, 0, 0x0200, "us", , "US-English") \
657 action(KB_UK, 0, 0x0700, "uk", , "UK-English") \
658 action(KB_BE, 0, 0x1300, "be", , "Belgian") \
659 action(KB_BR, 0, 0x1800, "br", , "Brazilian") \
660 action(KB_CF, 0, 0x1c00, "cf", , "Canadian French") \
661 action(KB_CZ, 0, 0x1500, "cz", , "Czech") \
662 action(KB_DK, 0, 0x0400, "dk", , "Danish") \
663 action(KB_NL, 0, 0x1600, "nl", , "Dutch") \
[all …]
/netbsd/src/external/mit/expat/dist/xmlwf/
Dxmlwf_helpgen.py59 input_related.add_argument('-s', action='store_true', help='print an error if the document is not […
60 input_related.add_argument('-n', action='store_true', help='enable [n]amespace processing')
61 input_related.add_argument('-p', action='store_true', help='enable processing of external DTDs and …
62 input_related.add_argument('-x', action='store_true', help='enable processing of e[x]ternal entitie…
63 input_related.add_argument('-e', action='store', metavar='ENCODING', help='override any in-document…
64 input_related.add_argument('-w', action='store_true', help='enable support for [W]indows code pages…
65 input_related.add_argument('-r', action='store_true', help='disable memory-mapping and use [r]ead c…
67 input_related.add_argument('-k', action='store_true', help='when processing multiple files, [k]eep …
70 output_related.add_argument('-d', action='store', metavar='DIRECTORY', help='output [d]estination d…
72 output_mode.add_argument('-c', action='store_true', help='write a [c]opy of input XML, not canonica…
[all …]
/netbsd/src/libexec/httpd/lua/
Dbozo.lua37 opt.add_option{"-C", "--cgimap", action="store", dest="cgimap", help="--cgimap 's t'"}
38 opt.add_option{"-E", "--enable-user-cgibin", action="store_true", dest="enableusercgibin", help="--…
39 opt.add_option{"-H", "--hide-dots", action="store_true", dest="hidedots", help="--hide-dots"}
40 opt.add_option{"-I", "--portnum", action="store", dest="portnum", help="--portnum number"}
41 opt.add_option{"-M", "--dynamicmime", action="store", dest="dynmime", help="--dynamicmime 'suffix t…
42 opt.add_option{"-S", "--server-software", action="store", dest="serversw", help="--server-software …
43 opt.add_option{"-U", "--username", action="store", dest="username", help="--username name"}
44 opt.add_option{"-V", "--unknown-slash", action="store_true", dest="unknown", help="--unknown-slash"}
45 opt.add_option{"-X", "--dir-index", action="store_true", dest="dirindex", help="--dir-index"}
46 opt.add_option{"-Z", "--ssl", action="store", dest="ssl", help="--ssl 'cert priv'"}
[all …]
Doptparse.lua60 local action = optdesc.action
62 if action == 'store' or action == nil then
66 elseif action == 'store_true' then
68 elseif action == 'store_false' then
91 local action = optdesc.action
94 if action == nil or action == 'store' then
115 o.add_option{"--help", action="store_true", dest="help",
118 o.add_option{"--version", action="store_true", dest="version",
/netbsd/src/external/bsd/openldap/dist/libraries/librewrite/
Drule.c56 struct rewrite_action *action in append_action() argument
62 assert( action != NULL ); in append_action()
65 *pa = action; in append_action()
75 struct rewrite_action *action; in destroy_action() local
80 action = *paction; in destroy_action()
83 switch ( action->la_type ) { in destroy_action()
86 int *pi = (int *)action->la_args; in destroy_action()
98 free( action ); in destroy_action()
134 struct rewrite_action *action = NULL, *first_action = NULL; in rewrite_rule_compile() local
199 action = calloc( sizeof( struct rewrite_action ), 1 ); in rewrite_rule_compile()
[all …]
Dcontext.c168 struct rewrite_action *action, in rewrite_action_goto() argument
174 assert( action != NULL ); in rewrite_action_goto()
175 assert( action->la_args != NULL ); in rewrite_action_goto()
178 n = ((int *)action->la_args)[ 0 ]; in rewrite_action_goto()
258 struct rewrite_action *action; in rewrite_context_apply() local
261 for ( action = rule->lr_action; in rewrite_context_apply()
262 action != NULL; in rewrite_context_apply()
263 action = action->la_next ) { in rewrite_context_apply()
264 switch ( action->la_type ) { in rewrite_context_apply()
283 … rule = rewrite_action_goto( action, rule ); in rewrite_context_apply()
[all …]
/netbsd/src/external/bsd/kyua-cli/dist/engine/
Daction.cpp38 struct engine::action::impl {
66 engine::action::action(const context& context_) : in action() function in engine::action
73 engine::action::~action(void) in ~action()
82 engine::action::runtime_context(void) const in runtime_context()
94 engine::action::operator==(const action& other) const in operator ==()
106 engine::action::operator!=(const action& other) const in operator !=()
119 engine::operator<<(std::ostream& output, const action& object) in operator <<()
Daction_test.cpp68 const engine::action action(context); in ATF_TEST_CASE_BODY() local
69 ATF_REQUIRE(context == action.runtime_context()); in ATF_TEST_CASE_BODY()
76 const engine::action action1(fake_context("foo/bar")); in ATF_TEST_CASE_BODY()
77 const engine::action action2(fake_context("foo/bar")); in ATF_TEST_CASE_BODY()
78 const engine::action action3(fake_context("foo/baz")); in ATF_TEST_CASE_BODY()
90 const engine::action action(context); in ATF_TEST_CASE_BODY() local
93 str << action; in ATF_TEST_CASE_BODY()
/netbsd/src/sys/dev/acpi/
Dapei_interp.c180 unsigned action, nact = I->nact; in apei_interp_destroy() local
182 for (action = 0; action < nact; action++) { in apei_interp_destroy()
183 struct apei_actinst *const A = &I->actinst[action]; in apei_interp_destroy()
314 unsigned action; in apei_interp_pass3_alloc() local
316 for (action = 0; action < I->nact; action++) { in apei_interp_pass3_alloc()
317 struct apei_actinst *const A = &I->actinst[action]; in apei_interp_pass3_alloc()
363 unsigned action; in apei_interp_pass5_verify() local
365 for (action = 0; action < I->nact; action++) { in apei_interp_pass5_verify()
366 struct apei_actinst *const A = &I->actinst[action]; in apei_interp_pass5_verify()
376 I->actname[action], A->ip, A->ninst); in apei_interp_pass5_verify()
[all …]
/netbsd/src/lib/libc/stdlib/
Dtwalk.c29 cmp_fn_t action, int level) in trecurse() argument
32 _DIAGASSERT(action != NULL); in trecurse()
35 (*action)(root, leaf, level); in trecurse()
37 (*action)(root, preorder, level); in trecurse()
39 trecurse(root->llink, action, level + 1); in trecurse()
40 (*action)(root, postorder, level); in trecurse()
42 trecurse(root->rlink, action, level + 1); in trecurse()
43 (*action)(root, endorder, level); in trecurse()
49 twalk(const void *vroot, cmp_fn_t action) /* Root of the tree to be walked */ in twalk() argument
51 if (vroot != NULL && action != NULL) in twalk()
[all …]
/netbsd/src/sys/secmodel/overlay/
Dsecmodel_overlay.c235 secmodel_overlay_generic_cb(kauth_cred_t cred, kauth_action_t action, in secmodel_overlay_generic_cb() argument
242 switch (action) { in secmodel_overlay_generic_cb()
250 secmodel_overlay_iscope_generic, cred, action, in secmodel_overlay_generic_cb()
261 secmodel_overlay_system_cb(kauth_cred_t cred, kauth_action_t action, in secmodel_overlay_system_cb() argument
268 switch (action) { in secmodel_overlay_system_cb()
276 secmodel_overlay_iscope_system, cred, action, in secmodel_overlay_system_cb()
287 secmodel_overlay_process_cb(kauth_cred_t cred, kauth_action_t action, in secmodel_overlay_process_cb() argument
294 switch (action) { in secmodel_overlay_process_cb()
302 secmodel_overlay_iscope_process, cred, action, in secmodel_overlay_process_cb()
313 secmodel_overlay_network_cb(kauth_cred_t cred, kauth_action_t action, in secmodel_overlay_network_cb() argument
[all …]
/netbsd/src/external/bsd/byacc/dist/
Dmkpar.c21 static action *add_reduce(action *actions, int ruleno, int symbol);
22 static action *add_reductions(int stateno, action *actions);
23 static action *get_shifts(int stateno);
24 static action *parse_actions(int stateno);
28 static void free_action_row(action *p);
33 action **parser;
56 parser = NEW2(nstates, action *); in make_parser()
68 static action *
71 action *actions; in parse_actions()
78 static action *
[all …]
/netbsd/src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
Dsigrepeat.c50 struct sigaction action; in handler() local
51 memset (&action, 0, sizeof (action)); in handler()
52 action.sa_handler = SIG_IGN; in handler()
53 sigaction (sig, &action, NULL); in handler()
83 struct sigaction action; in main() local
84 memset (&action, 0, sizeof (action)); in main()
85 action.sa_handler = handler; in main()
86 sigaction (alarm[i], &action, NULL); in main()
/netbsd/src/external/bsd/wpa/dist/src/ap/
Dwnm_ap.c169 mgmt->u.action.category = WLAN_ACTION_WNM; in ieee802_11_send_wnmsleep_resp()
170 mgmt->u.action.u.wnm_sleep_resp.action = WNM_SLEEP_MODE_RESP; in ieee802_11_send_wnmsleep_resp()
171 mgmt->u.action.u.wnm_sleep_resp.dialogtoken = dialog_token; in ieee802_11_send_wnmsleep_resp()
172 pos = (u8 *)mgmt->u.action.u.wnm_sleep_resp.variable; in ieee802_11_send_wnmsleep_resp()
177 mgmt->u.action.u.wnm_sleep_resp.keydata_len = 0; in ieee802_11_send_wnmsleep_resp()
203 &mgmt->u.action.u.wnm_sleep_resp.keydata_len, in ieee802_11_send_wnmsleep_resp()
219 len = 1 + sizeof(mgmt->u.action.u.wnm_sleep_resp) + gtk_elem_len + in ieee802_11_send_wnmsleep_resp()
226 mgmt->da, &mgmt->u.action.category, len); in ieee802_11_send_wnmsleep_resp()
405 mgmt->u.action.category = WLAN_ACTION_WNM; in ieee802_11_send_bss_trans_mgmt_request()
406 mgmt->u.action.u.bss_tm_req.action = WNM_BSS_TRANS_MGMT_REQ; in ieee802_11_send_bss_trans_mgmt_request()
[all …]
/netbsd/src/crypto/external/bsd/netpgp/dist/src/hkpclient/
Doptparse.lua60 local action = optdesc.action
62 if action == 'store' or action == nil then
66 elseif action == 'store_true' then
68 elseif action == 'store_false' then
91 local action = optdesc.action
94 if action == nil or action == 'store' then
115 o.add_option{"--help", action="store_true", dest="help",
118 o.add_option{"--version", action="store_true", dest="version",
/netbsd/src/crypto/external/bsd/netpgp/dist/bindings/lua/
Doptparse.lua60 local action = optdesc.action
62 if action == 'store' or action == nil then
66 elseif action == 'store_true' then
68 elseif action == 'store_false' then
91 local action = optdesc.action
94 if action == nil or action == 'store' then
115 o.add_option{"--help", action="store_true", dest="help",
118 o.add_option{"--version", action="store_true", dest="version",
/netbsd/src/bin/sh/
Dtrap.c229 char *action; in trapcmd() local
336 action = NULL; in trapcmd()
345 action = *ap++; /* can be '' for "ignore" */ in trapcmd()
392 if ((signo == SIGKILL || signo == SIGSTOP) && action != NULL) { in trapcmd()
407 ap[-1], *action ? "caught" : "ignored"); in trapcmd()
414 if (action) in trapcmd()
415 action = savestr(action); in trapcmd()
419 trap[signo] ? "'" : "", action ? "'" : "", in trapcmd()
420 action ? action : "-", action ? "'" : "")); in trapcmd()
425 trap[signo] = action; in trapcmd()
[all …]
/netbsd/src/external/ibm-public/postfix/dist/src/postsuper/
Dpostsuper.c903 static void super(const char **queues, int action) in super() argument
1026 if (action & ACTION_DELETE_ALL) { in super()
1040 || ((action & ACTION_PURGE) != 0 in super()
1057 if ((action & ACTION_STRUCT) in super()
1114 if ((action & ACTION_STRUCT) != 0 && MESSAGE_QUEUE(qp)) { in super()
1122 && (long_name == 0 || (action & ACTION_STRUCT_RED)))) { in super()
1124 action &= ~ACTIONS_BY_WILDCARD; in super()
1139 if ((action & ACTION_REQUEUE_ALL) in super()
1161 if ((action & (ACTION_EXPIRE_ALL | ACTION_EXP_REL_ALL)) in super()
1176 if ((action & ACTION_HOLD_ALL) in super()
[all …]
/netbsd/src/share/examples/refuse/id3fs/
Ddefs.h44 #define NEWARRAY(type,ptr,size,where,action) do { \ argument
48 action; \
52 #define RENEW(type,ptr,size,where,action) do { \ argument
57 action; \
63 #define NEW(type, ptr, where, action) NEWARRAY(type, ptr, 1, where, action) argument
67 #define ALLOC(type, v, size, c, init, incr, where, action) do { \ argument
71 NEWARRAY(type, v, _newsize, where ": new", action); \
74 RENEW(type, v, _newsize, where ": renew", action); \
/netbsd/src/share/examples/refuse/virtdir/
Ddefs.h44 #define NEWARRAY(type,ptr,size,where,action) do { \ argument
48 action; \
52 #define RENEW(type,ptr,size,where,action) do { \ argument
57 action; \
63 #define NEW(type, ptr, where, action) NEWARRAY(type, ptr, 1, where, action) argument
67 #define ALLOC(type, v, size, c, init, incr, where, action) do { \ argument
71 NEWARRAY(type, v, _newsize, where ": new", action); \
74 RENEW(type, v, _newsize, where ": renew", action); \
/netbsd/src/share/examples/refuse/fanoutfs/
Ddefs.h44 #define NEWARRAY(type,ptr,size,where,action) do { \ argument
48 action; \
52 #define RENEW(type,ptr,size,where,action) do { \ argument
57 action; \
63 #define NEW(type, ptr, where, action) NEWARRAY(type, ptr, 1, where, action) argument
67 #define ALLOC(type, v, size, c, init, incr, where, action) do { \ argument
71 NEWARRAY(type, v, _newsize, where ": new", action); \
74 RENEW(type, v, _newsize, where ": renew", action); \
/netbsd/src/crypto/external/bsd/netpgp/dist/src/lib/
Ddefs.h49 #define NEWARRAY(type,ptr,size,where,action) do { \ argument
53 action; \
57 #define RENEW(type,ptr,size,where,action) do { \ argument
63 action; \
69 #define NEW(type, ptr, where, action) NEWARRAY(type, ptr, 1, where, action) argument
73 #define ALLOC(type, v, size, c, init, incr, where, action) do { \ argument
77 NEWARRAY(type, v, _newsize, where ": new", action); \
80 RENEW(type, v, _newsize, where ": renew", action); \

12345678910>>...38