Searched refs:state (Results 1 - 25 of 1495) sorted by path

1234567891011>>

/illumos-gate/usr/src/boot/lib/libz/
H A Ddeflate.c74 /* Compression function. Returns the block state after the call. */
279 strm->state = (struct internal_state FAR *)s;
334 if (strm == Z_NULL || strm->state == Z_NULL || dictionary == Z_NULL)
336 s = strm->state;
397 if (strm == Z_NULL || strm->state == Z_NULL ||
406 s = (deflate_state *)strm->state;
434 lm_init(strm->state);
443 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
444 if (strm->state->wrap != 2) return Z_STREAM_ERROR;
445 strm->state
[all...]
H A Dgzclose.c15 gz_statep state; local
19 state = (gz_statep)file;
21 return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
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
321 gz_statep state; local
345 gz_statep state; local
372 gz_statep state; local
457 gz_statep state; local
485 gz_statep state; local
517 gz_statep state; local
535 gz_statep state; local
555 gz_statep state; local
[all...]
H A Dgzread.c20 state->fd, and update state->eof, state->err, and state->msg as appropriate.
23 local int gz_load(state, buf, len, have)
24 gz_statep state;
33 ret = read(state->fd, buf + *have, len - *have);
39 gz_error(state, Z_ERRNO, zstrerror());
43 state->eof = 1;
54 local int gz_avail(state)
297 gz_statep state; local
395 gz_statep state; local
430 gz_statep state; local
494 gz_statep state; local
553 gz_statep state; local
574 gz_statep state; local
[all...]
H A Dgzwrite.c16 /* Initialize state for writing a gzip file. Mark initialization by setting
17 state->size to non-zero. Return -1 on failure or 0 on success. */
18 local int gz_init(state)
19 gz_statep state;
22 z_streamp strm = &(state->strm);
25 state->in = (unsigned char *)malloc(state->want);
26 if (state->in == NULL) {
27 gz_error(state, Z_MEM_ERROR, "out of memory");
31 /* only need output buffer and deflate state i
174 gz_statep state; local
254 gz_statep state; local
316 gz_statep state; local
397 gz_statep state; local
472 gz_statep state; local
505 gz_statep state; local
546 gz_statep 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 = windowBits;
65 state->wsize = 1U << windowBits;
66 state
257 struct inflate_state FAR *state; local
[all...]
H A Dinffast.c42 state->mode == LEN
46 state->bits < 8
48 On return, state->mode is one of:
71 struct inflate_state FAR *state; local
97 /* copy state to local variables */
98 state = (struct inflate_state FAR *)strm->state;
105 dmax = state->dmax;
107 wsize = state->wsize;
108 whave = state
[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
95 local void fixedtables OF((struct inflate_state FAR *state));
107 struct inflate_state FAR *state; local
109 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
110 state = (struct inflate_state FAR *)strm->state;
111 strm->total_in = strm->total_out = state->total = 0;
113 if (state
132 struct inflate_state FAR *state; local
147 struct inflate_state FAR *state; local
187 struct inflate_state FAR *state; local
235 struct inflate_state FAR *state; local
328 struct inflate_state state; local
384 struct inflate_state FAR *state; local
609 struct inflate_state FAR *state; local
[all...]
H A Dzlib.h95 struct internal_state FAR *state; /* not visible by applications */ member in struct:z_stream_s
97 alloc_func zalloc; /* used to allocate the internal state */
98 free_func zfree; /* used to free the internal state */
226 Initializes the internal stream state for compression. The fields
308 Z_SYNC_FLUSH, and the compression state is reset so that decompression can
345 Z_FINISH), Z_STREAM_ERROR if the stream state was inconsistent (for example
360 stream state was inconsistent, Z_DATA_ERROR if the stream was freed
370 Initializes the internal stream state for decompression. The fields
514 inflateEnd returns Z_OK if success, Z_STREAM_ERROR if the stream state
559 for the internal compression state
[all...]
/illumos-gate/usr/src/boot/lib/libz/test/
H A Dinfcover.c330 ((struct inflate_state *)strm.state)->mode = DICT;
451 struct inflate_state *state; local
457 state = (void *)((z_stream *)desc)->state;
458 if (state != Z_NULL)
459 state->mode = SYNC; /* force an otherwise impossible situation */
495 /* force mode error by mucking with state */
499 mem_done(&strm, "inflateBack bad state");
/illumos-gate/usr/src/boot/sys/boot/arm/at91/bootiic/
H A Dloader_prompt.c133 int pCount, cCount, state; local
135 state = pCount = 0;
140 if (!state) {
144 state = 1;
152 state = 0;
/illumos-gate/usr/src/boot/sys/boot/arm/at91/bootspi/
H A Dloader_prompt.c111 int pCount, cCount, state; local
113 state = pCount = 0;
118 if (!state) {
122 state = 1;
130 state = 0;
/illumos-gate/usr/src/boot/sys/boot/arm/at91/libat91/
H A Dmci_device.h91 volatile unsigned char state; member in struct:_AT91S_MciDevice
H A Dsd-card.c72 if (MCI_Device.state == AT91C_MCI_RX_SINGLE_BLOCK)
86 if (MCI_Device.state == AT91C_MCI_TX_SINGLE_BLOCK && status & AT91C_MCI_TXBUFE) {
89 MCI_Device.state = AT91C_MCI_IDLE;
93 if (MCI_Device.state == AT91C_MCI_RX_SINGLE_BLOCK && status & AT91C_MCI_RXBUFF) {
96 MCI_Device.state = AT91C_MCI_IDLE;
201 MCI_Device.state = AT91C_MCI_RX_SINGLE_BLOCK;
216 if (MCI_Device.state != AT91C_MCI_IDLE) {
308 // Force card to idle state.
337 // The RCA to be used for CMD55 in Idle state shall be the card's
342 // Repeat ACMD41 until the card comes out of power-up-busy state
[all...]
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dinterp_forth.c174 * current state. For example:
180 * Notice that, though the current state is different in the two
240 "state @ if " /* if in compiling state: */ \
244 "else " /* if in interpreting state: */ \
363 setenv("interpret", bf_vm->state ? "" : "ok", 1);
H A Dinterp_parse.c91 enum { STR, VAR, WHITE } state; local
98 /* Initialize vector and state */
100 state = STR;
106 switch (state) {
129 state = WHITE;
142 state = VAR;
153 state = STR;
174 state = STR;
181 if (i && state == STR) {
H A Dmerge_help.awk10 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) \
/illumos-gate/usr/src/boot/sys/boot/fdt/dts/arm/
H A Drpi.dts336 default-state = "keep";
338 /* This is the real default state. */
H A Dvsatv102-m6.dts292 default-state = "on";
/illumos-gate/usr/src/boot/sys/boot/i386/libfirewire/
H A Dfirewire.c97 sc->state = FWOHCI_STATE_INIT;
104 sc->state = FWOHCI_STATE_DEAD;
137 if (sc->state == FWOHCI_STATE_DEAD)
159 if (sc->state == FWOHCI_STATE_DEAD)
336 if (sc->state < FWOHCI_STATE_ENABLED) {
343 while (sc->state< FWOHCI_STATE_NORMAL) {
366 if (sc->state != FWOHCI_STATE_INIT)
377 sc->state = FWOHCI_STATE_ENABLED;
380 sc->state = FWOHCI_STATE_DEAD;
395 if (sc->state < FWOHCI_STATE_ENABLE
[all...]
H A Dfwohci.c396 sc->state = FWOHCI_STATE_NORMAL;
437 if (sc->state == FWOHCI_STATE_BUSRESET)
439 sc->state = FWOHCI_STATE_BUSRESET;
448 } else if (sc->state == FWOHCI_STATE_BUSRESET) {
H A Dfwohci.h50 int32_t state; member in struct:fwohci_softc
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/
H A Dapi_public.h157 int state; member in struct:device_info
H A Dglue.c304 if (devices[handle].state != DEV_STA_OPEN)
/illumos-gate/usr/src/boot/sys/boot/zfs/
H A Dzfsimpl.c619 * but from an older vdev label, so let's refresh its state
764 state_name(vdev_state_t state) argument
776 return names[state];
794 print_state(int indent, const char *name, vdev_state_t state) argument
803 return (pager_printf(STATUS_FORMAT, buf, state_name(state)));
830 vdev_state_t state; local
865 state = VDEV_STATE_CLOSED;
867 state = VDEV_STATE_HEALTHY;
869 state = VDEV_STATE_DEGRADED;
871 ret = print_state(0, spa->spa_name, state);
[all...]

Completed in 181 milliseconds

1234567891011>>