Searched refs:enums (Results 1 – 1 of 1) sorted by relevance
65 __owur static int parse_enum(const test_enum *enums, size_t num_enums, in parse_enum() argument70 if (strcmp(enums[i].name, name) == 0) { in parse_enum()71 *value = enums[i].value; in parse_enum()78 static const char *enum_name(const test_enum *enums, size_t num_enums, in enum_name() argument83 if (enums[i].value == value) { in enum_name()84 return enums[i].name; in enum_name()
Completed in 8 milliseconds