Lines Matching defs:NULL
66 _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,
279 NULL,
280 NULL);
358 return sd_bus_reply_method_return(m, NULL);
364 NULL,
389 clock_set_timezone(NULL);
405 NULL);
407 (void) sd_bus_emit_properties_changed(sd_bus_message_get_bus(m), "/org/freedesktop/timedate1", "org.freedesktop.timedate1", "Timezone", NULL);
409 return sd_bus_reply_method_return(m, NULL);
426 return sd_bus_reply_method_return(m, NULL);
432 NULL,
452 clock_set_timezone(NULL);
497 (void) sd_bus_emit_properties_changed(sd_bus_message_get_bus(m), "/org/freedesktop/timedate1", "org.freedesktop.timedate1", "LocalRTC", NULL);
499 return sd_bus_reply_method_return(m, NULL);
528 return sd_bus_reply_method_return(m, NULL);
548 NULL,
583 NULL);
585 return sd_bus_reply_method_return(m, NULL);
601 return sd_bus_reply_method_return(m, NULL);
607 NULL,
628 (void) sd_bus_emit_properties_changed(sd_bus_message_get_bus(m), "/org/freedesktop/timedate1", "org.freedesktop.timedate1", "NTP", NULL);
630 return sd_bus_reply_method_return(m, NULL);
635 SD_BUS_PROPERTY("Timezone", "s", NULL, offsetof(Context, zone), SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE),
642 SD_BUS_METHOD("SetTime", "xbb", NULL, method_set_time, SD_BUS_VTABLE_UNPRIVILEGED),
643 SD_BUS_METHOD("SetTimezone", "sb", NULL, method_set_timezone, SD_BUS_VTABLE_UNPRIVILEGED),
644 SD_BUS_METHOD("SetLocalRTC", "bbb", NULL, method_set_local_rtc, SD_BUS_VTABLE_UNPRIVILEGED),
645 SD_BUS_METHOD("SetNTP", "bb", NULL, method_set_ntp, SD_BUS_VTABLE_UNPRIVILEGED),
650 _cleanup_(sd_bus_flush_close_unrefp) sd_bus *bus = NULL;
661 r = sd_bus_add_object_vtable(bus, NULL, "/org/freedesktop/timedate1", "org.freedesktop.timedate1", timedate_vtable, c);
674 bus = NULL;
681 _cleanup_(sd_event_unrefp) sd_event *event = NULL;
682 _cleanup_(sd_bus_flush_close_unrefp) sd_bus *bus = NULL;
723 r = bus_event_loop_with_idle(event, bus, "org.freedesktop.timedate1", DEFAULT_EXIT_USEC, NULL, NULL);