Home
last modified time | relevance | path

Searched refs:ncodes (Results 1 – 4 of 4) sorted by relevance

/third_party/libinput/src/
Dutil-prop-parsers.c371 size_t ncodes = 0; in parse_evcode_property() local
383 ncodes++; in parse_evcode_property()
385 if (ncodes == 0 || ncodes > ARRAY_LENGTH(evs)) in parse_evcode_property()
388 ncodes = min(*nevents, ncodes); in parse_evcode_property()
412 memcpy(events, evs, ncodes * sizeof *events); in parse_evcode_property()
413 *nevents = ncodes; in parse_evcode_property()
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtpjpegdepay.c311 MakeHuffmanHeader (guint8 * p, const guint8 * codelens, int ncodes, in MakeHuffmanHeader() argument
317 *p++ = 3 + ncodes + nsymbols; /* length lsb */ in MakeHuffmanHeader()
319 memcpy (p, codelens, ncodes); in MakeHuffmanHeader()
320 p += ncodes; in MakeHuffmanHeader()
/third_party/python/Modules/
D_struct.c1307 size_t ncodes; in prepare_s() local
1323 ncodes = 0; in prepare_s()
1353 case 'p': len++; ncodes++; break; in prepare_s()
1355 default: len += num; if (num) ncodes++; break; in prepare_s()
1370 if ((ncodes + 1) > ((size_t)PY_SSIZE_T_MAX / sizeof(formatcode))) { in prepare_s()
1377 codes = PyMem_Malloc((ncodes + 1) * sizeof(formatcode)); in prepare_s()
/third_party/ffmpeg/libavcodec/
Ddca_lbr.c795 int ncodes = 8 * (1 + (sb < 2)); in parse_lpc() local
797 if (ensure_bits(&s->gb, 4 * ncodes)) in parse_lpc()
799 for (i = 0; i < ncodes; i++) in parse_lpc()
801 for (i = 0; i < ncodes / 8; i++) in parse_lpc()