/freebsd-12-stable/usr.bin/getconf/ |
H A D | fake-gperf.awk | 4 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-12-stable/sys/contrib/zstd/zlibWrapper/ |
H A D | gzread.c | 21 state.state->fd, and update state.state->eof, state.state->err, and state.state->msg as appropriate. 24 local int gz_load(state, buf, len, have) 25 gz_statep state; 384 gz_statep state; local 422 gz_statep state; local 468 gz_statep state; local 503 gz_statep state; local 567 gz_statep state; local 626 gz_statep state; local 647 gz_statep state; local [all...] |
H A D | gzlib.c | 77 /* Reset gzip file state */ 78 local void gz_reset(state) 79 gz_statep state; 81 state.state->x.have = 0; /* no output data available */ 82 if (state.state->mode == GZ_READ) { /* for reading ... */ 83 state.state->eof = 0; /* not at end of file */ 84 state 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 D | gzwrite.c | 17 /* Initialize state for writing a gzip file. Mark initialization by setting 18 state.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.state->strm); 27 state.state->in = (unsigned char *)malloc(state 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...] |
/freebsd-12-stable/contrib/bearssl/src/symcipher/ |
H A D | aes_small_enc.c | 30 add_round_key(unsigned *state, const uint32_t *skeys) argument 38 state[i + 0] ^= (unsigned)(k >> 24); 39 state[i + 1] ^= (unsigned)(k >> 16) & 0xFF; 40 state[i + 2] ^= (unsigned)(k >> 8) & 0xFF; 41 state[i + 3] ^= (unsigned)k & 0xFF; 46 sub_bytes(unsigned *state) argument 51 state[i] = S[state[i]]; 56 shift_rows(unsigned *state) argument 60 tmp = state[ 81 mix_columns(unsigned *state) argument 109 unsigned state[16]; local [all...] |
H A D | chacha20_ct.c | 48 uint32_t state[16]; local 53 memcpy(&state[0], CW, sizeof CW); 54 memcpy(&state[4], kw, sizeof kw); 55 state[12] = cc; 56 memcpy(&state[13], ivw, sizeof ivw); 60 state[a] += state[b]; \ 61 state[d] ^= state[a]; \ 62 state[ [all...] |
/freebsd-12-stable/sys/dev/syscons/fonts/ |
H A D | cursor.awk | 24 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-12-stable/contrib/gdb/gdb/config/i386/ |
H A D | nm-i386gnu.h | 30 #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-12-stable/contrib/libarchive/libarchive/ |
H A D | archive_write_add_filter_compress.c | 149 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 D | archive_read_support_filter_compress.c | 214 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 D | archive_read_support_filter_program.c | 128 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-12-stable/sys/contrib/zlib/ |
H A D | gzlib.c | 77 /* 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 D | gzwrite.c | 17 /* 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 D | gzread.c | 21 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 D | inflate.c | 26 * - 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 D | infback.c | 19 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-12-stable/sys/dev/bhnd/nvram/ |
H A D | bhnd_nvram_data_sprom_subr.c | 53 static int bhnd_sprom_opcode_reset(bhnd_sprom_opcode_state *state); 55 static int bhnd_sprom_opcode_set_type(bhnd_sprom_opcode_state *state, 58 static int bhnd_sprom_opcode_set_var(bhnd_sprom_opcode_state *state, 60 static int bhnd_sprom_opcode_clear_var(bhnd_sprom_opcode_state *state); 62 static int bhnd_sprom_opcode_flush_bind(bhnd_sprom_opcode_state *state); 64 static int bhnd_sprom_opcode_read_opval32(bhnd_sprom_opcode_state *state, 67 static int bhnd_sprom_opcode_step(bhnd_sprom_opcode_state *state, 75 * Initialize SPROM opcode evaluation state. 77 * @param state The opcode state t 86 bhnd_sprom_opcode_init(bhnd_sprom_opcode_state *state, const struct bhnd_sprom_layout *layout) argument 161 bhnd_sprom_opcode_reset(bhnd_sprom_opcode_state *state) argument 181 bhnd_sprom_opcode_fini(bhnd_sprom_opcode_state *state) argument 238 bhnd_sprom_opcode_index_find(bhnd_sprom_opcode_state *state, const char *name) argument 267 bhnd_sprom_opcode_index_next(bhnd_sprom_opcode_state *state, bhnd_sprom_opcode_idx_entry *prev) argument 303 bhnd_sprom_opcode_init_entry(bhnd_sprom_opcode_state *state, bhnd_sprom_opcode_idx_entry *entry) argument 347 bhnd_sprom_opcode_seek(bhnd_sprom_opcode_state *state, bhnd_sprom_opcode_idx_entry *entry) argument 385 bhnd_sprom_opcode_set_revs(bhnd_sprom_opcode_state *state, uint8_t start, uint8_t end) argument 422 bhnd_sprom_opcode_set_mask(bhnd_sprom_opcode_state *state, uint32_t mask) argument 444 bhnd_sprom_opcode_set_shift(bhnd_sprom_opcode_state *state, int8_t shift) argument 478 bhnd_sprom_opcode_set_bind(bhnd_sprom_opcode_state *state, uint8_t count, uint8_t skip_in, bool skip_in_negative, uint8_t skip_out) argument 558 bhnd_sprom_opcode_flush_bind(bhnd_sprom_opcode_state *state) argument 599 bhnd_sprom_opcode_set_type(bhnd_sprom_opcode_state *state, bhnd_nvram_type type) argument 660 bhnd_sprom_opcode_clear_var(bhnd_sprom_opcode_state *state) argument 690 bhnd_sprom_opcode_set_nelem(bhnd_sprom_opcode_state *state, uint8_t nelem) argument 745 bhnd_sprom_opcode_set_var(bhnd_sprom_opcode_state *state, size_t vid) argument 786 bhnd_sprom_opcode_end_var(bhnd_sprom_opcode_state *state) argument 808 bhnd_sprom_opcode_apply_scale(bhnd_sprom_opcode_state *state, uint32_t *value) argument 842 bhnd_sprom_opcode_read_opval32(bhnd_sprom_opcode_state *state, uint8_t type, uint32_t *opval) argument 897 bhnd_sprom_opcode_matches_layout_rev(bhnd_sprom_opcode_state *state) argument 917 bhnd_sprom_opcode_rewrite_opcode(bhnd_sprom_opcode_state *state, uint8_t *opcode) argument 1001 bhnd_sprom_opcode_step(bhnd_sprom_opcode_state *state, uint8_t *opcode) argument 1281 bhnd_sprom_opcode_eval_var(bhnd_sprom_opcode_state *state, bhnd_sprom_opcode_idx_entry *entry) argument 1318 bhnd_sprom_opcode_next_var(bhnd_sprom_opcode_state *state) argument 1356 bhnd_sprom_opcode_next_binding(bhnd_sprom_opcode_state *state) argument [all...] |
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/zmod/ |
H A D | inflate.c | 33 * - 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-12-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-coremask.c | 67 * This structure defines the private state maintained by coremask module. 82 } state = { variable in typeref:struct:__anon11112 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-12-stable/lib/libthr/thread/ |
H A D | thr_once.c | 59 if (atomic_cmpset_rel_int(&once_control->state, ONCE_IN_PROGRESS, 62 atomic_store_rel_int(&once_control->state, ONCE_NEVER_DONE); 63 _thr_umtx_wake(&once_control->state, INT_MAX, 0); 70 int state; local 75 state = once_control->state; 76 if (state == ONCE_DONE) { 80 if (state == ONCE_NEVER_DONE) { 81 if (atomic_cmpset_int(&once_control->state, state, [all...] |
/freebsd-12-stable/contrib/tcpdump/missing/ |
H A D | snprintf.c | 56 * 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-12-stable/contrib/libpcap/missing/ |
H A D | snprintf.c | 60 * 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-12-stable/contrib/unbound/util/ |
H A D | random.h | 46 * 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-12-stable/contrib/gcc/ |
H A D | mkmap-flat.awk | 22 state = "nm"; 38 state == "nm" && /^%%/ { 39 state = "ver"; 43 state == "nm" && ($1 == "U" || $2 == "U") { 47 state == "nm" && NF == 3 { 52 state == "nm" {
|
/freebsd-12-stable/sys/contrib/xz-embedded/linux/lib/xz/ |
H A D | xz_lzma2.h | 23 * 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...] |