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

/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/src/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/src/
H A Dinftrees.h60 int ZLIB_INTERNAL inflate_table OF((codetype type, unsigned short FAR *lens,
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 Dinfback.c97 while (sym < 144) state->lens[sym++] = 8;
98 while (sym < 256) state->lens[sym++] = 9;
99 while (sym < 280) state->lens[sym++] = 7;
100 while (sym < 288) state->lens[sym++] = 8;
104 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
108 while (sym < 32) state->lens[sym++] = 5;
111 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work);
380 state->lens[order[state->have++]] = (unsigned short)BITS(3);
384 state->lens[order[state->have++]] = 0;
388 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 Dinflate.c275 while (sym < 144) state->lens[sym++] = 8;
276 while (sym < 256) state->lens[sym++] = 9;
277 while (sym < 280) state->lens[sym++] = 7;
278 while (sym < 288) state->lens[sym++] = 8;
282 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
286 while (sym < 32) state->lens[sym++] = 5;
289 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work);
917 state->lens[order[state->have++]] = (unsigned short)BITS(3);
921 state->lens[order[state->have++]] = 0;
925 ret = inflate_table(CODES, state->lens, 1
[all...]
/external/valgrind/main/none/tests/x86/
H A Dbug152818-x86.c79 const int lens[] = { 4, 3, 2, 1, 0, 0, 1, 2, 3, 4}; variable
91 for (idx = 0; idx < sizeof (lens)/sizeof(lens[0]); ++idx)
130 len = lens[idx];
131 df = (idx >= (sizeof(lens)/sizeof(lens[0]))/2);
/external/e2fsprogs/lib/blkid/
H A Ddevname.c403 int lens[2] = { 0, 0 }; local
451 lens[which] = strlen(ptname);
454 if (isdigit(ptname[lens[which] - 1])) {
462 lens[which] = 0; /* mark as checked */
470 if (lens[last] && !strncmp(ptnames[last], ptname, lens[last])) {
486 lens[last] = 0;
493 if (lens[last] && strncmp(ptnames[last], ptname, lens[last])) {
499 lens[las
[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/dbus/dbus/
H A Ddbus-string-util.c272 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
277 while (i < _DBUS_N_ELEMENTS (lens))
282 set_max_length (&str, lens[i]);
284 test_max_len (&str, lens[i]);
292 while (i < _DBUS_N_ELEMENTS (lens))
299 set_max_length (&str, lens[i]);
301 if (!_dbus_string_set_length (&str, lens[i]))
304 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/src/test/
H A Dinfcover.c621 unsigned short lens[16], work[16]; local
627 lens[bits] = (unsigned short)(bits + 1);
628 lens[15] = 15;
631 ret = inflate_table(DISTS, lens, 16, &next, &bits, work);
635 ret = inflate_table(DISTS, lens, 16, &next, &bits, work);
/external/opencv/cvaux/src/
H A D_cvvm.h67 int* lens);
H A Dcvscanlines.cpp180 icvMakeScanlinesLengths( int *scanlines, int numlines, int *lens )
199 lens[index] = MAX( dx, dy );
210 int *scanlines_a, int *lens, int numlines, float alpha )
242 lens[curr_len++] = MAX( dx, dy );
2023 int *scanlines_a, int *lens, int numlines, float alpha )
2030 lens, numlines, alpha ));
208 icvMakeAlphaScanlines( int *scanlines_1, int *scanlines_2, int *scanlines_a, int *lens, int numlines, float alpha ) argument
2021 cvMakeAlphaScanlines( int *scanlines_1, int *scanlines_2, int *scanlines_a, int *lens, int numlines, float alpha ) argument
/external/zlib/src/contrib/puff/
H A Dpuff.c401 * length symbol. These are in the static arrays below, lens[] for the base
442 static const short lens[29] = { /* Size base for length codes 257..285 */ local
476 len = lens[symbol] + bits(s, lext[symbol]);
/external/wpa_supplicant_8/wpa_supplicant/
H A Dinterworking.c875 u8 lens; local
893 lens = *pos++;
894 if (pos + (lens & 0x0f) + (lens >> 4) > end)
897 if ((lens & 0x0f) == rc_len && os_memcmp(pos, rc_id, rc_len) == 0)
899 pos += lens & 0x0f;
901 if ((lens >> 4) == rc_len && os_memcmp(pos, rc_id, rc_len) == 0)
903 pos += lens >> 4;

Completed in 472 milliseconds