Lines Matching defs:format

34 		  const char *format, va_list ap);
46 isc_print_vfprintf(FILE *fp, const char *format, va_list ap) {
48 assert(format != NULL);
50 return (isc__print_printf(file_emit, fp, format, ap));
55 isc_print_printf(const char *format, ...) {
59 assert(format != NULL);
61 va_start(ap, format);
62 n = isc__print_printf(file_emit, stdout, format, ap);
68 isc_print_fprintf(FILE *fp, const char *format, ...) {
73 assert(format != NULL);
75 va_start(ap, format);
76 n = isc__print_printf(file_emit, fp, format, ap);
89 isc_print_sprintf(char *str, const char *format, ...) {
96 va_start(ap, format);
97 n = isc__print_printf(nocheck_emit, &arg, format, ap);
107 isc_print_snprintf(char *str, size_t size, const char *format, ...) {
111 va_start(ap, format);
112 ret = isc_print_vsnprintf(str, size, format, ap);
133 isc_print_vsnprintf(char *str, size_t size, const char *format, va_list ap) {
138 assert(format != NULL);
143 n = isc__print_printf(string_emit, &arg, format, ap);
151 const char *format, va_list ap)
186 assert(format != NULL);
188 while (*format != '\0') {
189 if (*format != '%') {
190 emit(*format++, arg);
194 format++;
206 if (*format == '#') {
208 format++;
209 } else if (*format == '-') {
212 format++;
213 } else if (*format == ' ') {
216 format++;
217 } else if (*format == '+') {
220 format++;
221 } else if (*format == '0') {
224 format++;
232 if (*format == '*') {
234 format++;
235 } else if (isdigit((unsigned char)*format)) {
237 width = strtoul(format, &e, 10);
238 format = e;
244 if (*format == '.') {
245 format++;
247 if (*format == '*') {
250 format++;
251 } else if (isdigit((unsigned char)*format)) {
253 precision = strtoul(format, &e, 10);
255 format = e;
259 switch (*format) {
263 emit(*format, arg);
268 format++;
272 format++;
276 format++;
277 if (*format == 'l') {
279 format++;
284 format++;
289 if (format[1] == '6' && format[2] == '4') {
291 format += 3;
306 switch (*format) {
655 precision, l ? "L" : "", *format);
656 switch (*format) {
699 format++;