Lines Matching refs:name

11  * supporting documentation and that the name of Adobe Systems Incorporated
99 char *name;
106 char *name;
113 char *name;
174 static Category *AddCategory (name)
175 char *name;
180 newCategory->name = (char *) ckmalloc (strlen (name) + 1,
181 "Failed to allocate Category name.");
183 strcpy (newCategory->name, name);
195 if (strcmp (current->name, name) > 0) {
221 static Category *FindCategory (name)
222 char *name;
227 if (strcmp (category->name, name) == 0)
234 category = AddCategory (name);
277 strcmp(current->name, resource->name) != 0) break;
313 dup->name = res1->name;
320 if (strcmp (current->name, res1->name) >= 0) break;
352 resource->name = ckmalloc (strlen (resourceName) + 1,
353 "Failed to allocate Resource name.");
355 strcpy (resource->name, resourceName);
374 comparison = strcmp (current->name, resourceName);
386 free (resource->name);
421 resource != NULL && strcmp(resource->name, resourceName) != 0;
430 resource != NULL && strcmp(resource->name, resourceName) != 0;
440 char *name;
477 resource->name = ckmalloc (strlen (resourceName) + 1,
478 "Failed to allocate Resource name.");
480 strcpy (resource->name, resourceName);
492 "Failed to allocate Resource name.");
509 if (strcmp(current->name, resource->name) != 0 ||
512 strcmp(current->name, "NONRESOURCE") == 0) {
515 free(current->name);
516 current->name = resource->name;
528 free (resource->name);
694 static void StripName (name)
695 char *name;
700 if (name[0] == '/') strcpy(name, name+1);
703 if (name[0] == '(') closeCharacter = ')';
704 else if (name[0] == QUOTE) closeCharacter = QUOTE;
707 pointer = strrchr (name, closeCharacter);
711 strcpy (name, name + 1);
715 pointer = strrchr (name, '\r');
719 pointer = strrchr (name, '\n');
743 static void MungeFontNames(name, family, fullname, weight,
745 char *name, *family, *fullname, *weight;
755 full name ends with 5 digits strip them, and replace periods that
808 if (strcmp(name, "FetteFraktur-Dfr") == 0) strcat(buf, " Black Dfr");
809 else if (strcmp(name, "Linotext-Dfr") == 0) strcat(buf, " Dfr");
821 /* Done with the full name; now onto the family */
859 /* Compensate for fonts with foundries in the full name but not the
860 family name by adding to the family name */
1349 char buf[256], name[256];
1403 printf("Please enter resource name: ");
1405 if (fgets(name, 256, stdin) == NULL) {
1409 if (name[0] == '\0') continue;
1411 StripName(name);
1412 AddResource(buf, name, filename, false);
1416 printf("Please enter font name: ");
1418 if (fgets(name, 256, stdin) == NULL) {
1422 if (name[0] == '\0') continue;
1423 StripName(name);
1437 AddResource("FontBDFSizes", name, buf, false);
1438 sprintf(buf, "%s%d", name, size);
1444 printf("Please enter font name: ");
1446 if (fgets(name, 256, stdin) == NULL) {
1450 if (name[0] == '\0') continue;
1451 StripName(name);
1458 if (name[0] == '\0') continue;
1466 if (name[0] == '\0') continue;
1468 AddResource("FontOutline", name, filename, true);
1469 sprintf(buf, "%s,%s", face, name);
1474 printf("Please enter %s name: ", userCategories[choice-1]);
1476 if (fgets(name, 256, stdin) == NULL) {
1480 if (name[0] == '\0') continue;
1481 StripName(name);
1482 AddResource(userCategories[choice-1], name, filename, true);
1496 AddResource(resource->category, resource->name, resource->file,
1689 "Failed to allocate file name string.");
1717 if (strcmp(category->name, "FontBDFSizes") == 0 ||
1718 strcmp(category->name, "FontFamily") == 0) {
1760 AddResource(upr->category, upr->name, upr->file, upr->noPrefix);
1782 buf = ckmalloc(strlen(upr->name) + strlen(ch) + 1,
1783 "Failed to allocate BDF name\n");
1784 strcpy(buf, upr->name);
1788 AddResource(upr->category, upr->name, ch, false);
1804 AddResource(upr->category, upr->name, upr->file, false);
1826 if (strcmp(category->name, "FontBDFSizes") == 0 ||
1827 strcmp(category->name, "FontFamily") == 0 ||
1828 strcmp(category->name, "FontBlendPositions") == 0 ||
1829 strcmp(category->name, "FontBlendMap") == 0 ||
1830 strcmp(category->name, "FontAxes") == 0) {
1960 outs(category->name);
1976 outs(category->name);
1978 if (strcmp(category->name, "FontBDFSizes") != 0 &&
1979 strcmp(category->name, "FontFamily") != 0) {
1981 outs(resource->name);
1992 outs(resource->name);
1995 pname = resource->name;
1997 while (resource != NULL && strcmp(resource->name, pname) == 0) {
2009 outs(resource->name);
2057 "Failed to allocate directory name.");
2177 "Failed to allocate backup file name.'");
2224 fprintf(stderr, "Category %s:\n", category->name);
2226 fprintf(stderr, " Resource: %s\n", dup->name);