Searched refs:variant (Results 1 - 3 of 3) sorted by relevance

/systemd/src/basic/
H A Djson.c44 static int json_variant_deep_copy(JsonVariant *ret, JsonVariant *variant) { argument
48 assert(variant);
50 ret->type = variant->type;
51 ret->size = variant->size;
53 if (variant->type == JSON_VARIANT_STRING) {
54 ret->string = memdup(variant->string, variant->size+1);
57 } else if (variant->type == JSON_VARIANT_ARRAY || variant->type == JSON_VARIANT_OBJECT) {
60 ret->objects = new0(JsonVariant, variant
77 json_variant_unref_inner(JsonVariant *variant) argument
89 json_raw_unref(JsonVariant *variant, size_t size) argument
100 json_object_unref(JsonVariant *variant) argument
115 json_variant_array_unref(JsonVariant **variant) argument
135 json_variant_unref(JsonVariant *variant) argument
149 json_variant_string(JsonVariant *variant) argument
156 json_variant_bool(JsonVariant *variant) argument
163 json_variant_integer(JsonVariant *variant) argument
170 json_variant_real(JsonVariant *variant) argument
177 json_variant_element(JsonVariant *variant, unsigned index) argument
186 json_variant_value(JsonVariant *variant, const char *key) argument
[all...]
/systemd/src/locale/
H A Dlocaled.c628 log_info("Changed X11 keyboard layout to '%s' model '%s' variant '%s' options '%s'",
1112 static int verify_xkb_rmlvo(const char *model, const char *layout, const char *variant, const char *options) { argument
1116 .variant = variant,
1147 static int verify_xkb_rmlvo(const char *model, const char *layout, const char *variant, const char *options) { argument
1154 const char *layout, *model, *variant, *options; local
1161 r = sd_bus_message_read(m, "ssssbb", &layout, &model, &variant, &options, &convert, &interactive);
1171 if (isempty(variant))
1172 variant = NULL;
1179 !streq_ptr(variant,
[all...]
H A Dlocalectl.c353 const char *layout, *model, *variant, *options; local
368 variant = n > 3 ? args[3] : "";
379 "ssssbb", layout, model, variant, options,
433 else if (startswith(l, "! variant"))

Completed in 2204 milliseconds