Home
last modified time | relevance | path

Searched refs:ncodes (Results 1 – 3 of 3) 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/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.c786 int ncodes = 8 * (1 + (sb < 2)); in parse_lpc() local
788 if (ensure_bits(&s->gb, 4 * ncodes)) in parse_lpc()
790 for (i = 0; i < ncodes; i++) in parse_lpc()
792 for (i = 0; i < ncodes / 8; i++) in parse_lpc()