Lines Matching defs:fmt
1402 // @fmt: the printf format followed by it's arguments.
1406 // If @fmt is null or empty, the macro is defined with an empty definition.
1407 void predefine(const char *name, int weak, const char *fmt, ...)
1413 if (fmt && fmt[0]) {
1417 va_start(ap, fmt);
1418 vsnprintf(buf, sizeof(buf), fmt, ap);
1444 static void predefine_fmt(const char *fmt, int weak, va_list ap)
1448 vsnprintf(buf, sizeof(buf), fmt, ap);
1452 void predefine_strong(const char *fmt, ...)
1456 va_start(ap, fmt);
1457 predefine_fmt(fmt, 0, ap);
1461 void predefine_weak(const char *fmt, ...)
1465 va_start(ap, fmt);
1466 predefine_fmt(fmt, 1, ap);