Home
last modified time | relevance | path

Searched full:lens (Results 1 – 25 of 43) sorted by relevance

12

/freebsd/sys/contrib/zlib/
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
25 to be generated, CODES, LENS, or DISTS. On return, zero is success,
32 int ZLIB_INTERNAL inflate_table(codetype type, unsigned short FAR *lens, in inflate_table() argument
72 code lengths are lens[0..codes-1]. Each length corresponds to the in inflate_table()
84 lens[] are in the range 0..MAXBITS. The caller must assure this. in inflate_table()
101 /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */ in inflate_table()
105 count[lens[sym]]++; in inflate_table()
142 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; in inflate_table()
164 provided *table space. It is checked for LENS and DIST tables against in inflate_table()
[all …]
H A Dinfback.c89 while (sym < 144) state->lens[sym++] = 8; in fixedtables()
90 while (sym < 256) state->lens[sym++] = 9; in fixedtables()
91 while (sym < 280) state->lens[sym++] = 7; in fixedtables()
92 while (sym < 288) state->lens[sym++] = 8; in fixedtables()
96 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work); in fixedtables()
100 while (sym < 32) state->lens[sym++] = 5; in fixedtables()
103 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work); in fixedtables()
367 state->lens[order[state->have++]] = (unsigned short)BITS(3); in inflateBack()
371 state->lens[order[state->have++]] = 0; in inflateBack()
375 ret = inflate_table(CODES, state->lens, 19, &(state->next), in inflateBack()
[all …]
H A Dinflate.c265 while (sym < 144) state->lens[sym++] = 8; in fixedtables()
266 while (sym < 256) state->lens[sym++] = 9; in fixedtables()
267 while (sym < 280) state->lens[sym++] = 7; in fixedtables()
268 while (sym < 288) state->lens[sym++] = 8; in fixedtables()
272 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work); in fixedtables()
276 while (sym < 32) state->lens[sym++] = 5; in fixedtables()
279 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work); in fixedtables()
920 state->lens[order[state->have++]] = (unsigned short)BITS(3); in inflate()
924 state->lens[order[state->have++]] = 0; in inflate()
928 ret = inflate_table(CODES, state->lens, 19, &(state->next), in inflate()
[all …]
H A Dinftrees.h56 LENS, enumerator
60 int ZLIB_INTERNAL inflate_table(codetype type, unsigned short FAR *lens,
H A Dinflate.h118 unsigned have; /* number of code lengths in lens[] */
120 unsigned short lens[320]; /* temporary storage for code lengths */ member
/freebsd/usr.bin/column/
H A Dcolumn.c217 int *lens, maxcols; in maketbl() local
226 if ((lens = calloc(maxcols, sizeof(int))) == NULL) in maketbl()
235 !(lens = realloc(lens, in maketbl()
238 memset((char *)lens + maxcols * sizeof(int), in maketbl()
249 if (t->len[coloff] > lens[coloff]) in maketbl()
250 lens[coloff] = t->len[coloff]; in maketbl()
256 lens[coloff] - t->len[coloff] + 2, L" "); in maketbl()
261 free(lens); in maketbl()
/freebsd/sys/contrib/device-tree/Bindings/media/i2c/
H A Dasahi-kasei,ak7375.yaml7 title: Asahi Kasei Microdevices AK7375 voice coil lens actuator
13 AK7375 is a voice coil motor (VCM) camera lens actuator that
45 ak7375: camera-lens@c {
H A Dak7375.txt1 Asahi Kasei Microdevices AK7375 voice coil lens driver
3 AK7375 is a camera voice coil lens.
H A Ddongwoon,dw9807-vcm.yaml8 title: Dongwoon Anatech DW9807 voice coil lens driver
36 lens@e {
H A Ddongwoon,dw9714.yaml7 title: Dongwoon Anatech DW9714 camera voice coil lens driver
42 camera-lens@c {
H A Dsony,imx214.txt23 - lens-focus: See ../video-interfaces.txt
42 lens-focus = <&ad5820>;
H A Ddongwoon,dw9768.yaml8 title: Dongwoon Anatech DW9768 Voice Coil Motor (VCM) Lens
87 dw9768: camera-lens@c {
H A Dsony,imx214.yaml51 lens-focus: true
110 lens-focus = <&ad5820>;
H A Dsony,imx415.yaml100 lens-focus = <&vcm>;
H A Dmipi-ccs.yaml64 lens-focus:
65 description: Lens focus controller phandles. See ../video-interfaces.txt
H A Ddongwoon,dw9807-vcm.txt1 Dongwoon Anatech DW9807 voice coil lens driver
H A Ddongwoon,dw9714.txt1 Dongwoon Anatech DW9714 camera voice coil lens driver
H A Dtoshiba,et8ek8.txt27 - lens-focus: See ../video-interfaces.txt
/freebsd/sys/contrib/device-tree/Bindings/media/
H A Dvideo-interface-devices.yaml20 lens-focus:
23 A phandle to the node of the focus lens controller.
90 camera module's lens optical inversion effect.
92 Assuming the above represented scene of the swimming shark, the lens
230 The camera is typically mounted upside-down to compensate the lens optical
264 If the camera sensor is not mounted upside-down to compensate for the lens
323 the lens optical inversion effect:
/freebsd/contrib/netbsd-tests/net/in_cksum/
H A Din_cksum.c79 allocate_mbuf_chain(char **lens) in allocate_mbuf_chain() argument
84 if (*lens == NULL) in allocate_mbuf_chain()
87 len = atoi(*lens); in allocate_mbuf_chain()
97 m->m_next = allocate_mbuf_chain(lens + 1); in allocate_mbuf_chain()
/freebsd/usr.bin/bsdiff/bsdiff/
H A Dbsdiff.c125 off_t overlap,Ss,lens; in main()
245 s=0;Ss=0;lens=0; in main()
251 if(s>Ss) { Ss=s; lens=i+1; } in main()
254 lenf+=lens-overlap; in main()
255 lenb-=lens; in main()
124 off_t overlap,Ss,lens; main() local
/freebsd/crypto/openssh/regress/unittests/sshkey/
H A Dtest_sshkey.c156 size_t lens[] = { in signature_tests() local
161 for (i = 0; i < (sizeof(lens)/sizeof(lens[0])); i++) { in signature_tests()
163 sshkey_type(k), lens[i]); in signature_tests()
164 banana(buf, lens[i]); in signature_tests()
165 signature_test(k, bad, sig_alg, buf, lens[i]); in signature_tests()
/freebsd/sys/contrib/zlib/test/
H A Dinfcover.c622 unsigned short lens[16], work[16]; in cover_trees() local
628 lens[bits] = (unsigned short)(bits + 1); in cover_trees()
629 lens[15] = 15; in cover_trees()
632 ret = inflate_table(DISTS, lens, 16, &next, &bits, work); in cover_trees()
636 ret = inflate_table(DISTS, lens, 16, &next, &bits, work); in cover_trees()
/freebsd/contrib/ncurses/progs/
H A Dtoe.c246 size_t lens = sizeof(suffix) - 1; in make_db_name() local
248 size_t need = lens + size; in make_db_name()
251 if (size >= lens in make_db_name()
252 && !strcmp(src + size - lens, suffix)) { in make_db_name()
/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_write_format_iso9660_filename.c206 const int lens[] = { in create_iso_image() local
241 for (i = 0; lens[i] >= 0; i++) { in create_iso_image()
242 for (l = 0; l < lens[i]; l++) { in create_iso_image()

12