Lines Matching refs:Context
58 typedef struct Context { struct
67 } Context; argument
117 static void context_clear(Context *c) { in context_clear()
134 static int context_add_ntp_service(Context *c, const char *s, const char *source) { in context_add_ntp_service()
164 static int context_parse_ntp_services_from_environment(Context *c) { in context_parse_ntp_services_from_environment()
197 static int context_parse_ntp_services_from_disk(Context *c) { in context_parse_ntp_services_from_disk()
241 static int context_parse_ntp_services(Context *c) { in context_parse_ntp_services()
251 static int context_ntp_service_is_active(Context *c) { in context_ntp_service_is_active()
264 static int context_ntp_service_exists(Context *c) { in context_ntp_service_exists()
277 static int context_read_data(Context *c) { in context_read_data()
296 static int context_write_data_timezone(Context *c) { in context_write_data_timezone()
329 static int context_write_data_local_rtc(Context *c) { in context_write_data_local_rtc()
402 static int context_update_ntp_status(Context *c, sd_bus *bus, sd_bus_message *m) { in context_update_ntp_status()
450 Context *c = userdata; in match_job_removed()
611 Context *c = userdata; in property_get_can_ntp()
640 Context *c = userdata; in property_get_ntp()
661 Context *c = userdata; in method_set_timezone()
740 Context *c = userdata; in method_set_local_rtc()
829 Context *c = userdata; in method_set_time()
921 Context *c = userdata; in method_set_ntp()
1044 …SD_BUS_PROPERTY("Timezone", "s", NULL, offsetof(Context, zone), SD_BUS_VTABLE_PROPERTY_EMITS_CHANG…
1045 …SD_BUS_PROPERTY("LocalRTC", "b", bus_property_get_bool, offsetof(Context, local_rtc), SD_BUS_VTABL…
1087 static int connect_bus(Context *c, sd_event *event, sd_bus **_bus) { in connect_bus()
1121 _cleanup_(context_clear) Context context = {}; in run()