Home
last modified time | relevance | path

Searched refs:JSON_VARIANT_OBJECT (Results 1 – 6 of 6) sorted by relevance

/systemd-251/src/nspawn/
Dnspawn-oci.c429 …{ "consoleSize", JSON_VARIANT_OBJECT, oci_console_size, 0, … in oci_process()
435 …{ "capabilities", JSON_VARIANT_OBJECT, oci_capabilities, 0, … in oci_process()
439 …{ "user", JSON_VARIANT_OBJECT, oci_user, 0, … in oci_process()
1580 { "memory", JSON_VARIANT_OBJECT, oci_cgroup_memory, 0, 0 }, in oci_resources()
1581 { "cpu", JSON_VARIANT_OBJECT, oci_cgroup_cpu, 0, 0 }, in oci_resources()
1582 { "blockIO", JSON_VARIANT_OBJECT, oci_cgroup_block_io, 0, 0 }, in oci_resources()
1584 { "network", JSON_VARIANT_OBJECT, oci_unsupported, 0, 0 }, in oci_resources()
1585 { "pids", JSON_VARIANT_OBJECT, oci_cgroup_pids, 0, 0 }, in oci_resources()
1586 { "rdma", JSON_VARIANT_OBJECT, oci_unsupported, 0, 0 }, in oci_resources()
2083 … { "resources", JSON_VARIANT_OBJECT, oci_resources, 0, 0 }, in oci_linux()
[all …]
/systemd-251/src/shared/
Dgroup-record.c203 …{ "privileged", JSON_VARIANT_OBJECT, dispatch_privileged, 0, … in group_record_load()
206 …{ "secret", JSON_VARIANT_OBJECT, json_dispatch_unsupported, 0, … in group_record_load()
210 …{ "binding", JSON_VARIANT_OBJECT, NULL, 0, … in group_record_load()
211 …{ "status", JSON_VARIANT_OBJECT, NULL, 0, … in group_record_load()
Djson.c266 case JSON_VARIANT_OBJECT: in json_variant_formalize()
503 case JSON_VARIANT_OBJECT: in json_variant_set()
688 .type = JSON_VARIANT_OBJECT, in json_variant_new_object()
758 case JSON_VARIANT_OBJECT: in json_variant_size()
789 if (IN_SET(v->type, JSON_VARIANT_ARRAY, JSON_VARIANT_OBJECT)) in json_variant_free_inner()
1107 return JSON_VARIANT_OBJECT; in json_variant_type()
1177 if (!IN_SET(v->type, JSON_VARIANT_ARRAY, JSON_VARIANT_OBJECT)) in json_variant_elements()
1197 if (!IN_SET(v->type, JSON_VARIANT_ARRAY, JSON_VARIANT_OBJECT)) in json_variant_by_index()
1220 if (v->type != JSON_VARIANT_OBJECT) in json_variant_by_key_full()
1339 case JSON_VARIANT_OBJECT: { in json_variant_equal()
[all …]
Djson.h57 JSON_VARIANT_OBJECT, enumerator
133 return json_variant_has_type(v, JSON_VARIANT_OBJECT); in json_variant_is_object()
Duser-record.c1580 …{ "secret", JSON_VARIANT_OBJECT, dispatch_secret, … in user_record_load()
1581 …{ "privileged", JSON_VARIANT_OBJECT, dispatch_privileged, … in user_record_load()
1585 …{ "binding", JSON_VARIANT_OBJECT, NULL, … in user_record_load()
1586 …{ "status", JSON_VARIANT_OBJECT, NULL, … in user_record_load()
/systemd-251/src/test/
Dtest-json.c173 … assert_se(p && json_variant_type(p) == JSON_VARIANT_OBJECT && json_variant_elements(p) == 2); in test_1()
207 … assert_se(q && json_variant_type(q) == JSON_VARIANT_OBJECT && json_variant_elements(q) == 2); in test_2()