Lines Matching refs:list
86 stdfind(const char *name, const struct stdlist *list)
88 while (list->name != NULL) {
89 if (strcmp(name, list->name) == 0)
90 return (list->value);
91 list++;
97 stdfindbyvalue(int value, const struct stdlist *list)
99 while (list->name != NULL) {
100 if (value == list->value)
101 return (list->name);
102 list++;