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

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/lib/zlib_inflate/
H A Dinftrees.h53 extern int zlib_inflate_table (codetype type, unsigned short *lens,
H A Dinftrees.c13 The code lengths are lens[0..codes-1]. The result starts at *table,
15 lens shorts, which is used as a work area. type is the type of code
23 int zlib_inflate_table(codetype type, unsigned short *lens, unsigned codes, argument
63 code lengths are lens[0..codes-1]. Each length corresponds to the
75 lens[] are in the range 0..MAXBITS. The caller must assure this.
92 /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */
96 count[lens[sym]]++;
133 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym;
242 len = lens[wor
[all...]
H A Dinflate.h102 unsigned have; /* number of code lengths in lens[] */
104 unsigned short lens[320]; /* temporary storage for code lengths */ member in struct:inflate_state
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/zlib-1.2.3/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.h53 extern int inflate_table9 OF((codetype type, unsigned short FAR *lens,
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...]
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...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/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...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/zlib-1.2.3/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.h53 extern int inflate_table9 OF((codetype type, unsigned short FAR *lens,
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...]
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...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/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...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/
H A Dhuffman.c31 static void get_tree_codes(uint32_t *bits, int16_t *lens, uint8_t *xlat, Node *nodes, int node, uint32_t pfx, int pl, int *pos, int no_zero_count) argument
38 lens[*pos] = pl;
44 get_tree_codes(bits, lens, xlat, nodes, nodes[node].n0, pfx, pl, pos,
47 get_tree_codes(bits, lens, xlat, nodes, nodes[node].n0+1, pfx, pl, pos,
56 int16_t lens[256]; local
60 get_tree_codes(bits, lens, xlat, nodes, head, 0, 0, &pos, no_zero_count);
61 return init_vlc_sparse(vlc, 9, pos, lens, 2, 2, bits, 4, 4, xlat, 1, 1, 0);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/util-linux/
H A Dfdisk_sun.c363 fetch_sun(uint *starts, uint *lens, uint *start, uint *stop) argument
374 lens[i] = SUN_SSWAP32(sunlabel->partitions[i].num_sectors);
377 *start += lens[i];
378 else if (starts[i] + lens[i] >= *stop)
387 lens[i] = 0;
406 uint starts[8], lens[8], start, stop; local
411 fetch_sun(starts,lens,&start,&stop);
414 if (k && (lens[i] % (heads * sectors))) {
417 if (lens[i]) {
419 if (lens[
470 uint starts[8], lens[8]; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/e2fsprogs/old_e2fsprogs/blkid/
H A Ddevname.c260 int lens[2] = { 0, 0 }; local
296 lens[which] = strlen(ptname);
297 if (isdigit(ptname[lens[which] - 1])) {
304 lens[which] = 0;
305 lens[last] = 0;
306 } else if (lens[last] && strncmp(ptnames[last], ptname,
307 lens[last])) {
312 lens[last] = 0;
317 if (lens[which])
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/pppdump/
H A Dbsd-comp.c103 u_short *lens; /* array of lengths of codes */ member in struct:bsd_db
334 db->lens = NULL;
336 db->lens = (u_short *) malloc((maxmaxcode+1) * sizeof(db->lens[0]));
337 if (!db->lens) {
358 if (db->lens)
359 free(db->lens);
386 || decomp && db->lens == NULL)
392 db->lens[--i] = 1;
508 db->lens[max_en
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/isdn/i4l/
H A Disdn_bsdcomp.c139 unsigned short *lens; /* array of lengths of codes */ member in struct:bsd_db
291 vfree(db->lens);
292 db->lens = NULL;
355 db->lens = NULL;
357 db->lens = (unsigned short *) vmalloc ((maxmaxcode + 1) *
358 sizeof (db->lens[0]));
359 if (!db->lens) {
396 || (decomp && db->lens == NULL)) {
397 printk(KERN_ERR "isdn_bsd: %d %d %d %d %lx\n",data->optlen,data->num,data->options[0],decomp,(unsigned long)db->lens);
403 db->lens[ind
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dbsd_comp.c159 unsigned short *lens; /* array of lengths of codes */ member in struct:bsd_db
340 vfree(db->lens);
341 db->lens = NULL;
423 db->lens = NULL;
430 db->lens = (unsigned short *) vmalloc ((maxmaxcode + 1) *
431 sizeof (db->lens[0]));
432 if (!db->lens)
475 || (decomp && db->lens == NULL))
485 db->lens[indx] = 1;
527 #define lens_ptrx(p,idx) &(p->lens[id
[all...]

Completed in 123 milliseconds

12