| /src/common/dist/zlib/ |
| gzclose.c | 13 gz_statep state; local 17 state = (gz_statep)file; 19 return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
|
| /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...] |
| interpreter.cpp | 38 #include <lutok/state.ipp> 43 /// \param state The Lua state in which to process the statement. 46 run_statement(lutok::state& state, const std::string& line) 53 lutok::do_string(state, line); 67 lutok::state state; local 68 state.open_base(); 69 state.open_string() [all...] |
| /src/external/bsd/zstd/dist/zlibWrapper/ |
| gzclose.c | 16 gz_statep state; local 20 state.file = file; 22 return state.state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
|
| /src/external/gpl3/binutils/dist/zlib/ |
| gzclose.c | 13 gz_statep state; local 17 state = (gz_statep)file; 19 return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
|
| /src/external/gpl3/binutils.old/dist/zlib/ |
| gzclose.c | 15 gz_statep state; local 19 state = (gz_statep)file; 21 return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
|
| /src/external/gpl3/gdb.old/dist/zlib/ |
| gzclose.c | 15 gz_statep state; local 19 state = (gz_statep)file; 21 return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
|
| /src/external/gpl3/gdb/dist/zlib/ |
| gzclose.c | 13 gz_statep state; local 17 state = (gz_statep)file; 19 return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
|
| /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/cddl/osnet/dev/dtrace/ |
| dtrace_anon.c | 32 dtrace_state_t *state = NULL; local 54 state = dtrace_anon.dta_state; 79 if (state != NULL) { 81 * If we created any anonymous state, set it going now. 83 (void) dtrace_state_go(state, &dtrace_anon.dta_beganon);
|
| dtrace_unload.c | 30 dtrace_state_t *state; local 66 if ((state = dtrace_anon_grab()) != NULL) { 68 * If there were ECBs on this state, the provider should 72 ASSERT(state->dts_necbs == 0); 73 dtrace_state_destroy(state);
|
| /src/external/gpl3/gcc/dist/libbacktrace/ |
| state.c | 0 /* state.c -- Create the backtrace state. 42 /* Create the backtrace state. This will then be passed to all the 51 struct backtrace_state *state; local 65 state = ((struct backtrace_state *) 66 backtrace_alloc (&init_state, sizeof *state, error_callback, data)); 67 if (state == NULL) 69 *state = init_state; 71 return state;
|
| /src/external/gpl3/gcc.old/dist/libbacktrace/ |
| state.c | 0 /* state.c -- Create the backtrace state. 42 /* Create the backtrace state. This will then be passed to all the 51 struct backtrace_state *state; local 65 state = ((struct backtrace_state *) 66 backtrace_alloc (&init_state, sizeof *state, error_callback, data)); 67 if (state == NULL) 69 *state = init_state; 71 return state;
|
| /src/external/gpl3/gdb/dist/gnulib/import/ |
| mbtowc-impl.h | 18 /* We don't need a static internal state, because the encoding is not state 29 mbstate_t state; local 33 memset (&state, 0, sizeof (mbstate_t)); 34 result = mbrtowc (&wc, s, n, &state);
|
| /src/external/gpl3/gdb/dist/libbacktrace/ |
| state.c | 0 /* state.c -- Create the backtrace state. 42 /* Create the backtrace state. This will then be passed to all the 51 struct backtrace_state *state; local 65 state = ((struct backtrace_state *) 66 backtrace_alloc (&init_state, sizeof *state, error_callback, data)); 67 if (state == NULL) 69 *state = init_state; 71 return state;
|
| /src/external/gpl3/gdb.old/dist/gnulib/import/ |
| mbtowc-impl.h | 18 /* We don't need a static internal state, because the encoding is not state 29 mbstate_t state; local 33 memset (&state, 0, sizeof (mbstate_t)); 34 result = mbrtowc (&wc, s, n, &state);
|
| /src/external/gpl3/gdb.old/dist/libbacktrace/ |
| state.c | 0 /* state.c -- Create the backtrace state. 42 /* Create the backtrace state. This will then be passed to all the 51 struct backtrace_state *state; local 65 state = ((struct backtrace_state *) 66 backtrace_alloc (&init_state, sizeof *state, error_callback, data)); 67 if (state == NULL) 69 *state = init_state; 71 return state;
|
| /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...] |
| /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/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/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/bsd/lutok/dist/ |
| state.hpp | 29 /// \file state.hpp 30 /// Provides the state wrapper class for the Lua C state. 47 class state; 55 typedef int (*cxx_function)(state&); 62 /// A RAII model for the Lua state. 64 /// This class holds the state of the Lua interpreter during its existence and 66 /// state. 69 /// implicit state hold by the class, they use C++ types where appropriate and 76 class state { class in namespace:lutok [all...] |
| /src/external/bsd/wpa/dist/src/crypto/ |
| sha1_i.h | 13 u32 state[5]; member in struct:SHA1Context 21 void SHA1Transform(u32 state[5], const unsigned char buffer[64]);
|
| /src/sys/arch/bebox/bebox/ |
| pic_bebox.c | 96 unsigned int state; local 98 state = READ_BEBOX_REG(INT_SOURCE); 99 state &= BEBOX_INTR_MASK; 100 state &= READ_BEBOX_REG(CPU0_INT_MASK); 101 if (state == 0) 103 return __builtin_clz(state);
|