Lines Matching refs:format
82 _public_ int sd_journal_print(int priority, const char *format, ...) {
86 va_start(ap, format);
87 r = sd_journal_printv(priority, format, ap);
93 _public_ int sd_journal_printv(int priority, const char *format, va_list ap) {
103 assert_return(format, -EINVAL);
108 vsnprintf(buffer+8, sizeof(buffer) - 8, format, ap);
117 _printf_(1, 0) static int fill_iovec_sprintf(const char *format, va_list ap, int extra, struct iovec **_iov) {
135 while (format) {
152 if (vasprintf(&buffer, format, aq) < 0) {
159 VA_FORMAT_ADVANCE(format, ap);
163 format = va_arg(ap, char *);
179 _public_ int sd_journal_send(const char *format, ...) {
184 va_start(ap, format);
185 i = fill_iovec_sprintf(format, ap, 0, &iov);
449 _public_ int sd_journal_print_with_location(int priority, const char *file, const char *line, const char *func, const char *format, ...) {
453 va_start(ap, format);
454 r = sd_journal_printv_with_location(priority, file, line, func, format, ap);
460 _public_ int sd_journal_printv_with_location(int priority, const char *file, const char *line, const char *func, const char *format, va_list ap) {
467 assert_return(format, -EINVAL);
472 vsnprintf(buffer+8, sizeof(buffer) - 8, format, ap);
489 _public_ int sd_journal_send_with_location(const char *file, const char *line, const char *func, const char *format, ...) {
495 va_start(ap, format);
496 i = fill_iovec_sprintf(format, ap, 3, &iov);