Lines Matching refs:attr
169 char attr[ATTRIBUTESIZE];
310 insert_into_typenames(int type, const char *typename, const char *attr) {
349 if (attr == NULL) {
353 attr = tmp;
356 if (ttn->attr[0] != 0 && strcmp(attr, ttn->attr) != 0) {
358 "%s, %s\n", type, ttn->attr, attr);
362 if (strlen(attr) > sizeof(ttn->attr) - 1) {
363 fprintf(stderr, "Error: attr (%s) [name %s] is too long\n",
364 attr, typename);
367 strncpy(ttn->attr, attr, sizeof(ttn->attr));
770 i, upper(ttn->attr));