Lines Matching defs:args
70 static void log(int level, const char *fmt, va_list args);
75 va_list args;
77 va_start(args, fmt);
78 log(idn_log_level_fatal, fmt, args);
79 va_end(args);
85 va_list args;
87 va_start(args, fmt);
88 log(idn_log_level_error, fmt, args);
89 va_end(args);
94 va_list args;
96 va_start(args, fmt);
97 log(idn_log_level_warning, fmt, args);
98 va_end(args);
103 va_list args;
105 va_start(args, fmt);
106 log(idn_log_level_info, fmt, args);
107 va_end(args);
112 va_list args;
114 va_start(args, fmt);
115 log(idn_log_level_trace, fmt, args);
116 va_end(args);
121 va_list args;
123 va_start(args, fmt);
124 log(idn_log_level_dump, fmt, args);
125 va_end(args);
168 log(int level, const char *fmt, va_list args) {
177 (void)vsnprintf(buf, sizeof(buf), fmt, args);
180 (void)vsprintf(buf, fmt, args);