Lines Matching defs:nchars
268 nchars,
295 if ((!line) || (sscanf((char *) line, "CHARS %d", &nchars) != 1)) {
299 if (nchars < 1) {
303 if (nchars > (signed) (INT32_MAX / sizeof(CharInfoRec))) {
304 bdfError("Couldn't allocate pCI (%d*%d)\n", nchars,
308 ci = calloc(nchars, sizeof(CharInfoRec));
310 bdfError("Couldn't allocate pCI (%d*%d)\n", nchars,
317 bitmapExtra->glyphNames = mallocarray(nchars, sizeof(Atom));
320 nchars, (int) sizeof(Atom));
325 bitmapExtra->sWidths = mallocarray(nchars, sizeof(int));
328 nchars, (int) sizeof(int));
338 for (ndx = 0; (ndx < nchars) && (line) && (bdfIsPrefix(line, "STARTCHAR"));) {
498 if (ndx + nignored != nchars) {
499 bdfError("%d too few characters\n", nchars - (ndx + nignored));
502 nchars = ndx;
503 bitmapFont->num_chars = nchars;