| /netbsd-src/usr.bin/menuc/testm/ |
| H A D | menus.mc | 53 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/sysinst/ |
| H A D | menus.mi | 216 error action { 228 * display action 230 option "log", exit, action 233 option "async", exit, action 236 option "noatime", exit, action 239 option "nodev", exit, action 242 option "nodevmtime", exit, action 245 option "noexec", exit, action 248 option "nosuid", exit, action 251 option "noauto", exit, action [all …]
|
| H A D | menus.pm | 60 option MSG_encrypt, exit, action 68 option MSG_undo, exit, action { 72 option MSG_unconfig, exit, action { 86 option MSG_fmtasraid, exit, action { 96 option MSG_fmtaslvm, exit, action { 107 option MSG_encrypt, exit, action { 119 option MSG_doumount, exit, action { 123 option MSG_Delete_partition, exit, action { 144 option MSG_raid4, exit, action { *(int *)arg = 4; }; 145 option MSG_raid5, exit, action { *(int *)arg = 5; }; [all …]
|
| H A D | menus.entropy | 38 action { *((int*)arg) = 1; }; 40 action { *((int*)arg) = 2; }; 42 action { *((int*)arg) = 3; }; 44 action { *((int*)arg) = 4; }; 51 action { *((int*)arg) = 1; }; 53 action { *((int*)arg) = 2; }; 55 action { *((int*)arg) = 3; }; 57 action { *((int*)arg) = 4; }; 64 action { src_prompt(MSG_Host, nfs_host, sizeof nfs_host); }; 66 action { src_prompt(MSG_Base_dir, nfs_dir, sizeof nfs_dir); }; [all …]
|
| /netbsd-src/usr.sbin/apm/ |
| H A D | apm.c | 100 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/bsd/unbound/dist/testdata/acl_interface.tdir/ |
| H A D | acl_interface.conf | 23 interface-action: @IPV4_ADDR@@@PORT_ALLOW@ allow 24 interface-action: @IPV4_ADDR@@@PORT_DENY@ deny 26 interface-action: @IPV4_ADDR@@@PORT_TAG_1@ allow 27 interface-action: @IPV4_ADDR@@@PORT_TAG_2@ allow 28 interface-action: @IPV4_ADDR@@@PORT_TAG_3@ allow 29 interface-action: @IPV4_ADDR@@@PORT_VIEW_INT@ allow 30 interface-action: @IPV4_ADDR@@@PORT_VIEW_EXT@ allow 31 interface-action: @IPV4_ADDR@@@PORT_VIEW_INTEXT@ allow 36 interface-tag-action: @IPV4_ADDR@@@PORT_TAG_1@ one redirect 38 interface-tag-action: @IPV4_ADDR@@@PORT_TAG_2@ two redirect [all …]
|
| /netbsd-src/external/gpl2/gettext/dist/gettext-tools/examples/hello-objc-gnustep/ |
| H A D | main.m | 22 SEL action = @selector(method:); 26 action: action 29 action: action 32 action: @selector(showHelloWindow:) 35 action: action 38 action: action 41 action: @selector(hide:) 44 action: @selector(terminate:) 49 action: @selector(showInfoPanel:) 52 action: @selector(showPrefPanel:) [all …]
|
| /netbsd-src/external/ibm-public/postfix/dist/src/master/ |
| H A D | master_sig.c | 182 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/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/util/ |
| H A D | array.d | 20 const char[] action, Args args) @trusted in errorMessage() 23 snprintf(&_store[0], _store.sizeof, format, &action[0], args); in errorMessage() 29 void enforceTypedArraysConformable(T)(const char[] action, in enforceTypedArraysConformable() 32 _enforceSameLength(action, a1.length, a2.length); in enforceTypedArraysConformable() 34 _enforceNoOverlap(action, arrayToPtr(a1), arrayToPtr(a2), T.sizeof * a1.length); in enforceTypedArraysConformable() 37 void enforceRawArraysConformable(const char[] action, const size_t elementSize, 40 _enforceSameLength(action, a1.length, a2.length); 42 _enforceNoOverlap(action, arrayToPtr(a1), arrayToPtr(a2), elementSize * a1.length); 45 private void _enforceSameLength(const char[] action, in _enforceSameLength() argument 53 msg ~= action; in _enforceSameLength() [all …]
|
| /netbsd-src/external/mit/expat/dist/xmlwf/ |
| H A D | xmlwf_helpgen.py | 59 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 external DTDs and [p]… 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 normal f… 66 input_related.add_argument('-k', action='store_true', help='when processing multiple files, [k]eep … 69 output_related.add_argument('-d', action='store', metavar='DIRECTORY', help='output [d]estination d… 71 output_mode.add_argument('-c', action='store_true', help='write a [c]opy of input XML, not canonica… [all …]
|
| /netbsd-src/sys/dev/wscons/ |
| H A D | wsksymdef.h | 654 #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/libexec/httpd/lua/ |
| H A D | bozo.lua | 37 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 …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/lit/lit/ |
| H A D | cl_arguments.py | 24 action='version', 41 action="append", 49 action="store_true") 54 action="store_true") 58 action="store_true") 61 action="store_true", 67 action="store_true") 75 action="store_false") 85 action="append_const", 92 action="append", [all …]
|
| /netbsd-src/external/bsd/openldap/dist/libraries/librewrite/ |
| H A D | rule.c | 56 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 …]
|
| H A D | context.c | 168 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/apache2/llvm/dist/clang/utils/analyzer/ |
| H A D | SATest.py | 210 add_parser.add_argument("--mode", action="store", default=1, type=int, 215 add_parser.add_argument("--source", action="store", default="script", 223 add_parser.add_argument("--origin", action="store", default="", 225 add_parser.add_argument("--commit", action="store", default="", 240 build_parser.add_argument("-r", dest="regenerate", action="store_true", 243 build_parser.add_argument("--override-compiler", action="store_true", 253 build_parser.add_argument("--projects", action="store", default="", 255 build_parser.add_argument("--max-size", action="store", default=None, 257 build_parser.add_argument("-v", "--verbose", action="count", default=0) 268 action="store", type=str, default="") [all …]
|
| /netbsd-src/external/bsd/kyua-cli/dist/engine/ |
| H A D | action.cpp | 38 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 <<()
|
| /netbsd-src/external/apache2/llvm/dist/clang/tools/scan-build-py/libscanbuild/ |
| H A D | arguments.py | 156 action='store_true', 178 action='store_true', 189 action='store_true', 197 action='append', 213 action='store_true', 228 action='store_const', 236 action='store_const', 244 action='store_const', 253 action='store_const', 261 action='store_const', [all …]
|
| /netbsd-src/sys/dev/acpi/ |
| H A D | apei_interp.c | 180 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/ |
| H A D | twalk.c | 29 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/ |
| H A D | secmodel_overlay.c | 235 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/mit/libuv/dist/test/ |
| H A D | test-signal-multiple-loops.c | 83 enum signal_action action; in signal_handling_worker() local 90 action = (enum signal_action) (uintptr_t) context; in signal_handling_worker() 95 if (action == ONLY_SIGUSR1 || action == SIGUSR1_AND_SIGUSR2) { in signal_handling_worker() 106 if (action == ONLY_SIGUSR2 || action == SIGUSR1_AND_SIGUSR2) { in signal_handling_worker() 123 if (action == ONLY_SIGUSR1 || action == SIGUSR1_AND_SIGUSR2) { in signal_handling_worker() 130 if (action == ONLY_SIGUSR2 || action == SIGUSR1_AND_SIGUSR2) { in signal_handling_worker() 142 if (action == ONLY_SIGUSR1 || action == SIGUSR1_AND_SIGUSR2) { in signal_handling_worker() 147 if (action == ONLY_SIGUSR2 || action == SIGUSR1_AND_SIGUSR2) { in signal_handling_worker() 210 enum signal_action action; in TEST_IMPL() local 232 case 0: action = ONLY_SIGUSR1; break; in TEST_IMPL() [all …]
|
| /netbsd-src/external/bsd/unbound/dist/respip/ |
| H A D | respip.c | 116 node->action = respip_none; in respip_sockaddr_find_or_create() 185 enum respip_action action; in respip_action_cfg() local 189 if(node->action != respip_none) { in respip_action_cfg() 194 action = respip_deny; in respip_action_cfg() 196 action = respip_redirect; in respip_action_cfg() 198 action = respip_inform; in respip_action_cfg() 200 action = respip_inform_deny; in respip_action_cfg() 202 action = respip_inform_redirect; in respip_action_cfg() 204 action = respip_always_transparent; in respip_action_cfg() 206 action = respip_always_refuse; in respip_action_cfg() [all …]
|
| /netbsd-src/external/gpl2/gettext/dist/gettext-tools/src/ |
| H A D | plural-eval.c | 72 struct sigaction action; in install_sigfpe_handler() local 73 action.sa_sigaction = sigfpe_handler; in install_sigfpe_handler() 74 action.sa_flags = SA_SIGINFO; in install_sigfpe_handler() 75 sigemptyset (&action.sa_mask); in install_sigfpe_handler() 76 sigaction (SIGFPE, &action, (struct sigaction *) NULL); in install_sigfpe_handler() 86 struct sigaction action; in uninstall_sigfpe_handler() local 87 action.sa_handler = SIG_DFL; in uninstall_sigfpe_handler() 88 action.sa_flags = 0; in uninstall_sigfpe_handler() 89 sigemptyset (&action.sa_mask); in uninstall_sigfpe_handler() 90 sigaction (SIGFPE, &action, (struct sigaction *) NULL); in uninstall_sigfpe_handler()
|
| /netbsd-src/crypto/external/bsd/netpgp/dist/bindings/lua/ |
| H A D | optparse.lua | 60 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",
|