Searched refs:state (Results 76 - 100 of 2035) sorted by relevance

1234567891011>>

/freebsd-11-stable/usr.bin/ident/
H A Dident.c43 /* state condition to transit to next state */
58 analyzer_states state = INIT; local
68 switch (state) {
72 state = DELIM_SEEN;
74 /* Otherwise, stay in INIT state */
84 state = KEYWORD;
92 state = INIT;
108 state = PUNC_SEEN;
113 * state becaus
[all...]
/freebsd-11-stable/sys/dev/isci/scil/
H A Dsati_write_and_verify.c86 * state for a sati_write_and_verify_10 translation.
97 if(sequence->state == SATI_SEQUENCE_STATE_INITIAL)
100 sequence->state = SATI_SEQUENCE_STATE_INCOMPLETE;
103 else if(sequence->state == SATI_SEQUENCE_STATE_INCOMPLETE)
106 sequence->state = SATI_SEQUENCE_STATE_AWAIT_RESPONSE;
110 //SATI sequence is in the wrong state
131 * state for a sati_write_and_verify_12 translation.
142 if(sequence->state == SATI_SEQUENCE_STATE_INITIAL)
145 sequence->state = SATI_SEQUENCE_STATE_INCOMPLETE;
148 else if(sequence->state
[all...]
/freebsd-11-stable/usr.sbin/ppp/
H A Dpred.c60 #define HASH(state, x) state->hash = (state->hash << 4) ^ (x)
69 compress(struct pred1_state *state, u_char *source, u_char *dest, int len) argument
79 if (state->dict[state->hash] == *source) {
82 state->dict[state->hash] = *source;
85 HASH(state, *source++);
94 SyncTable(struct pred1_state *state, u_cha argument
103 decompress(struct pred1_state *state, u_char *source, u_char *dest, int len) argument
131 struct pred1_state *state = (struct pred1_state *)v; local
138 struct pred1_state *state = (struct pred1_state *)v; local
147 struct pred1_state *state = (struct pred1_state *)v; local
158 struct pred1_state *state; local
168 struct pred1_state *state; local
179 struct pred1_state *state = (struct pred1_state *)v; local
221 struct pred1_state *state = (struct pred1_state *)v; local
[all...]
/freebsd-11-stable/contrib/wpa/src/crypto/
H A Dfips_prf_wolfssl.c17 static void sha1_transform(u32 *state, const u8 data[64]) argument
22 sha.digest[0] = state[0];
23 sha.digest[1] = state[1];
24 sha.digest[2] = state[2];
25 sha.digest[3] = state[3];
26 sha.digest[4] = state[4];
28 state[0] = sha.digest[0];
29 state[1] = sha.digest[1];
30 state[2] = sha.digest[2];
31 state[
[all...]
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 Dsha384-internal.c48 Initialize the hash state
49 @param md The hash state you wish to initialize
56 md->state[0] = CONST64(0xcbbb9d5dc1059ed8);
57 md->state[1] = CONST64(0x629a292a367cd507);
58 md->state[2] = CONST64(0x9159015a3070dd17);
59 md->state[3] = CONST64(0x152fecd8f70e5939);
60 md->state[4] = CONST64(0x67332667ffc00b31);
61 md->state[5] = CONST64(0x8eb44a8768581511);
62 md->state[6] = CONST64(0xdb0c2e0d64f98fa7);
63 md->state[
[all...]
/freebsd-11-stable/contrib/groff/src/preproc/soelim/
H A Dsoelim.cpp171 enum { START, MIDDLE, HAD_DOT, HAD_s, HAD_so, HAD_l, HAD_lf } state = START; local
176 switch (state) {
179 state = HAD_DOT;
184 state = START;
187 state = MIDDLE;
194 state = START;
199 state = HAD_s;
201 state = HAD_l;
207 state = START;
210 state
[all...]
/freebsd-11-stable/sys/ddb/
H A Ddb_ps.c95 * pid ppid pgrp uid state wmesg wchan cmd
110 char state[9]; local
122 db_printf(" pid ppid pgrp uid state wmesg wchan cmd\n");
124 db_printf(" pid ppid pgrp uid state wmesg wchan cmd\n");
141 /* Determine our primary process state. */
145 state[0] = 'T';
150 * the state of the thread with the
154 * in a sane state we use '?' for our
155 * primary state.
175 state[
252 char state[9], wprefix; local
[all...]
/freebsd-11-stable/contrib/ncurses/ncurses/widechar/
H A Dlib_unget_wch.c49 _nc_wcrtomb(char *target, wchar_t source, mbstate_t * state)
58 result = (int) wcsrtombs(NULL, &tempp, (size_t) 0, state);
60 result = (int) wcrtomb(target, source, state);
71 mbstate_t state; local
77 init_mb(state);
78 length = _nc_wcrtomb(0, wch, &state);
85 init_mb(state);
87 IGNORE_RC((int) wcrtomb(string, wch, &state));
/freebsd-11-stable/contrib/dialog/samples/
H A Dbuildlist215 state=off
18 state=on
26 echo $filename $state >>$input
29 echo $count $filename $state >>$input
/freebsd-11-stable/sys/crypto/rc4/
H A Drc4.h49 extern void rc4_init(struct rc4_state *state, const u_char *key, int keylen);
50 extern void rc4_crypt(struct rc4_state *state,
/freebsd-11-stable/contrib/xz/src/liblzma/check/
H A Dcheck.c92 check->state.crc32 = 0;
98 check->state.crc64 = 0;
123 check->state.crc32 = lzma_crc32(buf, size, check->state.crc32);
129 check->state.crc64 = lzma_crc64(buf, size, check->state.crc64);
153 check->buffer.u32[0] = conv32le(check->state.crc32);
159 check->buffer.u64[0] = conv64le(check->state.crc64);
/freebsd-11-stable/lib/libc/gen/
H A D_once_stub.c41 if (once_control->state == PTHREAD_DONE_INIT)
44 once_control->state = PTHREAD_DONE_INIT;
/freebsd-11-stable/contrib/ofed/opensm/complib/
H A Dcl_spinlock.c46 p_spinlock->state = CL_UNINITIALIZED;
59 p_spinlock->state = CL_INITIALIZED;
66 CL_ASSERT(cl_is_state_valid(p_spinlock->state));
68 if (p_spinlock->state == CL_INITIALIZED) {
69 p_spinlock->state = CL_UNINITIALIZED;
74 p_spinlock->state = CL_UNINITIALIZED;
80 CL_ASSERT(p_spinlock->state == CL_INITIALIZED);
88 CL_ASSERT(p_spinlock->state == CL_INITIALIZED);
/freebsd-11-stable/contrib/ofed/opensm/include/complib/
H A Dcl_passivelock.h67 * situations where the caller cannot be put into a waiting state.
97 cl_state_t state; member in struct:_cl_plock
104 * state
105 * Records the current state of the lock, such as initialized,
117 * The cl_plock_construct function initializes the state of a
126 p_lock->state = CL_UNINITIALIZED;
132 * [in] Pointer to a cl_plock_t structure whose state to initialize.
160 p_lock->state = CL_DESTROYING;
162 p_lock->state = CL_DESTROYED;
168 * [in] Pointer to a cl_plock_t structure whose state t
[all...]
/freebsd-11-stable/contrib/libucl/src/
H A Ducl_sexp.c36 if (state != read_ebrace) { \
39 state = parse_err; \
45 state = read_obrace; \
48 state = read_ebrace; \
53 state = read_length; \
73 } state = start_parse; local
84 switch (state) {
88 state = read_obrace;
93 state = parse_err;
102 state
[all...]
/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-usb.h87 * the disabled state until the operating system is ready.
101 * In the single CPU state it is normally enough to disable
134 * with the callback. Use this for any state information you
172 * with the callback. Use this for any state information you
205 * Also keep in mind that usb transactions contain state
432 * called on every usb interrupt. It will read the usb state,
528 uint32_t connect_change : 1; /**< 1 = Device connected state changed since the last set status call */
575 * USB state internal data. The contents of this structure
587 * - state = USB device state populate
[all...]
H A Dcvmx-mgmt-port.c90 * Per port state required for each mgmt port
107 * Pointers to each mgmt port's state
178 ** we allocated a new (and blank) state structure. */
201 cvmx_mgmt_port_state_t *state = cvmx_mgmt_port_state_ptr + port; local
219 /* Clear all state information */
220 memset(state, 0, sizeof(*state));
237 state->port = -1;
238 state->mode = CVMX_MGMT_PORT_MII_MODE;
250 state
451 cvmx_mgmt_port_state_t *state; local
500 cvmx_mgmt_port_state_t *state; local
531 cvmx_mgmt_port_state_t *state; local
591 cvmx_mgmt_port_state_t *state; local
648 cvmx_mgmt_port_state_t *state; local
765 cvmx_mgmt_port_state_t *state; local
821 cvmx_mgmt_port_state_t *state; local
869 cvmx_mgmt_port_state_t *state; local
894 cvmx_mgmt_port_state_t *state; local
1006 cvmx_mgmt_port_state_t *state = cvmx_mgmt_port_state_ptr + port; local
[all...]
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzcp_global.c75 zcp_load_errno_globals(lua_State *state) argument
79 lua_pushnumber(state, (lua_Number)global->zeg_errno);
80 lua_setglobal(state, global->zeg_name);
86 zcp_load_globals(lua_State *state) argument
88 zcp_load_errno_globals(state);
/freebsd-11-stable/sys/contrib/ck/src/
H A Dck_barrier_tournament.c51 struct ck_barrier_tournament_state *state)
54 state->sense = ~0;
55 state->vpid = ck_pr_faa_uint(&barrier->tid, 1);
110 struct ck_barrier_tournament_state *state)
119 switch (rounds[state->vpid][round].role) {
127 while (ck_pr_load_uint(&rounds[state->vpid][round].flag) != state->sense)
130 ck_pr_store_uint(rounds[state->vpid][round].opponent, state->sense);
140 ck_pr_store_uint(rounds[state
50 ck_barrier_tournament_subscribe(struct ck_barrier_tournament *barrier, struct ck_barrier_tournament_state *state) argument
109 ck_barrier_tournament(struct ck_barrier_tournament *barrier, struct ck_barrier_tournament_state *state) argument
[all...]
/freebsd-11-stable/contrib/xz/src/common/
H A Dtuklib_mbstr_width.c34 mbstate_t state;
35 memset(&state, 0, sizeof(state));
44 const size_t ret = mbrtowc(&wc, str + i, len - i, &state);
57 // Require that the string ends in the initial shift state.
60 if (!mbsinit(&state))
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp56 ProgramStateRef state = (*it)->getState(); local
58 SVal LeftV = state->getSVal(LHS, LCtx);
59 SVal RightV = state->getSVal(RHS, LCtx);
74 evalStore(Tmp2, B, LHS, *it, state->BindExpr(B, LCtx, ExprVal),
96 state = createTemporaryRegionIfNeeded(state, LCtx, LHS);
100 SVal Result = evalBinOp(state, Op, LeftV, RightV, B->getType());
102 state = state->BindExpr(B, LCtx, Result);
105 state
259 handleLValueBitCast( ProgramStateRef state, const Expr* Ex, const LocationContext* LCtx, QualType T, QualType ExTy, const CastExpr* CastE, StmtNodeBuilder& Bldr, ExplodedNode* Pred) argument
285 handleLVectorSplat( ProgramStateRef state, const LocationContext* LCtx, const CastExpr* CastE, StmtNodeBuilder &Bldr, ExplodedNode* Pred) argument
311 ProgramStateRef state = subExprNode->getState(); local
330 ProgramStateRef state = Pred->getState(); local
357 ProgramStateRef state = Pred->getState(); local
594 ProgramStateRef state = N->getState(); local
659 ProgramStateRef state = Pred->getState(); local
737 ProgramStateRef state = Pred->getState(); local
789 ProgramStateRef state = Pred->getState(); local
897 ProgramStateRef state = (*I)->getState(); local
918 ProgramStateRef state = (*I)->getState(); local
954 ProgramStateRef state = (*I)->getState(); local
969 ProgramStateRef state = (*I)->getState(); local
1008 ProgramStateRef state = (*I)->getState(); local
1068 ProgramStateRef state = Pred->getState(); local
[all...]
/freebsd-11-stable/sys/dev/cxgbe/
H A Dt4_mp_ring.c53 uint64_t state; member in union:ring_state
86 /* Consumer is about to update the ring's state to s */
100 * Caller passes in a state, with a guarantee that there is work to do and that
101 * all items up to the pidx_tail in the state are visible.
125 os.state = r->state;
127 ns.state = os.state;
130 } while (atomic_fcmpset_64(&r->state, &os.state,
[all...]
/freebsd-11-stable/sys/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_core.c41 #define SLOT_INFO_FROM_INDEX(state, index) (state->slot_info + (index))
42 #define SLOT_DATA_FROM_INDEX(state, index) (state->slot_data + (index))
43 #define SLOT_INDEX_FROM_DATA(state, data) \
44 (((unsigned int)((char *)data - (char *)state->slot_data)) / \
46 #define SLOT_INDEX_FROM_INFO(state, info) \
47 ((unsigned int)(info - state->slot_info))
143 release_message_sync(VCHIQ_STATE_T *state, VCHIQ_HEADER_T *header);
171 service->state
200 find_service_by_port(VCHIQ_STATE_T *state, int localport) argument
270 next_service_by_instance(VCHIQ_STATE_T *state, VCHIQ_INSTANCE_T instance, int *pidx) argument
307 VCHIQ_STATE_T *state = service->state; local
362 VCHIQ_STATE_T *state = service->state; local
410 vchiq_set_conn_state(VCHIQ_STATE_T *state, VCHIQ_CONNSTATE_T newstate) argument
470 remote_event_pollall(VCHIQ_STATE_T *state) argument
495 get_listening_service(VCHIQ_STATE_T *state, int fourcc) argument
518 get_connected_service(VCHIQ_STATE_T *state, unsigned int port) argument
533 request_poll(VCHIQ_STATE_T *state, VCHIQ_SERVICE_T *service, int poll_type) argument
562 reserve_space(VCHIQ_STATE_T *state, int space, int is_blocking) argument
619 process_free_queue(VCHIQ_STATE_T *state) argument
767 queue_message(VCHIQ_STATE_T *state, VCHIQ_SERVICE_T *service, int msgid, const VCHIQ_ELEMENT_T *elements, int count, int size, int flags) argument
1007 queue_message_sync(VCHIQ_STATE_T *state, VCHIQ_SERVICE_T *service, int msgid, const VCHIQ_ELEMENT_T *elements, int count, int size, int is_blocking) argument
1119 release_slot(VCHIQ_STATE_T *state, VCHIQ_SLOT_INFO_T *slot_info, VCHIQ_HEADER_T *header, VCHIQ_SERVICE_T *service) argument
1275 poll_services(VCHIQ_STATE_T *state) argument
1341 VCHIQ_STATE_T *state = service->state; local
1451 pause_bulks(VCHIQ_STATE_T *state) argument
1465 resume_bulks(VCHIQ_STATE_T *state) argument
1507 parse_open(VCHIQ_STATE_T *state, VCHIQ_HEADER_T *header) argument
1629 parse_rx_slots(VCHIQ_STATE_T *state) argument
2047 VCHIQ_STATE_T *state = (VCHIQ_STATE_T *) v; local
2140 VCHIQ_STATE_T *state = (VCHIQ_STATE_T *) v; local
2157 VCHIQ_STATE_T *state = (VCHIQ_STATE_T *) v; local
2322 vchiq_init_state(VCHIQ_STATE_T *state, VCHIQ_SLOT_ZERO_T *slot_zero, int is_master) argument
2558 vchiq_add_service_internal(VCHIQ_STATE_T *state, const VCHIQ_SERVICE_PARAMS_T *params, int srvstate, VCHIQ_INSTANCE_T instance, VCHIQ_USERDATA_TERM_T userdata_term) argument
2738 VCHIQ_STATE_T *state = service->state; local
2883 VCHIQ_STATE_T *state = service->state; local
3020 VCHIQ_STATE_T *state = service->state; local
3035 VCHIQ_STATE_T *state = service->state; local
3064 vchiq_connect_internal(VCHIQ_STATE_T *state, VCHIQ_INSTANCE_T instance) argument
3100 vchiq_shutdown_internal(VCHIQ_STATE_T *state, VCHIQ_INSTANCE_T instance) argument
3117 vchiq_pause_internal(VCHIQ_STATE_T *state) argument
3140 vchiq_resume_internal(VCHIQ_STATE_T *state) argument
3289 VCHIQ_STATE_T *state; local
3499 VCHIQ_STATE_T *state; local
3526 release_message_sync(VCHIQ_STATE_T *state, VCHIQ_HEADER_T *header) argument
3654 vchiq_dump_shared_state(void *dump_context, VCHIQ_STATE_T *state, VCHIQ_SHARED_STATE_T *shared, const char *label) argument
3702 vchiq_dump_state(void *dump_context, VCHIQ_STATE_T *state) argument
3880 vchiq_send_remote_use(VCHIQ_STATE_T *state) argument
3890 vchiq_send_remote_release(VCHIQ_STATE_T *state) argument
3900 vchiq_send_remote_use_active(VCHIQ_STATE_T *state) argument
[all...]
/freebsd-11-stable/lib/libc/stdlib/
H A Drandom.c47 * rand()/srand() like interface, this package also has a special state info
51 * that much state information. Good sizes for the amount of state
52 * information are 32, 64, 128, and 256 bytes. The state can be switched by
54 * with initstate(). By default, the package runs with 128 bytes of state
56 * congruential generator. If the amount of state information is less than
59 * Internally, the state information is treated as an array of uint32_t's; the
61 * integer); the remainder of the array is the state information for the
62 * R.N.G. Thus, 32 bytes of state information will give 7 ints worth of
63 * state informatio
196 static uint32_t *state = &randtbl[1]; variable
[all...]

Completed in 160 milliseconds

1234567891011>>