/systemd/src/test/ |
H A D | test-conf-files.c | 35 va_list ap; local 39 va_start(ap, files); 43 files = va_arg(ap, const char *); 45 va_end(ap);
|
H A D | test-xml.c | 29 va_list ap; local 31 va_start(ap, data); 41 tt = va_arg(ap, int); 48 nn = va_arg(ap, const char *); 52 va_end(ap);
|
H A D | test-json.c | 29 va_list ap; local 31 va_start(ap, data); 39 tt = va_arg(ap, int); 49 nn = va_arg(ap, const char *); 55 d = va_arg(ap, double); 61 i = va_arg(ap, intmax_t); 67 b = va_arg(ap, int); 72 va_end(ap);
|
/systemd/src/basic/ |
H A D | signal-util.c | 66 static int sigaction_many_ap(const struct sigaction *sa, int sig, va_list ap) { argument 79 while ((sig = va_arg(ap, int)) >= 0) { 94 va_list ap; local 97 va_start(ap, sa); 98 r = sigaction_many_ap(sa, 0, ap); 99 va_end(ap); 111 va_list ap; local 114 va_start(ap, sig); 115 r = sigaction_many_ap(&sa, sig, ap); 116 va_end(ap); 128 va_list ap; local 138 sigset_add_many_ap(sigset_t *ss, va_list ap) argument 158 va_list ap; local 169 va_list ap; local [all...] |
H A D | extract-word.c | 245 va_list ap; local 255 va_start(ap, flags); 257 if (!va_arg(ap, char **)) 261 va_end(ap); 286 va_start(ap, flags); 290 v = va_arg(ap, char **); 295 va_end(ap);
|
H A D | conf-files.c | 140 va_list ap; local 145 va_start(ap, dir); 146 dirs = strv_new_ap(dir, ap); 147 va_end(ap);
|
H A D | env-util.c | 213 va_list ap; local 218 va_start(ap, n_lists); 220 l = va_arg(ap, char**); 223 va_end(ap); 231 va_start(ap, n_lists); 233 l = va_arg(ap, char**); 237 va_end(ap); 244 va_end(ap); 279 va_list ap; local 293 va_start(ap, n_list 362 va_list ap; local [all...] |
H A D | string-util.c | 221 va_list ap; local 225 va_start(ap, x); 234 t = va_arg(ap, const char *); 240 va_end(ap); 249 va_end(ap); 258 va_start(ap, x); 263 t = va_arg(ap, const char *); 270 va_end(ap); 681 va_list ap; local 689 va_start(ap, [all...] |
H A D | strv.c | 135 char **strv_new_ap(const char *x, va_list ap) { argument 149 va_copy(aq, ap); 172 while ((s = va_arg(ap, const char*))) { 196 va_list ap; local 198 va_start(ap, x); 199 r = strv_new_ap(x, ap); 200 va_end(ap); 749 va_list ap; local 753 va_start(ap, format); 754 r = vasprintf(&x, format, ap); [all...] |
H A D | terminal-util.c | 153 va_list ap; local 160 va_start(ap, text); 161 vprintf(text, ap); 162 va_end(ap); 199 va_list ap; local 204 va_start(ap, text); 205 vprintf(text, ap); 206 va_end(ap);
|
H A D | util.c | 354 va_list ap; local 433 va_start(ap, path); 434 for (n = 0; va_arg(ap, char*); n++) 436 va_end(ap); 442 va_start(ap, path); 444 l[i] = va_arg(ap, char*); 445 va_end(ap);
|
H A D | fileio.c | 588 va_list aq, *ap = userdata; local 606 va_copy(aq, *ap); 635 va_list ap; local 641 va_start(ap, newline); 642 r = parse_env_file_internal(NULL, fname, newline, parse_env_file_push, &ap, &n_pushed); 643 va_end(ap);
|
H A D | log.c | 662 va_list ap) { 677 vsnprintf(buffer, sizeof(buffer), format, ap); 690 va_list ap; local 693 va_start(ap, format); 694 r = log_internalv(level, error, file, line, func, format, ap); 695 va_end(ap); 709 va_list ap) { 739 vsnprintf(b, l, format, ap); 754 va_list ap; local 757 va_start(ap, forma 655 log_internalv( int level, int error, const char *file, int line, const char *func, const char *format, va_list ap) argument 700 log_object_internalv( int level, int error, const char *file, int line, const char *func, const char *object_field, const char *object, const char *format, va_list ap) argument 806 log_format_iovec( struct iovec *iovec, unsigned iovec_len, unsigned *n, bool newline_separator, int error, const char *format, va_list ap) argument 863 va_list ap; local 1131 va_list ap; local [all...] |
/systemd/src/bus-proxyd/ |
H A D | synthesize.c | 68 va_list ap; local 70 va_start(ap, format); 71 bus_error_setfv(&error, name, format, ap); 72 va_end(ap); 95 va_list ap; local 102 va_start(ap, format); 103 sd_bus_error_set_errnofv(&berror, error, format, ap); 104 va_end(ap); 123 va_list ap; local 125 va_start(ap, type [all...] |
/systemd/src/core/ |
H A D | show-status.c | 48 int status_vprintf(const char *status, bool ellipse, bool ephemeral, const char *format, va_list ap) { argument 61 if (vasprintf(&s, format, ap) < 0) 114 va_list ap; local 119 va_start(ap, format); 120 r = status_vprintf(status, ellipse, ephemeral, format, ap); 121 va_end(ap);
|
H A D | selinux-access.c | 112 va_list ap; local 123 va_start(ap, fmt); 124 r = vasprintf(&buf, fmt, ap); 125 va_end(ap); 134 va_start(ap, fmt); 135 log_internalv(LOG_AUTH | callback_type_to_priority(type), 0, __FILE__, __LINE__, __FUNCTION__, fmt, ap); 136 va_end(ap);
|
/systemd/src/libsystemd/sd-bus/ |
H A D | bus-error.c | 253 int bus_error_setfv(sd_bus_error *e, const char *name, const char *format, va_list ap) { argument 270 (void) vasprintf((char**) &e->message, format, ap); 282 va_list ap; local 284 va_start(ap, format); 285 r = bus_error_setfv(e, name, format, ap); 286 va_end(ap); 470 _public_ int sd_bus_error_set_errnofv(sd_bus_error *e, int error, const char *format, va_list ap) { argument 508 r = vasprintf(&m, format, ap); 550 va_list ap; local 552 va_start(ap, forma [all...] |
H A D | bus-convenience.c | 48 va_list ap; local 50 va_start(ap, types); 51 r = bus_message_append_ap(m, types, ap); 52 va_end(ap); 85 va_list ap; local 87 va_start(ap, types); 88 r = bus_message_append_ap(m, types, ap); 89 va_end(ap); 123 va_list ap; local 125 va_start(ap, type 162 va_list ap; local 208 va_list ap; local 263 va_list ap; local 469 va_list ap; local [all...] |
/systemd/src/shared/ |
H A D | dropin.c | 101 va_list ap; local 109 va_start(ap, format); 110 r = vasprintf(&p, format, ap); 111 va_end(ap);
|
/systemd/src/import/ |
H A D | curl-util.c | 348 va_list ap; local 357 va_start(ap, first); 363 i = va_arg(ap, const char*); 369 va_end(ap); 377 va_end(ap);
|
/systemd/src/journal/ |
H A D | journal-send.c | 84 va_list ap; local 86 va_start(ap, format); 87 r = sd_journal_printv(priority, format, ap); 88 va_end(ap); 93 _public_ int sd_journal_printv(int priority, const char *format, va_list ap) { argument 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) { argument 151 va_copy(aq, ap); 159 VA_FORMAT_ADVANCE(format, ap); 163 format = va_arg(ap, cha 181 va_list ap; local 451 va_list ap; local 460 sd_journal_printv_with_location(int priority, const char *file, const char *line, const char *func, const char *format, va_list ap) argument 491 va_list ap; local [all...] |
H A D | journald-server.c | 861 va_list ap; local 882 va_start(ap, format); 883 r = log_format_iovec(iovec, ELEMENTSOF(iovec), &n, false, 0, format, ap); 885 va_end(ap);
|
/systemd/src/journal-remote/ |
H A D | microhttpd-util.c | 38 void microhttpd_logger(void *arg, const char *fmt, va_list ap) { argument 44 log_internalv(LOG_INFO, 0, NULL, 0, NULL, f, ap); 90 va_list ap; local 95 va_start(ap, format); 96 r = vasprintf(&m, format, ap); 97 va_end(ap);
|
/systemd/src/libsystemd/sd-daemon/ |
H A D | sd-daemon.c | 541 va_list ap; local 543 va_start(ap, format); 544 r = vasprintf(&p, format, ap); 545 va_end(ap); 559 va_list ap; local 561 va_start(ap, format); 562 r = vasprintf(&p, format, ap); 563 va_end(ap);
|
/systemd/src/libsystemd/sd-path/ |
H A D | sd-path.c | 426 va_list ap; local 428 va_start(ap, first); 429 l = strv_new_ap(first, ap); 430 va_end(ap);
|