/netbsd-current/external/bsd/less/dist/ |
H A D | mkfuncs.awk | 1 BEGIN { FS="("; state = 0 } 3 /^ public/ { ftype = $0; state = 1 } 5 { if (state == 1) 6 state = 2 7 else if (state == 2) 8 { print ftype,$1,"();"; state = 0 }
|
/netbsd-current/external/bsd/lutok/dist/examples/ |
H A D | hello.cpp | 34 #include <lutok/state.ipp> 43 // Initializes a new Lua state. Every Lua state is independent from each 45 lutok::state state; local 47 // Loads the standard library into the Lua state. Among many other 49 state.open_base(); 52 // and then proceeds to execute it within the Lua state. 53 state.get_global("print"); 54 state [all...] |
H A D | raii.cpp | 30 /// Demonstrates how RAII helps in keeping the Lua state consistent. 40 /// developer in maintaining the Lua state consistent at all times in a 50 #include <lutok/state.ipp> 58 /// \pre The top of the Lua stack in 'state' references a table. 60 /// \param state The Lua state. 63 print_table_field(lutok::state& state, const std::string& field) argument 65 assert(state.is_table()); 74 lutok::stack_cleaner cleaner(state); 113 lutok::state state; local [all...] |
/netbsd-current/external/ibm-public/postfix/dist/src/smtpd/ |
H A D | smtpd_state.c | 11 /* void smtpd_state_init(state, stream, service) 12 /* SMTPD_STATE *state; 16 /* void smtpd_state_reset(state) 17 /* SMTPD_STATE *state; 24 /* .IP state 80 void smtpd_state_init(SMTPD_STATE *state, VSTREAM *stream, argument 85 * Initialize the state information for this connection, and fill in the 88 state->flags = 0; 89 state->err = CLEANUP_STAT_OK; 90 state 198 smtpd_state_reset(SMTPD_STATE *state) argument [all...] |
H A D | smtpd_sasl_glue.c | 11 /* void smtpd_sasl_state_init(state) 12 /* SMTPD_STATE *state; 16 /* void smtpd_sasl_activate(state, sasl_opts_name, sasl_opts_val) 17 /* SMTPD_STATE *state; 21 /* char *smtpd_sasl_authenticate(state, sasl_method, init_response) 22 /* SMTPD_STATE *state; 26 /* void smtpd_sasl_logout(state) 27 /* SMTPD_STATE *state; 29 /* void smtpd_sasl_login(state, sasl_username, sasl_method) 30 /* SMTPD_STATE *state; 200 smtpd_sasl_activate(SMTPD_STATE *state, const char *sasl_opts_name, const char *sasl_opts_val) argument 268 smtpd_sasl_state_init(SMTPD_STATE *state) argument 278 smtpd_sasl_deactivate(SMTPD_STATE *state) argument 308 smtpd_sasl_authenticate(SMTPD_STATE *state, const char *sasl_method, const char *init_response) argument 373 smtpd_sasl_logout(SMTPD_STATE *state) argument 387 smtpd_sasl_login(SMTPD_STATE *state, const char *sasl_username, const char *sasl_method) argument [all...] |
H A D | smtpd_sasl_proto.c | 12 /* int smtpd_sasl_auth_cmd(state, argc, argv) 13 /* SMTPD_STATE *state; 17 /* void smtpd_sasl_auth_extern(state, username, method) 18 /* SMTPD_STATE *state; 22 /* void smtpd_sasl_auth_reset(state) 23 /* SMTPD_STATE *state; 25 /* char *smtpd_sasl_mail_opt(state, sender) 26 /* SMTPD_STATE *state; 29 /* void smtpd_sasl_mail_reset(state) 30 /* SMTPD_STATE *state; 151 smtpd_sasl_auth_cmd(SMTPD_STATE *state, int argc, SMTPD_TOKEN *argv) argument 234 smtpd_sasl_mail_opt(SMTPD_STATE *state, const char *addr) argument 259 smtpd_sasl_mail_reset(SMTPD_STATE *state) argument 269 permit_sasl_auth(SMTPD_STATE *state, int ifyes, int ifnot) argument [all...] |
/netbsd-current/external/ibm-public/postfix/dist/src/tlsproxy/ |
H A D | tlsproxy_state.c | 15 /* void tlsp_state_free(state) 16 /* TLSP_STATE *state; 103 /* tlsp_state_create - create TLS proxy state object */ 108 TLSP_STATE *state = (TLSP_STATE *) mymalloc(sizeof(*state)); local 110 state->flags = TLSP_FLAG_DO_HANDSHAKE; 111 state->service = mystrdup(service); 112 state->plaintext_stream = plaintext_stream; 113 state->plaintext_buf = 0; 114 state 131 tlsp_state_free(TLSP_STATE *state) argument [all...] |
/netbsd-current/external/ibm-public/postfix/dist/src/smtp/ |
H A D | smtp_state.c | 7 /* initialize/cleanup shared state 13 /* void smtp_state_free(state) 14 /* SMTP_STATE *state; 16 /* smtp_state_init() initializes the shared state, and allocates 64 SMTP_STATE *state = (SMTP_STATE *) mymalloc(sizeof(*state)); local 66 state->misc_flags = 0; 67 state->src = 0; 68 state->service = 0; 69 state 99 smtp_state_free(SMTP_STATE *state) argument [all...] |
/netbsd-current/external/bsd/kyua-cli/dist/utils/config/ |
H A D | lua_module.cpp | 32 #include <lutok/state.ipp> 43 /// Gets the tree singleton stored in the Lua state. 45 /// \param state The Lua state. The registry must contain a key named 48 /// \return A reference to the tree associated with the Lua state. 52 get_global_tree(lutok::state& state) argument 54 lutok::stack_cleaner cleaner(state); 56 state.push_value(lutok::registry_index); 57 state 81 get_tree_key(lutok::state& state, const int table_index, const int field_index) argument 111 new_table_for_key(lutok::state& state, const std::string& tree_key) argument 151 redirect_newindex(lutok::state& state) argument 192 redirect_index(lutok::state& state) argument 258 redirect(lutok::state& state, tree& out_tree) argument [all...] |
/netbsd-current/external/ibm-public/postfix/dist/src/qmqpd/ |
H A D | qmqpd_state.c | 14 /* void qmqpd_state_free(state) 15 /* QMQPD_STATE *state; 58 /* qmqpd_state_alloc - allocate and initialize session state */ 62 QMQPD_STATE *state; local 64 state = (QMQPD_STATE *) mymalloc(sizeof(*state)); 65 state->err = CLEANUP_STAT_OK; 66 state->client = stream; 67 state->message = vstring_alloc(1000); 68 state 86 qmqpd_state_free(QMQPD_STATE *state) argument [all...] |
/netbsd-current/external/ibm-public/postfix/dist/src/cleanup/ |
H A D | cleanup_state.c | 7 /* per-message state variables 14 /* void cleanup_state_free(state) 15 /* CLEANUP_STATE *state; 17 /* This module maintains about two dozen state variables 21 /* cleanup_state_alloc() initializes the per-message state variables. 65 /* cleanup_state_alloc - initialize global state */ 69 CLEANUP_STATE *state = (CLEANUP_STATE *) mymalloc(sizeof(*state)); local 71 state->attr_buf = vstring_alloc(10); 72 state 146 cleanup_state_free(CLEANUP_STATE *state) argument [all...] |
H A D | cleanup_envelope.c | 11 /* void cleanup_envelope(state, type, buf, len) 12 /* CLEANUP_STATE *state; 24 /* .IP state 25 /* Queue file and message processing state. This state is updated 91 void cleanup_envelope(CLEANUP_STATE *state, int type, argument 101 cleanup_out_format(state, REC_TYPE_SIZE, REC_TYPE_SIZE_FORMAT, 112 state->action = cleanup_envelope_process; 113 cleanup_envelope_process(state, type, str, len); 118 static void cleanup_envelope_process(CLEANUP_STATE *state, in argument [all...] |
H A D | cleanup_api.c | 14 /* void cleanup_control(state, flags) 15 /* CLEANUP_STATE *state; 18 /* void CLEANUP_RECORD(state, type, buf, len) 19 /* CLEANUP_STATE *state; 24 /* int cleanup_flush(state) 25 /* CLEANUP_STATE *state; 27 /* int cleanup_free(state) 28 /* CLEANUP_STATE *state; 67 /* little state machine. The last record in a valid message has type 69 /* the caller is encouraged to test the CLEANUP_OUT_OK(state) macr 142 CLEANUP_STATE *state; local 192 cleanup_control(CLEANUP_STATE *state, int flags) argument 216 cleanup_flush(CLEANUP_STATE *state) argument 387 cleanup_free(CLEANUP_STATE *state) argument [all...] |
/netbsd-current/external/bsd/lutok/dist/ |
H A D | state_test.cpp | 29 #include "state.ipp" 44 // A note about the lutok::state tests. 46 // The methods of lutok::state are, in general, thin wrappers around the 53 // Lastly, for every test case that stresses a single lutok::state method, we 54 // only call that method directly. All other Lua state manipulation operations 64 /// \param state The Lua state. 69 is_available(lutok::state& state, const char* symbol) argument 71 luaL_loadstring(raw(state), (st 88 check_modules(lutok::state& state, const std::string& expected) argument 111 lutok::state state = lutok::state_c_gate::connect(raw_state); local 129 cxx_multiply_closure(lutok::state& state) argument 154 cxx_divide(lutok::state& state) argument 179 raise_long_error(lutok::state& state) argument 192 lutok::state state; local 202 lutok::state state; local 213 lutok::state state; local 223 lutok::state state; local 237 lutok::state state; local 252 lutok::state state; local 265 lutok::state state; local 283 lutok::state state; local 302 lutok::state state; local 313 lutok::state state; local 327 lutok::state state; local 339 lutok::state state; local 353 lutok::state state; local 366 lutok::state state; local 383 lutok::state state; local 391 lutok::state state; local 403 lutok::state state; local 416 lutok::state state; local 424 lutok::state state; local 438 lutok::state state; local 453 lutok::state state; local 461 lutok::state state; local 473 lutok::state state; local 486 lutok::state state; local 494 lutok::state state; local 506 lutok::state state; local 519 lutok::state state; local 527 lutok::state state; local 541 lutok::state state; local 558 lutok::state state; local 566 lutok::state state; local 580 lutok::state state; local 595 lutok::state state; local 603 lutok::state state; local 616 lutok::state state; local 634 lutok::state state; local 650 lutok::state state; local 658 lutok::state state; local 667 lutok::state state; local 678 lutok::state state; local 686 lutok::state state; local 697 lutok::state state; local 709 lutok::state state; local 723 lutok::state state; local 753 lutok::state state; local 763 lutok::state state; local 773 lutok::state state; local 783 lutok::state state; local 800 lutok::state state; local 809 lutok::state state; local 823 lutok::state state; local 837 lutok::state state; local 852 lutok::state state; local 867 lutok::state state; local 881 lutok::state state; local 894 lutok::state state; local 907 lutok::state state; local 924 lutok::state state; local 939 lutok::state state; local 954 lutok::state state; local 974 lutok::state state; local 990 lutok::state state; local 1006 lutok::state state; local 1023 lutok::state state; local 1042 lutok::state state; local 1061 lutok::state state; local 1082 lutok::state state; local 1099 lutok::state state; local 1112 lutok::state state; local 1135 lutok::state state; local 1159 lutok::state state; local 1187 lutok::state state; local 1199 lutok::state state; local 1211 lutok::state state; local 1223 lutok::state state; local 1235 lutok::state state; local 1246 lutok::state state; local 1258 lutok::state state; local 1270 lutok::state state; local 1286 lutok::state state; local 1303 lutok::state state; local [all...] |
H A D | stack_cleaner_test.cpp | 37 lutok::state state; local 39 lutok::stack_cleaner cleaner(state); 40 ATF_REQUIRE_EQ(0, state.get_top()); 42 ATF_REQUIRE_EQ(0, state.get_top()); 49 lutok::state state; local 51 lutok::stack_cleaner cleaner(state); 52 state.push_integer(15); 53 ATF_REQUIRE_EQ(1, state 64 lutok::state state; local 87 lutok::state state; local [all...] |
H A D | operations_test.cpp | 36 #include "state.ipp" 49 /// \param state The Lua state. 53 hook_add(lutok::state& state) argument 55 state.push_integer(state.to_integer(-1) + state.to_integer(-2)); 66 /// \param state The Lua state 70 hook_multiply(lutok::state& state) argument 83 lutok::state state; local 97 lutok::state state; local 111 lutok::state state; local 135 lutok::state state; local 152 lutok::state state; local 165 lutok::state state; local 177 lutok::state state; local 191 lutok::state state; local 201 lutok::state state; local 214 lutok::state state; local 223 lutok::state state; local 235 lutok::state state; local 245 lutok::state state; local 256 lutok::state state; local 269 lutok::state state; local [all...] |
H A D | c_gate.hpp | 30 /// Provides direct access to the C state of the Lua wrappers. 40 class state; 43 /// Gateway to the raw C state of Lua. 45 /// This class provides a mechanism to muck with the internals of the state 53 /// any other way, so you can end up corrupting the Lua state and later get 56 /// The C++ state that this class wraps. 57 state& _state; 60 state_c_gate(state&); 63 static state connect(lua_State*);
|
/netbsd-current/external/gpl3/gdb.old/dist/gdbserver/ |
H A D | x86-low.cc | 27 x86_low_init_dregs (struct x86_debug_reg_state *state) argument 33 state->dr_mirror[i] = 0; 34 state->dr_ref_count[i] = 0; 36 state->dr_control_mirror = 0; 37 state->dr_status_mirror = 0;
|
H A D | x86-low.h | 26 extern void x86_low_init_dregs (struct x86_debug_reg_state *state);
|
/netbsd-current/external/gpl3/gdb/dist/gdbserver/ |
H A D | x86-low.cc | 27 x86_low_init_dregs (struct x86_debug_reg_state *state) argument 33 state->dr_mirror[i] = 0; 34 state->dr_ref_count[i] = 0; 36 state->dr_control_mirror = 0; 37 state->dr_status_mirror = 0;
|
/netbsd-current/external/ibm-public/postfix/dist/src/virtual/ |
H A D | unknown.c | 11 /* int deliver_unknown(state) 12 /* LOCAL_STATE state; 17 /* .IP state 52 int deliver_unknown(LOCAL_STATE state) argument 59 state.level++; 61 MSG_LOG_STATE(myname, state); 63 dsb_simple(state.msg_attr.why, "5.1.1", 64 "unknown user: \"%s\"", state.msg_attr.user); 65 return (bounce_append(BOUNCE_FLAGS(state.request), 66 BOUNCE_ATTR(state [all...] |
/netbsd-current/external/bsd/kyua-cli/dist/utils/fs/ |
H A D | lua_module.cpp | 41 #include <lutok/state.ipp> 59 /// \param state The Lua state. 63 lua_fs_basename(lutok::state& state) argument 65 if (!state.is_string()) 67 const fs::path path(state.to_string()); 69 state.push_string(path.leaf_name().c_str()); 79 /// \param state The Lua state 83 lua_fs_dirname(lutok::state& state) argument 103 lua_fs_exists(lutok::state& state) argument 127 files_iterator(lutok::state& state) argument 152 files_gc(lutok::state& state) argument 177 lua_fs_files(lutok::state& state) argument 214 lua_fs_is_absolute(lutok::state& state) argument 235 lua_fs_join(lutok::state& state) argument [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/utils/benchmark/test/ |
H A D | link_main_test.cc | 3 void BM_empty(benchmark::State& state) { argument 4 for (auto _ : state) { 5 benchmark::DoNotOptimize(state.iterations());
|
/netbsd-current/external/apache2/llvm/dist/libcxx/utils/google-benchmark/test/ |
H A D | link_main_test.cc | 3 void BM_empty(benchmark::State& state) { argument 4 for (auto _ : state) { 5 benchmark::DoNotOptimize(state.iterations());
|
/netbsd-current/external/ibm-public/postfix/dist/src/postscreen/ |
H A D | postscreen_early.c | 13 /* void psc_early_tests(state) 14 /* PSC_STATE *state; 63 static void psc_allowlist_non_dnsbl(PSC_STATE *state) argument 78 if ((state->flags & PSC_STATE_MASK_ANY_FAIL) == 0 79 && state->dnsbl_score < var_psc_dnsbl_thresh 81 && state->dnsbl_score <= var_psc_dnsbl_althresh) { 86 if ((state->flags & PSC_STATE_FLAG_BYTINDX_TODO(tindx)) 87 && !(state->flags & PSC_STATE_FLAG_BYTINDX_PASS(tindx))) { 90 psc_test_name(tindx), PSC_CLIENT_ADDR_PORT(state)); 92 state 108 PSC_STATE *state = (PSC_STATE *) context; local 302 PSC_STATE *state = (PSC_STATE *) context; local 329 psc_early_tests(PSC_STATE *state) argument [all...] |