Searched refs:lens (Results 1 - 24 of 24) sorted by relevance

/external/chromium/third_party/zlib/
H A Dinftrees.h53 extern int inflate_table OF((codetype type, unsigned short FAR *lens,
H A Dinflate.h110 unsigned have; /* number of code lengths in lens[] */
112 unsigned short lens[320]; /* temporary storage for code lengths */ member in struct:inflate_state
H A Dinftrees.c22 The code lengths are lens[0..codes-1]. The result starts at *table,
24 lens shorts, which is used as a work area. type is the type of code
32 int inflate_table(type, lens, codes, table, bits, work)
34 unsigned short FAR *lens;
77 code lengths are lens[0..codes-1]. Each length corresponds to the
89 lens[] are in the range 0..MAXBITS. The caller must assure this.
106 /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */
110 count[lens[sym]]++;
147 if (lens[sym] != 0) work[offs[lens[sy
[all...]
H A Dinfback.c88 while (sym < 144) state->lens[sym++] = 8;
89 while (sym < 256) state->lens[sym++] = 9;
90 while (sym < 280) state->lens[sym++] = 7;
91 while (sym < 288) state->lens[sym++] = 8;
95 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
99 while (sym < 32) state->lens[sym++] = 5;
102 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work);
371 state->lens[order[state->have++]] = (unsigned short)BITS(3);
375 state->lens[order[state->have++]] = 0;
379 ret = inflate_table(CODES, state->lens, 1
[all...]
H A Dinflate.c220 while (sym < 144) state->lens[sym++] = 8;
221 while (sym < 256) state->lens[sym++] = 9;
222 while (sym < 280) state->lens[sym++] = 7;
223 while (sym < 288) state->lens[sym++] = 8;
227 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
231 while (sym < 32) state->lens[sym++] = 5;
234 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work);
858 state->lens[order[state->have++]] = (unsigned short)BITS(3);
862 state->lens[order[state->have++]] = 0;
866 ret = inflate_table(CODES, state->lens, 1
[all...]
/external/qemu/distrib/zlib-1.2.3/
H A Dinftrees.h53 extern int inflate_table OF((codetype type, unsigned short FAR *lens,
H A Dinflate.h110 unsigned have; /* number of code lengths in lens[] */
112 unsigned short lens[320]; /* temporary storage for code lengths */ member in struct:inflate_state
H A Dinftrees.c22 The code lengths are lens[0..codes-1]. The result starts at *table,
24 lens shorts, which is used as a work area. type is the type of code
32 int inflate_table(type, lens, codes, table, bits, work)
34 unsigned short FAR *lens;
77 code lengths are lens[0..codes-1]. Each length corresponds to the
89 lens[] are in the range 0..MAXBITS. The caller must assure this.
106 /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */
110 count[lens[sym]]++;
147 if (lens[sym] != 0) work[offs[lens[sy
[all...]
H A Dinfback.c88 while (sym < 144) state->lens[sym++] = 8;
89 while (sym < 256) state->lens[sym++] = 9;
90 while (sym < 280) state->lens[sym++] = 7;
91 while (sym < 288) state->lens[sym++] = 8;
95 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
99 while (sym < 32) state->lens[sym++] = 5;
102 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work);
371 state->lens[order[state->have++]] = (unsigned short)BITS(3);
375 state->lens[order[state->have++]] = 0;
379 ret = inflate_table(CODES, state->lens, 1
[all...]
H A Dinflate.c220 while (sym < 144) state->lens[sym++] = 8;
221 while (sym < 256) state->lens[sym++] = 9;
222 while (sym < 280) state->lens[sym++] = 7;
223 while (sym < 288) state->lens[sym++] = 8;
227 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
231 while (sym < 32) state->lens[sym++] = 5;
234 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work);
858 state->lens[order[state->have++]] = (unsigned short)BITS(3);
862 state->lens[order[state->have++]] = 0;
866 ret = inflate_table(CODES, state->lens, 1
[all...]
/external/zlib/contrib/infback9/
H A Dinflate9.h42 unsigned have; /* number of code lengths in lens[] */
44 unsigned short lens[320]; /* temporary storage for code lengths */ member in struct:inflate_state
H A Dinftree9.h59 extern int inflate_table9 OF((codetype type, unsigned short FAR *lens,
H A Dinfback9.c63 while (sym < 144) state.lens[sym++] = 8;
64 while (sym < 256) state.lens[sym++] = 9;
65 while (sym < 280) state.lens[sym++] = 7;
66 while (sym < 288) state.lens[sym++] = 8;
70 inflate_table9(LENS, state.lens, 288, &(next), &(bits), state.work);
74 while (sym < 32) state.lens[sym++] = 5;
77 inflate_table9(DISTS, state.lens, 32, &(next), &(bits), state.work);
366 state->lens[order[state->have++]] = (unsigned short)BITS(3);
370 state->lens[order[state->have++]] = 0;
374 ret = inflate_table9(CODES, state->lens, 1
[all...]
H A Dinftree9.c22 The code lengths are lens[0..codes-1]. The result starts at *table,
24 lens shorts, which is used as a work area. type is the type of code
32 int inflate_table9(type, lens, codes, table, bits, work)
34 unsigned short FAR *lens;
79 code lengths are lens[0..codes-1]. Each length corresponds to the
91 lens[] are in the range 0..MAXBITS. The caller must assure this.
108 /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */
112 count[lens[sym]]++;
141 if (lens[sym] != 0) work[offs[lens[sy
[all...]
/external/zlib/
H A Dinftrees.h60 int ZLIB_INTERNAL inflate_table OF((codetype type, unsigned short FAR *lens,
H A Dinfback.c88 while (sym < 144) state->lens[sym++] = 8;
89 while (sym < 256) state->lens[sym++] = 9;
90 while (sym < 280) state->lens[sym++] = 7;
91 while (sym < 288) state->lens[sym++] = 8;
95 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
99 while (sym < 32) state->lens[sym++] = 5;
102 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work);
371 state->lens[order[state->have++]] = (unsigned short)BITS(3);
375 state->lens[order[state->have++]] = 0;
379 ret = inflate_table(CODES, state->lens, 1
[all...]
H A Dinflate.h114 unsigned have; /* number of code lengths in lens[] */
116 unsigned short lens[320]; /* temporary storage for code lengths */ member in struct:inflate_state
H A Dinftrees.c22 The code lengths are lens[0..codes-1]. The result starts at *table,
24 lens shorts, which is used as a work area. type is the type of code
32 int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work)
34 unsigned short FAR *lens;
77 code lengths are lens[0..codes-1]. Each length corresponds to the
89 lens[] are in the range 0..MAXBITS. The caller must assure this.
106 /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */
110 count[lens[sym]]++;
147 if (lens[sym] != 0) work[offs[lens[sy
[all...]
H A Dinflate.c255 while (sym < 144) state->lens[sym++] = 8;
256 while (sym < 256) state->lens[sym++] = 9;
257 while (sym < 280) state->lens[sym++] = 7;
258 while (sym < 288) state->lens[sym++] = 8;
262 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
266 while (sym < 32) state->lens[sym++] = 5;
269 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work);
902 state->lens[order[state->have++]] = (unsigned short)BITS(3);
906 state->lens[order[state->have++]] = 0;
910 ret = inflate_table(CODES, state->lens, 1
[all...]
/external/icu4c/samples/cal/
H A Dcal.c425 int32_t lens [DAY_COUNT]; local
453 lens[i] = u_strlen(days[i]);
454 width += lens[i];
492 indent(lens[i] + 1, stdout);
502 pad = lens[current] - u_strlen(s);
543 int32_t lens [DAY_COUNT]; local
576 lens[i] = u_strlen(days[i]);
577 width += lens[i];
666 indent(lens[j] + 1, stdout);
673 pad = lens[left_curren
[all...]
/external/e2fsprogs/lib/blkid/
H A Ddevname.c472 int lens[2] = { 0, 0 }; local
522 lens[which] = strlen(ptname);
525 if (isdigit(ptname[lens[which] - 1])) {
533 lens[which] = 0; /* mark as checked */
541 if (lens[last] && strncmp(ptnames[last], ptname, lens[last])) {
547 lens[last] = 0;
552 if (lens[which])
/external/dbus/dbus/
H A Ddbus-string-util.c270 int lens[] = { 0, 1, 2, 3, 4, 5, 10, 16, 17, 18, 25, 31, 32, 33, 34, 35, 63, 64, 65, 66, 67, 68, 69, 70, 71, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136 }; local
275 while (i < _DBUS_N_ELEMENTS (lens))
280 set_max_length (&str, lens[i]);
282 test_max_len (&str, lens[i]);
290 while (i < _DBUS_N_ELEMENTS (lens))
297 set_max_length (&str, lens[i]);
299 if (!_dbus_string_set_length (&str, lens[i]))
302 j = lens[i];
/external/bsdiff/
H A Dbsdiff.c206 off_t overlap,Ss,lens; local
313 s=0;Ss=0;lens=0;
319 if(s>Ss) { Ss=s; lens=i+1; };
322 lenf+=lens-overlap;
323 lenb-=lens;
/external/zlib/contrib/puff/
H A Dpuff.c388 * length symbol. These are in the static arrays below, lens[] for the base
429 static const short lens[29] = { /* Size base for length codes 257..285 */ local
460 len = lens[symbol] + bits(s, lext[symbol]);

Completed in 429 milliseconds