HomeSort by: relevance | last modified time | path
    Searched refs:state (Results 1 - 25 of 1743) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/common/dist/zlib/
inflate.c 28 * - Change strm->next_out[-state->offset] to *(strm->next_out - state->offset)
32 * - Add comments on state->bits assertion in inffast.c
97 struct inflate_state FAR *state; local in function:inflateStateCheck
101 state = (struct inflate_state FAR *)strm->state;
102 if (state == Z_NULL || state->strm != strm ||
103 state->mode < HEAD || state->mode > SYNC
109 struct inflate_state FAR *state; local in function:inflateResetKeep
133 struct inflate_state FAR *state; local in function:inflateReset
145 struct inflate_state FAR *state; local in function:inflateReset2
183 struct inflate_state FAR *state; local in function:inflateInit2_
226 struct inflate_state FAR *state; local in function:inflatePrime
319 struct inflate_state state; local in function:makefixed
371 struct inflate_state FAR *state; local in function:updatewindow
593 struct inflate_state FAR *state; local in function:inflate
1276 struct inflate_state FAR *state; local in function:inflateEnd
1289 struct inflate_state FAR *state; local in function:inflateGetDictionary
1309 struct inflate_state FAR *state; local in function:inflateSetDictionary
1340 struct inflate_state FAR *state; local in function:inflateGetHeader
1389 struct inflate_state FAR *state; local in function:inflateSync
1441 struct inflate_state FAR *state; local in function:inflateSyncPoint
1449 struct inflate_state FAR *state; local in function:inflateCopy
1493 struct inflate_state FAR *state; local in function:inflateUndermine
1508 struct inflate_state FAR *state; local in function:inflateValidate
1520 struct inflate_state FAR *state; local in function:inflateMark
1531 struct inflate_state FAR *state; local in function:inflateCodesUsed
    [all...]
gzlib.c 68 /* Reset gzip file state */
69 local void gz_reset(gz_statep state) {
70 state->x.have = 0; /* no output data available */
71 if (state->mode == GZ_READ) { /* for reading ... */
72 state->eof = 0; /* not at end of file */
73 state->past = 0; /* have not read past end yet */
74 state->how = LOOK; /* look for gzip header */
77 state->reset = 0; /* no deflateReset pending */
78 state->seek = 0; /* no seek request pending */
79 gz_error(state, Z_OK, NULL); /* clear error *
86 gz_statep state; local in function:gz_open
295 gz_statep state; local in function:gzbuffer
319 gz_statep state; local in function:gzrewind
342 gz_statep state; local in function:gzseek64
421 gz_statep state; local in function:gztell64
445 gz_statep state; local in function:gzoffset64
473 gz_statep state; local in function:gzeof
488 gz_statep state; local in function:gzerror
506 gz_statep state; local in function:gzclearerr
    [all...]
gzwrite.c 8 /* Initialize state for writing a gzip file. Mark initialization by setting
9 state->size to non-zero. Return -1 on a memory allocation failure, or 0 on
11 local int gz_init(gz_statep state) {
13 z_streamp strm = &(state->strm);
16 state->in = (unsigned char *)malloc(state->want << 1);
17 if (state->in == NULL) {
18 gz_error(state, Z_MEM_ERROR, "out of memory");
22 /* only need output buffer and deflate state if compressing */
23 if (!state->direct)
240 gz_statep state; local in function:gzwrite
266 gz_statep state; local in function:gzfwrite
292 gz_statep state; local in function:gzputc
336 gz_statep state; local in function:gzputs
365 gz_statep state; local in function:gzvprintf
451 gz_statep state; local in function:gzprintf
531 gz_statep state; local in function:gzflush
560 gz_statep state; local in function:gzsetparams
599 gz_statep state; local in function:gzclose_w
    [all...]
gzread.c 9 state->fd, and update state->eof, state->err, and state->msg as appropriate.
12 local int gz_load(gz_statep state, unsigned char *buf, unsigned len,
22 ret = read(state->fd, buf + *have, get);
28 gz_error(state, Z_ERRNO, zstrerror());
32 state->eof = 1;
43 local int gz_avail(gz_statep state) {
45 z_streamp strm = &(state->strm)
346 gz_statep state; local in function:gzread
379 gz_statep state; local in function:gzfread
410 gz_statep state; local in function:gzgetc
439 gz_statep state; local in function:gzungetc
503 gz_statep state; local in function:gzgets
560 gz_statep state; local in function:gzdirect
579 gz_statep state; local in function:gzclose_r
    [all...]
infback.c 30 struct inflate_state FAR *state; local in function:inflateBackInit_
53 state = (struct inflate_state FAR *)ZALLOC(strm, 1,
55 if (state == Z_NULL) return Z_MEM_ERROR;
57 strm->state = (struct internal_state FAR *)state;
58 state->dmax = 32768U;
59 state->wbits = (uInt)windowBits;
60 state->wsize = 1U << windowBits;
61 state->window = window;
62 state->wnext = 0
246 struct inflate_state FAR *state; local in function:inflateBack
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/
drm_atomic_state_helper.c 45 * DOC: atomic state reset and initialization
48 * and correct atomic software state for all connectors, CRTCs and planes
50 * suspend. One way to solve this is to have a hardware state read-out
51 * infrastructure which reconstructs the full software state (e.g. the i915
54 * The simpler solution is to just reset the software state to everything off,
58 * On the upside the precise state tracking of atomic simplifies system suspend
66 * __drm_atomic_helper_crtc_state_reset - reset the CRTC state
67 * @crtc_state: atomic CRTC state, must not be NULL
71 * values. This is useful for drivers that subclass the CRTC state.
82 * __drm_atomic_helper_crtc_reset - reset state on CRT
170 struct drm_crtc_state *state; local in function:drm_atomic_helper_crtc_duplicate_state
327 struct drm_plane_state *state; local in function:drm_atomic_helper_plane_duplicate_state
448 struct drm_connector_state *state = connector->state; local in function:drm_atomic_helper_connector_tv_reset
492 struct drm_connector_state *state; local in function:drm_atomic_helper_connector_duplicate_state
    [all...]
drm_atomic.c 67 * @state: atomic state
73 void drm_atomic_state_default_release(struct drm_atomic_state *state)
75 kfree(state->connectors);
76 kfree(state->crtcs);
77 kfree(state->planes);
78 kfree(state->private_objs);
83 * drm_atomic_state_init - init new atomic state
85 * @state: atomic state
133 struct drm_atomic_state *state; local in function:drm_atomic_state_alloc
268 struct drm_atomic_state *state = container_of(ref, typeof(*state), ref); local in function:__drm_atomic_state_free
    [all...]
  /src/tools/compat/
snprintf.c 66 * Common state
69 struct state { struct
75 void (*append_char)(struct state *, unsigned char);
85 sn_reserve (struct state *state, size_t n)
87 return state->s + n > state->theend;
91 sn_append_char (struct state *state, unsigned char c)
93 if (!sn_reserve (state, 1)
609 struct state state; local in function:vasnprintf
647 struct state state; local in function:vsnprintf
    [all...]
  /src/sys/uvm/
uvm_coredump.c 90 struct uvm_coredump_state state; local in function:uvm_coredump_walkmap
98 state.end = 0;
102 else if (!uvm_map_lookup_entry(map, state.end, &entry))
107 state.cookie = cookie;
108 if (state.end > entry->start) {
109 state.start = state.end;
111 state.start = entry->start;
113 state.realend = entry->end;
114 state.end = entry->end
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/powerplay/hwmgr/
ci_baco.h 29 extern int ci_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state);
fiji_baco.h 29 extern int fiji_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state);
polaris_baco.h 29 extern int polaris_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state);
tonga_baco.h 29 extern int tonga_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state);
vega10_baco.h 29 extern int vega10_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state);
vega12_baco.h 29 extern int vega12_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state);
smu7_baco.h 31 extern int smu7_baco_get_state(struct pp_hwmgr *hwmgr, enum BACO_STATE *state);
32 extern int smu7_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state);
vega20_baco.h 31 extern int vega20_baco_get_state(struct pp_hwmgr *hwmgr, enum BACO_STATE *state);
32 extern int vega20_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state);
  /src/sys/external/bsd/drm2/dist/include/drm/
drm_atomic_state_helper.h 42 void __drm_atomic_helper_crtc_state_reset(struct drm_crtc_state *state,
45 struct drm_crtc_state *state);
48 struct drm_crtc_state *state);
51 void __drm_atomic_helper_crtc_destroy_state(struct drm_crtc_state *state);
53 struct drm_crtc_state *state);
55 void __drm_atomic_helper_plane_state_reset(struct drm_plane_state *state,
58 struct drm_plane_state *state);
61 struct drm_plane_state *state);
64 void __drm_atomic_helper_plane_destroy_state(struct drm_plane_state *state);
66 struct drm_plane_state *state);
    [all...]
