/freebsd-11-stable/usr.bin/grep/regex/ |
H A D | tre-compile.c | 47 mbstate_t state; local 48 memset(&state, '\0', sizeof(state)); 52 consumed = tre_mbrtowc(wcptr, regex, n, &state);
|
/freebsd-11-stable/contrib/expat/lib/ |
H A D | xmlrole.h | 116 int(PTRCALL *handler)(struct prolog_state *state, int tok, const char *ptr, 132 #define XmlTokenRole(state, tok, ptr, end, enc) \ 133 (((state)->handler)(state, tok, ptr, end, enc))
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | ReturnPointerRangeChecker.cpp | 36 ProgramStateRef state = C.getState(); local 58 = C.getStoreManager().getSizeInElements(state, ER->getSuperRegion(), 61 ProgramStateRef StInBound = state->assumeInBound(Idx, NumElements, true); 62 ProgramStateRef StOutBound = state->assumeInBound(Idx, NumElements, false);
|
H A D | ArrayBoundChecker.cpp | 54 ProgramStateRef state = C.getState(); 58 = C.getStoreManager().getSizeInElements(state, ER->getSuperRegion(), 61 ProgramStateRef StInBound = state->assumeInBound(Idx, NumElements, true); 62 ProgramStateRef StOutBound = state->assumeInBound(Idx, NumElements, false);
|
/freebsd-11-stable/sys/dev/isci/scil/ |
H A D | sati_write_buffer.c | 115 sequence->state = SATI_SEQUENCE_STATE_AWAIT_RESPONSE; 129 sequence->state = SATI_SEQUENCE_STATE_FINAL; 145 sequence->state = SATI_SEQUENCE_STATE_AWAIT_RESPONSE; 165 sequence->state = SATI_SEQUENCE_STATE_AWAIT_RESPONSE; 179 sequence->state = SATI_SEQUENCE_STATE_FINAL; 194 sequence->state = SATI_SEQUENCE_STATE_FINAL; 256 sequence->state = SATI_SEQUENCE_STATE_FINAL;
|
/freebsd-11-stable/stand/common/ |
H A D | merge_help.awk | 10 state = 0; 16 /^###/ && (state == 0) \ 18 state = 1; 23 /^# T[[:graph:]]+ (S[[:graph:]]+ )*D[[:graph:]][[:print:]]*$/ && (state == 1) \ 68 # set our state 69 state = 2; 75 /^###/ && (state == 2) \ 77 state = 1; 80 (state == 2) \
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/locale/ |
H A D | t_mbsnrtowcs.c | 68 mbstate_t state; local 77 memset(&state, 0, sizeof(state)); 80 __arraycount(buf), &state); 85 __arraycount(buf), &state);
|
/freebsd-11-stable/contrib/flex/ |
H A D | nfa.c | 43 /* add_accept - add an accepting state to a machine 51 /* Hang the accepting number off an epsilon state. if it is associated 52 * with a state that has a non-epsilon out-transition, then the state 104 ("\n\n********** beginning dump of nfa with start state %d\n"), 110 * starts at state 1 and ends at lastnfa. 115 fprintf (stderr, _("state # %4d\t"), ns); 155 int state = 0; local 159 state = mkstate (transchar[i]); 162 mkxtion (finalst[state], trans [all...] |
/freebsd-11-stable/contrib/ldns/ |
H A D | sha2.c | 319 MEMCPY_BCOPY(context->state, ldns_sha256_initial_hash_value, LDNS_SHA256_DIGEST_LENGTH); 370 a = context->state[0]; 371 b = context->state[1]; 372 c = context->state[2]; 373 d = context->state[3]; 374 e = context->state[4]; 375 f = context->state[5]; 376 g = context->state[6]; 377 h = context->state[7]; 405 context->state[ [all...] |
/freebsd-11-stable/sys/contrib/ngatm/netnatm/sig/ |
H A D | sig_party.c | 58 set_party_state(struct party *p, enum uni_epstate state) argument 60 if (p->state != state) { 64 p->epref, p->flags & PARTY_MINE, p->state, state); 65 p->state = state; 98 p->state = UNI_EPSTATE_NULL;; 197 switch (p->state) { 317 p->state 1340 epstate_compat(struct party *p, enum uni_epstate state) argument [all...] |
/freebsd-11-stable/sys/cddl/dev/dtrace/riscv/ |
H A D | dtrace_isa.c | 73 struct unwind_state state; local 88 state.fp = (uint64_t)__builtin_frame_address(0); 89 state.sp = sp; 90 state.pc = (uint64_t)dtrace_getpcstack; 93 if (unwind_frame(&state)) 96 if (!INKERNEL(state.pc) || !INKERNEL(state.fp)) 107 pcstack[depth++] = state.pc; 258 struct unwind_state state; local 269 state [all...] |
/freebsd-11-stable/contrib/gcc/ |
H A D | ggc-common.c | 80 struct traversal_state *state); 318 /* Handy state for the traversal functions. */ 335 struct traversal_state *state = (struct traversal_state *)state_p; 337 ggc_pch_count_object (state->d, d->obj, d->size, 340 state->count++; 348 struct traversal_state *state = (struct traversal_state *)state_p; 350 d->new_addr = ggc_pch_alloc_object (state->d, d->obj, d->size, 353 state->ptrs[state->ptrs_i++] = d; 374 struct traversal_state *state ATTRIBUTE_UNUSE 334 struct traversal_state *state = (struct traversal_state *)state_p; local 347 struct traversal_state *state = (struct traversal_state *)state_p; local 387 write_pch_globals(const struct ggc_root_tab * const *tab, struct traversal_state *state) argument 434 struct traversal_state state; local [all...] |
/freebsd-11-stable/contrib/wpa/src/crypto/ |
H A D | sha1-internal.c | 19 void SHA1Transform(u32 state[5], const unsigned char buffer[64]); 166 context->state[0], 167 context->state[1], 168 context->state[2], 169 context->state[3], 170 context->state[4]); 176 void SHA1Transform(u32 state[5], const unsigned char buffer[64]) argument 191 /* Copy context->state[] to working vars */ 192 a = state[0]; 193 b = state[ [all...] |
/freebsd-11-stable/contrib/binutils/gas/ |
H A D | ehopt.c | 257 } state; member in struct:frame_data 286 if (d->state >= state_saw_size && S_IS_DEFINED (d->size_end_sym)) 291 d->state = state_idle; 294 switch (d->state) 311 d->state = state_saw_size; 320 d->state += 1; 327 d->state = state_error; 330 d->state = state_seeing_aug_size; 335 d->state = state_wait_loc4; 343 d->state [all...] |
/freebsd-11-stable/sys/contrib/ngatm/netnatm/api/ |
H A D | cc_user.c | 70 if (user->state != ns) { 73 stab[user->state], stab[ns]); 74 user->state = ns; 116 user->state = USER_NULL; 163 * Although the standard state that 'all connections 165 * have to abort the head one, because in state A6 170 * First bring user into a state that the connections 196 * abort all connections. This can be called in any state. 238 * Check if the user's SAP (given he is in the right state) and 244 return ((user->state 1815 struct atm_epstate state; local [all...] |
H A D | cc_conn.c | 72 if (conn->state != ns) { 75 stab[conn->state], stab[ns]); 76 conn->state = ns; 92 if (party->state != ns) { 95 ptab[party->state], ptab[ns]); 96 party->state = ns; 232 conn->state = CONN_NULL; 346 party->state = PARTY_NULL; 411 switch (p->state) { 453 cc_party_log(p, "bad uabort for party in state 1781 u_int state = iarg & 0xffff; local [all...] |
/freebsd-11-stable/contrib/ofed/opensm/include/complib/ |
H A D | cl_qlist.h | 185 cl_state_t state; member in struct:_cl_qlist 195 * state 440 p_list->state = CL_INITIALIZED; 477 CL_ASSERT(p_list->state == CL_INITIALIZED); 509 CL_ASSERT(p_list->state == CL_INITIALIZED); 544 CL_ASSERT(p_list_item->p_list->state == CL_INITIALIZED); 582 CL_ASSERT(p_list_item->p_list->state == CL_INITIALIZED); 619 CL_ASSERT(p_list->state == CL_INITIALIZED); 657 CL_ASSERT(p_list->state == CL_INITIALIZED); 695 CL_ASSERT(p_list->state [all...] |
/freebsd-11-stable/sbin/recoverdisk/ |
H A D | recoverdisk.c | 35 int state; member in struct:lump 42 new_lump(off_t start, off_t len, int state) argument 51 lp->state = state; 62 "start", "size", "block-len", "state", "done", "remaining", "% done") 64 #define PRINT_STATUS(start, i, len, state, d, t) \ 69 state, \ 92 llp->state); 103 int state, lines; local 116 if (3 != fscanf(file, "%jd %jd %d\n", &s, &l, &state)) { 157 int error, state; local [all...] |
/freebsd-11-stable/contrib/subversion/subversion/libsvn_repos/ |
H A D | authz.c | 994 /* Reusable lookup state object. It is easy to pass to functions and 1025 lookup_state_t *state = apr_pcalloc(result_pool, sizeof(*state)); 1027 state->next = apr_array_make(result_pool, 4, sizeof(node_t *)); 1028 state->current = apr_array_make(result_pool, 4, sizeof(node_t *)); 1036 state->scratch_pad = svn_stringbuf_create_ensure(200, result_pool); 1040 state->parent_path = svn_stringbuf_create_ensure(200, result_pool); 1042 return state; 1050 init_lockup_state(lookup_state_t *state, 1055 if ( (len > state 1020 lookup_state_t *state = apr_pcalloc(result_pool, sizeof(*state)); local 1045 init_lockup_state(lookup_state_t *state, node_t *root, const char *path) argument 1094 add_next_node(lookup_state_t *state, node_t *node) argument 1132 add_if_prefix_matches(lookup_state_t *state, const sorted_pattern_t *prefix, const svn_stringbuf_t *segment) argument 1145 add_prefix_matches(lookup_state_t *state, const svn_stringbuf_t *segment, apr_array_header_t *prefixes) argument 1180 add_complex_matches(lookup_state_t *state, const svn_stringbuf_t *segment, apr_array_header_t *patterns) argument 1252 lookup(lookup_state_t *state, const char *path, authz_access_t required, svn_boolean_t recursive, apr_pool_t *scratch_pool) argument [all...] |
/freebsd-11-stable/sys/x86/x86/ |
H A D | cpu_machdep.c | 231 int *state; local 245 state = (int *)PCPU_PTR(monitorbuf); 246 KASSERT(atomic_load_int(state) == STATE_SLEEPING, 247 ("cpu_mwait_cx: wrong monitorbuf state")); 248 atomic_store_int(state, STATE_MWAIT); 256 cpu_monitor(state, 0, 0); 257 if (atomic_load_int(state) == STATE_MWAIT) 272 atomic_store_int(state, STATE_RUNNING); 291 * If TSC is P-state invariant and APERF/MPERF MSRs do not exist, 515 int *state; local 535 int *state; local 567 int *state; local 591 int *state; local 698 int *state; local 1009 const char *state; local 1333 const char *state; local 1406 const char *state; local [all...] |
/freebsd-11-stable/contrib/apr/random/unix/ |
H A D | sha2.c | 199 MEMCPY_BCOPY(context->state, sha256_initial_hash_value, SHA256_DIGEST_LENGTH); 249 a = context->state[0]; 250 b = context->state[1]; 251 c = context->state[2]; 252 d = context->state[3]; 253 e = context->state[4]; 254 f = context->state[5]; 255 g = context->state[6]; 256 h = context->state[7]; 284 context->state[ [all...] |
/freebsd-11-stable/crypto/openssh/openbsd-compat/ |
H A D | base64.c | 199 u_int tarindex, state; local 203 state = 0; 217 switch (state) { 224 state = 1; 235 state = 2; 246 state = 3; 255 state = 0; 267 switch (state) { 307 if (state != 0)
|
/freebsd-11-stable/lib/libc/net/ |
H A D | base64.c | 197 int tarindex, state, ch; local 201 state = 0; 215 switch (state) { 222 state = 1; 236 state = 2; 250 state = 3; 259 state = 0; 273 switch (state) { 314 if (state != 0)
|
/freebsd-11-stable/contrib/groff/src/devices/xditview/ |
H A D | parse.c | 51 #define HorizontalMove(dw, delta) ((dw)->dvi.state->x += (delta)) 66 * make sure some state exists 69 if (!dw->dvi.state) 132 dw->dvi.state->font_size = n; 136 dw->dvi.state->font_number = n; 200 if (dw->dvi.state) 201 *new_state = *(dw->dvi.state); 208 new_state->next = dw->dvi.state; 209 dw->dvi.state = new_state; 217 old = dw->dvi.state; [all...] |
/freebsd-11-stable/contrib/ofed/opensm/complib/ |
H A D | cl_ptr_vector.c | 56 p_vector->state = CL_UNINITIALIZED; 72 * Set the state to initialized so that the call to set_size 75 p_vector->state = CL_INITIALIZED; 90 CL_ASSERT(cl_is_state_valid(p_vector->state)); 93 if (p_vector->state == CL_INITIALIZED) { 101 p_vector->state = CL_UNINITIALIZED; 108 CL_ASSERT(p_vector->state == CL_INITIALIZED); 125 CL_ASSERT(p_vector->state == CL_INITIALIZED); 150 CL_ASSERT(p_vector->state == CL_INITIALIZED); 173 CL_ASSERT(p_vector->state [all...] |