Lines Matching defs:fname
339 append_ranges(char *fname, size_t fnamelen, int nranges, fsRange *ranges)
345 strlcat(fname, "[", fnamelen);
346 for (i = 0; i < nranges && strlen(fname) < 1010; i++)
349 if (i) strlcat(fname, " ", fnamelen);
350 curlen = strlen(fname);
351 snprintf(fname + curlen, fnamelen - curlen, "%d",
357 snprintf(fname + curlen, fnamelen - curlen, "_%d",
360 strlcat(fname, "]", fnamelen);
365 FontParseXLFDName(char *fname, FontScalablePtr vals, int subst)
386 if (!(*(ptr = fname) == '-' || (*ptr++ == '*' && *ptr == '-')) || /* fndry */
412 (p = strchr(strrchr(fname, '-'), '[')))
448 if ((ptr - fname) + spacingLen + strlen(ptr5) + 10 >= (unsigned)1024)
469 strlcpy(ptr, ptr5, fnamelen - (ptr - fname));
576 strlcpy(ptr1 + 1, tmpBuf, fnamelen - (ptr1 - fname));
578 strlcat(fname, "[]", fnamelen);
580 append_ranges(fname, fnamelen, vals->nranges, vals->ranges);