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

/freebsd-10.0-release/lib/libz/
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.c276 while (sym < 144) state->lens[sym++] = 8;
277 while (sym < 256) state->lens[sym++] = 9;
278 while (sym < 280) state->lens[sym++] = 7;
279 while (sym < 288) state->lens[sym++] = 8;
283 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
287 while (sym < 32) state->lens[sym++] = 5;
290 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work);
918 state->lens[order[state->have++]] = (unsigned short)BITS(3);
922 state->lens[order[state->have++]] = 0;
926 ret = inflate_table(CODES, state->lens, 1
[all...]
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dinftrees.h55 extern int inflate_table OF((codetype type, unsigned short FAR *lens,
H A Dinflate.h112 unsigned have; /* number of code lengths in lens[] */
114 unsigned short lens[320]; /* temporary storage for code lengths */ member in struct:inflate_state
H A Dinftrees.c24 The code lengths are lens[0..codes-1]. The result starts at *table,
26 lens shorts, which is used as a work area. type is the type of code
34 int inflate_table(type, lens, codes, table, bits, work)
36 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]]++;
149 if (lens[sym] != 0) work[offs[lens[sy
[all...]
H A Dinflate.c227 while (sym < 144) state->lens[sym++] = 8;
228 while (sym < 256) state->lens[sym++] = 9;
229 while (sym < 280) state->lens[sym++] = 7;
230 while (sym < 288) state->lens[sym++] = 8;
234 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
238 while (sym < 32) state->lens[sym++] = 5;
241 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work);
877 state->lens[order[state->have++]] = (unsigned short)BITS(3);
881 state->lens[order[state->have++]] = 0;
885 ret = inflate_table(CODES, state->lens, 1
[all...]
/freebsd-10.0-release/usr.bin/column/
H A Dcolumn.c230 int *lens, maxcols; local
239 if ((lens = calloc(maxcols, sizeof(int))) == NULL)
248 !(lens = realloc(lens,
251 memset((char *)lens + maxcols * sizeof(int),
262 if (t->len[coloff] > lens[coloff])
263 lens[coloff] = t->len[coloff];
269 lens[coloff] - t->len[coloff] + 2, L" ");
/freebsd-10.0-release/contrib/ncurses/progs/
H A Dtoe.c71 unsigned lens = sizeof(suffix) - 1; local
73 unsigned need = lens + size;
76 if (size >= lens
77 && !strcmp(src + size - lens, suffix))
/freebsd-10.0-release/contrib/ncurses/ncurses/tinfo/
H A Dread_entry.c422 unsigned lens = sizeof(suffix) - 1; local
424 unsigned need = lens + size;
427 if (size >= lens
428 && !strcmp(path + size - lens, suffix))
/freebsd-10.0-release/lib/libz/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);
/freebsd-10.0-release/usr.bin/bsdiff/bsdiff/
H A Dbsdiff.c209 off_t overlap,Ss,lens; local
316 s=0;Ss=0;lens=0;
322 if(s>Ss) { Ss=s; lens=i+1; };
325 lenf+=lens-overlap;
326 lenb-=lens;
/freebsd-10.0-release/contrib/libarchive/libarchive/test/
H A Dtest_write_format_iso9660_filename.c206 const int lens[] = { local
241 for (i = 0; lens[i] >= 0; i++) {
242 for (l = 0; l < lens[i]; l++) {
/freebsd-10.0-release/contrib/wpa/wpa_supplicant/
H A Dinterworking.c894 u8 lens; local
912 lens = *pos++;
913 if (pos + (lens & 0x0f) + (lens >> 4) > end)
916 if ((lens & 0x0f) == rc_len && os_memcmp(pos, rc_id, rc_len) == 0)
918 pos += lens & 0x0f;
920 if ((lens >> 4) == rc_len && os_memcmp(pos, rc_id, rc_len) == 0)
922 pos += lens >> 4;
/freebsd-10.0-release/usr.bin/calendar/calendars/
H A Dcalendar.birthday85 03/08 Alvan Clark born, 1804, astronomer & lens manufacturer

Completed in 222 milliseconds