Searched refs:state (Results 1 - 25 of 2035) sorted by relevance

1234567891011>>

/freebsd-11-stable/usr.bin/getconf/
H A Dfake-gperf.awk4 state = 0;
7 /^%{$/ && state == 0 {
8 state = 1;
11 /^%}$/ && state == 1 {
12 state = 0;
15 state == 1 { print; next; }
16 /^struct/ && state == 0 {
21 /^%%$/ && state == 0 {
22 state = 2;
35 /^%%$/ && state
[all...]
/freebsd-11-stable/sys/dev/syscons/fonts/
H A Dcursor.awk24 state == 0 && /^STARTCHAR/ {
27 state = 1
29 state >= 1 && state < 7 || state >= 7 + 16 && state < 7 + 16 + 7 {
30 state++
33 state >= 7 && state < 7 + 16 || state >
[all...]
/freebsd-11-stable/contrib/gdb/gdb/config/i386/
H A Dnm-i386gnu.h30 #define THREAD_STATE_SET_TRACED(state) \
31 ((struct i386_thread_state *) (state))->efl |= 0x100
32 #define THREAD_STATE_CLEAR_TRACED(state) \
33 ((((struct i386_thread_state *) (state))->efl &= ~0x100), 1)
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_write_add_filter_compress.c149 struct private_data *state; local
155 state = (struct private_data *)calloc(1, sizeof(*state));
156 if (state == NULL) {
171 state->compressed_buffer_size = bs;
172 state->compressed = malloc(state->compressed_buffer_size);
174 if (state->compressed == NULL) {
177 free(state);
185 state
229 struct private_data *state = f->data; local
248 struct private_data *state = f->data; local
314 struct private_data *state = f->data; local
335 struct private_data *state = (struct private_data *)f->data; local
423 struct private_data *state = (struct private_data *)f->data; local
442 struct private_data *state = (struct private_data *)f->data; local
[all...]
H A Darchive_read_support_filter_compress.c214 struct private_data *state; local
222 state = (struct private_data *)calloc(sizeof(*state), 1);
224 if (state == NULL || out_block == NULL) {
226 free(state);
233 self->data = state;
234 state->out_block_size = out_block_size;
235 state->out_block = out_block;
252 state->maxcode_bits = code & 0x1f;
253 state
280 struct private_data *state; local
324 struct private_data *state = (struct private_data *)self->data; local
339 struct private_data *state = (struct private_data *)self->data; local
430 struct private_data *state = (struct private_data *)self->data; local
[all...]
H A Darchive_read_support_filter_program.c128 struct program_bidder *state, const void *signature, size_t signature_len)
132 state->signature_len = signature_len;
133 state->signature = malloc(signature_len);
134 memcpy(state->signature, signature, signature_len);
140 bidder->data = state;
154 struct program_bidder *state; local
163 * Allocate our private state.
165 state = (struct program_bidder *)calloc(1, sizeof (*state));
166 if (state
127 set_bidder_signature(struct archive_read_filter_bidder *bidder, struct program_bidder *state, const void *signature, size_t signature_len) argument
182 struct program_bidder *state = (struct program_bidder *)self->data; local
189 free_state(struct program_bidder *state) argument
209 struct program_bidder *state = self->data; local
239 child_stop(struct archive_read_filter *self, struct program_filter *state) argument
309 struct program_filter *state = self->data; local
399 struct program_filter *state; local
462 struct program_filter *state; local
491 struct program_filter *state; local
[all...]
/freebsd-11-stable/sys/contrib/zlib/
H A Dgzlib.c77 /* Reset gzip file state */
78 local void gz_reset(state)
79 gz_statep state;
81 state->x.have = 0; /* no output data available */
82 if (state->mode == GZ_READ) { /* for reading ... */
83 state->eof = 0; /* not at end of file */
84 state->past = 0; /* have not read past end yet */
85 state->how = LOOK; /* look for gzip header */
87 state->seek = 0; /* no seek request pending */
88 gz_error(state, Z_O
99 gz_statep state; local
323 gz_statep state; local
349 gz_statep state; local
376 gz_statep state; local
461 gz_statep state; local
489 gz_statep state; local
521 gz_statep state; local
539 gz_statep state; local
559 gz_statep state; local
[all...]
H A Dgzwrite.c17 /* Initialize state for writing a gzip file. Mark initialization by setting
18 state->size to non-zero. Return -1 on a memory allocation failure, or 0 on
20 local int gz_init(state)
21 gz_statep state;
24 z_streamp strm = &(state->strm);
27 state->in = (unsigned char *)malloc(state->want << 1);
28 if (state->in == NULL) {
29 gz_error(state, Z_MEM_ERROR, "out of memory");
33 /* only need output buffer and deflate state i
254 gz_statep state; local
284 gz_statep state; local
313 gz_statep state; local
361 gz_statep state; local
387 gz_statep state; local
477 gz_statep state; local
560 gz_statep state; local
593 gz_statep state; local
634 gz_statep state; local
[all...]
H A Dgzread.c21 state->fd, and update state->eof, state->err, and state->msg as appropriate.
24 local int gz_load(state, buf, len, have)
25 gz_statep state;
38 ret = read(state->fd, buf + *have, get);
44 gz_error(state, Z_ERRNO, zstrerror());
48 state->eof = 1;
59 local int gz_avail(state)
383 gz_statep state; local
421 gz_statep state; local
455 gz_statep state; local
490 gz_statep state; local
554 gz_statep state; local
613 gz_statep state; local
634 gz_statep state; local
[all...]
H A Dinflate.c26 * - Change strm->next_out[-state->offset] to *(strm->next_out - state->offset)
30 * - Add comments on state->bits assertion in inffast.c
96 local void fixedtables OF((struct inflate_state FAR *state));
108 struct inflate_state FAR *state; local
112 state = (struct inflate_state FAR *)strm->state;
113 if (state == Z_NULL || state->strm != strm ||
114 state
122 struct inflate_state FAR *state; local
147 struct inflate_state FAR *state; local
162 struct inflate_state FAR *state; local
202 struct inflate_state FAR *state; local
252 struct inflate_state FAR *state; local
345 struct inflate_state state; local
401 struct inflate_state FAR *state; local
626 struct inflate_state FAR *state; local
[all...]
H A Dinfback.c19 local void fixedtables OF((struct inflate_state FAR *state));
35 struct inflate_state FAR *state; local
58 state = (struct inflate_state FAR *)ZALLOC(strm, 1,
60 if (state == Z_NULL) return Z_MEM_ERROR;
62 strm->state = (struct internal_state FAR *)state;
63 state->dmax = 32768U;
64 state->wbits = (uInt)windowBits;
65 state->wsize = 1U << windowBits;
66 state
257 struct inflate_state FAR *state; local
[all...]
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dinflate.c33 * - Change strm->next_out[-state->offset] to *(strm->next_out - state->offset)
37 * - Add comments on state->bits assertion in inffast.c
102 local void fixedtables OF((struct inflate_state FAR *state));
113 struct inflate_state FAR *state; local
115 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
116 state = (struct inflate_state FAR *)strm->state;
117 strm->total_in = strm->total_out = state->total = 0;
120 state
140 struct inflate_state FAR *state; local
157 struct inflate_state FAR *state; local
279 struct inflate_state state; local
334 struct inflate_state FAR *state; local
565 struct inflate_state FAR *state; local
[all...]
/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-coremask.c67 * This structure defines the private state maintained by coremask module.
82 } state = { variable in typeref:struct:__anon8453
104 cvmx_spinlock_lock(&state.lock);
108 if (state.s[i].coremask == 0) {
110 state.s[i].coremask = coremask;
113 if (state.s[i].coremask == coremask) {
115 target = state.s[i].exit + 1; /* wrap-around at 32b */
117 state.s[i].checkin |= cvmx_coremask_core(cvmx_get_core_num());
118 if (state.s[i].checkin == coremask) {
119 state
[all...]
/freebsd-11-stable/lib/libthr/thread/
H A Dthr_once.c56 if (atomic_cmpset_rel_int(&once_control->state, ONCE_IN_PROGRESS,
59 atomic_store_rel_int(&once_control->state, ONCE_NEVER_DONE);
60 _thr_umtx_wake(&once_control->state, INT_MAX, 0);
67 int state; local
72 state = once_control->state;
73 if (state == ONCE_DONE) {
77 if (state == ONCE_NEVER_DONE) {
78 if (atomic_cmpset_int(&once_control->state, state,
[all...]
/freebsd-11-stable/contrib/tcpdump/missing/
H A Dsnprintf.c56 * Common state
59 struct state { struct
65 int (*append_char)(struct state *, unsigned char);
66 int (*reserve)(struct state *, size_t);
72 sn_reserve (struct state *state, size_t n) argument
74 return state->s + n > state->theend;
78 sn_append_char (struct state *state, unsigne argument
126 append_number(struct state *state, unsigned long num, unsigned base, char *rep, int width, int prec, int flags, int minusp) argument
215 append_string(struct state *state, unsigned char *arg, int width, int prec, int flags) argument
246 append_char(struct state *state, unsigned char arg, int width, int flags) argument
281 xyzprintf(struct state *state, const char *char_format, va_list ap) argument
605 struct state state; local
[all...]
/freebsd-11-stable/contrib/libpcap/missing/
H A Dsnprintf.c60 * Common state
63 struct state { struct
69 int (*append_char)(struct state *, unsigned char);
70 int (*reserve)(struct state *, size_t);
76 sn_reserve (struct state *state, size_t n) argument
78 return state->s + n > state->theend;
82 sn_append_char (struct state *state, unsigne argument
130 append_number(struct state *state, unsigned long num, unsigned base, char *rep, int width, int prec, int flags, int minusp) argument
219 append_string(struct state *state, unsigned char *arg, int width, int prec, int flags) argument
250 append_char(struct state *state, unsigned char arg, int width, int flags) argument
285 xyzprintf(struct state *state, const char *char_format, va_list ap) argument
611 struct state state; local
[all...]
/freebsd-11-stable/contrib/gcc/
H A Dmkmap-flat.awk22 state = "nm";
38 state == "nm" && /^%%/ {
39 state = "ver";
43 state == "nm" && ($1 == "U" || $2 == "U") {
47 state == "nm" && NF == 3 {
52 state == "nm" {
/freebsd-11-stable/contrib/unbound/util/
H A Drandom.h46 * random state structure.
51 * Initialize a random generator state for use
53 * can be used to seed random states via a parent-random-state that
55 * @return new state or NULL alloc failure.
60 * Generate next random number from the state passed along.
62 * @param state: must have been initialised with ub_initstate.
65 long int ub_random(struct ub_randstate* state);
69 * @param state: must have been initialised with ub_initstate.
74 long int ub_random_max(struct ub_randstate* state, long int x);
77 * Delete the random state
[all...]
/freebsd-11-stable/sys/contrib/xz-embedded/linux/lib/xz/
H A Dxz_lzma2.h23 * Maximum number of position states. A position state is the lowest pb
60 /* The lowest 7 states indicate that the previous state was a literal. */
64 static inline void lzma_state_literal(enum lzma_state *state) argument
66 if (*state <= STATE_SHORTREP_LIT_LIT)
67 *state = STATE_LIT_LIT;
68 else if (*state <= STATE_LIT_SHORTREP)
69 *state -= 3;
71 *state -= 6;
75 static inline void lzma_state_match(enum lzma_state *state) argument
77 *state
[all...]
/freebsd-11-stable/sys/crypto/rc4/
H A Drc4.c57 * Initialize an RC4 state buffer using the supplied key,
61 rc4_init(struct rc4_state *const state, const u_char *key, int keylen) argument
66 /* Initialize state with identity permutation */
68 state->perm[i] = (u_char)i;
69 state->index1 = 0;
70 state->index2 = 0;
74 j += state->perm[i] + key[k];
75 swap_bytes(&state->perm[i], &state->perm[j]);
82 * Encrypt some data using the supplied RC4 state buffe
88 rc4_crypt(struct rc4_state *const state, const u_char *inbuf, u_char *outbuf, int buflen) argument
[all...]
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dsnprintf.c52 * Common state
67 sn_reserve (struct snprintf_state *state, size_t n) argument
69 return state->s + n > state->theend;
73 sn_append_char (struct snprintf_state *state, unsigned char c) argument
75 if (!sn_reserve (state, 1))
76 *state->s++ = c;
81 as_reserve (struct snprintf_state *state, size_t n) argument
83 if (state->s + n > state
104 as_append_char(struct snprintf_state *state, unsigned char c) argument
123 pad(struct snprintf_state *state, int width, char c) argument
141 append_number(struct snprintf_state *state, u_longest num, unsigned base, const char *rep, int width, int prec, int flags, int minusp) argument
256 append_string(struct snprintf_state *state, const unsigned char *arg, int width, int prec, int flags) argument
291 append_char(struct snprintf_state *state, unsigned char arg, int width, int flags) argument
348 xyzprintf(struct snprintf_state *state, const char *char_format, va_list ap) argument
642 struct snprintf_state state; local
680 struct snprintf_state state; local
[all...]
/freebsd-11-stable/lib/libc/amd64/sys/
H A Damd64_detect_rdfsgsbase.c41 static int state = RDFSGS_UNKNOWN; variable
48 if (__predict_true(state != RDFSGS_UNKNOWN))
49 return (state);
58 state = RDFSGS_SUPPORTED;
59 return (state);
63 state = RDFSGS_UNSUPPORTED;
64 return (state);
/freebsd-11-stable/contrib/expat/lib/
H A Dxmlrole.c109 # define setTopLevel(state) \
110 ((state)->handler \
111 = ((state)->documentEntity ? internalSubset : externalSubset1))
113 # define setTopLevel(state) ((state)->handler = internalSubset)
116 typedef int PTRCALL PROLOG_HANDLER(PROLOG_STATE *state, int tok,
132 static int FASTCALL common(PROLOG_STATE *state, int tok);
135 prolog0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, argument
139 state->handler = prolog1;
142 state
166 prolog1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
198 prolog2(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
218 doctype0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
235 doctype1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
261 doctype2(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
277 doctype3(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
293 doctype4(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
312 doctype5(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
328 internalSubset(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
373 externalSubset0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
382 externalSubset1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
410 entity0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
429 entity1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
445 entity2(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
469 entity3(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
485 entity4(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
501 entity5(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
520 entity6(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
537 entity7(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
561 entity8(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
577 entity9(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
593 entity10(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
609 notation0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
625 notation1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
645 notation2(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
661 notation3(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
678 notation4(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
698 attlist0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
715 attlist1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
735 attlist2(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
765 attlist3(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
783 attlist4(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
802 attlist5(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
818 attlist6(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
834 attlist7(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
854 attlist8(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
884 attlist9(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
900 element0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
917 element1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
943 element2(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
977 element3(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1001 element4(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1018 element5(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1038 element6(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1067 element7(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1116 condSect0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1136 condSect1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1153 condSect2(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1171 declClose(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1207 error(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1219 common(PROLOG_STATE *state, int tok) argument
1229 XmlPrologStateInit(PROLOG_STATE *state) argument
1241 XmlPrologStateInitExternalEntity(PROLOG_STATE *state) argument
[all...]
/freebsd-11-stable/sys/cddl/dev/dtrace/
H A Ddtrace_vtime.c32 dtrace_vtime_state_t state, nstate = 0; local
35 state = dtrace_vtime_active;
37 switch (state) {
53 state, nstate) != state);
59 dtrace_vtime_state_t state, nstate = 0; local
62 state = dtrace_vtime_active;
64 switch (state) {
80 state, nstate) != state);
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Utility/
H A DState.h22 /// \param[in] state
26 /// A NULL terminated C string that describes \a state. The
29 const char *StateAsCString(lldb::StateType state);
31 /// Check if a state represents a state where the process or thread
34 /// \param[in] state
38 /// \b true if the state represents a process or thread state
40 bool StateIsRunningState(lldb::StateType state);
42 /// Check if a state represent
69 format(const lldb::StateType &state, raw_ostream &Stream, StringRef Style) argument
[all...]

Completed in 300 milliseconds

1234567891011>>