drm_self_refresh_helper.h 16 void drm_self_refresh_helper_alter_state(struct drm_atomic_state *state);
17 void drm_self_refresh_helper_update_avg_times(struct drm_atomic_state *state,
  /src/usr.bin/nbperf/
nbperf-chm.c 76 struct state { struct
84 assign_nodes(struct state *state)
90 for (i = 0; i < state->graph.e; ++i) {
91 e_idx = state->graph.output_order[i];
92 e = &state->graph.edges[e_idx];
93 if (!state->visited[e->vertices[0]]) {
97 } else if (!state->visited[e->vertices[1]]) {
106 g = e_idx - state->g[v1] - state->g[v2]
232 struct state state; local in function:chm3_compute
    [all...]
nbperf-bdz.c 72 struct state { struct
82 assign_nodes(struct state *state)
88 for (i = 0; i < state->graph.v; ++i)
89 state->g[i] = 3;
91 for (i = 0; i < state->graph.e; ++i) {
92 j = state->graph.output_order[i];
93 e = &state->graph.edges[j];
94 if (!state->visited[e->vertices[0]]) {
97 } else if (!state->visited[e->vertices[1]])
269 struct state state; local in function:bpz_compute
    [all...]
  /src/sys/net/
ppp-deflate.c 61 * State for a Deflate (de)compressor.
80 static void z_comp_free(void *state);
81 static void z_decomp_free(void *state);
82 static int z_comp_init(void *state, u_char *options, int opt_len,
84 static int z_decomp_init(void *state, u_char *options, int opt_len,
86 static int z_compress(void *state, struct mbuf **mret,
88 static void z_incomp(void *state, struct mbuf *dmsg);
89 static int z_decompress(void *state, struct mbuf *cmp,
91 static void z_comp_reset(void *state);
92 static void z_decomp_reset(void *state);
154 struct deflate_state *state; local in function:z_comp_alloc
188 struct deflate_state *state = (struct deflate_state *) arg; local in function:z_comp_free
198 struct deflate_state *state = (struct deflate_state *) arg; local in function:z_comp_init
221 struct deflate_state *state = (struct deflate_state *) arg; local in function:z_comp_reset
233 struct deflate_state *state = (struct deflate_state *) arg; local in function:z_compress
352 struct deflate_state *state = (struct deflate_state *) arg; local in function:z_comp_stats
372 struct deflate_state *state; local in function:z_decomp_alloc
405 struct deflate_state *state = (struct deflate_state *) arg; local in function:z_decomp_free
415 struct deflate_state *state = (struct deflate_state *) arg; local in function:z_decomp_init
439 struct deflate_state *state = (struct deflate_state *) arg; local in function:z_decomp_reset
464 struct deflate_state *state = (struct deflate_state *) arg; local in function:z_decompress
610 struct deflate_state *state = (struct deflate_state *) arg; local in function:z_incomp
    [all...]
  /src/sys/external/isc/libsodium/dist/src/libsodium/crypto_auth/hmacsha256/
auth_hmacsha256.c 37 crypto_auth_hmacsha256_init(crypto_auth_hmacsha256_state *state,
45 crypto_hash_sha256_init(&state->ictx);
46 crypto_hash_sha256_update(&state->ictx, key, keylen);
47 crypto_hash_sha256_final(&state->ictx, khash);
51 crypto_hash_sha256_init(&state->ictx);
56 crypto_hash_sha256_update(&state->ictx, pad, 64);
58 crypto_hash_sha256_init(&state->octx);
63 crypto_hash_sha256_update(&state->octx, pad, 64);
72 crypto_auth_hmacsha256_update(crypto_auth_hmacsha256_state *state,
75 crypto_hash_sha256_update(&state->ictx, in, inlen)
99 crypto_auth_hmacsha256_state state; local in function:crypto_auth_hmacsha256
    [all...]
  /src/sys/external/isc/libsodium/dist/src/libsodium/crypto_auth/hmacsha512/
auth_hmacsha512.c 37 crypto_auth_hmacsha512_init(crypto_auth_hmacsha512_state *state,
45 crypto_hash_sha512_init(&state->ictx);
46 crypto_hash_sha512_update(&state->ictx, key, keylen);
47 crypto_hash_sha512_final(&state->ictx, khash);
51 crypto_hash_sha512_init(&state->ictx);
56 crypto_hash_sha512_update(&state->ictx, pad, 128);
58 crypto_hash_sha512_init(&state->octx);
63 crypto_hash_sha512_update(&state->octx, pad, 128);
72 crypto_auth_hmacsha512_update(crypto_auth_hmacsha512_state *state,
75 crypto_hash_sha512_update(&state->ictx, in, inlen)
99 crypto_auth_hmacsha512_state state; local in function:crypto_auth_hmacsha512
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_allocator.h 56 INLINE u32 Rand(u32 *state) { // ANSI C linear congruential PRNG.
57 return (*state = *state * 1103515245 + 12345) >> 16;
60 INLINE u32 RandN(u32 *state, u32 n) { return Rand(state) % n; } // [0, n)
65 u32 state = *rand_state; local in function:__sanitizer::RandomShuffle
67 Swap(a[i], a[RandN(&state, i + 1)]);
68 *rand_state = state;

Completed in 24 milliseconds

1 2 3 4 5 6 7 8 91011>>