| /openbsd-src/usr.sbin/apm/ |
| H A D | apm.c | 95 do_zzz(int fd, enum apm_action action) in do_zzz() argument 104 switch (action) { in do_zzz() 107 command.action = SUSPEND; in do_zzz() 111 command.action = STANDBY; in do_zzz() 115 command.action = HIBERNATE; in do_zzz() 161 enum apm_action action = NONE; in main() local 179 if (action != NONE) in main() 181 action = SUSPEND; in main() 184 if (action != NONE) in main() 186 action = STANDBY; in main() [all …]
|
| /openbsd-src/usr.sbin/bgpd/ |
| H A D | rde_filter.c | 47 state->aspath.lpref = set->action.metric; in rde_apply_set() 50 if (set->action.relative > 0) { in rde_apply_set() 52 UINT_MAX - set->action.relative) in rde_apply_set() 56 set->action.relative; in rde_apply_set() 59 0U - set->action.relative) in rde_apply_set() 63 set->action.relative; in rde_apply_set() 68 state->aspath.med = set->action.metric; in rde_apply_set() 72 if (set->action.relative > 0) { in rde_apply_set() 74 UINT_MAX - set->action.relative) in rde_apply_set() 78 set->action.relative; in rde_apply_set() [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Commands/ |
| H A D | CommandOptionsProcessLaunch.cpp | 44 FileAction action; in SetOptionValue() local 45 if (action.Open(STDIN_FILENO, FileSpec(option_arg), true, false)) in SetOptionValue() 46 launch_info.AppendFileAction(action); in SetOptionValue() 52 FileAction action; in SetOptionValue() local 53 if (action.Open(STDOUT_FILENO, FileSpec(option_arg), false, true)) in SetOptionValue() 54 launch_info.AppendFileAction(action); in SetOptionValue() 60 FileAction action; in SetOptionValue() local 61 if (action.Open(STDERR_FILENO, FileSpec(option_arg), false, true)) in SetOptionValue() 62 launch_info.AppendFileAction(action); in SetOptionValue() 72 FileAction action; in SetOptionValue() local [all …]
|
| /openbsd-src/gnu/llvm/llvm/utils/lit/lit/ |
| H A D | cl_arguments.py | 26 action='version', 43 action="append", 51 action="store_true") 56 action="store_true") 60 action="store_true") 63 action="store_true", 69 action="store_true") 77 action="store_false") 87 action="append_const", 94 action="append", [all …]
|
| /openbsd-src/usr.bin/yacc/ |
| H A D | mkpar.c | 38 action **parser; 52 extern action *parse_actions(int); 53 extern action *get_shifts(int); 54 extern action *add_reductions(int, action *); 55 extern action *add_reduce(action *, int, int); 58 void free_action_row(action *); 72 parser = NEW2(nstates, action *); in make_parser() 85 action * 88 action *actions; in parse_actions() 96 action * [all …]
|
| /openbsd-src/gnu/llvm/clang/utils/analyzer/ |
| H A D | SATest.py | 211 add_parser.add_argument("--mode", action="store", default=1, type=int, 216 add_parser.add_argument("--source", action="store", default="script", 224 add_parser.add_argument("--origin", action="store", default="", 226 add_parser.add_argument("--commit", action="store", default="", 241 build_parser.add_argument("-r", dest="regenerate", action="store_true", 244 build_parser.add_argument("--override-compiler", action="store_true", 258 build_parser.add_argument("--projects", action="store", default="", 260 build_parser.add_argument("--max-size", action="store", default=None, 262 build_parser.add_argument("-v", "--verbose", action="count", default=0) 273 action="store", type=str, default="") [all …]
|
| /openbsd-src/gnu/llvm/clang/tools/scan-build-py/lib/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 …]
|
| /openbsd-src/gnu/llvm/lldb/packages/Python/lldbsuite/test/ |
| H A D | dotest_args.py | 23 optstr, help=helpstr, action='store_true', **kwargs) 30 action='store_true', 68 action='append', 76 … group.add_argument('--excluded', metavar='exclusion-file', action='append', help=textwrap.dedent( 83 action='append', 89 action='append', 95 action='append', 112 action='store_true', 126 action='append', 139 …group.add_argument('--channel', metavar='channel', dest='channels', action='append', help=textwrap… [all …]
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/ |
| H A D | 980506-1.c | 37 short action; local 48 action = TIFFFax1DAction[state][sp_data]; 50 if (action == 0 ) 52 if (action == 1 ) 54 if (action == 210 ) 57 action = (TIFFFaxWhiteCodes[ action - 2 ].runlen) ; 58 runlen += action; 59 if (action < 64)
|
| /openbsd-src/usr.sbin/unbound/respip/ |
| H A D | respip.c | 9 * to see if any IP address record should trigger a special action. 116 node->action = respip_none; in respip_sockaddr_find_or_create() 179 /** set action for the node specified by the netblock string */ 185 enum respip_action action; in respip_action_cfg() local 189 if(node->action != respip_none) { in respip_action_cfg() 190 verbose(VERB_QUERY, "duplicate response-ip action for '%s', overridden.", 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 in respip_action_cfg() 664 respip_data_answer(enum respip_action action,struct ub_packed_rrset_key * data,uint16_t qtype,const struct reply_info * rep,size_t rrset_id,struct reply_info ** new_repp,int tag,struct config_strlist ** tag_datas,size_t tag_datas_size,char * const * tagname,int num_tags,struct ub_packed_rrset_key ** redirect_rrsetp,struct regional * region) respip_data_answer() argument 753 respip_nodata_answer(uint16_t qtype,enum respip_action action,const struct reply_info * rep,size_t rrset_id,struct reply_info ** new_repp,struct regional * region) respip_nodata_answer() argument 798 populate_action_info(struct respip_action_info * actinfo,enum respip_action action,const struct resp_addr * raddr,const struct ub_packed_rrset_key * ATTR_UNUSED (rrset),int ATTR_UNUSED (tag),const struct respip_set * ATTR_UNUSED (ipset),int ATTR_UNUSED (action_only),struct regional * region,int rpz_used,int rpz_log,char * log_name,int rpz_cname_override) populate_action_info() argument 834 respip_use_rpz(struct resp_addr * raddr,struct rpz * r,enum respip_action * action,struct ub_packed_rrset_key ** data,int * rpz_log,char ** log_name,int * rpz_cname_override,struct regional * region,int * is_rpz,int * rpz_passthru) respip_use_rpz() argument 881 enum respip_action action = respip_none; respip_rewrite_reply() local [all...] |
| /openbsd-src/sbin/unwind/libunbound/respip/ |
| H A D | respip.c | 9 * to see if any IP address record should trigger a special action. 116 node->action = respip_none; in respip_sockaddr_find_or_create() 179 /** set action for the node specified by the netblock string */ 185 enum respip_action action; in respip_action_cfg() local 189 if(node->action != respip_none) { in respip_action_cfg() 190 verbose(VERB_QUERY, "duplicate response-ip action for '%s', overridden.", 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 in respip_action_cfg() 664 respip_data_answer(enum respip_action action,struct ub_packed_rrset_key * data,uint16_t qtype,const struct reply_info * rep,size_t rrset_id,struct reply_info ** new_repp,int tag,struct config_strlist ** tag_datas,size_t tag_datas_size,char * const * tagname,int num_tags,struct ub_packed_rrset_key ** redirect_rrsetp,struct regional * region) respip_data_answer() argument 753 respip_nodata_answer(uint16_t qtype,enum respip_action action,const struct reply_info * rep,size_t rrset_id,struct reply_info ** new_repp,struct regional * region) respip_nodata_answer() argument 798 populate_action_info(struct respip_action_info * actinfo,enum respip_action action,const struct resp_addr * raddr,const struct ub_packed_rrset_key * ATTR_UNUSED (rrset),int ATTR_UNUSED (tag),const struct respip_set * ATTR_UNUSED (ipset),int ATTR_UNUSED (action_only),struct regional * region,int rpz_used,int rpz_log,char * log_name,int rpz_cname_override) populate_action_info() argument 834 respip_use_rpz(struct resp_addr * raddr,struct rpz * r,enum respip_action * action,struct ub_packed_rrset_key ** data,int * rpz_log,char ** log_name,int * rpz_cname_override,struct regional * region,int * is_rpz,int * rpz_passthru) respip_use_rpz() argument 881 enum respip_action action = respip_none; respip_rewrite_reply() local [all...] |
| /openbsd-src/gnu/usr.bin/binutils/gdb/testsuite/gdb.base/ |
| H A D | siginfo.c | 46 struct sigaction action; in main() local 47 memset (&action, 0, sizeof (action)); in main() 49 action.sa_sigaction = handler; in main() 50 action.sa_flags |= SA_SIGINFO; in main() 52 action.sa_handler = handler; in main() 54 sigaction (SIGVTALRM, &action, NULL); in main()
|
| H A D | sigstep.c | 35 struct sigaction action; variable 47 memset (&action, 0, sizeof (action)); in main() 48 action.sa_handler = handler; in main() 49 sigaction (SIGVTALRM, &action, NULL); in main() 50 sigaction (SIGALRM, &action, NULL); in main()
|
| /openbsd-src/lib/libc/stdlib/ |
| H A D | tsearch.c | 95 trecurse(node *root, void (*action)(const void *, VISIT, int), int level) in trecurse() 98 (*action)(root, leaf, level); in trecurse() 100 (*action)(root, preorder, level); in trecurse() 102 trecurse(root->left, action, level + 1); in trecurse() 103 (*action)(root, postorder, level); in trecurse() 105 trecurse(root->right, action, level + 1); in trecurse() 106 (*action)(root, endorder, level); in trecurse() 112 twalk(const void *vroot, void (*action)(const void *, VISIT, int)) in twalk() 116 if (root != (node *)0 && action != (void (*)(const void *, VISIT, int))0) in twalk() 117 trecurse(root, action, 0); in twalk()
|
| /openbsd-src/gnu/llvm/lldb/third_party/Python/module/pexpect-4.6/pexpect/ |
| H A D | FSM.py | 119 self.action = None 131 def add_transition (self, input_symbol, state, action=None, next_state=None): argument 146 self.state_transitions[(input_symbol, state)] = (action, next_state) 148 def add_transition_list (self, list_input_symbols, state, action=None, next_state=None): argument 162 self.add_transition (input_symbol, state, action, next_state) 164 def add_transition_any (self, state, action=None, next_state=None): argument 180 self.state_transitions_any [state] = (action, next_state) 182 def set_default_transition (self, action, next_state): argument 193 self.default_transition = (action, next_state) 239 (self.action, self.next_state) = self.get_transition (self.input_symbol, self.current_state) [all …]
|
| /openbsd-src/lib/libssl/ |
| H A D | tls13_handshake.c | 47 const struct tls13_handshake_action *action); 49 const struct tls13_handshake_action *action); 356 const struct tls13_handshake_action *action; in tls13_handshake_perform() local 378 if ((action = tls13_handshake_active_action(ctx)) == NULL) in tls13_handshake_perform() 388 if (action->handshake_complete) { in tls13_handshake_perform() 400 sending = action->sender == ctx->mode; in tls13_handshake_perform() 404 tls13_handshake_message_name(action->handshake_type)); in tls13_handshake_perform() 410 ret = tls13_handshake_send_action(ctx, action); in tls13_handshake_perform() 412 ret = tls13_handshake_recv_action(ctx, action); in tls13_handshake_perform() 420 (action->sender == ctx->mode) ? "send" : "recv", in tls13_handshake_perform() [all …]
|
| /openbsd-src/gnu/llvm/llvm/utils/ |
| H A D | llvm-original-di-preservation.py | 15 def __init__(self, action, bb_name, fn_name, instr): argument 16 self.action = action 21 return self.action + self.bb_name + self.fn_name + self.instr 24 def __init__(self, action, fn_name): argument 25 self.action = action 28 return self.action + self.fn_name 31 def __init__(self, action, name, fn_name): argument 32 self.action = action 36 return self.action + self.name + self.fn_name 93 row.append(x.action) [all …]
|
| /openbsd-src/gnu/llvm/llvm/utils/Misc/ |
| H A D | zkill | 146 action="store", default='INT', 150 action="store_true", default=False) 154 action="store_true", default=False) 157 action="store_true", default=False) 160 action="store_true", default=False) 163 action="store_true", default=False) 169 action="store", default=None) 172 action="store", default=None) 175 action="store", default=None) 178 action="store", type=float, default=None) [all …]
|
| /openbsd-src/usr.sbin/ifstated/ |
| H A D | parse.y | 126 | grammar action '\n' 190 action : RUN STRING { 191 struct ifsd_action *action; variable 193 if ((action = calloc(1, sizeof(*action))) == NULL) 195 action->type = IFSD_ACTION_COMMAND; 196 action->act.command = $2; 198 action, entries); 201 struct ifsd_action *action; variable 208 if ((action = calloc(1, sizeof(*action))) == NULL) 210 action->type = IFSD_ACTION_CHANGESTATE; [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Host/posix/ |
| H A D | ProcessLauncherPosixFork.cpp | 92 FileAction::Action action; member 110 for (const ForkFileAction &action : actions) { in has_action() local 111 if (action.fd == fd) in has_action() 125 for (const ForkFileAction &action : info.actions) { in ChildFunc() local 126 switch (action.action) { in ChildFunc() 128 if (close(action.fd) != 0) in ChildFunc() 132 if (dup2(action.fd, action.arg) == -1) in ChildFunc() 136 DupDescriptor(error_fd, action.path.c_str(), action.fd, action.arg); in ChildFunc() 226 : action(act.GetAction()), fd(act.GetFD()), path(act.GetPath().str()), in ForkFileAction()
|
| /openbsd-src/gnu/llvm/libcxx/utils/libcxx/test/ |
| H A D | newconfig.py | 27 for action in actions: 28 action.applyTo(config) 31 action.pretty(config, lit_config.params), 37 for action in actions: 38 action.applyTo(config) 41 action.pretty(config, lit_config.params),
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/models/ |
| H A D | gen-regalloc-eviction-test-model.py | 48 def action(*inputs): function 52 module.action = tf.function()(action) 53 action = { 54 'action': module.action.get_concrete_function(get_input_signature()) 56 tf.saved_model.save(module, path, signatures=action)
|
| H A D | gen-inline-oz-test-model.py | 105 def action(*inputs): function 108 module.action = tf.function()(action) 109 action = {'action': module.action.get_concrete_function(signature['inputs'])} 110 tf.saved_model.save(module, path, signatures=action)
|
| /openbsd-src/gnu/usr.bin/perl/cpan/podlators/t/data/snippets/man/ |
| H A D | soft-hyphens | 7 sigE<shy>action 13 sigE<173>action 19 sigE<0x00AD>action 26 sig\%action 32 sig\%action 38 sig\%action
|
| /openbsd-src/usr.sbin/rcctl/ |
| H A D | rcctl.sh | 82 needs_root ${action} 520 action=$1 523 case ${action} in 542 if [ "${action}" != "disable" ]; then 563 rcctl_err "/etc/rc.d/${svc} is a meta script, cannot \"${action} ${var}\"" 567 rcctl_err "\"${svc}\" is a special variable, cannot \"${action} ${var}\"" 578 if [ "${action} ${var} ${args}" != "set status off" ]; then 588 rcctl_err "/etc/rc.d/${svc} is a meta script, cannot \"${action} ${var}\"" 590 rcctl_err "\"flags NO\" contradicts \"${action}\"" 593 rcctl_err "\"${svc}\" is a special variable, cannot \"${action} [all...] |