| /src/external/bsd/less/dist/ |
| 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 }
|
| /src/external/bsd/lutok/dist/examples/ |
| 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.push_string("Hello, world!") [all...] |
| 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) 65 assert(state.is_table()); 74 lutok::stack_cleaner cleaner(state); 113 lutok::state state; local [all...] |
| /src/external/ibm-public/postfix/dist/src/smtpd/ |
| 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, 85 * Initialize the state information for this connection, and fill in the 88 state->flags = 0; 89 state->err = CLEANUP_STAT_OK; 90 state->client = stream [all...] |
| 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; [all...] |
| 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; [all...] |
| /src/external/ibm-public/postfix/dist/src/tlsproxy/ |
| 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->ciphertext_fd = -1 [all...] |
| /src/external/ibm-public/postfix/dist/src/smtp/ |
| 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 71 SMTP_STATE *state = (SMTP_STATE *) mymalloc(sizeof(*state)); local 73 state->misc_flags = 0; 74 state->src = 0; 75 state->service = 0; 76 state->request = 0 [all...] |
| /src/external/bsd/zstd/dist/zlibWrapper/ |
| gzwrite.c | 19 /* Initialize state for writing a gzip file. Mark initialization by setting 20 state.state->size to non-zero. Return -1 on a memory allocation failure, or 0 on 22 local int gz_init(gz_statep state) { 24 z_streamp strm = &(state.state->strm); 27 state.state->in = (unsigned char*)malloc(state.state->want << 1) 240 gz_statep state; local 266 gz_statep state; local 293 gz_statep state; local 338 gz_statep state; local 363 gz_statep state; local 449 gz_statep state; local 529 gz_statep state; local 558 gz_statep state; local 597 gz_statep state; local [all...] |
| gzread.c | 29 state.state->fd, and update state.state->eof, state.state->err, and state.state->msg as appropriate. 32 local int gz_load(gz_statep state, unsigned char *buf, unsigned len, 42 ret = read(state.state->fd, buf + *have, get) 370 gz_statep state; local 404 gz_statep state; local 448 gz_statep state; local 478 gz_statep state; local 538 gz_statep state; local 595 gz_statep state; local 614 gz_statep state; local [all...] |
| gzlib.c | 75 /* Reset gzip file state */ 76 local void gz_reset(gz_statep state) { 77 state.state->x.have = 0; /* no output data available */ 78 if (state.state->mode == GZ_READ) { /* for reading ... */ 79 state.state->eof = 0; /* not at end of file */ 80 state.state->past = 0; /* have not read past end yet * 91 gz_statep state; local 300 gz_statep state; local 324 gz_statep state; local 347 gz_statep state; local 426 gz_statep state; local 450 gz_statep state; local 478 gz_statep state; local 493 gz_statep state; local 511 gz_statep state; local [all...] |
| /src/external/bsd/kyua-cli/dist/utils/config/ |
| 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) 54 lutok::stack_cleaner cleaner(state); 56 state.push_value(lutok::registry_index); 57 state.push_string("tree") [all...] |
| /src/external/ibm-public/postfix/dist/src/qmqpd/ |
| 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->buf = vstring_alloc(100) [all...] |
| /src/external/ibm-public/postfix/dist/src/cleanup/ |
| 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. 68 /* cleanup_state_alloc - initialize global state */ 72 CLEANUP_STATE *state = (CLEANUP_STATE *) mymalloc(sizeof(*state)); local 74 state->attr_buf = vstring_alloc(10); 75 state->temp1 = vstring_alloc(10) [all...] |
| 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) macro 145 CLEANUP_STATE *state; local [all...] |
| /src/external/bsd/lutok/dist/ |
| 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) 71 luaL_loadstring(raw(state), (std::string("return ") + symbol).c_str()) 111 lutok::state state = lutok::state_c_gate::connect(raw_state); local 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...] |
| 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.get_top()) 64 lutok::state state; local 87 lutok::state state; local [all...] |
| /src/external/gpl3/gdb/dist/gdb/config/i386/ |
| nm-x86-gnu.h | 26 #define THREAD_STATE_SET_TRACED(state) \ 27 ((struct i386_thread_state *) (state))->rfl |= 0x100 28 #define THREAD_STATE_CLEAR_TRACED(state) \ 29 ((((struct i386_thread_state *) (state))->rfl &= ~0x100), 1) 31 #define THREAD_STATE_SET_TRACED(state) \ 32 ((struct i386_thread_state *) (state))->efl |= 0x100 33 #define THREAD_STATE_CLEAR_TRACED(state) \ 34 ((((struct i386_thread_state *) (state))->efl &= ~0x100), 1)
|
| /src/external/gpl3/gdb.old/dist/gdbserver/ |
| x86-low.cc | 26 x86_low_init_dregs (struct x86_debug_reg_state *state) 32 state->dr_mirror[i] = 0; 33 state->dr_ref_count[i] = 0; 35 state->dr_control_mirror = 0; 36 state->dr_status_mirror = 0;
|
| /src/external/gpl3/gdb/dist/gdbserver/ |
| x86-low.cc | 26 x86_low_init_dregs (struct x86_debug_reg_state *state) 32 state->dr_mirror[i] = 0; 33 state->dr_ref_count[i] = 0; 35 state->dr_control_mirror = 0; 36 state->dr_status_mirror = 0;
|
| /src/external/apache2/mDNSResponder/dist/ServiceRegistration/test/tests/ |
| multi-host-record.c | 34 test_multi_host_record_continue(test_state_t *state) 36 TEST_PASSED(state); 45 " service to change its text record, the resulting state is accurately replicated to an SRP\n" 48 test_state_t *state = test_state_create(srp_servers, local 51 state->next = next_test; 52 state->continue_testing = test_multi_host_record_continue; 53 test_change_text_record_start(state); 56 srp_test_state_add_timeout(state, 10);
|
| /src/external/ibm-public/postfix/dist/src/virtual/ |
| unknown.c | 11 /* int deliver_unknown(state) 12 /* LOCAL_STATE state; 17 /* .IP state 52 int deliver_unknown(LOCAL_STATE state) 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.msg_attr))) [all...] |
| /src/external/bsd/kyua-cli/dist/utils/fs/ |
| lua_module.cpp | 41 #include <lutok/state.ipp> 59 /// \param state The Lua state. 63 lua_fs_basename(lutok::state& state) 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 [all...] |
| /src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/test/ |
| link_main_test.cc | 3 void BM_empty(benchmark::State& state) { 4 for (auto _ : state) { 5 benchmark::DoNotOptimize(state.iterations());
|
| /src/external/apache2/llvm/dist/llvm/utils/benchmark/test/ |
| link_main_test.cc | 3 void BM_empty(benchmark::State& state) { 4 for (auto _ : state) { 5 benchmark::DoNotOptimize(state.iterations());
|