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

/freebsd-13-stable/sys/contrib/zlib/
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.h117 unsigned have; /* number of code lengths in lens[] */
119 unsigned short lens[320]; /* temporary storage for code lengths */ member in struct:inflate_state
H A Dinflate.c293 while (sym < 144) state->lens[sym++] = 8;
294 while (sym < 256) state->lens[sym++] = 9;
295 while (sym < 280) state->lens[sym++] = 7;
296 while (sym < 288) state->lens[sym++] = 8;
300 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
304 while (sym < 32) state->lens[sym++] = 5;
307 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work);
941 state->lens[order[state->have++]] = (unsigned short)BITS(3);
945 state->lens[order[state->have++]] = 0;
949 ret = inflate_table(CODES, state->lens, 1
[all...]
/freebsd-13-stable/usr.bin/column/
H A Dcolumn.c232 int *lens, maxcols; local
241 if ((lens = calloc(maxcols, sizeof(int))) == NULL)
250 !(lens = realloc(lens,
253 memset((char *)lens + maxcols * sizeof(int),
264 if (t->len[coloff] > lens[coloff])
265 lens[coloff] = t->len[coloff];
271 lens[coloff] - t->len[coloff] + 2, L" ");
276 free(lens);
/freebsd-13-stable/contrib/netbsd-tests/net/in_cksum/
H A Din_cksum.c79 allocate_mbuf_chain(char **lens) argument
84 if (*lens == NULL)
87 len = atoi(*lens);
97 m->m_next = allocate_mbuf_chain(lens + 1);
/freebsd-13-stable/usr.bin/bsdiff/bsdiff/
H A Dbsdiff.c127 off_t overlap,Ss,lens; local
249 s=0;Ss=0;lens=0;
255 if(s>Ss) { Ss=s; lens=i+1; }
258 lenf+=lens-overlap;
259 lenb-=lens;
/freebsd-13-stable/crypto/openssh/regress/unittests/sshkey/
H A Dtest_sshkey.c152 size_t lens[] = { local
157 for (i = 0; i < (sizeof(lens)/sizeof(lens[0])); i++) {
159 sshkey_type(k), lens[i]);
160 banana(buf, lens[i]);
161 signature_test(k, bad, sig_alg, buf, lens[i]);
/freebsd-13-stable/sys/contrib/zlib/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-13-stable/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-13-stable/contrib/ncurses/progs/
H A Dtoe.c236 size_t lens = sizeof(suffix) - 1; local
238 size_t need = lens + size;
241 if (size >= lens
242 && !strcmp(src + size - lens, suffix)) {
/freebsd-13-stable/crypto/openssl/engines/
H A De_dasync.c140 size_t *lens; member in struct:dasync_pipeline_ctx
584 pipe_ctx->lens = (size_t *)ptr;
698 pipe_ctx->lens[i]);
/freebsd-13-stable/contrib/ncurses/ncurses/tinfo/
H A Dread_entry.c588 size_t lens = sizeof(suffix) - 1; local
590 size_t test = lens + size;
594 if (size >= lens
595 && !strcmp(path + size - lens, suffix))
/freebsd-13-stable/contrib/wpa/wpa_supplicant/
H A Dinterworking.c1081 u8 lens; local
1099 lens = *pos++;
1100 if ((lens & 0x0f) + (lens >> 4) > end - pos)
1103 if ((lens & 0x0f) == rc_len && os_memcmp(pos, rc_id, rc_len) == 0)
1105 pos += lens & 0x0f;
1107 if ((lens >> 4) == rc_len && os_memcmp(pos, rc_id, rc_len) == 0)
1109 pos += lens >> 4;

Completed in 194 milliseconds