/third_party/musl/src/network/ |
H A D | dn_comp.c | 23 static int getlens(unsigned char *lens, const char *s, int l) in getlens() argument 29 lens[i++] = j-k; in getlens() 37 const char *end, const unsigned char *lens, int nlen) in match() 44 l = lens[--nlen]; in match() 60 unsigned char lens[127]; in dn_comp() local 71 n = getlens(lens, src, l); in dn_comp() 76 m = match(&offset, *dnptrs, *p, end, lens, n); in dn_comp() 88 for (i=j=0; i<l-bestlen; i+=lens[j++]+1) in dn_comp() 89 dst[i] = lens[j]; in dn_comp() 36 match(int *offset, const unsigned char *base, const unsigned char *dn, const char *end, const unsigned char *lens, int nlen) match() argument
|
/third_party/node/deps/v8/third_party/zlib/ |
H A D | infback.c | 97 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 D | inftrees.c | 22 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) in inflate_table() 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...] |
/third_party/node/deps/zlib/ |
H A D | infback.c | 89 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, 1 in inflateBack() [all...] |
H A D | inftrees.c | 22 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(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() 249 len = lens[wor in inflate_table() [all...] |
/third_party/libwebsockets/win32port/zlib/ |
H A D | infback.c | 88 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 D | inftrees.c | 22 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)
in inflate_table() 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 D | inflate.c | 255 while (sym < 144) state->lens[sym++] = 8;
256 while (sym < 256) state->lens[sym++] = 9;
257 while (sym < 280) state->lens[sym++] = 7;
258 while (sym < 288) state->lens[sym++] = 8;
262 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
266 while (sym < 32) state->lens[sym++] = 5;
269 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work);
902 state->lens[order[state->have++]] = (unsigned short)BITS(3);
906 state->lens[order[state->have++]] = 0;
910 ret = inflate_table(CODES, state->lens, 1 [all...] |
/third_party/skia/third_party/externals/zlib/ |
H A D | infback.c | 97 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 D | inftrees.c | 22 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) in inflate_table() 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...] |
/third_party/zlib/contrib/infback9/ |
H A D | infback9.c | 59 while (sym < 144) state.lens[sym++] = 8; in makefixed9() 60 while (sym < 256) state.lens[sym++] = 9; in makefixed9() 61 while (sym < 280) state.lens[sym++] = 7; in makefixed9() 62 while (sym < 288) state.lens[sym++] = 8; in makefixed9() 66 inflate_table9(LENS, state.lens, 288, &(next), &(bits), state.work); in makefixed9() 70 while (sym < 32) state.lens[sym++] = 5; in makefixed9() 73 inflate_table9(DISTS, state.lens, 32, &(next), &(bits), state.work); in makefixed9() 355 state->lens[order[state->have++]] = (unsigned short)BITS(3); in inflateBack9() 359 state->lens[order[state->have++]] = 0; in inflateBack9() 363 ret = inflate_table9(CODES, state->lens, 1 in inflateBack9() [all...] |
H A D | inftree9.c | 22 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(codetype type, unsigned short FAR *lens, unsigned codes, in inflate_table9() argument 74 code lengths are lens[0..codes-1]. Each length corresponds to the in inflate_table9() 86 lens[] are in the range 0..MAXBITS. The caller must assure this. in inflate_table9() 103 /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */ in inflate_table9() 107 count[lens[sym]]++; in inflate_table9() 136 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; in inflate_table9() 244 len = lens[wor in inflate_table9() [all...] |
/third_party/zlib/ |
H A D | infback.c | 89 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, 1 in inflateBack() [all...] |
H A D | inftrees.c | 22 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(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() 249 len = lens[wor in inflate_table() [all...] |
/third_party/libsnd/src/ |
H A D | ogg_vorbis.c | 104 static sf_count_t vorbis_read_sample (SF_PRIVATE *psf, void *ptr, sf_count_t lens, convert_func *transfn) ; 620 vorbis_read_sample (SF_PRIVATE *psf, void *ptr, sf_count_t lens, convert_func *transfn) in vorbis_read_sample() argument 626 len = lens / psf->sf.channels ; in vorbis_read_sample() 669 vorbis_read_s (SF_PRIVATE *psf, short *ptr, sf_count_t lens) in vorbis_read_s() argument 670 { return vorbis_read_sample (psf, (void*) ptr, lens, vorbis_rshort) ; in vorbis_read_s() 674 vorbis_read_i (SF_PRIVATE *psf, int *ptr, sf_count_t lens) in vorbis_read_i() argument 675 { return vorbis_read_sample (psf, (void*) ptr, lens, vorbis_rint) ; in vorbis_read_i() 679 vorbis_read_f (SF_PRIVATE *psf, float *ptr, sf_count_t lens) in vorbis_read_f() argument 680 { return vorbis_read_sample (psf, (void*) ptr, lens, vorbis_rfloat) ; in vorbis_read_f() 684 vorbis_read_d (SF_PRIVATE *psf, double *ptr, sf_count_t lens) in vorbis_read_d() argument 732 vorbis_write_s(SF_PRIVATE *psf, const short *ptr, sf_count_t lens) vorbis_write_s() argument 749 vorbis_write_i(SF_PRIVATE *psf, const int *ptr, sf_count_t lens) vorbis_write_i() argument 765 vorbis_write_f(SF_PRIVATE *psf, const float *ptr, sf_count_t lens) vorbis_write_f() argument 781 vorbis_write_d(SF_PRIVATE *psf, const double *ptr, sf_count_t lens) vorbis_write_d() argument [all...] |
/third_party/icu/icu4c/source/samples/cal/ |
H A D | cal.c | 429 int32_t lens [DAY_COUNT]; in print_month() local 457 lens[i] = u_strlen(days[i]); in print_month() 458 width += lens[i]; in print_month() 496 indent(lens[i] + 1, stdout); in print_month() 506 pad = lens[current] - u_strlen(s); in print_month() 547 int32_t lens [DAY_COUNT]; in print_year() local 580 lens[i] = u_strlen(days[i]); in print_year() 581 width += lens[i]; in print_year() 670 indent(lens[j] + 1, stdout); in print_year() 677 pad = lens[left_curren in print_year() [all...] |
/third_party/skia/third_party/externals/icu/source/samples/cal/ |
H A D | cal.c | 429 int32_t lens [DAY_COUNT]; in print_month() local 457 lens[i] = u_strlen(days[i]); in print_month() 458 width += lens[i]; in print_month() 496 indent(lens[i] + 1, stdout); in print_month() 506 pad = lens[current] - u_strlen(s); in print_month() 547 int32_t lens [DAY_COUNT]; in print_year() local 580 lens[i] = u_strlen(days[i]); in print_year() 581 width += lens[i]; in print_year() 670 indent(lens[j] + 1, stdout); in print_year() 677 pad = lens[left_curren in print_year() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | huffman.c | 118 static void get_tree_codes(uint32_t *bits, int16_t *lens, uint8_t *xlat, in get_tree_codes() argument 127 lens[*pos] = pl; in get_tree_codes() 133 get_tree_codes(bits, lens, xlat, nodes, nodes[node].n0, pfx, pl, in get_tree_codes() 136 get_tree_codes(bits, lens, xlat, nodes, nodes[node].n0 + 1, pfx, pl, in get_tree_codes() 145 int16_t lens[256]; in build_huff_tree() local 149 get_tree_codes(bits, lens, xlat, nodes, head, 0, 0, in build_huff_tree() 151 return ff_init_vlc_sparse(vlc, nb_bits, pos, lens, 2, 2, bits, 4, 4, xlat, 1, 1, 0); in build_huff_tree()
|
H A D | mvha.c | 59 static void get_tree_codes(uint32_t *bits, int16_t *lens, uint8_t *xlat, in get_tree_codes() argument 68 lens[*pos] = FFMAX(pl, 1); in get_tree_codes() 74 get_tree_codes(bits, lens, xlat, nodes, nodes[node].l, pfx, pl, in get_tree_codes() 77 get_tree_codes(bits, lens, xlat, nodes, nodes[node].r, pfx, pl, in get_tree_codes() 87 int16_t lens[256]; in build_vlc() local 146 get_tree_codes(bits, lens, xlat, nodes, cur_node - 1, 0, 0, &pos); in build_vlc() 148 return ff_init_vlc_sparse(vlc, 12, pos, lens, 2, 2, bits, 4, 4, xlat, 1, 1, 0); in build_vlc()
|
H A D | vlc.h | 73 * @param[in] lens The lengths of the codes. Entries > 0 correspond to 88 const int8_t *lens, int lens_wrap, 131 #define INIT_VLC_STATIC_FROM_LENGTHS(vlc, bits, nb_codes, lens, len_wrap, \ 138 ff_init_vlc_from_lengths(vlc, bits, nb_codes, lens, len_wrap, \
|
H A D | vorbisenc.c | 49 uint8_t *lens; member 158 av_assert2(cb->lens[entry]); in put_codeword() 159 if (put_bits_left(pb) < cb->lens[entry]) in put_codeword() 161 put_bits(pb, cb->lens[entry], cb->codewords[entry]); in put_codeword() 178 ff_vorbis_len2vlc(cb->lens, cb->codewords, cb->nentries); in ready_codebook() 232 if (!cb->lens[j]) in ready_residue() 303 cb->lens = av_malloc_array(cb->nentries, sizeof(uint8_t)); in create_vorbis_context() 305 if (!cb->lens || !cb->codewords) in create_vorbis_context() 307 memcpy(cb->lens, clens, cvectors[book].len); in create_vorbis_context() 308 memset(cb->lens in create_vorbis_context() [all...] |
/third_party/node/lib/ |
H A D | tls.js | 124 const lens = new Array(protocols.length); 131 lens[i] = len; 137 buff[offset++] = lens[i]; 139 offset += lens[i];
|
/third_party/toybox/toys/posix/ |
H A D | getconf.c | 194 int i, j, lens[] = {ARRAY_LEN(sysconfs), ARRAY_LEN(pathconfs), in getconf_main() local 202 for (j = 0; j<lens[i]; j++) { in getconf_main() 214 for (j = 0; j<lens[i]; j++) printf(" %s\n", configs[i][j].name); in getconf_main() 227 if (j==lens[i]) j = 0, i++; in getconf_main()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_lensfun.c | 23 * Lensfun filter, applies lens correction with parameters from the lensfun database 89 lfLens *lens; member 99 { "lens_model", "set lens model", OFFSET(lens_model), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 0, FLAGS }, 102 { "vignetting", "fix lens vignetting", 0, AV_OPT_TYPE_CONST, {.i64=VIGNETTING}, 0, 0, FLAGS, "mode" }, 105 { "vig_geo", "fix lens vignetting and correct geometry distortion", 0, AV_OPT_TYPE_CONST, {.i64=VIGNETTING | GEOMETRY_DISTORTION}, 0, 0, FLAGS, "mode" }, 106 { "vig_subpixel", "fix lens vignetting and chromatic aberrations", 0, AV_OPT_TYPE_CONST, {.i64=VIGNETTING | SUBPIXEL_DISTORTION}, 0, 0, FLAGS, "mode" }, 113 { "target_geometry", "target geometry of the lens correction (only when geometry correction is enabled)", OFFSET(target_geometry), AV_OPT_TYPE_INT, {.i64=LF_RECTILINEAR}, 0, INT_MAX, FLAGS, "lens_geometry" }, 114 { "rectilinear", "rectilinear lens (default)", 0, AV_OPT_TYPE_CONST, {.i64=LF_RECTILINEAR}, 0, 0, FLAGS, "lens_geometry" }, 115 { "fisheye", "fisheye lens", 0, AV_OPT_TYPE_CONST, {.i64=LF_FISHEYE}, 0, 0, FLAGS, "lens_geometry" }, 122 { "reverse", "Does reverse correction (regular image to lens distorte [all...] |
/third_party/node/deps/v8/third_party/zlib/contrib/optimizations/ |
H A D | inflate.c | 296 while (sym < 144) state->lens[sym++] = 8; 297 while (sym < 256) state->lens[sym++] = 9; 298 while (sym < 280) state->lens[sym++] = 7; 299 while (sym < 288) state->lens[sym++] = 8; 303 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work); 307 while (sym < 32) state->lens[sym++] = 5; 310 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work); 954 state->lens[order[state->have++]] = (unsigned short)BITS(3); 958 state->lens[order[state->have++]] = 0; 962 ret = inflate_table(CODES, state->lens, 1 [all...] |