Searched refs:strempty (Results 1 - 25 of 40) sorted by relevance

12

/systemd/src/journal/
H A Djournald-wall.c51 if (asprintf(&l_buf, "%s["PID_FMT"]: %s", strempty(identifier), ucred->pid, message) < 0) {
/systemd/src/libsystemd/sd-bus/
H A Dbus-introspect.c148 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 Dbus-convenience.c309 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 Dbus-objects.c398 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 Dbus-message.c1508 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 Dpam_systemd.c317 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 Dlogind-utmp.c88 strempty(m->wall_message),
H A Dsysfs-show.c119 name ? " \"" : "", strempty(name), name ? "\"" : "") < 0)
H A Dlogind-dbus.c558 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 Dlocaled.c629 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 Dpull-common.c193 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 Dselinux-access.c79 audit->path ? " path=\"" : "", strempty(audit->path), audit->path ? "\"" : "",
80 audit->cmdline ? " cmdline=\"" : "", strempty(audit->cmdline), audit->cmdline ? "\"" : "");
H A Dunit-printf.c67 return unit_name_unescape(strempty(u->instance), ret);
H A Dexecute.c1831 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 Dnspawn-register.c66 strempty(directory),
91 strempty(directory),
/systemd/src/network/
H A Dnetworkd-network-bus.c50 r = sd_bus_message_append(reply, "s", strempty(ether));
/systemd/src/shared/
H A Dspecifier.c120 n = strdup(strempty(data));
H A Dbus-util.h162 value = strempty(name##_to_string(*field)); \
H A Dcgroup-show.c231 prefix = strempty(prefix);
H A Dutmp-wtmp.c410 origin_tty ? " on " : "", strempty(origin_tty),
/systemd/src/cryptsetup/
H A Dcryptsetup-generator.c170 name, u, strempty(password), strempty(filtered),
/systemd/src/analyze/
H A Danalyze.c664 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 Dstring-util.h52 static inline const char* strempty(const char *s) { function
H A Denv-util.c523 t = strempty(strv_env_get_n(env, word+2, e-word-2));
/systemd/src/tty-ask-password-agent/
H A Dtty-ask-password-agent.c329 strempty(*wall),

Completed in 8172 milliseconds

12