Lines Matching defs:arg_fmt
70 * EXPAND_VAR_ARGS - Expand the variable portion (arg_fmt) of a result
73 * NOTE (garrcoop): arg_fmt _must_ be the last element in each function
76 #define EXPAND_VAR_ARGS(buf, arg_fmt, buf_len) do {\
78 assert(arg_fmt != NULL); \
79 va_start(ap, arg_fmt); \
80 vsnprintf(buf, buf_len, arg_fmt, ap); \
169 const char *arg_fmt, ...)
179 EXPAND_VAR_ARGS(tmesg + len, arg_fmt, USERMESG - len);
484 void (*func)(void), const char *arg_fmt, ...)
491 EXPAND_VAR_ARGS(tmesg, arg_fmt, USERMESG);
533 const char *arg_fmt, ...)
537 EXPAND_VAR_ARGS(tmesg, arg_fmt, USERMESG);
549 const void *buf, size_t size, const char *arg_fmt, ...)
564 EXPAND_VAR_ARGS(tmesg, arg_fmt, USERMESG);
588 void (*func)(void), const char *arg_fmt, ...)
592 EXPAND_VAR_ARGS(tmesg, arg_fmt, USERMESG);