Searched refs:streq_ptr (Results 1 - 25 of 92) sorted by relevance

1234

/systemd/src/basic/
H A Dstring-table.c30 if (streq_ptr(table[i], key))
H A Dstring-table.h99 if (streq_ptr(name##_table[i], s)) \
/systemd/src/journal/
H A Dtest-journal-syslog.c34 assert_se(ident == ident2 || streq_ptr(ident, ident2));
35 assert_se(pid == pid2 || streq_ptr(pid, pid2));
/systemd/src/test/
H A Dtest-user-util.c30 assert_se(streq_ptr(t, name));
37 assert_se(streq_ptr(t, name));
H A Dtest-strv.c229 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 Dtest-fstab-util.c47 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 Dtest-conf-files.c76 assert_se(streq_ptr(found_files[0], expect_a));
77 assert_se(streq_ptr(found_files[1], expect_b));
H A Dtest-fileio.c84 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 Dtest-cgroup-util.c39 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 Dtest-xml.c49 assert_se(streq_ptr(nn, name));
H A Dtest-dns-domain.c163 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 Dtest-unit-name.c72 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 Dtest-extract-word.c491 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 Dtest-util.c60 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 Dtest-rlimit-util.c71 assert_se(streq_ptr(rlimit_to_string(RLIMIT_NOFILE), "LimitNOFILE"));
/systemd/src/libsystemd/sd-bus/
H A Dbusctl-introspect.c98 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 Dtest-bus-marshal.c46 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 Dtest-bus-proxy.c46 if (!streq_ptr(match->sender, name))
H A Dbus-match.c155 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 Dbacklight.c95 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 Dlocaled.c140 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 Dtimesyncd-conf.c50 if (streq_ptr(n->string, word)) {
/systemd/src/bus-proxyd/
H A Dsynthesize.c173 !streq_ptr(m->path, "/org/freedesktop/DBus") ||
174 !streq_ptr(m->sender, "org.freedesktop.DBus"))
/systemd/src/login/
H A Dlogind-core.c194 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 Ddbus.c92 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...]

Completed in 1460 milliseconds

1234