Lines Matching defs:xlat
363 struct xlat {
367 #define XLAT(x) { x, #x }
370 extern const struct xlat addrfams[];
371 extern const struct xlat at_flags[];
372 extern const struct xlat dirent_types[];
373 extern const struct xlat open_access_modes[];
374 extern const struct xlat open_mode_flags[];
375 extern const struct xlat resource_flags[];
376 extern const struct xlat whence_codes[];
529 extern const char *xlookup(const struct xlat *, const unsigned int);
530 extern const char *xlat_search(const struct xlat *, const size_t, const unsigned int);
556 extern void printxvals(const unsigned int, const char *, const struct xlat *, ...);
557 #define printxval(xlat, val, dflt) printxvals(val, dflt, xlat, NULL)
561 extern void addflags(const struct xlat *, int);
562 extern int printflags(const struct xlat *, int, const char *);
563 extern const char *sprintflags(const char *, const struct xlat *, int);