/systemd/src/journal/ |
H A D | journald-wall.c | 51 if (asprintf(&l_buf, "%s["PID_FMT"]: %s", strempty(identifier), ucred->pid, message) < 0) {
|
/systemd/src/libsystemd/sd-bus/ |
H A D | bus-introspect.c | 148 introspect_write_arguments(i, strempty(v->x.method.signature), "in"); 149 introspect_write_arguments(i, strempty(v->x.method.result), "out"); 166 introspect_write_arguments(i, strempty(v->x.signal.signature), NULL);
|
H A D | bus-convenience.c | 309 r = sd_bus_call_method(bus, destination, path, "org.freedesktop.DBus.Properties", "Get", error, &rep, "ss", strempty(interface), member); 350 r = sd_bus_call_method(bus, destination, path, "org.freedesktop.DBus.Properties", "Get", error, &reply, "ss", strempty(interface), member); 393 r = sd_bus_call_method(bus, destination, path, "org.freedesktop.DBus.Properties", "Get", error, &reply, "ss", strempty(interface), member); 441 r = sd_bus_call_method(bus, destination, path, "org.freedesktop.DBus.Properties", "Get", error, &reply, "ss", strempty(interface), member); 487 r = sd_bus_message_append(m, "ss", strempty(interface), member);
|
H A D | bus-objects.c | 398 if (!streq(strempty(c->vtable->x.method.signature), signature)) 403 signature, c->interface, c->member, strempty(c->vtable->x.method.signature)); 408 m->enforced_reply_signature = strempty(c->vtable->x.method.result); 483 p = strempty(*(char**) userdata); 656 if (type != 'v' || !streq(strempty(signature), strempty(c->vtable->x.property.signature))) 657 return sd_bus_reply_method_errorf(m, SD_BUS_ERROR_INVALID_ARGS, "Incorrect parameters for property '%s', expected '%s', got '%s'.", c->member, strempty(c->vtable->x.property.signature), strempty(signature)); 1695 !signature_is_valid(strempty(v->x.method.signature), false) || 1696 !signature_is_valid(strempty( [all...] |
H A D | bus-message.c | 1508 p = strempty(p); 1568 p = strempty(p); 1582 p = strempty(p); 2178 p = strempty(c->signature); 2229 alignment = bus_gvariant_get_alignment(strempty(c->signature)); 2248 p = strempty(c->signature); 2907 signature = strempty(m->root_container.signature); 2957 !streq(strempty(m->root_container.signature), m->enforced_reply_signature)) 5715 return strempty(c->signature); 5727 return streq(strempty( [all...] |
/systemd/src/login/ |
H A D | pam_systemd.c | 317 tty = strempty(tty); 381 strempty(service), 382 type, class, strempty(desktop), 383 strempty(seat), vtnr, strempty(tty), strempty(display), 384 yes_no(remote), strempty(remote_user), strempty(remote_host));
|
H A D | logind-utmp.c | 88 strempty(m->wall_message),
|
H A D | sysfs-show.c | 119 name ? " \"" : "", strempty(name), name ? "\"" : "") < 0)
|
H A D | logind-dbus.c | 558 strempty(inhibit_what_to_string(inhibitor->what)), 559 strempty(inhibitor->who), 560 strempty(inhibitor->why), 561 strempty(inhibit_mode_to_string(inhibitor->mode)), 2795 r = sd_bus_message_append(m, "ss", strempty(slice), "fail"); 2870 r = sd_bus_message_append(m, "ss", strempty(scope), "fail");
|
/systemd/src/locale/ |
H A D | localed.c | 629 strempty(c->x11_layout), 630 strempty(c->x11_model), 631 strempty(c->x11_variant), 632 strempty(c->x11_options)); 838 strempty(c->vc_keymap), strempty(c->vc_keymap_toggle)); 1081 strempty(c->vc_keymap), strempty(c->vc_keymap_toggle)); 1205 strempty(model), strempty(layou [all...] |
/systemd/src/import/ |
H A D | pull-common.c | 193 path = strjoin(image_root, "/", strempty(prefix), escaped_url, escaped_etag ? "." : "", 194 strempty(escaped_etag), strempty(suffix), NULL); 211 path = strjoin(image_root, "/", strempty(prefix), hash, escaped_etag ? "." : "", 212 strempty(escaped_etag), strempty(suffix), NULL);
|
/systemd/src/core/ |
H A D | selinux-access.c | 79 audit->path ? " path=\"" : "", strempty(audit->path), audit->path ? "\"" : "", 80 audit->cmdline ? " cmdline=\"" : "", strempty(audit->cmdline), audit->cmdline ? "\"" : "");
|
H A D | unit-printf.c | 67 return unit_name_unescape(strempty(u->instance), ret);
|
H A D | execute.c | 1831 d = strjoina(strempty(context->root_directory), "/", strempty(wd)); 2427 prefix = strempty(prefix); 2760 prefix = strempty(prefix); 2827 prefix = strempty(prefix); 2841 prefix = strempty(prefix);
|
/systemd/src/nspawn/ |
H A D | nspawn-register.c | 66 strempty(directory), 91 strempty(directory),
|
/systemd/src/network/ |
H A D | networkd-network-bus.c | 50 r = sd_bus_message_append(reply, "s", strempty(ether));
|
/systemd/src/shared/ |
H A D | specifier.c | 120 n = strdup(strempty(data));
|
H A D | bus-util.h | 162 value = strempty(name##_to_string(*field)); \
|
H A D | cgroup-show.c | 231 prefix = strempty(prefix);
|
H A D | utmp-wtmp.c | 410 origin_tty ? " on " : "", strempty(origin_tty),
|
/systemd/src/cryptsetup/ |
H A D | cryptsetup-generator.c | 170 name, u, strempty(password), strempty(filtered),
|
/systemd/src/analyze/ |
H A D | analyze.c | 664 strempty(host->hostname), 665 strempty(host->kernel_name), 666 strempty(host->kernel_release), 667 strempty(host->kernel_version), 668 strempty(host->architecture), 669 strempty(host->virtualization));
|
/systemd/src/basic/ |
H A D | string-util.h | 52 static inline const char* strempty(const char *s) { function
|
H A D | env-util.c | 523 t = strempty(strv_env_get_n(env, word+2, e-word-2));
|
/systemd/src/tty-ask-password-agent/ |
H A D | tty-ask-password-agent.c | 329 strempty(*wall),
|