Searched refs:state (Results 26 - 50 of 2035) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/dev/evdev/
H A Duinput.c52 #define debugf(state, fmt, args...) printf("uinput: " fmt "\n", ##args)
54 #define debugf(state, fmt, args...)
59 #define UINPUT_LOCK(state) sx_xlock(&(state)->ucs_lock)
60 #define UINPUT_UNLOCK(state) sx_unlock(&(state)->ucs_lock)
61 #define UINPUT_LOCK_ASSERT(state) sx_assert(&(state)->ucs_lock, SA_LOCKED)
62 #define UINPUT_EMPTYQ(state) \
63 ((state)
165 struct uinput_cdev_state *state = softc; local
179 uinput_enqueue_event(struct uinput_cdev_state *state, uint16_t type, uint16_t code, int32_t value) argument
207 struct uinput_cdev_state *state; local
225 struct uinput_cdev_state *state = (struct uinput_cdev_state *)data; local
239 struct uinput_cdev_state *state; local
289 struct uinput_cdev_state *state; local
336 uinput_setup_dev(struct uinput_cdev_state *state, struct input_id *id, char *name, uint32_t ff_effects_max) argument
352 uinput_setup_provider(struct uinput_cdev_state *state, struct uinput_user_dev *udev) argument
383 struct uinput_cdev_state *state; local
412 struct uinput_cdev_state *state; local
435 struct uinput_cdev_state *state; local
449 struct uinput_cdev_state *state; local
456 uinput_notify(struct uinput_cdev_state *state) argument
473 uinput_ioctl_sub(struct uinput_cdev_state *state, u_long cmd, caddr_t data) argument
642 struct uinput_cdev_state *state; local
[all...]
/freebsd-11-stable/crypto/openssh/
H A Dpacket.c235 struct session_state *state = NULL; local
238 (state = calloc(1, sizeof(*state))) == NULL ||
239 (state->input = sshbuf_new()) == NULL ||
240 (state->output = sshbuf_new()) == NULL ||
241 (state->outgoing_packet = sshbuf_new()) == NULL ||
242 (state->incoming_packet = sshbuf_new()) == NULL)
244 TAILQ_INIT(&state->outgoing);
247 state->connection_in = -1;
248 state
294 struct session_state *state; local
332 struct session_state *state = ssh->state; local
379 struct session_state *state = ssh->state; local
407 struct session_state *state = ssh->state; local
434 struct session_state *state = ssh->state; local
578 struct session_state *state = ssh->state; local
854 struct session_state *state = ssh->state; local
942 struct session_state *state = ssh->state; local
1049 struct session_state *state = ssh->state; local
1098 struct session_state *state = ssh->state; local
1148 struct session_state *state = ssh->state; local
1318 struct session_state *state = ssh->state; local
1403 struct session_state *state = ssh->state; local
1541 struct session_state *state = ssh->state; local
1679 struct session_state *state = ssh->state; local
1717 struct session_state *state = ssh->state; local
1949 struct session_state *state = ssh->state; local
2037 struct session_state *state = ssh->state; local
2203 struct session_state *state = ssh->state; local
2234 struct session_state *state = ssh->state; local
2338 struct session_state *state = ssh->state; local
2366 struct session_state *state = ssh->state; local
2561 struct session_state *state = ssh->state; local
2733 struct session_state *state = ssh->state; local
2986 struct session_state *state = ssh->state; local
[all...]
/freebsd-11-stable/sys/arm/arm/
H A Dunwind.c196 unwind_exec_read_byte(struct unwind_state *state) argument
201 insn = (*state->insn) >> (state->byte * 8);
204 if (state->byte == 0) {
205 state->byte = 3;
206 state->insn++;
207 state->entries--;
209 state->byte--;
216 unwind_exec_insn(struct unwind_state *state) argument
219 uint32_t *vsp = (uint32_t *)state
341 unwind_tab(struct unwind_state *state) argument
386 unwind_stack_one(struct unwind_state *state, int can_lock) argument
[all...]
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/dtrace/
H A Ddtrace_xoroshiro128_plus.c49 dtrace_xoroshiro128_plus_jump(uint64_t * const state, argument
62 s0 ^= state[0];
63 s1 ^= state[1];
65 dtrace_xoroshiro128_plus_next(state);
77 dtrace_xoroshiro128_plus_next(uint64_t * const state) argument
79 const uint64_t s0 = state[0];
80 uint64_t s1 = state[1];
85 state[0] = rotl(s0, 55) ^ s1 ^ (s1 << 14);
86 state[1] = rotl(s1, 36);
/freebsd-11-stable/contrib/wpa/src/utils/
H A Dstate_machine.h9 * implement a state machine. In addition to including this header file, each
10 * file implementing a state machine must define STATE_MACHINE_DATA to be the
11 * data structure including state variables (enum machine_state,
14 * a group of state machines with shared data structure, STATE_MACHINE_ADDR
16 * SM_ENTRY_M macro can be used to define similar group of state machines
24 * SM_STATE - Declaration of a state machine function
26 * @state: State machine state
28 * This macro is used to declare a state machine function. It is used in place
29 * of a C function definition to declare functions to be run when the state i
[all...]
/freebsd-11-stable/sys/dev/kbdmux/
H A Dkbdmux.c80 ** Keyboard state
146 * kbdmux state
163 int ks_state; /* state */
191 kbdmux_kbd_putc(kbdmux_state_t *state, char c) argument
195 if (state->ks_inq_length == KBDMUX_Q_SIZE)
198 p = (state->ks_inq_start + state->ks_inq_length) % KBDMUX_Q_SIZE;
199 state->ks_inq[p] = c;
200 state->ks_inq_length++;
204 kbdmux_kbd_getc(kbdmux_state_t *state) argument
225 kbdmux_state_t *state = (kbdmux_state_t *) kbd->kb_data; local
243 kbdmux_state_t *state = (kbdmux_state_t *) xstate; local
270 kbdmux_state_t *state = (kbdmux_state_t *) arg; local
417 kbdmux_state_t *state = NULL; local
552 kbdmux_state_t *state = (kbdmux_state_t *) kbd->kb_data; local
652 kbdmux_state_t *state = (kbdmux_state_t *) kbd->kb_data; local
671 kbdmux_state_t *state = (kbdmux_state_t *) kbd->kb_data; local
690 kbdmux_state_t *state = (kbdmux_state_t *) kbd->kb_data; local
977 kbdmux_state_t *state = (kbdmux_state_t *) kbd->kb_data; local
1012 kbdmux_state_t *state = (kbdmux_state_t *) kbd->kb_data; local
1312 kbdmux_clear_state_locked(kbdmux_state_t *state) argument
1328 kbdmux_state_t *state = (kbdmux_state_t *) kbd->kb_data; local
1371 kbdmux_state_t *state = (kbdmux_state_t *) kbd->kb_data; local
[all...]
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzcp.c33 * able to guarantee that the state of a pool has not changed between calls to
152 zcp_error_handler(lua_State *state) argument
156 zcp_cleanup(state);
158 VERIFY3U(1, ==, lua_gettop(state));
159 msg = lua_tostring(state, 1);
160 luaL_traceback(state, state, msg, 1);
165 zcp_argerror(lua_State *state, int narg, const char *msg, ...) argument
170 const char *buf = lua_pushvfstring(state, msg, alist);
173 return (luaL_argerror(state, nar
188 zcp_register_cleanup(lua_State *state, zcp_cleanup_t cleanfunc, void *cleanarg) argument
201 zcp_deregister_cleanup(lua_State *state, zcp_cleanup_handler_t *zch) argument
213 zcp_cleanup(lua_State *state) argument
233 zcp_table_to_nvlist(lua_State *state, int index, int depth) argument
386 zcp_lua_to_nvlist_impl(lua_State *state, int index, nvlist_t *nvl, const char *key, int depth) argument
437 zcp_lua_to_nvlist(lua_State *state, int index, nvlist_t *nvl, const char *key) argument
449 zcp_lua_to_nvlist_helper(lua_State *state) argument
458 zcp_convert_return_values(lua_State *state, nvlist_t *nvl, const char *key, zcp_eval_arg_t *evalargs) argument
490 zcp_nvlist_to_lua(lua_State *state, nvlist_t *nvl, char *errbuf, int errbuf_len) argument
539 zcp_nvpair_value_to_lua(lua_State *state, nvpair_t *pair, char *errbuf, int errbuf_len) argument
613 zcp_dataset_hold_error(lua_State *state, dsl_pool_t *dp, const char *dsname, int error) argument
642 zcp_dataset_hold(lua_State *state, dsl_pool_t *dp, const char *dsname, void *tag) argument
665 zcp_debug(lua_State *state) argument
694 zcp_exists(lua_State *state) argument
796 zcp_lua_counthook(lua_State *state, lua_Debug *ar) argument
815 zcp_panic_cb(lua_State *state) argument
827 lua_State *state = evalargs->ea_state; local
1036 lua_State *state; local
1161 zcp_run_info(lua_State *state) argument
1211 zcp_args_error(lua_State *state, const char *fname, const zcp_arg_t *pargs, const zcp_arg_t *kwargs, const char *fmt, ...) argument
1282 zcp_parse_table_args(lua_State *state, const char *fname, const zcp_arg_t *pargs, const zcp_arg_t *kwargs) argument
1364 zcp_parse_pos_args(lua_State *state, const char *fname, const zcp_arg_t *pargs, const zcp_arg_t *kwargs) argument
1412 zcp_parse_args(lua_State *state, const char *fname, const zcp_arg_t *pargs, const zcp_arg_t *kwargs) argument
[all...]
H A Dzcp_iter.c46 zcp_clones_iter(lua_State *state) argument
50 uint64_t dsobj = lua_tonumber(state, lua_upvalueindex(1));
51 uint64_t cursor = lua_tonumber(state, lua_upvalueindex(2));
52 dsl_pool_t *dp = zcp_run_info(state)->zri_pool;
61 return (luaL_error(state,
79 return (luaL_error(state,
91 return (luaL_error(state,
99 lua_pushnumber(state, cursor);
100 lua_replace(state, lua_upvalueindex(2));
102 (void) lua_pushstring(state, clonenam
121 zcp_clones_list(lua_State *state) argument
153 zcp_snapshots_iter(lua_State *state) argument
210 zcp_snapshots_list(lua_State *state) argument
250 zcp_children_iter(lua_State *state) argument
311 zcp_children_list(lua_State *state) argument
338 zcp_props_list_gc(lua_State *state) argument
347 zcp_props_iter(lua_State *state) argument
392 zcp_props_list(lua_State *state) argument
454 zcp_system_props_list(lua_State *state) argument
484 zcp_list_func(lua_State *state) argument
494 zcp_load_list_lib(lua_State *state) argument
[all...]
/freebsd-11-stable/sys/dev/vkbd/
H A Dvkbd.c66 ** Keyboard state
109 /* vkbd state */
130 int ks_state; /* shift/lock key state */
202 vkbd_state_t *state = (vkbd_state_t *) dev->si_drv1; local
205 if (state == NULL) {
213 state = (vkbd_state_t *) kbd->kb_data;
231 VKBD_LOCK(state);
233 if (state->ks_flags & OPEN) {
234 VKBD_UNLOCK(state);
238 state
251 vkbd_state_t *state = NULL; local
294 vkbd_state_t *state = NULL; local
354 vkbd_state_t *state = NULL; local
443 vkbd_state_t *state = (vkbd_state_t *) dev->si_drv1; local
478 vkbd_state_t *state = (vkbd_state_t *) kbd->kb_data; local
492 vkbd_status_changed(vkbd_state_t *state) argument
505 vkbd_data_ready(vkbd_state_t *state) argument
514 vkbd_data_read(vkbd_state_t *state, int wait) argument
606 vkbd_state_t *state = NULL; local
701 vkbd_state_t *state = (vkbd_state_t *) kbd->kb_data; local
768 vkbd_state_t *state = (vkbd_state_t *) kbd->kb_data; local
785 vkbd_state_t *state = NULL; local
804 vkbd_state_t *state = (vkbd_state_t *) kbd->kb_data; local
1065 vkbd_state_t *state = NULL; local
1087 vkbd_state_t *state = (vkbd_state_t *) kbd->kb_data; local
1230 vkbd_clear_state_locked(vkbd_state_t *state) argument
1250 vkbd_state_t *state = (vkbd_state_t *) kbd->kb_data; local
1283 vkbd_state_t *state = NULL; local
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DProgramState_Fwd.h19 void ProgramStateRetain(const ProgramState *state);
20 void ProgramStateRelease(const ProgramState *state);
26 static void retain(const clang::ento::ProgramState *state) { argument
27 clang::ento::ProgramStateRetain(state);
29 static void release(const clang::ento::ProgramState *state) { argument
30 clang::ento::ProgramStateRelease(state);
/freebsd-11-stable/contrib/xz/src/liblzma/lzma/
H A Dlzma_common.h25 /// Maximum number of position states. A position state is the lowest pos bits
75 /// The lowest 7 states indicate that the previous state was a literal.
79 /// Indicate that the latest state was a literal.
80 #define update_literal(state) \
81 state = ((state) <= STATE_SHORTREP_LIT_LIT \
83 : ((state) <= STATE_LIT_SHORTREP \
84 ? (state) - 3 \
85 : (state) - 6))
87 /// Indicate that the latest state wa
[all...]
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_write_add_filter_uuencode.c74 struct private_uuencode *state; local
79 state = (struct private_uuencode *)calloc(1, sizeof(*state));
80 if (state == NULL) {
85 archive_strcpy(&state->name, "-");
86 state->mode = 0644;
88 f->data = state;
107 struct private_uuencode *state = (struct private_uuencode *)f->data; local
115 state->mode = (int)atol8(value, strlen(value)) & 0777;
123 archive_strcpy(&state
139 struct private_uuencode *state = (struct private_uuencode *)f->data; local
209 struct private_uuencode *state = (struct private_uuencode *)f->data; local
254 struct private_uuencode *state = (struct private_uuencode *)f->data; local
269 struct private_uuencode *state = (struct private_uuencode *)f->data; local
[all...]
H A Darchive_write_add_filter_b64encode.c85 struct private_b64encode *state; local
90 state = (struct private_b64encode *)calloc(1, sizeof(*state));
91 if (state == NULL) {
96 archive_strcpy(&state->name, "-");
97 state->mode = 0644;
99 f->data = state;
118 struct private_b64encode *state = (struct private_b64encode *)f->data; local
126 state->mode = (int)atol8(value, strlen(value)) & 0777;
134 archive_strcpy(&state
150 struct private_b64encode *state = (struct private_b64encode *)f->data; local
218 struct private_b64encode *state = (struct private_b64encode *)f->data; local
263 struct private_b64encode *state = (struct private_b64encode *)f->data; local
278 struct private_b64encode *state = (struct private_b64encode *)f->data; local
[all...]
H A Darchive_read_support_filter_gzip.c135 struct private_data *state
137 void *state
146 (void)state; /* UNUSED */
165 if (state)
166 state->mtime = archive_le32dec(p + 4);
197 if (state) {
199 free(state->name);
200 state->name = strdup((const char *)&p[file_start]);
279 struct private_data *state; local
281 state
300 struct private_data *state; local
335 struct private_data *state; local
393 struct private_data *state; local
426 struct private_data *state; local
511 struct private_data *state; local
[all...]
H A Darchive_read_support_filter_bzip2.c194 struct private_data *state; local
199 state = (struct private_data *)calloc(sizeof(*state), 1);
201 if (state == NULL || out_block == NULL) {
205 free(state);
209 self->data = state;
210 state->out_block_size = out_block_size;
211 state->out_block = out_block;
225 struct private_data *state; local
230 state
348 struct private_data *state; local
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator.h55 INLINE u32 Rand(u32 *state) { // ANSI C linear congruential PRNG. argument
56 return (*state = *state * 1103515245 + 12345) >> 16;
59 INLINE u32 RandN(u32 *state, u32 n) { return Rand(state) % n; } // [0, n) argument
64 u32 state = *rand_state;
66 Swap(a[i], a[RandN(&state, i + 1)]);
67 *rand_state = state;
/freebsd-11-stable/contrib/binutils/opcodes/
H A Darc-dis.c75 mwerror (state, _("Illegal limm reference in last instruction!\n")); \
76 a = state->words[1]; \
85 flag = BIT (state->words[0], 8); \
86 state->nullifyMode = BITS (state->words[0], 5, 6); \
87 cond = BITS (state->words[0], 0, 4); \
96 cond = BITS (state->words[0], 0, 4); \
115 field = FIELDD (state->words[0]); \
123 fieldA = FIELDA (state->words[0]); \
135 fieldB = FIELDB (state
172 core_reg_name(struct arcDisState * state, int val) argument
180 aux_reg_name(struct arcDisState * state, int val) argument
188 cond_code_name(struct arcDisState * state, int val) argument
196 instruction_name(struct arcDisState * state, int op1, int op2, int * flags) argument
207 mwerror(struct arcDisState * state, const char * msg) argument
214 post_address(struct arcDisState * state, int addr) argument
234 arc_sprintf(struct arcDisState *state, char *buf, const char *format, ...) argument
409 write_comments_(struct arcDisState * state, int shimm, int is_limm, long limm_value) argument
448 write_instr_name_(struct arcDisState * state, const char * instrName, int cond, int condCodeIsPartOfName, int flag, int signExtend, int addrWriteBack, int directMem) argument
520 dsmOneArcInst(bfd_vma addr, struct arcDisState * state) argument
[all...]
/freebsd-11-stable/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-11-stable/contrib/wpa/src/crypto/
H A Dfips_prf_openssl.c16 static void sha1_transform(u32 *state, const u8 data[64]) argument
21 context.h[0] = state[0];
22 context.h[1] = state[1];
23 context.h[2] = state[2];
24 context.h[3] = state[3];
25 context.h[4] = state[4];
27 state[0] = context.h[0];
28 state[1] = context.h[1];
29 state[2] = context.h[2];
30 state[
[all...]
/freebsd-11-stable/sys/geom/vinum/
H A Dgeom_vinum_state.c46 char *obj, *state; local
56 state = gctl_get_param(req, "state", NULL);
57 if (state == NULL) {
58 gctl_error(req, "no state given");
75 if (gv_volstatei(state) < 0) {
76 gctl_error(req, "invalid volume state '%s'", state);
81 gv_volstatei(state), f);
85 if (gv_plexstatei(state) <
[all...]
/freebsd-11-stable/contrib/expat/xmlwf/
H A Dxmlmime.c40 int state = init; local
45 if (state == inAtom)
52 if (state == inAtom)
56 if (state == inAtom)
58 if (state != inString)
59 state++;
62 if (state > init)
63 --state;
64 else if (state != inString)
70 if (state
[all...]
/freebsd-11-stable/sys/arm/ti/
H A Dti_pinmux.h55 const char *state; member in struct:ti_pinmux_padstate
74 unsigned int state);
76 unsigned int *state);
77 int ti_pinmux_padconf_set_gpiomode(uint32_t gpio, unsigned int state);
78 int ti_pinmux_padconf_get_gpiomode(uint32_t gpio, unsigned int *state);
/freebsd-11-stable/contrib/subversion/subversion/libsvn_delta/
H A Dpath_driver.c77 /* Assert that we are in a stable state. */
108 /* Assert that we are in a stable state. */
156 svn_delta_path_driver_state_t *state;
175 SVN_ERR(svn_delta_path_driver_start(&state,
192 SVN_ERR(svn_delta_path_driver_step(state, relpath, iterpool));
198 SVN_ERR(svn_delta_path_driver_finish(state, pool));
222 svn_delta_path_driver_state_t *state = apr_pcalloc(pool, sizeof(*state));
224 state->editor = editor;
225 state
154 svn_delta_path_driver_state_t *state; local
220 svn_delta_path_driver_state_t *state = apr_pcalloc(pool, sizeof(*state)); local
235 svn_delta_path_driver_step(svn_delta_path_driver_state_t *state, const char *relpath, apr_pool_t *scratch_pool) argument
348 svn_delta_path_driver_finish(svn_delta_path_driver_state_t *state, apr_pool_t *scratch_pool) argument
[all...]
/freebsd-11-stable/usr.sbin/ppp/
H A Ddeflate.c44 /* Our state */
60 struct deflate_state *state = (struct deflate_state *)v; local
62 state->seqno = 0;
63 state->uncomp_rec = 0;
64 deflateReset(&state->cx);
74 struct deflate_state *state = (struct deflate_state *)v; local
100 *wp++ = state->seqno >> 8;
101 *wp++ = state->seqno & 0377;
102 log_Printf(LogDEBUG, "DeflateOutput: Seq %d\n", state->seqno);
103 state
192 struct deflate_state *state = (struct deflate_state *)v; local
203 struct deflate_state *state = (struct deflate_state *)v; local
341 struct deflate_state *state = (struct deflate_state *)v; local
493 struct deflate_state *state; local
516 struct deflate_state *state; local
540 struct deflate_state *state = (struct deflate_state *)v; local
549 struct deflate_state *state = (struct deflate_state *)v; local
[all...]
/freebsd-11-stable/sys/kern/
H A Dsubr_power.c45 int state = (intptr_t)arg; local
47 power_pm_fn(POWER_CMD_SUSPEND, power_pm_arg, state);
77 power_pm_suspend(int state) argument
82 if (state != POWER_SLEEP_STATE_STANDBY &&
83 state != POWER_SLEEP_STATE_SUSPEND &&
84 state != POWER_SLEEP_STATE_HIBERNATE)
86 power_pm_task.ta_context = (void *)(intptr_t)state;
103 power_profile_set_state(int state) argument
107 if (state != power_profile_state) {
108 power_profile_state = state;
[all...]

Completed in 346 milliseconds

1234567891011>>