/systemd/src/basic/ |
H A D | string-table.c | 30 if (streq_ptr(table[i], key))
|
H A D | string-table.h | 99 if (streq_ptr(name##_table[i], s)) \
|
/systemd/src/journal/ |
H A D | test-journal-syslog.c | 34 assert_se(ident == ident2 || streq_ptr(ident, ident2)); 35 assert_se(pid == pid2 || streq_ptr(pid, pid2));
|
/systemd/src/test/ |
H A D | test-user-util.c | 30 assert_se(streq_ptr(t, name)); 37 assert_se(streq_ptr(t, name));
|
H A D | test-strv.c | 229 assert_se(streq_ptr(l[0], "")); 230 assert_se(streq_ptr(l[1], "foo:bar")); 231 assert_se(streq_ptr(l[2], "")); 232 assert_se(streq_ptr(l[3], "waldo")); 233 assert_se(streq_ptr(l[4], "")); 234 assert_se(streq_ptr(l[5], NULL)); 412 assert_se(streq_ptr(*check, input_table_multiple[i--])); 437 assert_se(streq_ptr(l[i], j[i])); 482 assert_se(streq_ptr(a[0], "foo")); 483 assert_se(streq_ptr( [all...] |
H A D | test-fstab-util.c | 47 assert_se(streq_ptr(name, name_expected)); 48 assert_se(streq_ptr(value, value_expected)); 49 assert_se(streq_ptr(filtered, filtered_expected ?: opts)); 57 assert_se(streq_ptr(name, name_expected));
|
H A D | test-conf-files.c | 76 assert_se(streq_ptr(found_files[0], expect_a)); 77 assert_se(streq_ptr(found_files[1], expect_b));
|
H A D | test-fileio.c | 84 assert_se(streq_ptr(a[0], "one=BAR")); 85 assert_se(streq_ptr(a[1], "two=bar")); 86 assert_se(streq_ptr(a[2], "three=333\nxxxx")); 87 assert_se(streq_ptr(a[3], "four=44\"44")); 88 assert_se(streq_ptr(a[4], "five=55\'55FIVEcinco")); 89 assert_se(streq_ptr(a[5], "six=seis sechs sis")); 90 assert_se(streq_ptr(a[6], "seven=sevenval#nocomment")); 91 assert_se(streq_ptr(a[7], "eight=eightval #nocomment")); 92 assert_se(streq_ptr(a[8], "export nine=nineval")); 93 assert_se(streq_ptr( [all...] |
H A D | test-cgroup-util.c | 39 assert_se(streq_ptr(unit, result)); 61 assert_se(streq_ptr(unit, result)); 85 assert_se(streq_ptr(unit, result)); 108 assert_se(streq_ptr(s, result)); 135 assert_se(streq_ptr(s, result)); 152 assert_se(streq_ptr(s, result)); 266 assert_se(streq_ptr(ret, path));
|
H A D | test-xml.c | 49 assert_se(streq_ptr(nn, name));
|
H A D | test-dns-domain.c | 163 assert_se(streq_ptr(expect, t)); 183 assert_se(streq_ptr(expect, t)); 337 assert_se(streq_ptr(p, result)); 430 assert_se(streq_ptr(t, d)); 436 assert_se(streq_ptr(a, x)); 437 assert_se(streq_ptr(b, y)); 460 assert_se(streq_ptr(x, a)); 461 assert_se(streq_ptr(y, b)); 462 assert_se(streq_ptr(z, c)); 488 assert_se(streq_ptr( [all...] |
H A D | test-unit-name.c | 72 assert_se(streq_ptr(t, expected)); 92 assert_se(streq_ptr(t, expected)); 119 assert_se(streq_ptr(t, expected)); 147 assert_se(streq_ptr(path, p)); 166 assert_se(streq_ptr(t, expect)); 175 assert_se(streq_ptr(t, k)); 375 assert_se(streq_ptr(s, expect)); 434 assert_se(streq_ptr(f, expected)); 446 assert_se(streq_ptr(path, p));
|
H A D | test-extract-word.c | 491 assert_se(streq_ptr(a, "foobar")); 492 assert_se(streq_ptr(b, "waldi")); 493 assert_se(streq_ptr(c, "piep")); 501 assert_se(streq_ptr(a, "'foobar'")); 502 assert_se(streq_ptr(b, "wa\"ld\"i")); 503 assert_se(streq_ptr(c, NULL)); 510 assert_se(streq_ptr(a, "foobar")); 511 assert_se(streq_ptr(b, "waldi")); 512 assert_se(streq_ptr(c, NULL)); 519 assert_se(streq_ptr( [all...] |
H A D | test-util.c | 60 assert_se(streq_ptr(NULL, NULL)); 61 assert_se(!streq_ptr("abc", "cdef")); 625 assert_se(streq_ptr(unescaped, "abc\\\"\b\f\a\n\r\t\v\003\177\234\313\\000\\x00")); 631 assert_se(streq_ptr(unescaped, "\\x0")); 636 assert_se(streq_ptr(unescaped, "\\x")); 641 assert_se(streq_ptr(unescaped, "\\")); 646 assert_se(streq_ptr(unescaped, "\\11")); 651 assert_se(streq_ptr(unescaped, "\\1")); 656 assert_se(streq_ptr(unescaped, "ßßΠA")); 660 assert_se(streq_ptr(unescape [all...] |
H A D | test-rlimit-util.c | 71 assert_se(streq_ptr(rlimit_to_string(RLIMIT_NOFILE), "LimitNOFILE"));
|
/systemd/src/libsystemd/sd-bus/ |
H A D | busctl-introspect.c | 98 if (streq_ptr(name, "name")) 101 else if (streq_ptr(name, "value")) 110 (t == XML_TAG_CLOSE && streq_ptr(name, "annotation"))) { 113 if (streq_ptr(field, "org.freedesktop.DBus.Deprecated")) { 115 if (streq_ptr(value, "true")) 118 } else if (streq_ptr(field, "org.freedesktop.DBus.Method.NoReply")) { 120 if (streq_ptr(value, "true")) 123 } else if (streq_ptr(field, "org.freedesktop.DBus.Property.EmitsChangedSignal")) { 125 if (streq_ptr(value, "const")) 127 else if (streq_ptr(valu [all...] |
H A D | test-bus-marshal.c | 46 assert_se(bus_path_encode_unique(NULL, "/foo/bar", "some.sender", "a.suffix", &a) >= 0 && streq_ptr(a, "/foo/bar/some_2esender/a_2esuffix")); 47 assert_se(bus_path_decode_unique(a, "/foo/bar", &b, &c) > 0 && streq_ptr(b, "some.sender") && streq_ptr(c, "a.suffix")); 50 assert_se(bus_path_decode_unique("/foo/bar/_/_", "/foo/bar", &d, &e) > 0 && streq_ptr(d, "") && streq_ptr(e, "")); 76 assert_se(sd_bus_path_decode_many("/prefix/foobar/suffix", "/prefix/%/suffix", &a) == 1 && streq_ptr(a, "foobar")); 77 assert_se(sd_bus_path_decode_many("/prefix/one_foo_two/mid/three_bar_four/suffix", "/prefix/one_%_two/mid/three_%_four/suffix", &b, &c) == 1 && streq_ptr(b, "foo") && streq_ptr(c, "bar")); 78 assert_se(sd_bus_path_decode_many("/prefix/one_foo_two/mid/three_bar_four/suffix", "/prefix/one_%_two/mid/three_%_four/suffix", NULL, &d) == 1 && streq_ptr(d, "bar")); 87 assert_se(sd_bus_path_decode_many("/foo/bar/suffix", "/foo/%/suffix", &e) == 1 && streq_ptr( [all...] |
H A D | test-bus-proxy.c | 46 if (!streq_ptr(match->sender, name))
|
H A D | bus-match.c | 155 if (streq_ptr(node->value.str, value_str)) 166 if (streq_ptr(node->value.str, *i)) 189 return streq_ptr(node->value.str, value_str); 197 if (streq_ptr(node->value.str, *i)) 1202 if (streq_ptr(c->value_str, "org.freedesktop.DBus.Local")) 1205 if (streq_ptr(c->value_str, "org.freedesktop.DBus")) 1209 if (c->type == BUS_MATCH_INTERFACE && streq_ptr(c->value_str, "org.freedesktop.DBus.Local")) 1212 if (c->type == BUS_MATCH_PATH && streq_ptr(c->value_str, "/org/freedesktop/DBus/Local"))
|
/systemd/src/backlight/ |
H A D | backlight.c | 95 if (!streq_ptr(udev_device_get_subsystem(a), udev_device_get_subsystem(b))) 98 if (!streq_ptr(udev_device_get_sysname(a), udev_device_get_sysname(b))) 129 if (!streq_ptr(subsystem, "backlight")) 133 if (!streq_ptr(v, "raw")) 170 if (!streq_ptr(v, "platform") && !streq_ptr(v, "firmware")) 191 if (streq_ptr(other_subsystem, "platform") && streq_ptr(subsystem, "pci")) { 247 if (streq_ptr(subsystem, "backlight"))
|
/systemd/src/locale/ |
H A D | localed.c | 140 if (isempty(c->locale[p]) || streq_ptr(c->locale[LOCALE_LANG], c->locale[p])) 603 if (!streq_ptr(c->x11_layout, strnulldash(a[1])) || 604 !streq_ptr(c->x11_model, strnulldash(a[2])) || 605 !streq_ptr(c->x11_variant, strnulldash(a[3])) || 606 !streq_ptr(c->x11_options, strnulldash(a[4]))) { 699 if (streq_ptr(c->x11_layout, a[1])) 720 if (isempty(c->x11_model) || streq_ptr(c->x11_model, a[2])) { 723 if (streq_ptr(c->x11_variant, a[3])) { 726 if (streq_ptr(c->x11_options, a[4])) 823 if (!streq_ptr( [all...] |
/systemd/src/timesync/ |
H A D | timesyncd-conf.c | 50 if (streq_ptr(n->string, word)) {
|
/systemd/src/bus-proxyd/ |
H A D | synthesize.c | 173 !streq_ptr(m->path, "/org/freedesktop/DBus") || 174 !streq_ptr(m->sender, "org.freedesktop.DBus"))
|
/systemd/src/login/ |
H A D | logind-core.c | 194 if (streq_ptr(udev_device_get_action(d), "remove")) { 252 if (streq_ptr(udev_device_get_action(d), "remove")) { 491 if (!streq_ptr(udev_device_get_subsystem(p), "drm")) 525 if (!streq_ptr(enabled, "enabled")) 531 if (!streq_ptr(status, "disconnected"))
|
/systemd/src/core/ |
H A D | dbus.c | 92 if (streq_ptr(sd_bus_message_get_sender(message), me)) 245 if (streq_ptr(path, "/org/freedesktop/systemd1/unit/self")) { 304 if (streq_ptr(path, "/org/freedesktop/systemd1/unit/self")) { 362 if (!streq_ptr(interface, unit_dbus_interface_from_type(u->type))) 384 if (!streq_ptr(interface, unit_dbus_interface_from_type(u->type))) 410 if (!streq_ptr(interface, unit_dbus_interface_from_type(u->type))) 437 if (!streq_ptr(interface, unit_dbus_interface_from_type(u->type))) 464 if (!streq_ptr(interface, unit_dbus_interface_from_type(u->type))) 757 if (!streq_ptr(s->bus_name, name)) { 786 if (!streq_ptr(uniqu [all...] |