Lines Matching refs:names
345 debug_dump_enum(const struct debug_named_value *names,
350 while (names->name) {
351 if (names->value == value)
352 return names->name;
353 ++names;
362 debug_dump_enum_noprefix(const struct debug_named_value *names,
368 while (names->name) {
369 if (names->value == value) {
370 const char *name = names->name;
377 ++names;
386 debug_dump_flags(const struct debug_named_value *names, unsigned long value)
394 while (names->name) {
395 if ((names->value & value) == names->value) {
400 strncat(output, names->name, sizeof(output) - strlen(output) - 1);
402 value &= ~names->value;
404 ++names;