Searched refs:fmt (Results 1 - 19 of 19) sorted by relevance

/systemd/src/journal-remote/
H A Dmicrohttpd-util.h36 void microhttpd_logger(void *arg, const char *fmt, va_list ap) _printf_(2, 0);
H A Dmicrohttpd-util.c38 void microhttpd_logger(void *arg, const char *fmt, va_list ap) { argument
41 f = strjoina("microhttpd: ", fmt);
/systemd/src/basic/
H A Dstdio-util.h29 #define xsprintf(buf, fmt, ...) \
30 assert_message_se((size_t) snprintf(buf, ELEMENTSOF(buf), fmt, __VA_ARGS__) < ELEMENTSOF(buf), "xsprintf: " #buf "[] must be big enough")
H A Dtime-util.h116 #define xstrftime(buf, fmt, tm) \
117 assert_message_se(strftime(buf, ELEMENTSOF(buf), fmt, tm) > 0, \
H A Dlog.h214 #define LOG_MESSAGE(fmt, ...) "MESSAGE=" fmt, ##__VA_ARGS__
/systemd/src/libsystemd-network/
H A Ddhcp-server-internal.h85 #define log_dhcp_server(client, fmt, ...) log_internal(LOG_DEBUG, 0, __FILE__, __LINE__, __func__, "DHCP SERVER: " fmt, ##__VA_ARGS__)
H A Ddhcp6-internal.h58 #define log_dhcp6_client(p, fmt, ...) log_internal(LOG_DEBUG, 0, __FILE__, __LINE__, __func__, "DHCPv6 CLIENT: " fmt, ##__VA_ARGS__)
H A Dlldp-internal.h91 #define log_lldp(fmt, ...) log_internal(LOG_DEBUG, 0, __FILE__, __LINE__, __func__, "LLDP: " fmt, ##__VA_ARGS__)
H A Ddhcp-internal.h68 #define log_dhcp_client(client, fmt, ...) log_internal(LOG_DEBUG, 0, __FILE__, __LINE__, __func__, "DHCP CLIENT (0x%x): " fmt, client->xid, ##__VA_ARGS__)
H A Dsd-ipv4acd.c54 #define log_ipv4acd_full(ll, level, error, fmt, ...) log_internal(level, error, __FILE__, __LINE__, __func__, "ACD: " fmt, ##__VA_ARGS__)
H A Dsd-ndisc.c93 #define log_ndisc(p, fmt, ...) log_internal(LOG_DEBUG, 0, __FILE__, __LINE__, __func__, "NDisc CLIENT: " fmt, ##__VA_ARGS__)
/systemd/src/core/
H A Dselinux-access.c111 _printf_(2, 3) static int log_callback(int type, const char *fmt, ...) { argument
123 va_start(ap, fmt);
124 r = vasprintf(&buf, fmt, ap);
134 va_start(ap, fmt);
135 log_internalv(LOG_AUTH | callback_type_to_priority(type), 0, __FILE__, __LINE__, __FUNCTION__, fmt, ap);
H A Dselinux-setup.c37 static int null_log(int type, const char *fmt, ...) { argument
H A Dunit.h629 #define LOG_UNIT_MESSAGE(unit, fmt, ...) "MESSAGE=%s: " fmt, (unit)->id, ##__VA_ARGS__
/systemd/src/udev/
H A Dudev-event.c99 const char fmt; member in struct:subst_map
102 { .name = "devnode", .fmt = 'N', .type = SUBST_DEVNODE },
103 { .name = "tempnode", .fmt = 'N', .type = SUBST_DEVNODE },
104 { .name = "attr", .fmt = 's', .type = SUBST_ATTR },
105 { .name = "sysfs", .fmt = 's', .type = SUBST_ATTR },
106 { .name = "env", .fmt = 'E', .type = SUBST_ENV },
107 { .name = "kernel", .fmt = 'k', .type = SUBST_KERNEL },
108 { .name = "number", .fmt = 'n', .type = SUBST_KERNEL_NUMBER },
109 { .name = "driver", .fmt = 'd', .type = SUBST_DRIVER },
110 { .name = "devpath", .fmt
[all...]
H A Dudev-builtin-path_id.c38 static int path_prepend(char **path, const char *fmt, ...) { argument
43 va_start(va, fmt);
44 err = vasprintf(&pre, fmt, va);
/systemd/src/network/
H A Dnetworkd-link.h201 #define LOG_LINK_MESSAGE(link, fmt, ...) "MESSAGE=%s: " fmt, (link)->ifname, ##__VA_ARGS__
H A Dnetworkd-netdev.h230 #define LOG_NETDEV_MESSAGE(netdev, fmt, ...) "MESSAGE=%s: " fmt, (netdev)->ifname, ##__VA_ARGS__
/systemd/src/locale/
H A Dlocaled.c1106 const char *fmt; local
1108 fmt = strjoina("libxkbcommon: ", format);
1109 log_internalv(LOG_DEBUG, 0, __FILE__, __LINE__, __func__, fmt, args);

Completed in 3331 milliseconds