/freebsd-current/contrib/telnet/libtelnet/ |
H A D | enc_des.c | 67 int state[2]; member in struct:fb 140 fbp->state[0] = fbp->state[1] = FAILED; 172 int state; local 181 state = fbp->state[dir-1]; 182 if (state == FAILED) 183 state = IN_PROGRESS; 187 state = fbp->state[di 248 int state = fbp->state[DIR_DECRYPT-1]; local 330 int state = fbp->state[DIR_ENCRYPT-1]; local 421 int state = fbp->state[dir-1]; local [all...] |
/freebsd-current/sys/contrib/ck/src/ |
H A D | ck_hp.c | 68 ck_hp_init(struct ck_hp *state, argument 74 state->threshold = threshold; 75 state->degree = degree; 76 state->destroy = destroy; 77 state->n_subscribers = 0; 78 state->n_free = 0; 79 ck_stack_init(&state->subscribers); 86 ck_hp_set_threshold(struct ck_hp *state, unsigned int threshold) argument 89 ck_pr_store_uint(&state->threshold, threshold); 98 int state; local 134 ck_hp_register(struct ck_hp *state, struct ck_hp_record *entry, void **pointers) argument [all...] |
/freebsd-current/lib/libthr/thread/ |
H A D | thr_umtx.h | 186 int32_t state, wrflags; local 193 state = rwlock->rw_state; 194 while (!(state & wrflags)) { 195 if (__predict_false(URWLOCK_READER_COUNT(state) == 198 if (atomic_cmpset_acq_32(&rwlock->rw_state, state, state + 1)) 200 state = rwlock->rw_state; 209 int32_t state; local 211 state = rwlock->rw_state; 212 while ((state 244 int32_t state; local [all...] |
/freebsd-current/sys/contrib/libsodium/src/libsodium/crypto_generichash/blake2b/ref/ |
H A D | generichash_blake2b.c | 45 crypto_generichash_blake2b_init(crypto_generichash_blake2b_state *state, argument 56 if (blake2b_init(state, (uint8_t) outlen) != 0) { 59 } else if (blake2b_init_key(state, (uint8_t) outlen, key, 68 crypto_generichash_blake2b_state *state, const unsigned char *key, 79 if (blake2b_init_salt_personal(state, (uint8_t) outlen, salt, 83 } else if (blake2b_init_key_salt_personal(state, (uint8_t) outlen, key, 92 crypto_generichash_blake2b_update(crypto_generichash_blake2b_state *state, argument 96 return blake2b_update(state, (const uint8_t *) in, (uint64_t) inlen); 100 crypto_generichash_blake2b_final(crypto_generichash_blake2b_state *state, argument 104 return blake2b_final(state, (uint8_ 67 crypto_generichash_blake2b_init_salt_personal( crypto_generichash_blake2b_state *state, const unsigned char *key, const size_t keylen, const size_t outlen, const unsigned char *salt, const unsigned char *personal) argument [all...] |
/freebsd-current/sys/netinet/libalias/ |
H A D | alias_ftp.c | 332 int i, state; local 347 state = 0; 350 switch (state) { 355 state++; 364 state++; 376 state++; 384 else if (ch == ',' || state == 12) { 386 state++; 393 if (state == 13) { 405 int i, state; local 495 int i, state; local 568 int i, state; local [all...] |
/freebsd-current/sys/arm/ti/am335x/ |
H A D | am335x_gpio.c | 83 unsigned int state = 0; local 88 state = PADCONF_OUTPUT_PULLUP; 90 state = PADCONF_OUTPUT; 93 state = PADCONF_INPUT_PULLUP; 95 state = PADCONF_INPUT_PULLDOWN; 97 state = PADCONF_INPUT; 99 return ti_pinmux_padconf_set_gpiomode(sc->sc_bank*32 + gpio, state); 105 unsigned int state; local 108 if (ti_pinmux_padconf_get_gpiomode(sc->sc_bank*32 + gpio, &state) != 0) { 112 switch (state) { [all...] |
/freebsd-current/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | BuiltinFunctionChecker.cpp | 35 ProgramStateRef state = C.getState(); local 53 state = state->assume(Arg.castAs<DefinedOrUnknownSVal>(), true); 56 if (!state) { 61 C.addTransition(state); 78 C.addTransition(state->BindExpr(CE, LCtx, Arg)); 95 state = setDynamicExtent(state, R.getRegion(), *DefSize, SVB); 97 C.addTransition(state->BindExpr(CE, LCtx, R)); 125 C.addTransition(state [all...] |
/freebsd-current/sys/contrib/openzfs/module/zfs/ |
H A D | zcp_get.c | 104 get_prop_src(lua_State *state, const char *setpoint, zfs_prop_t prop) argument 107 lua_pushnil(state); 115 (void) lua_pushstring(state, src); 124 zcp_handle_error(lua_State *state, const char *dataset_name, argument 131 return (luaL_error(state, 135 return (luaL_error(state, 139 return (luaL_error(state, "unexpected error %d while " 150 zcp_get_user_prop(lua_State *state, dsl_pool_t *dp, const char *dataset_name, argument 161 dsl_dataset_t *ds = zcp_dataset_hold(state, dp, dataset_name, FTAG); 172 return (zcp_handle_error(state, dataset_nam 223 get_special_prop(lua_State *state, dsl_dataset_t *ds, const char *dsname, zfs_prop_t zfs_prop) argument 452 get_zap_prop(lua_State *state, dsl_dataset_t *ds, zfs_prop_t zfs_prop) argument 529 zcp_get_system_prop(lua_State *state, dsl_pool_t *dp, const char *dataset_name, zfs_prop_t zfs_prop) argument 638 zcp_get_userquota_prop(lua_State *state, dsl_pool_t *dp, const char *dataset_name, const char *prop_name) argument 709 zcp_get_written_prop(lua_State *state, dsl_pool_t *dp, const char *dataset_name, const char *prop_name) argument 758 zcp_get_prop(lua_State *state) argument 805 zcp_load_get_lib(lua_State *state) argument [all...] |
/freebsd-current/sys/dev/cxgbe/ |
H A D | t4_mp_ring.c | 69 uint64_t state; member in union:ring_state 125 os.state = atomic_load_acq_64(&r->state); 141 os.state = atomic_load_64(&r->state); 143 ns.state = os.state; 154 } while (atomic_fcmpset_64(&r->state, &os.state, 155 ns.state) [all...] |
/freebsd-current/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerSHA1.cpp | 57 uint32_t state[HASH_LENGTH/4]; member in struct:__anon930::sha1nfo 87 s->state[0] = 0x67452301; 88 s->state[1] = 0xefcdab89; 89 s->state[2] = 0x98badcfe; 90 s->state[3] = 0x10325476; 91 s->state[4] = 0xc3d2e1f0; 104 a=s->state[0]; 105 b=s->state[1]; 106 c=s->state[2]; 107 d=s->state[ [all...] |
/freebsd-current/tools/regression/poll/ |
H A D | pipepoll.c | 46 report_state(const char *state) argument 49 printf(" %s state %s: ", 52 state); 56 report(int num, const char *state, int expected, int got, int res, argument 62 report_state(state); 70 report_state(state); 79 static volatile sig_atomic_t state; variable 85 state++; 111 while (state != 1) 119 state [all...] |
/freebsd-current/sys/contrib/zlib/ |
H A D | inffast.c | 25 state->mode == LEN 29 state->bits < 8 31 On return, state->mode is one of: 51 struct inflate_state FAR *state; local 77 /* copy state to local variables */ 78 state = (struct inflate_state FAR *)strm->state; 85 dmax = state->dmax; 87 wsize = state->wsize; 88 whave = state [all...] |
/freebsd-current/contrib/sendmail/contrib/ |
H A D | bounce-resender.pl | 24 $state = "MSG_START"; 55 sub ignorance { $ignored{$state}++; } 89 if ($state eq "IN_MESSAGE_HEADER") { 120 if ($state eq "WAIT_FOR_FROM") { 122 $state = "MSG_START"; 126 } elsif ($state eq "MSG_START") { 129 $state = "GOT_BOUNDARY"; 134 } elsif ($state eq "GOT_BOUNDARY") { 147 $state = "IN_MESSAGE_HEADER"; 164 } elsif ($state e [all...] |
/freebsd-current/contrib/wpa/src/eap_server/ |
H A D | eap_server_gtc.c | 16 enum { CONTINUE, SUCCESS, FAILURE } state; member in struct:eap_gtc_data 28 data->state = CONTINUE; 65 data->state = FAILURE; 71 data->state = CONTINUE; 113 data->state = FAILURE; 125 data->state = FAILURE; 139 data->state = FAILURE; 146 data->state = FAILURE; 156 data->state = FAILURE; 172 data->state [all...] |
/freebsd-current/contrib/libdiff/lib/ |
H A D | diff_main.c | 233 diff_state_add_solved_chunk(struct diff_state *state, argument 244 result = &state->result->chunks; 253 debug_dump_atoms(&state->left, chunk->left_start, chunk->left_count); 255 debug_dump_atoms(&state->right, chunk->right_start, chunk->right_count); 271 debug_dump_atoms(&state->left, new_chunk->left_start, new_chunk->left_count); 273 debug_dump_atoms(&state->right, new_chunk->right_start, new_chunk->right_count); 290 debug_dump_atoms(&state->left, new_chunk->left_start, new_chunk->left_count); 292 debug_dump_atoms(&state->right, new_chunk->right_start, new_chunk->right_count); 333 diff_state_add_chunk(struct diff_state *state, bool solved, argument 352 if (!solved || state 434 diff_algo_none(const struct diff_algo_config *algo_config, struct diff_state *state) argument 522 diff_run_algo(const struct diff_algo_config *algo_config, struct diff_state *state) argument 620 struct diff_state state = { local [all...] |
/freebsd-current/usr.sbin/rtadvd/ |
H A D | control_client.c | 58 cm_handler_client(int fd, int state, char *buf_orig) argument 85 while (state != CM_STATE_EOM) { 86 syslog(LOG_DEBUG, "<%s> state = %d", __func__, state); 88 switch (state) { 90 state = CM_STATE_EOM; 100 state = CM_STATE_ACK_WAIT; 127 state = CM_STATE_EOM;
|
/freebsd-current/lib/libc/stdio/ |
H A D | vfscanf.c | 308 parseint_fsm(int c, enum parseint_state *state, int *base) argument 313 if (*state == begin) { 314 *state = havesign; 319 if (*state == begin || *state == havesign) { 320 *state = havezero; 322 *state = any; 332 if (*state == havezero && *base == 0) { 338 if (*state == begin || 339 *state 428 enum parseint_state state = begin; local 997 } state = S_START; local [all...] |
/freebsd-current/contrib/flex/src/ |
H A D | tblcmp.c | 46 /* bldtbl - build table entries for dfa state 49 * int state[numecs], statenum, totaltrans, comstate, comfreq; 50 * bldtbl( state, statenum, totaltrans, comstate, comfreq ); 52 * State is the statenum'th dfa state. It is indexed by equivalence class and 53 * gives the number of the state to enter for a given equivalence class. 54 * totaltrans is the total number of transitions out of the state. Comstate 55 * is that state which is the destination of the most transitions out of State. 60 * either being redundant (a state processed later will have an identical 61 * transition table) or nearly redundant (a state processed later will have 69 * to the same destination state o 81 bldtbl(int state[], int statenum, int totaltrans, int comstate, int comfreq) argument 325 find_table_space(int *state, int numtrans) argument 498 mkentry(int *state, int numchars, int statenum, int deflink, int totaltrans) argument 613 mk1tbl(int state, int sym, int onenxt, int onedef) argument 638 mkprot(int state[], int statenum, int comstate) argument 675 mktemplate(int state[], int statenum, int comstate) argument 753 place_state(int *state, int statenum, int transnum) argument 824 tbldiff(int state[], int pr, int ext[]) argument [all...] |
/freebsd-current/contrib/bearssl/src/hash/ |
H A D | multihash.c | 42 * Get the offset to the state for a specific hash function within the 52 * eight 64-bit words for their state. 98 hc->state(&g.vtable, 134 unsigned char *state; local 136 state = (unsigned char *)ctx 139 state, ctx->count - 128); 141 hc->state(&g.vtable, state); 155 const unsigned char *state; local 161 state [all...] |
/freebsd-current/crypto/openssh/openbsd-compat/ |
H A D | base64.c | 198 u_int tarindex, state; local 202 state = 0; 216 switch (state) { 223 state = 1; 234 state = 2; 245 state = 3; 254 state = 0; 266 switch (state) { 306 if (state != 0)
|
/freebsd-current/sys/dev/wg/ |
H A D | crypto.h | 97 void blake2s_init(struct blake2s_state *state, const size_t outlen); 99 void blake2s_init_key(struct blake2s_state *state, const size_t outlen, 102 void blake2s_update(struct blake2s_state *state, const uint8_t *in, size_t inlen); 104 void blake2s_final(struct blake2s_state *state, uint8_t *out); 109 struct blake2s_state state; local 112 blake2s_init_key(&state, outlen, key, keylen); 114 blake2s_init(&state, outlen); 116 blake2s_update(&state, in, inlen); 117 blake2s_final(&state, out);
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/ |
H A D | zpool_initialize_uninit.ksh | 49 function status_check # pool disk1-state disk2-state disk3-state 56 state=$(zpool status -i "$pool" | grep "$DISK1" | grep "$disk1_state") 57 if [[ -z "$state" ]]; then 58 log_fail "DISK1 state; expected='$disk1_state' got '$state'" 61 state=$(zpool status -i "$pool" | grep "$DISK2" | grep "$disk2_state") 62 if [[ -z "$state" ]]; then 63 log_fail "DISK2 state; expecte [all...] |
/freebsd-current/sys/crypto/sha2/ |
H A D | sha512c_arm64.c | 37 SHA512_Transform_arm64_impl(uint64_t * state, argument 61 S[0] = vld1q_u64(&state[0]); 62 S[1] = vld1q_u64(&state[2]); 63 S[2] = vld1q_u64(&state[4]); 64 S[3] = vld1q_u64(&state[6]); 140 /* 4. Mix local working variables into global state */ 146 vst1q_u64(&state[0], S[0]); 147 vst1q_u64(&state[2], S[1]); 148 vst1q_u64(&state[4], S[2]); 149 vst1q_u64(&state[ [all...] |
/freebsd-current/contrib/ncurses/ncurses/widechar/ |
H A D | lib_get_wch.c | 54 mbstate_t state; local 98 reset_mbytes(state); 99 status = count_mbytes(buffer, count, state); 101 reset_mbytes(state); 102 if (check_mbytes(wch, buffer, count, state) != status) {
|
/freebsd-current/contrib/ofed/opensm/include/complib/ |
H A D | cl_types.h | 416 * objects set their final state to CL_DESTROYED before freeing the 425 * The cl_is_state_valid function returns whether a state has a valid value. 429 static inline boolean_t cl_is_state_valid(IN const cl_state_t state) argument 431 return ((state == CL_UNINITIALIZED) || (state == CL_INITIALIZED) || 432 (state == CL_DESTROYING) || (state == CL_DESTROYED)); 437 * state 441 * TRUE if the specified state has a valid value. 447 * uninitialized object is passed, the memory for the state ma [all...] |