Searched defs:NULL (Results 1 - 5 of 5) sorted by relevance

/systemd/src/libsystemd/sd-bus/
H A Dtest-bus-marshal.c44 _cleanup_free_ char *a = NULL, *b = NULL, *c = NULL, *d = NULL, *e = NULL;
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"));
54 _cleanup_free_ char *a = NULL, *b = NULL, *c = NULL, *d = NULL, *
57 assert_se(sd_bus_path_decode(a, "/waldo", &b) == 0 && b == NULL); local
[all...]
H A Dtest-bus-objects.c46 char *n = NULL;
52 n = strjoin("<<<", s, ">>>", NULL);
116 _cleanup_free_ char *s = NULL;
134 assert_se(sd_bus_emit_properties_changed(sd_bus_message_get_bus(m), m->path, "org.freedesktop.systemd.ValueTest", "Value", NULL) >= 0); local
136 r = sd_bus_reply_method_return(m, NULL);
145 assert_se(sd_bus_emit_properties_changed_strv(sd_bus_message_get_bus(m), m->path, "org.freedesktop.systemd.ValueTest", NULL) >= 0); local
147 r = sd_bus_reply_method_return(m, NULL);
156 assert_se(sd_bus_emit_interfaces_added(sd_bus_message_get_bus(m), "/value/a/x", "org.freedesktop.systemd.ValueTest", NULL) >= 0);
158 r = sd_bus_reply_method_return(m, NULL);
167 assert_se(sd_bus_emit_interfaces_removed(sd_bus_message_get_bus(m), "/value/a/x", "org.freedesktop.systemd.ValueTest", NULL) >
[all...]
/systemd/src/timedate/
H A Dtimedated.c66 _cleanup_free_ char *t = NULL;
79 t = NULL;
87 _cleanup_free_ char *p = NULL;
112 _cleanup_free_ char *s = NULL, *w = NULL;
116 r = read_full_file("/etc/adjtime", &s, NULL);
168 _cleanup_(sd_bus_message_unrefp) sd_bus_message *reply = NULL;
218 NULL,
248 NULL,
260 NULL,
407 (void) sd_bus_emit_properties_changed(sd_bus_message_get_bus(m), "/org/freedesktop/timedate1", "org.freedesktop.timedate1", "Timezone", NULL); local
497 (void) sd_bus_emit_properties_changed(sd_bus_message_get_bus(m), "/org/freedesktop/timedate1", "org.freedesktop.timedate1", "LocalRTC", NULL); local
628 (void) sd_bus_emit_properties_changed(sd_bus_message_get_bus(m), "/org/freedesktop/timedate1", "org.freedesktop.timedate1", "NTP", NULL); local
[all...]
/systemd/src/hostname/
H A Dhostnamed.c108 NULL);
115 NULL);
120 NULL);
202 return NULL;
207 return NULL;
245 return NULL;
323 _cleanup_strv_free_ char **l = NULL;
328 r = load_env_file(NULL, "/etc/machine-info", NULL, &l);
333 _cleanup_free_ char *t = NULL;
464 (void) sd_bus_emit_properties_changed(sd_bus_message_get_bus(m), "/org/freedesktop/hostname1", "org.freedesktop.hostname1", "Hostname", NULL); local
532 (void) sd_bus_emit_properties_changed(sd_bus_message_get_bus(m), "/org/freedesktop/hostname1", "org.freedesktop.hostname1", "StaticHostname", NULL); local
[all...]
/systemd/src/locale/
H A Dlocaled.c100 return isempty(s) ? NULL : s;
164 NULL);
194 NULL);
224 _cleanup_strv_free_ char **a = NULL;
231 char **p = NULL;
245 a[2] = NULL;
250 _cleanup_strv_free_ char **a = NULL;
278 _cleanup_strv_free_ char **l = NULL;
282 r = load_env_file(NULL, "/etc/locale.conf", NULL,
1022 "Locale", NULL); local
1091 "VConsoleKeymap", "VConsoleKeymapToggle", NULL); local
1231 "X11Layout", "X11Model", "X11Variant", "X11Options", NULL); local
[all...]

Completed in 16 milliseconds