Searched defs:state (Results 1 - 25 of 1371) sorted by relevance

1234567891011>>

/freebsd-head/sys/contrib/zlib/
H A Dgzclose.c15 gz_statep state; local
19 state = (gz_statep)file;
21 return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
/freebsd-head/sys/contrib/zstd/zlibWrapper/
H A Dgzclose.c18 gz_statep state; local
22 state.file = file;
24 return state.state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
/freebsd-head/contrib/lutok/examples/
H A Dhello.cpp34 #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 Draii.cpp30 /// 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(-1));
74 lutok::stack_cleaner cleaner(state);
113 lutok::state state; local
[all...]
H A Dinterpreter.cpp38 #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) argument
53 lutok::do_string(state, line, 0, 0, 0);
67 lutok::state state; local
68 state.open_base();
69 state
[all...]
/freebsd-head/sys/cddl/dev/dtrace/
H A Ddtrace_anon.c31 dtrace_state_t *state = NULL; local
53 state = dtrace_anon.dta_state;
78 if (state != NULL) {
80 * If we created any anonymous state, set it going now.
82 (void) dtrace_state_go(state, &dtrace_anon.dta_beganon);
H A Ddtrace_unload.c28 dtrace_state_t *state; local
58 if ((state = dtrace_anon_grab()) != NULL) {
60 * If there were ECBs on this state, the provider should
64 ASSERT(state->dts_necbs == 0);
65 dtrace_state_destroy(state);
/freebsd-head/contrib/wpa/src/crypto/
H A Dsha1_i.h13 u32 state[5]; member in struct:SHA1Context
21 void SHA1Transform(u32 state[5], const unsigned char buffer[64]);
H A Dsha256_i.h16 u32 state[8], curlen; member in struct:sha256_state
H A Dsha512_i.h15 u64 length, state[8]; member in struct:sha512_state
/freebsd-head/usr.bin/sdiotool/
H A Dbrcmfmac_bus.h27 enum brcmf_bus_state state; member in struct:brcmf_bus
/freebsd-head/contrib/lutok/
H A Dstate.hpp29 /// \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...]
H A Dc_gate_test.cpp34 #include "state.ipp"
45 lutok::state state = lutok::state_c_gate::connect(raw_state); local
46 lua_pushinteger(raw(state), 123);
48 // If the wrapper object had closed the Lua state, we could very well crash
59 lutok::state state; local
60 state.push_integer(5);
62 lutok::state_c_gate gate(state);
66 state
[all...]
/freebsd-head/sys/opencrypto/
H A Drmd160.h31 u_int32_t state[5]; /* state */ member in struct:RMD160Context
/freebsd-head/contrib/ldns/ldns/
H A Dsha1.h12 uint32_t state[5]; member in struct:__anon72
18 void ldns_sha1_transform(uint32_t state[5], const unsigned char buffer[LDNS_SHA1_BLOCK_LENGTH]);
/freebsd-head/contrib/ntp/lib/isc/include/isc/
H A Dsha1.h46 isc_uint32_t state[5]; member in struct:__anon247
/freebsd-head/sys/arm64/acpica/
H A Dacpi_wakeup.c45 acpi_sleep_machdep(struct acpi_softc *sc, int state) argument
52 acpi_wakeup_machdep(struct acpi_softc *sc, int state, int sleep_result, argument
/freebsd-head/sys/contrib/ck/src/
H A Dck_barrier_centralized.c33 struct ck_barrier_centralized_state *state,
44 sense = state->sense = ~state->sense;
32 ck_barrier_centralized(struct ck_barrier_centralized *barrier, struct ck_barrier_centralized_state *state, unsigned int n_threads) argument
/freebsd-head/usr.bin/ctags/
H A Dyacc.c127 int state; local
130 * state == 0 : waiting
131 * state == 1 : received a newline
132 * state == 2 : received first %
133 * state == 3 : received second %
136 for (state = 0; GETC(!=, EOF);)
141 if (state == 3) /* done! */
143 state = 1; /* start over */
146 if (state) /* if 1 or 2 */
147 ++state; /* got
[all...]
/freebsd-head/contrib/ofed/opensm/include/complib/
H A Dcl_spinlock_osd.h57 cl_state_t state; member in struct:_cl_spinlock_t
/freebsd-head/sys/sys/
H A Dmd4.h33 u_int32_t state[4]; /* state (ABCD) */ member in struct:MD4Context
/freebsd-head/sys/contrib/libsodium/src/libsodium/include/sodium/
H A Dcrypto_hash_sha256.h25 uint32_t state[8]; member in struct:crypto_hash_sha256_state
42 int crypto_hash_sha256_init(crypto_hash_sha256_state *state);
45 int crypto_hash_sha256_update(crypto_hash_sha256_state *state,
50 int crypto_hash_sha256_final(crypto_hash_sha256_state *state,
H A Dcrypto_hash_sha512.h25 uint64_t state[8]; member in struct:crypto_hash_sha512_state
42 int crypto_hash_sha512_init(crypto_hash_sha512_state *state);
45 int crypto_hash_sha512_update(crypto_hash_sha512_state *state,
50 int crypto_hash_sha512_final(crypto_hash_sha512_state *state,
/freebsd-head/contrib/llvm-project/lldb/source/Utility/
H A DState.cpp14 const char *lldb_private::StateAsCString(StateType state) { argument
15 switch (state) {
68 bool lldb_private::StateIsRunningState(StateType state) { argument
69 switch (state) {
89 bool lldb_private::StateIsStoppedState(StateType state, bool must_exist) { argument
90 switch (state) {
/freebsd-head/sys/arm/arm/
H A Dstack_machdep.c42 stack_capture(struct stack *st, struct unwind_state *state) argument
46 while (unwind_stack_one(state, 0) == 0) {
47 if (stack_put(st, state->registers[PC]) == -1)
55 struct unwind_state state; local
61 state.registers[FP] = (uint32_t)__builtin_frame_address(0);
62 state.registers[SP] = sp;
63 state.registers[LR] = (uint32_t)__builtin_return_address(0);
64 state.registers[PC] = (uint32_t)stack_save;
66 stack_capture(st, &state);
72 struct unwind_state state; local
[all...]

Completed in 1101 milliseconds

1234567891011>>