/systemd-251/src/network/ |
D | networkd-json.c | 42 r = json_build(&v, JSON_BUILD_OBJECT( in address_build_json() 89 …r = json_build(ret, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("Addresses", JSON_BUILD_VARIANT_ARRAY(elemen… in addresses_build_json() 109 r = json_build(&v, JSON_BUILD_OBJECT( in neighbor_build_json() 146 …r = json_build(ret, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("Neighbors", JSON_BUILD_VARIANT_ARRAY(elemen… in neighbors_build_json() 173 r = json_build(elements + n, JSON_BUILD_OBJECT( in nexthop_group_build_json() 214 r = json_build(&v, JSON_BUILD_OBJECT( in nexthop_build_json() 256 …r = json_build(ret, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("NextHops", JSON_BUILD_VARIANT_ARRAY(element… in nexthops_build_json() 297 r = json_build(&v, JSON_BUILD_OBJECT( in route_build_json() 354 …r = json_build(ret, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("Routes", JSON_BUILD_VARIANT_ARRAY(elements,… in routes_build_json() 383 r = json_build(&v, JSON_BUILD_OBJECT( in routing_policy_rule_build_json() [all …]
|
/systemd-251/src/test/ |
D | test-json.c | 269 assert_se(json_build(&a, JSON_BUILD_STRING("hallo")) >= 0); in TEST() 270 assert_se(json_build(&b, JSON_BUILD_LITERAL(" \"hallo\" ")) >= 0); in TEST() 275 assert_se(json_build(&b, JSON_BUILD_VARIANT(a)) >= 0); in TEST() 279 assert_se(json_build(&b, JSON_BUILD_STRING("pief")) >= 0); in TEST() 285 assert_se(json_build(&a, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("one", JSON_BUILD_INTEGER(7)), in TEST() 289 assert_se(json_build(&b, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("two", JSON_BUILD_INTEGER(2)), in TEST() 299 …assert_se(json_build(&a, JSON_BUILD_ARRAY(JSON_BUILD_OBJECT(JSON_BUILD_PAIR("x", JSON_BUILD_BOOLEA… in TEST() 318 assert_se(json_build(&a, JSON_BUILD_REAL(M_PI)) >= 0); in TEST() 332 assert_se(json_build(&a, JSON_BUILD_OBJECT( in TEST() 338 assert_se(json_build(&b, JSON_BUILD_OBJECT( in TEST() [all …]
|
D | test-varlink.c | 44 r = json_build(&ret, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("sum", JSON_BUILD_INTEGER(x + y)))); in method_something() 149 assert_se(json_build(&i, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("a", JSON_BUILD_INTEGER(88)), in thread() 225 assert_se(json_build(&v, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("a", JSON_BUILD_INTEGER(7)), in main()
|
D | test-format-table.c | 381 assert_se(json_build(&w, in TEST()
|
/systemd-251/src/core/ |
D | core-varlink.c | 29 return json_build(ret, JSON_BUILD_OBJECT( in build_user_json() 82 return json_build(ret_v, JSON_BUILD_OBJECT( in build_managed_oom_json_array_element() 116 r = json_build(&arr, JSON_BUILD_EMPTY_ARRAY); in manager_varlink_send_managed_oom_update() 132 r = json_build(&v, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("cgroups", JSON_BUILD_VARIANT(arr)))); in manager_varlink_send_managed_oom_update() 156 r = json_build(&arr, JSON_BUILD_EMPTY_ARRAY); in build_managed_oom_cgroups_json() 190 r = json_build(&v, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("cgroups", JSON_BUILD_VARIANT(arr)))); in build_managed_oom_cgroups_json() 336 return json_build(ret, JSON_BUILD_OBJECT( in build_group_json()
|
/systemd-251/src/shared/ |
D | elf-util.c | 355 … r = json_build(&w, JSON_BUILD_OBJECT(JSON_BUILD_PAIR(name, JSON_BUILD_VARIANT(v)))); in parse_package_metadata() 408 …r = json_build(&id_json, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("buildId", JSON_BUILD_HEX(id, id_len)))… in parse_buildid() 631 …r = json_build(&package_metadata, JSON_BUILD_OBJECT(JSON_BUILD_PAIR(e, JSON_BUILD_VARIANT(id_json)… in parse_elf() 644 …r = json_build(&elf_metadata, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("elfType", JSON_BUILD_STRING(elf_t… in parse_elf() 653 r = json_build(&json_architecture, in parse_elf()
|
D | userdb.c | 628 r = json_build(&query, JSON_BUILD_OBJECT( in userdb_by_name() 681 r = json_build(&query, JSON_BUILD_OBJECT( in userdb_by_uid() 901 r = json_build(&query, JSON_BUILD_OBJECT( in groupdb_by_name() 952 r = json_build(&query, JSON_BUILD_OBJECT( in groupdb_by_gid() 1160 r = json_build(&query, JSON_BUILD_OBJECT( in membershipdb_by_user() 1206 r = json_build(&query, JSON_BUILD_OBJECT( in membershipdb_by_group()
|
D | varlink.c | 1304 r = json_build(&m, JSON_BUILD_OBJECT( in varlink_send() 1355 r = json_build(&m, JSON_BUILD_OBJECT( in varlink_invoke() 1408 r = json_build(&m, JSON_BUILD_OBJECT( in varlink_observe() 1468 r = json_build(&m, JSON_BUILD_OBJECT( in varlink_call() 1568 …r = json_build(&m, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("parameters", JSON_BUILD_VARIANT(parameters))… in varlink_reply() 1625 r = json_build(&m, JSON_BUILD_OBJECT( in varlink_error() 1679 r = json_build(¶meters_obj, in varlink_error_invalid_parameter() 1692 r = json_build(¶meters_obj, in varlink_error_invalid_parameter() 1726 r = json_build(&m, JSON_BUILD_OBJECT( in varlink_notify()
|
D | user-record-nss.c | 141 r = json_build(&hr->json, JSON_BUILD_OBJECT( in nss_passwd_to_user_record() 367 r = json_build(&g->json, JSON_BUILD_OBJECT( in nss_group_to_group_record()
|
D | json.h | 328 int json_build(JsonVariant **ret, ...);
|
/systemd-251/src/home/ |
D | homed-varlink.c | 55 return json_build(ret, JSON_BUILD_OBJECT( in build_user_json() 171 return json_build(ret, in build_group_json()
|
D | homed-bus.c | 23 r = json_build(&full, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("secret", JSON_BUILD_VARIANT(v)))); in bus_message_read_secret()
|
D | homectl-recovery-key.c | 21 r = json_build(&e, JSON_BUILD_OBJECT( in add_privileged()
|
D | user-record-sign.c | 79 r = json_build(&encoded, JSON_BUILD_ARRAY( in user_record_sign()
|
D | homectl-fido2.c | 88 r = json_build(&e, JSON_BUILD_OBJECT( in add_fido2_salt()
|
D | homectl-pkcs11.c | 41 r = json_build(&e, JSON_BUILD_OBJECT( in add_pkcs11_encrypted_key()
|
D | user-record-util.c | 82 r = json_build(&h->json, in user_record_synthesize() 142 r = json_build(&g->json, in group_record_synthesize() 332 r = json_build(&new_binding_entry, in user_record_add_binding()
|
/systemd-251/src/cryptenroll/ |
D | cryptenroll-recovery.c | 77 r = json_build(&v, in enroll_recovery()
|
D | cryptenroll-fido2.c | 77 r = json_build(&v, in enroll_fido2()
|
D | cryptenroll-pkcs11.c | 84 r = json_build(&v, in enroll_pkcs11()
|
/systemd-251/src/nss-resolve/ |
D | nss-resolve.c | 252 r = json_build(&cparams, JSON_BUILD_OBJECT( in _nss_resolve_gethostbyname4_r() 413 r = json_build(&cparams, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("name", JSON_BUILD_STRING(name)), in _nss_resolve_gethostbyname3_r() 625 …r = json_build(&cparams, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("address", JSON_BUILD_BYTE_ARRAY(addr, … in _nss_resolve_gethostbyaddr2_r()
|
/systemd-251/src/machine/ |
D | machined-varlink.c | 24 return json_build(ret, JSON_BUILD_OBJECT( in build_user_json() 196 return json_build(ret, JSON_BUILD_OBJECT( in build_group_json()
|
/systemd-251/src/userdb/ |
D | userwork.c | 110 return json_build(ret, JSON_BUILD_OBJECT( in build_user_json() 262 return json_build(ret, JSON_BUILD_OBJECT( in build_group_json()
|
/systemd-251/src/resolve/ |
D | resolved-varlink.c | 199 r = json_build(&entry, in vl_method_resolve_hostname_complete() 427 r = json_build(&entry, in vl_method_resolve_address_complete()
|
/systemd-251/src/busctl/ |
D | busctl.c | 1181 r = json_build(&w, JSON_BUILD_OBJECT( in message_json() 1693 r = json_build(ret, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("type", JSON_BUILD_STRING(contents)), in json_transform_variant() 1978 r = json_build(ret, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("type", JSON_BUILD_STRING(type)), in json_transform_message()
|