Searched refs:ncodes (Results 1 – 3 of 3) sorted by relevance
371 size_t ncodes = 0; in parse_evcode_property() local383 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()
1307 size_t ncodes; in prepare_s() local1323 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()
786 int ncodes = 8 * (1 + (sb < 2)); in parse_lpc() local788 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()