Home
last modified time | relevance | path

Searched refs:json_variant_integer (Results 1 – 10 of 10) sorted by relevance

/systemd-251/src/test/
Dtest-varlink.c36 x = json_variant_integer(a); in method_something()
42 y = json_variant_integer(b); in method_something()
64 assert_se(json_variant_integer(sum) == 7+22); in reply()
156 assert_se(json_variant_integer(json_variant_by_key(o, "sum")) == 88 + 99); in thread()
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()
239 assert_se(json_variant_integer(w) == 0); in test_zeroes()
524 json_variant_integer(json_variant_by_index(v, 6)) == 0); in test_float_match()
527 json_variant_integer(json_variant_by_index(v, 7)) == 10); in test_float_match()
530 json_variant_integer(json_variant_by_index(v, 8)) == -10); in test_float_match()
/systemd-251/src/nss-resolve/
Dnss-resolve.c106 t = json_variant_integer(variant); in json_dispatch_ifindex()
124 t = json_variant_integer(variant); in json_dispatch_family()
181 b = json_variant_integer(i); in json_dispatch_address()
/systemd-251/src/shared/
Djson.c250 return json_variant_integer(v) == 0 ? JSON_VARIANT_MAGIC_ZERO_INTEGER : v; in json_variant_formalize()
472 a->value.integer = json_variant_integer(b); in json_variant_set()
888 int64_t json_variant_integer(JsonVariant *v) { in json_variant_integer() function
898 return json_variant_integer(v->reference); in json_variant_integer()
945 return json_variant_integer(v->reference); in json_variant_unsigned()
1311 return json_variant_integer(a) == json_variant_integer(b); in json_variant_equal()
1570 fprintf(f, "%" PRIdMAX, json_variant_integer(v)); in json_format()
2156 value.integer = json_variant_integer(v); in json_variant_copy()
4350 *i = json_variant_integer(variant); in json_dispatch_int64()
4392 if (json_variant_integer(variant) < INT32_MIN || json_variant_integer(variant) > INT32_MAX) in json_dispatch_int32()
[all …]
Djson.h96 int64_t json_variant_integer(JsonVariant *v);
Duser-record.c267 m = json_variant_integer(variant); in json_dispatch_nice()
/systemd-251/src/resolve/
Dresolved-varlink.c371 b = json_variant_integer(i); in json_dispatch_address()
/systemd-251/src/network/
Dnetworkd-json.c1346 index_a = json_variant_integer(json_variant_by_key(*a, "Index")); in link_json_compare()
1347 index_b = json_variant_integer(json_variant_by_key(*b, "Index")); in link_json_compare()
Dnetworkctl.c137 index = json_variant_integer(json_variant_by_key(i, "Index")); in dump_link_description()
/systemd-251/src/nspawn/
Dnspawn-oci.c353 k = json_variant_integer(v); in oci_oom_score_adj()