Home
last modified time | relevance | path

Searched refs:JSON_VARIANT_INTEGER (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/shared/
Djson.c249 case JSON_VARIANT_INTEGER: in json_variant_formalize()
319 r = json_variant_new(&v, JSON_VARIANT_INTEGER, sizeof(i)); in json_variant_new_integer()
471 case JSON_VARIANT_INTEGER: in json_variant_set()
751 case JSON_VARIANT_INTEGER: in json_variant_size()
902 case JSON_VARIANT_INTEGER: in json_variant_integer()
949 case JSON_VARIANT_INTEGER: in json_variant_unsigned()
999 case JSON_VARIANT_INTEGER: { in json_variant_real()
1049 case JSON_VARIANT_INTEGER: in json_variant_is_negative()
1092 return JSON_VARIANT_INTEGER; in json_variant_type()
1133 … IN_SET(type, JSON_VARIANT_INTEGER, JSON_VARIANT_UNSIGNED, JSON_VARIANT_REAL, JSON_VARIANT_NUMBER)) in json_variant_has_type()
[all …]
Djson.h51 JSON_VARIANT_INTEGER, enumerator
109 return json_variant_has_type(v, JSON_VARIANT_INTEGER); in json_variant_is_integer()
/systemd-251/src/test/
Dtest-json.c168 …assert_se(q && json_variant_has_type(q, JSON_VARIANT_INTEGER) && json_variant_integer(q) == (i+1)); in test_1()
195 … assert_se(q && json_variant_has_type(q, JSON_VARIANT_INTEGER) && json_variant_integer(q) == 1); in test_2()
216 … assert_se(q && json_variant_has_type(q, JSON_VARIANT_INTEGER) && json_variant_integer(q) == 1); in test_2()
253 …assert_se(IN_SET(json_variant_type(w), JSON_VARIANT_INTEGER, JSON_VARIANT_UNSIGNED, JSON_VARIANT_R… in test_zeroes()
/systemd-251/src/nss-resolve/
Dnss-resolve.c195 …{ "ifindex", JSON_VARIANT_INTEGER, json_dispatch_ifindex, offsetof(AddressParameters, ifindex), 0…
196 …{ "family", JSON_VARIANT_INTEGER, json_dispatch_family, offsetof(AddressParameters, family), J…
581 …{ "ifindex", JSON_VARIANT_INTEGER, json_dispatch_ifindex, offsetof(NameParameters, ifindex), 0 …
/systemd-251/src/nspawn/
Dnspawn-oci.c437 …{ "oomScoreAdj", JSON_VARIANT_INTEGER, oci_oom_score_adj, 0, … in oci_process()
1428 …{ "leafWeight", JSON_VARIANT_INTEGER, oci_unsupported, 0, … in oci_cgroup_block_io_weight_device()