/freebsd-9.3-release/crypto/openssl/crypto/md2/ |
H A D | md2_dgst.c | 130 memset(c->state, 0, sizeof c->state); 177 MD2_INT state[48]; local 179 sp1 = c->state; 183 state[i] = sp1[i]; 184 state[i + 16] = t = d[i]; 185 state[i + 32] = (t ^ sp1[i]); 191 t = state[j + 0] ^= S[t]; 192 t = state[j + 1] ^= S[t]; 193 t = state[ [all...] |
/freebsd-9.3-release/contrib/ipfilter/lib/ |
H A D | ipft_hx.c | 136 int state = 0; local 141 if (state) { 143 state = 0; 149 if (state == 0) { 151 state++; 154 state = 0;
|
/freebsd-9.3-release/contrib/ipfilter/rules/ |
H A D | BASIC_1.FW | 60 pass in quick proto udp from any to any port = 53 keep state group 202 65 #pass in quick proto udp from any to w.x.y.z/32 port = 53 keep state group 202 66 #pass out quick on ppp0 proto udp from a.b.c.d/32 to any port = 53 keep state 70 pass in quick proto tcp from any to any port = ftp keep state group 201 71 pass in quick proto tcp from any to any port = ftp-data keep state group 201 72 pass in quick proto tcp from any port = ftp-data to any port > 1023 keep state group 101 76 pass in quick proto udp from any to any port = ntp keep state group 202 80 pass in quick proto tcp from any to any port = 22 keep state group 201 81 pass in quick proto tcp from any to any port = telnet keep state group 201 82 pass in quick proto tcp from any to any port = www keep state grou [all...] |
/freebsd-9.3-release/contrib/ofed/management/infiniband-diags/src/ |
H A D | sminfo.c | 58 fprintf(stderr, "Usage: %s [-d(ebug) -e(rr_show) -s state -p prio -a activity -D(irect) -G(uid) -V(ersion) -C ca_name -P ca_port " 92 int prio = 0, state = SMINFO_STANDBY; local 154 state = strtoul(optarg, 0, 0); 187 mad_encode_field(sminfo, IB_SMINFO_STATE_F, &state); 200 mad_decode_field(sminfo, IB_SMINFO_STATE_F, &state); 202 printf("sminfo: sm lid %d sm guid 0x%" PRIx64 ", activity count %u priority %d state %d %s\n", 203 portid.lid, guid, act, prio, state, STATESTR(state));
|
/freebsd-9.3-release/contrib/ofed/management/opensm/include/complib/ |
H A D | cl_qcomppool.h | 298 cl_state_t state; member in struct:_cl_qcpool 335 * state 355 * [in] Pointer to a cl_qcpool_t structure whose state to initialize. 385 /* CL_ASSERT that the pool is not in some invalid state. */ 386 CL_ASSERT(cl_is_state_valid(p_pool->state)); 388 return (p_pool->state == CL_INITIALIZED); 402 * Allows checking the state of a quick composite pool to determine if 484 * If initialization fails, the pool is left in a destroyed state. Callers 544 CL_ASSERT(p_pool->state == CL_INITIALIZED); 609 CL_ASSERT(p_pool->state [all...] |
/freebsd-9.3-release/sys/dev/isci/scil/ |
H A D | sati_read_buffer.c | 112 sequence->state = SATI_SEQUENCE_STATE_AWAIT_RESPONSE; 125 sequence->state = SATI_SEQUENCE_STATE_FINAL; 143 sequence->state = SATI_SEQUENCE_STATE_FINAL; 153 sequence->state = SATI_SEQUENCE_STATE_FINAL; 168 sequence->state = SATI_SEQUENCE_STATE_FINAL; 230 sequence->state = SATI_SEQUENCE_STATE_FINAL;
|
/freebsd-9.3-release/crypto/openssl/ssl/ |
H A D | d1_clnt.c | 149 int new_state, state, skip = 0;; local 165 state = s->state; 167 switch (s->state) { 170 s->state = SSL_ST_CONNECT; 218 s->state = SSL3_ST_CW_CLNT_HELLO_A; 241 s->state = SSL3_ST_CW_FLUSH; 244 s->state = SSL3_ST_CR_SRVR_HELLO_A; 261 s->state = SSL3_ST_CR_FINISHED_A; 263 s->state [all...] |
/freebsd-9.3-release/contrib/wpa/src/wps/ |
H A D | wps_enrollee.c | 36 u8 state; local 38 state = wps->wps->wps_state; 40 state = WPS_STATE_NOT_CONFIGURED; 42 state); 45 wpabuf_put_u8(msg, state); 154 wps->state = RECV_M2; 184 wps->state = RECV_M4; 218 wps->state = RECV_M6; 330 wps->state = RECV_M8; 354 wps->state [all...] |
/freebsd-9.3-release/sys/kern/ |
H A D | kern_lockf.c | 185 * (s) locked by state->ls_lock 411 struct lockf *state, *freestate = NULL; local 576 * Do the requested operation. First find our state structure 578 * variable and the state's ls_threads count is protected by 589 * Allocate a state structure if necessary. 591 state = *statep; 592 if (state == NULL) { 623 state = *statep = ls; 626 state = *statep; 627 state 769 struct lockf *state; local 983 lf_add_outgoing(struct lockf *state, struct lockf_entry *lock) argument 1051 lf_add_incoming(struct lockf *state, struct lockf_entry *lock) argument 1084 lf_insert_lock(struct lockf *state, struct lockf_entry *lock) argument 1111 lf_wakeup_lock(struct lockf *state, struct lockf_entry *wakelock) argument 1138 lf_update_dependancies(struct lockf *state, struct lockf_entry *lock, int all, struct lockf_entry_list *granted) argument 1163 lf_set_start(struct lockf *state, struct lockf_entry *lock, off_t new_start, struct lockf_entry_list *granted) argument 1179 lf_set_end(struct lockf *state, struct lockf_entry *lock, off_t new_end, struct lockf_entry_list *granted) argument 1204 lf_activate_lock(struct lockf *state, struct lockf_entry *lock) argument 1317 lf_cancel_lock(struct lockf *state, struct lockf_entry *lock) argument 1368 lf_setlock(struct lockf *state, struct lockf_entry *lock, struct vnode *vp, void **cookiep) argument 1540 lf_clearlock(struct lockf *state, struct lockf_entry *unlock) argument 1565 lf_getlock(struct lockf *state, struct lockf_entry *lock, struct flock *fl) argument 1594 lf_cancel(struct lockf *state, struct lockf_entry *lock, void *cookie) argument 1647 lf_getblock(struct lockf *state, struct lockf_entry *lock) argument 1799 lf_split(struct lockf *state, struct lockf_entry *lock1, struct lockf_entry *lock2, struct lockf_entry_list *granted) argument [all...] |
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
H A D | UnixAPIChecker.cpp | 87 // We could possibly grovel through the preprocessor state, but 94 ProgramStateRef state = C.getState(); local 104 const SVal V = state->getSVal(oflagsEx, C.getLocationContext()); 113 SVal maskedFlagsUC = C.getSValBuilder().evalBinOpNN(state, BO_And, 122 llvm::tie(trueState, falseState) = state->assume(maskedFlags); 160 ProgramStateRef state = C.getState(); 162 state->getSVal(CE->getArg(0), C.getLocationContext()).getAsRegion(); 166 ExplodedNode *N = C.generateSink(state); 198 static bool IsZeroByteAllocation(ProgramStateRef state, argument 203 state [all...] |
H A D | FixedAddressChecker.cpp | 47 ProgramStateRef state = C.getState(); 48 SVal RV = state->getSVal(B->getRHS(), C.getLocationContext());
|
/freebsd-9.3-release/lib/libncp/ |
H A D | ncpl_rcfile.c | 225 int state = stNewLine, c; local 234 if (state == stNewLine) { 239 state = stHeader; 244 state = stSkipToEOL; 246 state = stGetKey; 249 if (state == stSkipToEOL || next == last) {/* ignore long lines */ 251 state = stNewLine; 256 if (state == stHeader) { 261 state = stSkipToEOL; 266 if (state [all...] |
/freebsd-9.3-release/contrib/bind9/lib/isc/ |
H A D | regex.c | 37 } state = none; local 68 switch (state) { 94 state = parse_bracket; 108 state = parse_bound; 199 state = none; 225 state = parse_ce; 232 state = parse_ec; 240 state = parse_cc; 253 state = none; 276 state [all...] |
/freebsd-9.3-release/contrib/dialog/ |
H A D | inputbox.c | 74 int state; local 93 state = dialog_vars.defaultno ? dlg_defaultno_button() : sTEXT; 94 first = (state == sTEXT); 150 dlg_draw_buttons(dialog, height - 2, 0, buttons, state, FALSE, width); 154 key = dlg_mouse_wgetch((state == sTEXT) ? editor : dialog, &fkey); 170 if (state == sTEXT) { /* Input box selected */ 195 state = 0; 199 state = dlg_prev_ok_buttonindex(state, sTEXT); 203 state [all...] |
/freebsd-9.3-release/contrib/ncurses/ncurses/base/ |
H A D | vsscanf.c | 215 ScanState state; 231 state = sUnknown; 235 for (n = 0; format[n] != 0 && state != sFinal; ++n) { 237 switch (state) { 240 state = sPercent; 244 state = sUnknown; 246 state = sLeft; 248 state = sNormal; 253 state = sRange; 261 state [all...] |
/freebsd-9.3-release/contrib/tcsh/ |
H A D | gethost.c | 224 int token, state; local 243 state = S_DISCARD; 249 state = S_CODE; 253 state = S_DISCARD; 257 state = S_COMMENT; 261 state = S_KEYWORD; 265 state = S_DISCARD; 269 state = S_KEYWORD; 273 state = S_KEYWORD; 277 state [all...] |
/freebsd-9.3-release/contrib/wpa/src/crypto/ |
H A D | sha256-internal.c | 23 u32 state[8], curlen; member in struct:sha256_state 103 /* copy state into S */ 105 S[i] = md->state[i]; 108 /* copy the state into 512-bits into W[0..15] */ 133 md->state[i] = md->state[i] + S[i]; 139 /* Initialize the hash state */ 144 md->state[0] = 0x6A09E667UL; 145 md->state[1] = 0xBB67AE85UL; 146 md->state[ [all...] |
/freebsd-9.3-release/tools/tools/ath/athpoke/ |
H A D | athpoke.c | 51 static dumpregs_t state; variable 91 atd.ad_out_data = (caddr_t) &state.revs; 92 atd.ad_out_size = sizeof(state.revs); 167 const int existing_regs = state.nregs; 181 struct dumpreg *r = state.regs[j]; 209 if (state.nregs == MAXREGS) 211 state.regs[state.nregs++] = nr; 215 qsort(state.regs, state [all...] |
/freebsd-9.3-release/contrib/wpa/src/eap_server/ |
H A D | eap_server_ikev2.c | 25 enum { MSG, FRAG_ACK, WAIT_FRAG_ACK, DONE, FAIL } state; member in struct:eap_ikev2_data 60 static const char * eap_ikev2_state_txt(int state) argument 62 switch (state) { 79 static void eap_ikev2_state(struct eap_ikev2_data *data, int state) argument 82 eap_ikev2_state_txt(data->state), 83 eap_ikev2_state_txt(state)); 84 data->state = state; 95 data->state = MSG; 97 data->ikev2.state [all...] |
H A D | eap_server_identity.c | 22 enum { CONTINUE, SUCCESS, FAILURE } state; member in struct:eap_identity_data 34 data->state = CONTINUE; 78 data->state = FAILURE; 116 data->state = FAILURE; 133 data->state = FAILURE; 137 data->state = SUCCESS; 145 return data->state != CONTINUE; 152 return data->state == SUCCESS;
|
/freebsd-9.3-release/contrib/ntp/sntp/libevent/ |
H A D | bufferevent_filter.c | 131 enum bufferevent_flush_mode state) 134 return state == BEV_NORMAL && 143 enum bufferevent_flush_mode state) 146 return state == BEV_NORMAL && 155 enum bufferevent_flush_mode state, void *ctx) 157 (void)state; 287 enum bufferevent_flush_mode state, 293 if (state == BEV_NORMAL) { 297 be_readbuf_full(bevf, state)) 303 if (state 130 be_underlying_writebuf_full(struct bufferevent_filtered *bevf, enum bufferevent_flush_mode state) argument 142 be_readbuf_full(struct bufferevent_filtered *bevf, enum bufferevent_flush_mode state) argument 154 be_null_filter(struct evbuffer *src, struct evbuffer *dst, ev_ssize_t lim, enum bufferevent_flush_mode state, void *ctx) argument 286 be_filter_process_input(struct bufferevent_filtered *bevf, enum bufferevent_flush_mode state, int *processed_out) argument 325 be_filter_process_output(struct bufferevent_filtered *bevf, enum bufferevent_flush_mode state, int *processed_out) argument 426 enum bufferevent_flush_mode state; local [all...] |
/freebsd-9.3-release/gnu/usr.bin/rcs/lib/ |
H A D | rcsrev.c | 274 cantfindbranch(revno, date, author, state) 275 char const *revno, date[datesize], *author, *state; 285 state ? " and state "+(date||author?0:4) : "", 286 state ? state : "" 388 struct hshentry * genrevs(revno,date,author,state,store) 389 char const *revno, *date, *author, *state; 392 * revision given by revno, date, author, and state, and stores pointers 438 (state 861 char state[20]; local [all...] |
/freebsd-9.3-release/sys/dev/kbd/ |
H A D | kbd.c | 1239 int state = *shiftstate; local 1245 f = state & (AGRS | ALKED); 1249 i = ((state & SHIFTS) ? 1 : 0) 1250 | ((state & CTLS) ? 2 : 0) 1251 | ((state & ALTS) ? 4 : 0); 1252 if (((key->flgs & FLAG_LOCK_C) && (state & CLKED)) 1253 || ((key->flgs & FLAG_LOCK_N) && (state & NLKED)) ) 1261 if (state & SHIFTAON) { 1262 set_lockkey_state(kbd, state, ALK); 1263 state [all...] |
/freebsd-9.3-release/contrib/xz/src/liblzma/check/ |
H A D | check.h | 30 /// \brief Structure to hold internal state of the check being calculated 48 /// Internal state 49 uint32_t state[8]; member in struct:__anon4486::__anon4488::__anon4489 54 } state; member in struct:__anon4486 77 /// Update the check state 85 /// Prepare SHA-256 state for new input. 88 /// Update the SHA-256 hash state
|
/freebsd-9.3-release/crypto/heimdal/appl/push/ |
H A D | push.c | 221 pop_state state = INIT; local 287 while(state != QUIT) { 297 fprintf (stderr, "state: %s count: %d asked_for: %d " 299 pop_state_string[state], 302 if (((state == STAT || state == RETR || state == TOP) 304 || (state == XDELE && !sent_xdele) 305 || (state == DELE && asked_deleted < count)) 341 if (state [all...] |