/systemd/src/shared/ |
H A D | install-printf.c | 94 int install_full_printf(UnitFileInstallInfo *i, const char *format, char **ret) { argument 129 assert(format); 132 return specifier_printf(format, table, i, ret);
|
H A D | dropin.c | 99 const char *name, const char *format, ...) { 107 assert(format); 109 va_start(ap, format); 110 r = vasprintf(&p, format, ap); 98 write_drop_in_format(const char *dir, const char *unit, unsigned level, const char *name, const char *format, ...) argument
|
/systemd/src/core/ |
H A D | kmod-setup.c | 38 const char *format, 43 log_internalv(LOG_DEBUG, 0, file, line, fn, format, args); 33 systemd_kmod_log( void *data, int priority, const char *file, int line, const char *fn, const char *format, va_list args) argument
|
H A D | show-status.c | 48 int status_vprintf(const char *status, bool ellipse, bool ephemeral, const char *format, va_list ap) { argument 56 assert(format); 61 if (vasprintf(&s, format, ap) < 0) 113 int status_printf(const char *status, bool ellipse, bool ephemeral, const char *format, ...) { argument 117 assert(format); 119 va_start(ap, format); 120 r = status_vprintf(status, ellipse, ephemeral, format, ap);
|
H A D | unit-printf.c | 199 int unit_name_printf(Unit *u, const char* format, char **ret) { argument 202 * This will use the passed string as format string and 220 assert(format); 223 return specifier_printf(format, table, u, ret); 226 int unit_full_printf(Unit *u, const char *format, char **ret) { argument 273 assert(format); 276 return specifier_printf(format, table, u, ret);
|
H A D | job.c | 663 const char *format; local 672 format = t == JOB_START ? format_table->finished_start_job[result] : 674 if (format) 675 return format; 703 const char *format; local 713 format = job_get_status_message_format(u, t, result); 714 if (!format) 721 unit_status_printf(u, job_result_status_table[result], format); 733 const char *format; local 758 format [all...] |
H A D | execute.c | 617 _printf_(1, 2) static int write_confirm_message(const char *format, ...) { argument 621 assert(format); 627 va_start(ap, format); 628 vdprintf(fd, format, ap);
|
H A D | manager.c | 3014 void manager_status_printf(Manager *m, StatusType type, const char *status, const char *format, ...) { argument 3027 va_start(ap, format); 3028 status_vprintf(status, true, type == STATUS_TYPE_EPHEMERAL, format, ap);
|
H A D | unit.c | 1350 const char *format; local 1359 format = format_table->starting_stopping[t == JOB_STOP]; 1360 if (format) 1361 return format; 1375 const char *format; local 1383 format = unit_get_status_message_format(u, t); 1386 unit_status_printf(u, "", format); 1391 const char *format; local 1405 format = unit_get_status_message_format(u, t); 1408 xsprintf(buf, format, unit_descriptio 2664 unit_serialize_item_format(Unit *u, FILE *f, const char *key, const char *format, ...) argument 3382 unit_write_drop_in_format(Unit *u, UnitSetPropertiesMode mode, const char *name, const char *format, ...) argument 3424 unit_write_drop_in_private_format(Unit *u, UnitSetPropertiesMode mode, const char *name, const char *format, ...) argument [all...] |
/systemd/src/bus-proxyd/ |
H A D | synthesize.c | 66 int synthetic_reply_method_errorf(sd_bus_message *call, const char *name, const char *format, ...) { argument 70 va_start(ap, format); 71 bus_error_setfv(&error, name, format, ap); 93 int synthetic_reply_method_errnof(sd_bus_message *call, int error, const char *format, ...) { argument 102 va_start(ap, format); 103 sd_bus_error_set_errnofv(&berror, error, format, ap);
|
/systemd/src/libudev/ |
H A D | libudev.c | 52 const char *format, va_list args); 228 const char *format, va_list args)) { 225 udev_set_log_fn(struct udev *udev, void (*log_fn)(struct udev *udev, int priority, const char *file, int line, const char *fn, const char *format, va_list args)) argument
|
/systemd/src/udev/ |
H A D | udev-builtin-kmod.c | 62 _printf_(6,0) static void udev_kmod_log(void *data, int priority, const char *file, int line, const char *fn, const char *format, va_list args) { argument 63 log_internalv(priority, 0, file, line, fn, format, args);
|
/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 269 if (format) 270 (void) vasprintf((char**) &e->message, format, ap); 278 _public_ int sd_bus_error_setf(sd_bus_error *e, const char *name, const char *format, ...) { argument 280 if (format) { 284 va_start(ap, format); 285 r = bus_error_setfv(e, name, format, ap); 470 _public_ int sd_bus_error_set_errnofv(sd_bus_error *e, int error, const char *format, va_list ap) { argument 502 if (format) { 508 r = vasprintf(&m, format, a 536 sd_bus_error_set_errnof(sd_bus_error *e, int error, const char *format, ...) argument [all...] |
H A D | bus-convenience.c | 204 const char *format, 222 va_start(ap, format); 223 bus_error_setfv(&error, name, format, ap); 259 const char *format, 277 va_start(ap, format); 278 sd_bus_error_set_errnofv(&berror, error, format, ap); 201 sd_bus_reply_method_errorf( sd_bus_message *call, const char *name, const char *format, ...) argument 256 sd_bus_reply_method_errnof( sd_bus_message *call, int error, const char *format, ...) argument
|
/systemd/src/journal/ |
H A D | journal-send.c | 82 _public_ int sd_journal_print(int priority, const char *format, ...) { argument 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) { argument 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) { argument 135 while (format) { 152 if (vasprintf(&buffer, format, aq) < 0) { 159 VA_FORMAT_ADVANCE(format, a 179 sd_journal_send(const char *format, ...) argument 449 sd_journal_print_with_location(int priority, const char *file, const char *line, const char *func, const char *format, ...) argument 460 sd_journal_printv_with_location(int priority, const char *file, const char *line, const char *func, const char *format, va_list ap) argument 489 sd_journal_send_with_location(const char *file, const char *line, const char *func, const char *format, ...) argument [all...] |
H A D | journald-server.c | 856 void server_driver_message(Server *s, sd_id128_t message_id, const char *format, ...) { argument 865 assert(format); 882 va_start(ap, format); 883 r = log_format_iovec(iovec, ELEMENTSOF(iovec), &n, false, 0, format, ap); 898 /* We failed to format the message. Emit a warning instead. */
|
/systemd/src/journal-remote/ |
H A D | microhttpd-util.c | 86 const char *format, ...) { 93 assert(format); 95 va_start(ap, format); 96 r = vasprintf(&m, format, ap); 84 mhd_respondf(struct MHD_Connection *connection, enum MHD_RequestTerminationCode code, const char *format, ...) argument
|
/systemd/src/libsystemd/sd-daemon/ |
H A D | sd-daemon.c | 536 _public_ int sd_pid_notifyf(pid_t pid, int unset_environment, const char *format, ...) { argument 540 if (format) { 543 va_start(ap, format); 544 r = vasprintf(&p, format, ap); 554 _public_ int sd_notifyf(int unset_environment, const char *format, ...) { argument 558 if (format) { 561 va_start(ap, format); 562 r = vasprintf(&p, format, ap);
|
/systemd/src/modules-load/ |
H A D | modules-load.c | 42 const char *fn, const char *format, va_list args) { 45 log_internalv(priority, 0, file, line, fn, format, args); 41 systemd_kmod_log(void *data, int priority, const char *file, int line, const char *fn, const char *format, va_list args) argument
|
/systemd/src/basic/ |
H A D | env-util.c | 472 char *replace_env(const char *format, char **env) { argument 479 const char *e, *word = format; 482 assert(format); 484 for (e = format; *e; e ++) {
|
H A D | strv.c | 748 int strv_extendf(char ***l, const char *format, ...) { argument 753 va_start(ap, format); 754 r = vasprintf(&x, format, ap);
|
H A D | log.c | 661 const char *format, 677 vsnprintf(buffer, sizeof(buffer), format, ap); 688 const char *format, ...) { 693 va_start(ap, format); 694 r = log_internalv(level, error, file, line, func, format, ap); 708 const char *format, 739 vsnprintf(b, l, format, ap); 752 const char *format, ...) { 757 va_start(ap, format); 758 r = log_object_internalv(level, error, file, line, func, object_field, object, format, a 655 log_internalv( int level, int error, const char *file, int line, const char *func, const char *format, va_list ap) argument 682 log_internal( int level, int error, const char *file, int line, const char *func, const char *format, ...) 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 744 log_object_internal( int level, int error, const char *file, int line, const char *func, const char *object_field, const char *object, const char *format, ...) argument 764 log_assert( int level, const char *text, const char *file, int line, const char *func, const char *format) 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 852 log_struct_internal( int level, int error, const char *file, int line, const char *func, const char *format, ...) argument 1117 log_syntax_internal( const char *unit, int level, const char *config_file, unsigned config_line, int error, const char *file, int line, const char *func, const char *format, ...) argument [all...] |
/systemd/src/import/ |
H A D | importd.c | 74 char *format; member in struct:Transfer 132 free(t->format); 386 NULL, /* maybe --format= */ 387 NULL, /* if so: the actual format */ 480 if (t->format) { 481 cmd[k++] = "--format"; 482 cmd[k++] = t->format; 782 const char *local, *object, *format; local 804 r = sd_bus_message_read(msg, "shs", &local, &fd, &format); 819 if (!isempty(format)) { [all...] |
/systemd/src/locale/ |
H A D | localed.c | 1105 static void log_xkb(struct xkb_context *ctx, enum xkb_log_level lvl, const char *format, va_list args) { argument 1108 fmt = strjoina("libxkbcommon: ", format);
|
/systemd/src/udev/cdrom_id/ |
H A D | cdrom_id.c | 661 unsigned char format[12]; local 682 scsi_cmd_set(udev, &sc, 8, sizeof(format)); 684 err = scsi_cmd_run(udev, &sc, fd, format, sizeof(format)); 690 len = format[3]; 692 log_debug("invalid format capacities length"); 696 switch(format[8] & 3) { 699 /* This means that last format was interrupted 712 log_debug("format capacities returned no media");
|