Lines Matching refs:Context

85 typedef struct Context {
97 } Context;
109 static void context_free_x11(Context *c) {
116 static void context_free_vconsole(Context *c) {
121 static void context_free_locale(Context *c) {
128 static void context_free(Context *c) {
136 static void locale_simplify(Context *c) {
144 static int locale_read_data(Context *c) {
186 static int vconsole_read_data(Context *c) {
202 static int x11_read_data(Context *c) {
266 static int context_read_data(Context *c) {
276 static int locale_write_data(Context *c, char ***settings) {
324 static int locale_update_system_manager(Context *c, sd_bus *bus) {
381 static int vconsole_write_data(Context *c) {
435 static int x11_write_data(Context *c) {
568 static int vconsole_convert_to_x11(Context *c, sd_bus *bus) {
678 static int find_legacy_keymap(Context *c, char **new_keymap) {
798 static int x11_convert_to_vconsole(Context *c, sd_bus *bus) {
861 Context *c = userdata;
885 Context *c = userdata;
1031 Context *c = userdata;
1153 Context *c = userdata;
1246 SD_BUS_PROPERTY("X11Layout", "s", NULL, offsetof(Context, x11_layout), SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE),
1247 SD_BUS_PROPERTY("X11Model", "s", NULL, offsetof(Context, x11_model), SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE),
1248 SD_BUS_PROPERTY("X11Variant", "s", NULL, offsetof(Context, x11_variant), SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE),
1249 SD_BUS_PROPERTY("X11Options", "s", NULL, offsetof(Context, x11_options), SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE),
1250 SD_BUS_PROPERTY("VConsoleKeymap", "s", NULL, offsetof(Context, vc_keymap), SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE),
1251 SD_BUS_PROPERTY("VConsoleKeymapToggle", "s", NULL, offsetof(Context, vc_keymap_toggle), SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE),
1258 static int connect_bus(Context *c, sd_event *event, sd_bus **_bus) {
1289 _cleanup_(context_free) Context context = {};