Lines Matching defs:upr
1654 if (strcmp(".upr", fileName + len - 4) != 0) return;
1713 UPRResource *upr;
1724 for (upr = UPRresources[Hash(resource->file)];
1725 upr != NULL && strcmp(upr->file, resource->file) < 0;
1726 upr = upr->next) {}
1727 if (upr != NULL) upr->found = true;
1734 for (upr = UPRresources[Hash(resource->file)];
1735 upr != NULL && strcmp(upr->file, resource->file) < 0;
1736 upr = upr->next) {}
1737 if (upr != NULL) upr->found = true;
1744 for (upr = UPRresources[bucket]; upr != NULL; upr = upr->next) {
1745 if (upr->found) continue;
1747 if (strcmp(upr->category, "FontBDFSizes") != 0 &&
1748 strcmp(upr->category, "FontFamily") != 0) {
1755 if (strncmp(upr->file, directories[i],
1757 upr->file[directoryLen[i]+1] == '/') goto NEXT_UPR;
1760 AddResource(upr->category, upr->name, upr->file, upr->noPrefix);
1769 for (upr = UPRresources[bucket]; upr != NULL; upr = upr->next) {
1770 if (upr->found) continue;
1772 if (strcmp(upr->category, "FontBDFSizes") == 0) {
1773 char *buf, *ch = upr->file;
1779 while (ch >= upr->file && *ch != ',') ch--;
1782 buf = ckmalloc(strlen(upr->name) + strlen(ch) + 1,
1784 strcpy(buf, upr->name);
1788 AddResource(upr->category, upr->name, ch, false);
1792 } else if (strcmp(upr->category, "FontFamily") == 0) {
1793 char *ch = upr->file;
1798 if (ch > upr->file && *(ch-1) == '\\') ch++;
1804 AddResource(upr->category, upr->name, upr->file, false);
2264 /* Make two passes; the first time we just look for .upr files, and the
2309 if (outputFilename == NULL) outputFilename = "PSres.upr";