Searched defs:state (Results 1 - 25 of 3052) sorted by last modified time

1234567891011>>

/external/zxing/core/
H A Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/zxing/ com/google/zxing/aztec/ ...
/external/zxing/qr_scanner/src/com/google/zxing/client/android/
H A DCaptureActivityHandler.java32 * This class handles all the messaging which comprises the state machine for capture.
42 private State state; field in class:CaptureActivityHandler
58 state = State.SUCCESS;
72 if (state == State.PREVIEW) {
80 state = State.SUCCESS;
87 state = State.PREVIEW;
103 state = State.DONE;
120 if (state == State.SUCCESS) {
121 state = State.PREVIEW;
/external/yaffs2/yaffs2/direct/
H A Dyaffs_fileem2k.c348 int yflash_QueryNANDBlock(struct yaffs_DeviceStruct *dev, int blockNo, yaffs_BlockState *state, int *sequenceNumber) argument
360 *state = YAFFS_BLOCK_STATE_DEAD;
364 *state = YAFFS_BLOCK_STATE_EMPTY;
368 *state = YAFFS_BLOCK_STATE_NEEDS_SCANNING;
H A Dyaffs_flashif.c222 int yflash_QueryNANDBlock(struct yaffs_DeviceStruct *dev, int blockNo, yaffs_BlockState *state, int *sequenceNumber) argument
224 *state = YAFFS_BLOCK_STATE_EMPTY;
H A Dyaffs_ramem2k.c329 int nandemul2k_QueryNANDBlock(struct yaffs_DeviceStruct *dev, int blockNo, yaffs_BlockState *state, int *sequenceNumber) argument
341 *state = YAFFS_BLOCK_STATE_DEAD;
345 *state = YAFFS_BLOCK_STATE_EMPTY;
349 *state = YAFFS_BLOCK_STATE_NEEDS_SCANNING;
/external/yaffs2/yaffs2/
H A Dyaffs_guts.c2289 /* If the block is full set the state to full */
4658 yaffs_BlockState state; local
4692 /* Scan all the blocks to determine their state */
4699 yaffs_QueryInitialBlockState(dev, blk, &state, &sequenceNumber);
4701 bi->blockState = state;
4705 (TSTR("Block scanning block %d state %d seq %d" TENDSTR), blk,
4706 state, sequenceNumber));
4708 if (state == YAFFS_BLOCK_STATE_DEAD) {
4711 } else if (state == YAFFS_BLOCK_STATE_EMPTY) {
4716 } else if (state
5191 yaffs_BlockState state; local
[all...]
H A Dyaffs_nand.c101 yaffs_BlockState * state,
107 return dev->queryNANDBlock(dev, blockNo, state, sequenceNumber);
110 state,
99 yaffs_QueryInitialBlockState(yaffs_Device * dev, int blockNo, yaffs_BlockState * state, unsigned *sequenceNumber) argument
H A Dyaffs_tagscompat.c503 state,
525 *state = YAFFS_BLOCK_STATE_DEAD;
527 *state = YAFFS_BLOCK_STATE_EMPTY;
529 *state = YAFFS_BLOCK_STATE_NEEDS_SCANNING;
501 yaffs_TagsCompatabilityQueryNANDBlock(struct yaffs_DeviceStruct *dev, int blockNo, yaffs_BlockState * state, int *sequenceNumber) argument
/external/zlib/src/contrib/blast/
H A Dblast.c36 /* input and output state */
37 struct state { struct
38 /* input state */
46 /* input limit error return state for bits() and decode() */
49 /* output state */
68 local int bits(struct state *s, int need)
125 local int decode(struct state *s, struct huffman *h)
278 local int decomp(struct state *s)
381 struct state s; /* input/output state */
[all...]
/external/zlib/src/contrib/dotzlib/DotZLib/
H A DDotZLib.cs42 uint state; field in struct:DotZLib.ZStream
/external/zlib/src/contrib/infback9/
H A Dinfback9.c25 struct inflate_state FAR *state; local
38 state = (struct inflate_state FAR *)ZALLOC(strm, 1,
40 if (state == Z_NULL) return Z_MEM_ERROR;
42 strm->state = (voidpf)state;
43 state->window = window;
58 struct inflate_state state; local
63 while (sym < 144) state.lens[sym++] = 8;
64 while (sym < 256) state.lens[sym++] = 9;
65 while (sym < 280) state
224 struct inflate_state FAR *state; local
[all...]
/external/zlib/src/contrib/inflate86/
H A Dinffas86.c46 state->mode == LEN
50 state->bits < 8
52 On return, state->mode is one of:
75 struct inflate_state FAR *state; local
97 /*116 72 */ unsigned status; /* set when state chng*/
108 /* copy state to local variables */
109 state = (struct inflate_state FAR *)strm->state;
115 ar.wsize = state->wsize;
116 ar.write = state
[all...]
/external/zlib/src/contrib/masmx64/
H A Dinffas8664.c53 state->mode == LEN
57 state->bits < 8
59 On return, state->mode is one of:
102 /*116 72 */ unsigned status; /* set when state chng*/
110 struct inflate_state FAR *state; local
124 /* copy state to local variables */
125 state = (struct inflate_state FAR *)strm->state;
132 ar.wsize = state->wsize;
133 ar.write = state
[all...]
/external/zlib/src/contrib/puff/
H A Dpuff.c97 /* input and output state */
98 struct state { struct
99 /* output state */
104 /* input state */
111 /* input limit error return state for bits() and decode() */
126 local int bits(struct state *s, int need)
164 local int stored(struct state *s)
235 local int decode(struct state *s, const struct huffman *h)
263 local int decode(struct state *s, const struct huffman *h)
436 local int codes(struct state *
[all...]
/external/zlib/src/
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.c74 /* Reset gzip file state */
75 local void gz_reset(state)
76 gz_statep state;
78 state->x.have = 0; /* no output data available */
79 if (state->mode == GZ_READ) { /* for reading ... */
80 state->eof = 0; /* not at end of file */
81 state->past = 0; /* have not read past end yet */
82 state->how = LOOK; /* look for gzip header */
84 state->seek = 0; /* no seek request pending */
85 gz_error(state, Z_O
96 gz_statep state; local
318 gz_statep state; local
342 gz_statep state; local
369 gz_statep state; local
454 gz_statep state; local
482 gz_statep state; local
514 gz_statep state; local
532 gz_statep state; local
552 gz_statep state; local
[all...]
H A Dgzread.c17 state->fd, and update state->eof, state->err, and state->msg as appropriate.
20 local int gz_load(state, buf, len, have)
21 gz_statep state;
30 ret = read(state->fd, buf + *have, len - *have);
36 gz_error(state, Z_ERRNO, zstrerror());
40 state->eof = 1;
51 local int gz_avail(state)
294 gz_statep state; local
392 gz_statep state; local
427 gz_statep state; local
491 gz_statep state; local
550 gz_statep state; local
571 gz_statep state; local
[all...]
H A Dgzwrite.c13 /* Initialize state for writing a gzip file. Mark initialization by setting
14 state->size to non-zero. Return -1 on failure or 0 on success. */
15 local int gz_init(state)
16 gz_statep state;
19 z_streamp strm = &(state->strm);
22 state->in = (unsigned char *)malloc(state->want);
23 if (state->in == NULL) {
24 gz_error(state, Z_MEM_ERROR, "out of memory");
28 /* only need output buffer and deflate state i
171 gz_statep state; local
251 gz_statep state; local
313 gz_statep state; local
394 gz_statep state; local
469 gz_statep state; local
502 gz_statep state; local
543 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...]
/external/zlib/src/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");
/external/zlib/
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...]
/external/zopfli/src/zopfli/
H A Dsqueeze.c79 static void InitRanState(RanState* state) { argument
80 state->m_w = 1;
81 state->m_z = 2;
85 static unsigned int Ran(RanState* state) { argument
86 state->m_z = 36969 * (state->m_z & 65535) + (state->m_z >> 16);
87 state->m_w = 18000 * (state->m_w & 65535) + (state
91 RandomizeFreqs(RanState* state, size_t* freqs, int n) argument
98 RandomizeStatFreqs(RanState* state, SymbolStats* stats) argument
[all...]

Completed in 259 milliseconds

1234567891011>>