D | util.c | 170 xlookup(const struct xlat *xlat, int val) in xlookup() argument 172 for (; xlat->str != NULL; xlat++) in xlookup() 173 if (xlat->val == val) in xlookup() 174 return xlat->str; in xlookup() 237 printxval(const struct xlat *xlat, int val, const char *dflt) in printxval() argument 239 const char *str = xlookup(xlat, val); in printxval() 293 addflags(xlat, flags) in addflags() argument 294 const struct xlat *xlat; in addflags() 299 for (n = 0; xlat->str; xlat++) { 300 if (xlat->val && (flags & xlat->val) == xlat->val) { [all …]
|