Searched refs:json_variant_integer (Results 1 – 10 of 10) sorted by relevance
/systemd-251/src/test/ |
D | test-varlink.c | 36 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()
|
D | test-json.c | 168 …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/ |
D | nss-resolve.c | 106 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/ |
D | json.c | 250 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 …]
|
D | json.h | 96 int64_t json_variant_integer(JsonVariant *v);
|
D | user-record.c | 267 m = json_variant_integer(variant); in json_dispatch_nice()
|
/systemd-251/src/resolve/ |
D | resolved-varlink.c | 371 b = json_variant_integer(i); in json_dispatch_address()
|
/systemd-251/src/network/ |
D | networkd-json.c | 1346 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()
|
D | networkctl.c | 137 index = json_variant_integer(json_variant_by_key(i, "Index")); in dump_link_description()
|
/systemd-251/src/nspawn/ |
D | nspawn-oci.c | 353 k = json_variant_integer(v); in oci_oom_score_adj()
|