Searched refs:isempty (Results 1 - 25 of 120) sorted by relevance

12345

/systemd/src/basic/
H A Dweb-util.c27 if (isempty(etag))
42 if (isempty(url))
51 if (isempty(p))
60 if (isempty(url))
72 if (isempty(p))
H A Dlogin-util.c27 if (isempty(id))
H A Dhostname-util.c39 if (isempty(u.nodename))
54 if (isempty(u.nodename) || streq(u.nodename, "(none)"))
85 if (isempty(s))
/systemd/src/test/
H A Dtest-extract-word.c41 assert_se(isempty(p));
45 assert_se(isempty(p));
56 assert_se(isempty(p));
60 assert_se(isempty(p));
71 assert_se(isempty(p));
75 assert_se(isempty(p));
81 assert_se(isempty(p));
91 assert_se(isempty(p));
101 assert_se(isempty(p));
111 assert_se(isempty(
[all...]
H A Dtest-hostname-util.c84 assert_se(isempty(hostname_cleanup(s)));
86 assert_se(isempty(hostname_cleanup(s)));
88 assert_se(isempty(hostname_cleanup(s)));
/systemd/src/core/
H A Dhostname-setup.c50 if (isempty(hn)) {
H A Dmachine-id-setup.c123 if (isempty(root))
140 if (isempty(root)) {
206 if (isempty(root)) {
304 if (isempty(root))
H A Dsmack-setup.c105 if (isempty(truncate_nl(buf)))
115 if (write(isempty(acc2) ? load2_fd : change_fd, buf, strlen(buf)) < 0) {
119 buf, isempty(acc2) ? "/sys/fs/smackfs/load2" : "/sys/fs/smackfs/change-rule", entry->d_name);
182 if (isempty(truncate_nl(buf)))
H A Ddbus-scope.c125 if (!isempty(controller) && !service_name_is_valid(controller))
129 if (isempty(controller))
H A Dshow-status.c95 if (!isempty(status)) {
/systemd/src/login/
H A Dpam_systemd.c109 if (isempty(username)) {
294 if (isempty(seat))
298 if (isempty(cvtnr))
302 if (isempty(type))
304 if (isempty(type))
308 if (isempty(class))
310 if (isempty(class))
314 if (isempty(desktop))
325 if (isempty(display))
345 if (!isempty(cvtn
[all...]
H A Dsysfs-show.c65 if (isempty(sn))
98 if (isempty(lookahead_sn))
156 if (isempty(seat))
H A Dlogind-utmp.c89 isempty(m->wall_message) ? "" : "\n",
148 if (isempty(m->scheduled_shutdown_type)) {
/systemd/src/hostname/
H A Dhostnamectl.c80 if (!isempty(i->pretty_hostname) &&
84 if (!isempty(i->hostname) &&
88 if (!isempty(i->icon_name))
92 if (!isempty(i->chassis))
96 if (!isempty(i->deployment))
99 if (!isempty(i->location))
110 if (!isempty(i->virtualization))
113 if (!isempty(i->os_pretty_name))
116 if (!isempty(i->os_cpe_name))
119 if (!isempty(
[all...]
H A Dhostnamed.c253 if (!isempty(c->data[PROP_CHASSIS]))
265 return !isempty(hn) && !is_localhost(hn);
282 else if (!isempty(c->data[PROP_HOSTNAME]))
286 else if (!isempty(static_hn))
303 if (isempty(c->data[PROP_STATIC_HOSTNAME])) {
338 if (isempty(c->data[p])) {
378 if (isempty(c->data[PROP_ICON_NAME]))
401 if (isempty(c->data[PROP_CHASSIS]))
423 if (isempty(name))
426 if (isempty(nam
[all...]
/systemd/src/locale/
H A Dlocaled.c100 return isempty(s) ? NULL : s;
140 if (isempty(c->locale[p]) || streq_ptr(c->locale[LOCALE_LANG], c->locale[p]))
292 if (isempty(c->locale[p])) {
345 if (isempty(c->locale[p]))
389 if (isempty(c->vc_keymap))
407 if (isempty(c->vc_keymap_toggle))
440 if (isempty(c->x11_layout) &&
441 isempty(c->x11_model) &&
442 isempty(c->x11_variant) &&
443 isempty(
[all...]
/systemd/src/udev/
H A Dudev-builtin-usb_id.c438 if (!isempty(serial_str))
441 if (!isempty(instance_str))
452 if (!isempty(serial_str))
454 if (!isempty(type_str))
456 if (!isempty(instance_str))
459 if (!isempty(packed_if_str))
/systemd/src/import/
H A Dimport.c66 if (isempty(path) || streq(path, "-"))
73 if (isempty(local) || streq(local, "-"))
161 if (isempty(path) || streq(path, "-"))
168 if (isempty(local) || streq(local, "-"))
/systemd/src/libsystemd/sd-network/
H A Dsd-network.c49 if (isempty(s))
70 if (isempty(s)) {
119 if (isempty(s))
144 if (isempty(s)) {
/systemd/src/timesync/
H A Dtimesyncd-conf.c85 if (isempty(rvalue))
/systemd/src/resolve/
H A Dresolve-tool.c98 log_debug("Resolving %s (family %s, interface %s).", name, af_to_name(arg_family) ?: "*", isempty(ifname) ? "*" : ifname);
167 isempty(ifname) ? "" : "%", ifname);
221 log_debug("Resolving %s%s%s.", pretty, isempty(ifname) ? "" : "%", ifname);
278 isempty(ifname) ? 0 : 1, c > 0 || isempty(ifname) ? "" : "%",
345 log_debug("Resolving %s %s %s (interface %s).", name, dns_class_to_string(class), dns_type_to_string(type), isempty(ifname) ? "*" : ifname);
420 printf("%s%s%s\n", s, isempty(ifname) ? "" : " # interface ", ifname);
580 if (isempty(name))
582 if (isempty(type))
589 log_debug("Resolving service \"%s\" of type %s in %s (family %s, interface %s).", name, type, domain, af_to_name(arg_family) ?: "*", isempty(ifnam
[all...]
H A Dresolved-conf.c154 if (isempty(rvalue))
196 if (isempty(rvalue))
/systemd/src/firstboot/
H A Dfirstboot.c99 isempty(pretty_name) ? "Linux" : pretty_name);
167 if (isempty(p)) {
231 if (isempty(arg_locale))
268 if (!isempty(arg_locale))
270 if (!isempty(arg_locale_messages) && !streq(arg_locale_messages, arg_locale))
346 if (isempty(arg_timezone))
378 if (isempty(h)) {
409 if (isempty(arg_hostname))
469 if (isempty(a)) {
/systemd/src/libsystemd/sd-bus/
H A Dbus-convenience.c47 if (!isempty(types)) {
84 if (!isempty(types)) {
122 if (!isempty(types)) {
161 if (!isempty(types)) {
298 bus_assert_return(isempty(interface) || interface_name_is_valid(interface), -EINVAL, error);
339 bus_assert_return(isempty(interface) || interface_name_is_valid(interface), -EINVAL, error);
383 bus_assert_return(isempty(interface) || interface_name_is_valid(interface), -EINVAL, error);
431 bus_assert_return(isempty(interface) || interface_name_is_valid(interface), -EINVAL, error);
473 bus_assert_return(isempty(interface) || interface_name_is_valid(interface), -EINVAL, error);
/systemd/src/journal/
H A Dcat.c83 if (isempty(optarg))

Completed in 4714 milliseconds

12345