Lines Matching refs:list
84 stdfind(const char *name, const struct stdlist *list) in stdfind() argument
86 while (list->name != NULL) { in stdfind()
87 if (strcmp(name, list->name) == 0) in stdfind()
88 return (list->value); in stdfind()
89 list++; in stdfind()
95 stdfindbyvalue(int value, const struct stdlist *list) in stdfindbyvalue() argument
97 while (list->name != NULL) { in stdfindbyvalue()
98 if (value == list->value) in stdfindbyvalue()
99 return (list->name); in stdfindbyvalue()
100 list++; in stdfindbyvalue()