/systemd-251/src/home/ |
D | homed-varlink.c | 56 … JSON_BUILD_PAIR("record", JSON_BUILD_VARIANT(augmented->json)), in build_user_json() 57 … JSON_BUILD_PAIR("incomplete", JSON_BUILD_BOOLEAN(augmented->incomplete)))); in build_user_json() 173 JSON_BUILD_PAIR("record", JSON_BUILD_VARIANT(g->json)))); in build_group_json() 294 …return varlink_replyb(link, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("userName", JSON_BUILD_STRING(h->use… in vl_method_get_memberships() 295 … JSON_BUILD_PAIR("groupName", JSON_BUILD_STRING(p.group_name)))); in vl_method_get_memberships() 300 …r = varlink_notifyb(link, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("userName", JSON_BUILD_STRING(h->user_… in vl_method_get_memberships() 301 … JSON_BUILD_PAIR("groupName", JSON_BUILD_STRING(last)))); in vl_method_get_memberships() 310 …return varlink_replyb(link, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("userName", JSON_BUILD_STRING(h->use… in vl_method_get_memberships() 311 … JSON_BUILD_PAIR("groupName", JSON_BUILD_STRING(last)))); in vl_method_get_memberships() 322 … r = varlink_notifyb(link, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("userName", JSON_BUILD_STRING(last)), in vl_method_get_memberships() [all …]
|
D | homectl-fido2.c | 89 … JSON_BUILD_PAIR("credential", JSON_BUILD_BASE64(cid, cid_size)), in add_fido2_salt() 90 … JSON_BUILD_PAIR("salt", JSON_BUILD_BASE64(fido2_salt, fido2_salt_size)), in add_fido2_salt() 91 JSON_BUILD_PAIR("hashedPassword", JSON_BUILD_STRING(hashed)), in add_fido2_salt() 92 … JSON_BUILD_PAIR("up", JSON_BUILD_BOOLEAN(FLAGS_SET(lock_with, FIDO2ENROLL_UP))), in add_fido2_salt() 93 … JSON_BUILD_PAIR("uv", JSON_BUILD_BOOLEAN(FLAGS_SET(lock_with, FIDO2ENROLL_UV))), in add_fido2_salt() 94 … JSON_BUILD_PAIR("clientPin", JSON_BUILD_BOOLEAN(FLAGS_SET(lock_with, FIDO2ENROLL_PIN))))); in add_fido2_salt()
|
D | user-record-util.c | 84 JSON_BUILD_PAIR("userName", JSON_BUILD_STRING(user_name)), in user_record_synthesize() 86 … JSON_BUILD_PAIR("disposition", JSON_BUILD_CONST_STRING("regular")), in user_record_synthesize() 87 JSON_BUILD_PAIR("binding", JSON_BUILD_OBJECT( in user_record_synthesize() 88 … JSON_BUILD_PAIR(SD_ID128_TO_STRING(mid), JSON_BUILD_OBJECT( in user_record_synthesize() 89 … JSON_BUILD_PAIR("imagePath", JSON_BUILD_STRING(image_path)), in user_record_synthesize() 90 … JSON_BUILD_PAIR("homeDirectory", JSON_BUILD_STRING(hd)), in user_record_synthesize() 91 … JSON_BUILD_PAIR("storage", JSON_BUILD_STRING(user_storage_to_string(storage))), in user_record_synthesize() 92 … JSON_BUILD_PAIR("uid", JSON_BUILD_UNSIGNED(uid)), in user_record_synthesize() 93 … JSON_BUILD_PAIR("gid", JSON_BUILD_UNSIGNED(gid)))))))); in user_record_synthesize() 144 JSON_BUILD_PAIR("groupName", JSON_BUILD_STRING(un)), in group_record_synthesize() [all …]
|
D | homectl-pkcs11.c | 42 JSON_BUILD_PAIR("uri", JSON_BUILD_STRING(uri)), in add_pkcs11_encrypted_key() 43 … JSON_BUILD_PAIR("data", JSON_BUILD_BASE64(encrypted_key, encrypted_key_size)), in add_pkcs11_encrypted_key() 44 … JSON_BUILD_PAIR("hashedPassword", JSON_BUILD_STRING(hashed)))); in add_pkcs11_encrypted_key()
|
D | homectl-recovery-key.c | 22 JSON_BUILD_PAIR("type", JSON_BUILD_CONST_STRING("modhex64")), in add_privileged() 23 … JSON_BUILD_PAIR("hashedPassword", JSON_BUILD_STRING(hashed)))); in add_privileged()
|
D | user-record-sign.c | 80 … JSON_BUILD_OBJECT(JSON_BUILD_PAIR("data", JSON_BUILD_BASE64(signature, signature_size)), in user_record_sign() 81 … JSON_BUILD_PAIR("key", JSON_BUILD_STRING(key))))); in user_record_sign()
|
/systemd-251/src/shared/ |
D | json.h | 275 #define JSON_BUILD_PAIR(n, ...) _JSON_BUILD_PAIR, (const char*) { n }, __VA_ARGS__ macro 293 #define JSON_BUILD_PAIR_STRING(name, s) JSON_BUILD_PAIR(name, JSON_BUILD_STRING(s)) 294 #define JSON_BUILD_PAIR_INTEGER(name, i) JSON_BUILD_PAIR(name, JSON_BUILD_INTEGER(i)) 295 #define JSON_BUILD_PAIR_UNSIGNED(name, u) JSON_BUILD_PAIR(name, JSON_BUILD_UNSIGNED(u)) 296 #define JSON_BUILD_PAIR_REAL(name, d) JSON_BUILD_PAIR(name, JSON_BUILD_REAL(d)) 297 #define JSON_BUILD_PAIR_BOOLEAN(name, b) JSON_BUILD_PAIR(name, JSON_BUILD_BOOLEAN(b)) 298 #define JSON_BUILD_PAIR_ARRAY(name, ...) JSON_BUILD_PAIR(name, JSON_BUILD_ARRAY(__VA_ARGS__)) 299 #define JSON_BUILD_PAIR_EMPTY_ARRAY(name) JSON_BUILD_PAIR(name, JSON_BUILD_EMPTY_ARRAY) 300 #define JSON_BUILD_PAIR_OBJECT(name, ...) JSON_BUILD_PAIR(name, JSON_BUILD_OBJECT(__VA_ARGS__)) 301 #define JSON_BUILD_PAIR_EMPTY_OBJECT(name) JSON_BUILD_PAIR(name, JSON_BUILD_EMPTY_OBJECT) [all …]
|
D | userdb.c | 602 … JSON_BUILD_OBJECT(JSON_BUILD_PAIR("userName", JSON_BUILD_CONST_STRING("root")), in synthetic_root_user_build() 603 JSON_BUILD_PAIR("uid", JSON_BUILD_UNSIGNED(0)), in synthetic_root_user_build() 604 JSON_BUILD_PAIR("gid", JSON_BUILD_UNSIGNED(0)), in synthetic_root_user_build() 605 … JSON_BUILD_PAIR("homeDirectory", JSON_BUILD_CONST_STRING("/root")), in synthetic_root_user_build() 606 … JSON_BUILD_PAIR("disposition", JSON_BUILD_CONST_STRING("intrinsic")))); in synthetic_root_user_build() 612 … JSON_BUILD_OBJECT(JSON_BUILD_PAIR("userName", JSON_BUILD_CONST_STRING(NOBODY_USER_NAME)), in synthetic_nobody_user_build() 613 JSON_BUILD_PAIR("uid", JSON_BUILD_UNSIGNED(UID_NOBODY)), in synthetic_nobody_user_build() 614 JSON_BUILD_PAIR("gid", JSON_BUILD_UNSIGNED(GID_NOBODY)), in synthetic_nobody_user_build() 615 … JSON_BUILD_PAIR("shell", JSON_BUILD_CONST_STRING(NOLOGIN)), in synthetic_nobody_user_build() 616 JSON_BUILD_PAIR("locked", JSON_BUILD_BOOLEAN(true)), in synthetic_nobody_user_build() [all …]
|
D | user-record-nss.c | 142 … JSON_BUILD_PAIR("userName", JSON_BUILD_STRING(hr->user_name)), in nss_passwd_to_user_record() 143 JSON_BUILD_PAIR("uid", JSON_BUILD_UNSIGNED(hr->uid)), in nss_passwd_to_user_record() 144 JSON_BUILD_PAIR("gid", JSON_BUILD_UNSIGNED(hr->gid)), in nss_passwd_to_user_record() 148 …(!strv_isempty(hr->hashed_password), "privileged", JSON_BUILD_OBJECT(JSON_BUILD_PAIR("hashedPasswo… in nss_passwd_to_user_record() 368 … JSON_BUILD_PAIR("groupName", JSON_BUILD_STRING(g->group_name)), in nss_group_to_group_record() 369 JSON_BUILD_PAIR("gid", JSON_BUILD_UNSIGNED(g->gid)), in nss_group_to_group_record() 371 …N(!strv_isempty(g->hashed_password), "privileged", JSON_BUILD_OBJECT(JSON_BUILD_PAIR("hashedPasswo… in nss_group_to_group_record()
|
D | varlink.c | 886 …r = varlink_errorb(v, error, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("method", JSON_BUILD_STRING(method)… in varlink_dispatch_method() 1305 JSON_BUILD_PAIR("method", JSON_BUILD_STRING(method)), in varlink_send() 1306 … JSON_BUILD_PAIR("parameters", JSON_BUILD_VARIANT(parameters)), in varlink_send() 1307 JSON_BUILD_PAIR("oneway", JSON_BUILD_BOOLEAN(true)))); in varlink_send() 1356 JSON_BUILD_PAIR("method", JSON_BUILD_STRING(method)), in varlink_invoke() 1357 … JSON_BUILD_PAIR("parameters", JSON_BUILD_VARIANT(parameters)))); in varlink_invoke() 1409 JSON_BUILD_PAIR("method", JSON_BUILD_STRING(method)), in varlink_observe() 1410 … JSON_BUILD_PAIR("parameters", JSON_BUILD_VARIANT(parameters)), in varlink_observe() 1411 JSON_BUILD_PAIR("more", JSON_BUILD_BOOLEAN(true)))); in varlink_observe() 1469 JSON_BUILD_PAIR("method", JSON_BUILD_STRING(method)), in varlink_call() [all …]
|
/systemd-251/src/core/ |
D | core-varlink.c | 30 JSON_BUILD_PAIR("record", JSON_BUILD_OBJECT( in build_user_json() 31 JSON_BUILD_PAIR("userName", JSON_BUILD_STRING(user_name)), in build_user_json() 32 JSON_BUILD_PAIR("uid", JSON_BUILD_UNSIGNED(uid)), in build_user_json() 33 JSON_BUILD_PAIR("gid", JSON_BUILD_UNSIGNED(uid)), in build_user_json() 34 … JSON_BUILD_PAIR("realName", JSON_BUILD_CONST_STRING("Dynamic User")), in build_user_json() 35 … JSON_BUILD_PAIR("homeDirectory", JSON_BUILD_CONST_STRING("/")), in build_user_json() 36 JSON_BUILD_PAIR("shell", JSON_BUILD_CONST_STRING(NOLOGIN)), in build_user_json() 37 JSON_BUILD_PAIR("locked", JSON_BUILD_BOOLEAN(true)), in build_user_json() 38 … JSON_BUILD_PAIR("service", JSON_BUILD_CONST_STRING("io.systemd.DynamicUser")), in build_user_json() 39 … JSON_BUILD_PAIR("disposition", JSON_BUILD_CONST_STRING("dynamic")))))); in build_user_json() [all …]
|
/systemd-251/src/cryptenroll/ |
D | cryptenroll-fido2.c | 79 … JSON_BUILD_PAIR("type", JSON_BUILD_CONST_STRING("systemd-fido2")), in enroll_fido2() 80 … JSON_BUILD_PAIR("keyslots", JSON_BUILD_ARRAY(JSON_BUILD_STRING(keyslot_as_string))), in enroll_fido2() 81 … JSON_BUILD_PAIR("fido2-credential", JSON_BUILD_BASE64(cid, cid_size)), in enroll_fido2() 82 … JSON_BUILD_PAIR("fido2-salt", JSON_BUILD_BASE64(salt, salt_size)), in enroll_fido2() 83 … JSON_BUILD_PAIR("fido2-rp", JSON_BUILD_CONST_STRING("io.systemd.cryptsetup")), in enroll_fido2() 84 …JSON_BUILD_PAIR("fido2-clientPin-required", JSON_BUILD_BOOLEAN(FLAGS_SET(lock_with, FIDO2ENROLL_PI… in enroll_fido2() 85 … JSON_BUILD_PAIR("fido2-up-required", JSON_BUILD_BOOLEAN(FLAGS_SET(lock_with, FIDO2ENROLL_UP))), in enroll_fido2() 86 … JSON_BUILD_PAIR("fido2-uv-required", JSON_BUILD_BOOLEAN(FLAGS_SET(lock_with, FIDO2ENROLL_UV))))); in enroll_fido2()
|
D | cryptenroll-pkcs11.c | 86 … JSON_BUILD_PAIR("type", JSON_BUILD_CONST_STRING("systemd-pkcs11")), in enroll_pkcs11() 87 … JSON_BUILD_PAIR("keyslots", JSON_BUILD_ARRAY(JSON_BUILD_STRING(keyslot_as_string))), in enroll_pkcs11() 88 JSON_BUILD_PAIR("pkcs11-uri", JSON_BUILD_STRING(uri)), in enroll_pkcs11() 89 … JSON_BUILD_PAIR("pkcs11-key", JSON_BUILD_BASE64(encrypted_key, encrypted_key_size)))); in enroll_pkcs11()
|
D | cryptenroll-recovery.c | 79 … JSON_BUILD_PAIR("type", JSON_BUILD_CONST_STRING("systemd-recovery")), in enroll_recovery() 80 … JSON_BUILD_PAIR("keyslots", JSON_BUILD_ARRAY(JSON_BUILD_STRING(keyslot_as_string))))); in enroll_recovery()
|
/systemd-251/src/machine/ |
D | machined-varlink.c | 25 JSON_BUILD_PAIR("record", JSON_BUILD_OBJECT( in build_user_json() 26 JSON_BUILD_PAIR("userName", JSON_BUILD_STRING(user_name)), in build_user_json() 27 JSON_BUILD_PAIR("uid", JSON_BUILD_UNSIGNED(uid)), in build_user_json() 28 JSON_BUILD_PAIR("gid", JSON_BUILD_UNSIGNED(GID_NOBODY)), in build_user_json() 30 … JSON_BUILD_PAIR("homeDirectory", JSON_BUILD_CONST_STRING("/")), in build_user_json() 31 JSON_BUILD_PAIR("shell", JSON_BUILD_STRING(NOLOGIN)), in build_user_json() 32 JSON_BUILD_PAIR("locked", JSON_BUILD_BOOLEAN(true)), in build_user_json() 33 … JSON_BUILD_PAIR("service", JSON_BUILD_CONST_STRING("io.systemd.Machine")), in build_user_json() 34 … JSON_BUILD_PAIR("disposition", JSON_BUILD_CONST_STRING("container")))))); in build_user_json() 197 JSON_BUILD_PAIR("record", JSON_BUILD_OBJECT( in build_group_json() [all …]
|
/systemd-251/src/resolve/ |
D | resolved-varlink.c | 49 …JSON_BUILD_OBJECT(JSON_BUILD_PAIR("result", JSON_BUILD_STRING(dnssec_result_to_string(q->answer_dn… in reply_query_state() 70 … JSON_BUILD_OBJECT(JSON_BUILD_PAIR("rcode", JSON_BUILD_INTEGER(DNS_RCODE_NXDOMAIN)))); in reply_query_state() 74 … JSON_BUILD_OBJECT(JSON_BUILD_PAIR("rcode", JSON_BUILD_INTEGER(q->answer_rcode)))); in reply_query_state() 202 … JSON_BUILD_PAIR("family", JSON_BUILD_INTEGER(family)), in vl_method_resolve_hostname_complete() 203 … JSON_BUILD_PAIR("address", JSON_BUILD_BYTE_ARRAY(p, FAMILY_ADDRESS_SIZE(family))))); in vl_method_resolve_hostname_complete() 227 JSON_BUILD_PAIR("addresses", JSON_BUILD_VARIANT(array)), in vl_method_resolve_hostname_complete() 228 JSON_BUILD_PAIR("name", JSON_BUILD_STRING(normalized)), in vl_method_resolve_hostname_complete() 229 … JSON_BUILD_PAIR("flags", JSON_BUILD_INTEGER(dns_query_reply_flags_make(q))))); in vl_method_resolve_hostname_complete() 265 JSON_BUILD_PAIR("addresses", in parse_as_address() 269 … JSON_BUILD_PAIR("family", JSON_BUILD_INTEGER(ff)), in parse_as_address() [all …]
|
/systemd-251/src/test/ |
D | test-json.c | 285 assert_se(json_build(&a, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("one", JSON_BUILD_INTEGER(7)), in TEST() 286 JSON_BUILD_PAIR("two", JSON_BUILD_REAL(2.0)), in TEST() 287 … JSON_BUILD_PAIR("three", JSON_BUILD_INTEGER(0)))) >= 0); in TEST() 289 assert_se(json_build(&b, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("two", JSON_BUILD_INTEGER(2)), in TEST() 290 JSON_BUILD_PAIR("three", JSON_BUILD_REAL(0)), in TEST() 291 … JSON_BUILD_PAIR("one", JSON_BUILD_REAL(7)))) >= 0); in TEST() 299 …assert_se(json_build(&a, JSON_BUILD_ARRAY(JSON_BUILD_OBJECT(JSON_BUILD_PAIR("x", JSON_BUILD_BOOLEA… in TEST() 300 … JSON_BUILD_PAIR("y", JSON_BUILD_OBJECT(JSON_BUILD_PAIR("this", JSON_BUILD_NULL)))), in TEST() 333 JSON_BUILD_PAIR("x", JSON_BUILD_STRING("y")), in TEST() 334 JSON_BUILD_PAIR("z", JSON_BUILD_CONST_STRING("a")), 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() 120 …e(varlink_sendb(connections[k], "io.test.Rubbish", JSON_BUILD_OBJECT(JSON_BUILD_PAIR("id", JSON_BU… in flood_test() 129 …assert_se(varlink_invokeb(c, "io.test.Overload", JSON_BUILD_OBJECT(JSON_BUILD_PAIR("foo", JSON_BUI… in flood_test() 149 assert_se(json_build(&i, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("a", JSON_BUILD_INTEGER(88)), in thread() 150 … JSON_BUILD_PAIR("b", JSON_BUILD_INTEGER(99)))) >= 0); in thread() 159 …rlink_callb(c, "io.test.IDontExist", &o, &e, NULL, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("x", JSON_BUI… in thread() 225 assert_se(json_build(&v, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("a", JSON_BUILD_INTEGER(7)), in main() 226 … JSON_BUILD_PAIR("b", JSON_BUILD_INTEGER(22)))) >= 0); in main()
|
D | test-format-table.c | 384 … JSON_BUILD_PAIR("foo_bar", JSON_BUILD_CONST_STRING("v1")), in TEST() 385 … JSON_BUILD_PAIR("quux", JSON_BUILD_UNSIGNED(4711)), in TEST() 386 … JSON_BUILD_PAIR("zzz", JSON_BUILD_BOOLEAN(true))), in TEST() 388 … JSON_BUILD_PAIR("foo_bar", JSON_BUILD_STRV(STRV_MAKE("a", "b", "c"))), in TEST() 389 … JSON_BUILD_PAIR("quux", JSON_BUILD_NULL), in TEST() 390 … JSON_BUILD_PAIR("zzz", JSON_BUILD_UNSIGNED(0755))))) >= 0); in TEST()
|
/systemd-251/src/hostname/ |
D | hostnamed.c | 1226 JSON_BUILD_PAIR("Hostname", JSON_BUILD_STRING(hn)), in method_describe() 1227 … JSON_BUILD_PAIR("StaticHostname", JSON_BUILD_STRING(c->data[PROP_STATIC_HOSTNAME])), in method_describe() 1228 … JSON_BUILD_PAIR("PrettyHostname", JSON_BUILD_STRING(c->data[PROP_PRETTY_HOSTNAME])), in method_describe() 1229 JSON_BUILD_PAIR("DefaultHostname", JSON_BUILD_STRING(dhn)), in method_describe() 1230 …JSON_BUILD_PAIR("HostnameSource", JSON_BUILD_STRING(hostname_source_to_string(c->hostname_source))… in method_describe() 1231 … JSON_BUILD_PAIR("IconName", JSON_BUILD_STRING(in ?: c->data[PROP_ICON_NAME])), in method_describe() 1232 JSON_BUILD_PAIR("Chassis", JSON_BUILD_STRING(chassis)), in method_describe() 1233 … JSON_BUILD_PAIR("Deployment", JSON_BUILD_STRING(c->data[PROP_DEPLOYMENT])), in method_describe() 1234 … JSON_BUILD_PAIR("Location", JSON_BUILD_STRING(c->data[PROP_LOCATION])), in method_describe() 1235 JSON_BUILD_PAIR("KernelName", JSON_BUILD_STRING(u.sysname)), in method_describe() [all …]
|
/systemd-251/src/nspawn/ |
D | nspawn-bind-user.c | 123 … JSON_BUILD_PAIR("userName", JSON_BUILD_STRING(u->user_name)), in convert_user() 124 JSON_BUILD_PAIR("uid", JSON_BUILD_UNSIGNED(allocate_uid)), in convert_user() 125 JSON_BUILD_PAIR("gid", JSON_BUILD_UNSIGNED(allocate_uid)), in convert_user() 127 JSON_BUILD_PAIR("homeDirectory", JSON_BUILD_STRING(h)), in convert_user() 128 … JSON_BUILD_PAIR("service", JSON_BUILD_CONST_STRING("io.systemd.NSpawn")), in convert_user() 130 … JSON_BUILD_PAIR("hashedPassword", JSON_BUILD_VARIANT(hp)))))); in convert_user() 137 … JSON_BUILD_PAIR("groupName", JSON_BUILD_STRING(g->group_name)), in convert_user() 138 JSON_BUILD_PAIR("gid", JSON_BUILD_UNSIGNED(allocate_uid)), in convert_user() 140 … JSON_BUILD_PAIR("service", JSON_BUILD_CONST_STRING("io.systemd.NSpawn")))); in convert_user()
|
/systemd-251/src/userdb/ |
D | userwork.c | 111 JSON_BUILD_PAIR("record", JSON_BUILD_VARIANT(v)), in build_user_json() 112 … JSON_BUILD_PAIR("incomplete", JSON_BUILD_BOOLEAN(stripped->incomplete)))); in build_user_json() 263 JSON_BUILD_PAIR("record", JSON_BUILD_VARIANT(v)), in build_group_json() 264 … JSON_BUILD_PAIR("incomplete", JSON_BUILD_BOOLEAN(stripped->incomplete)))); in build_group_json() 405 … JSON_BUILD_PAIR("userName", JSON_BUILD_STRING(last_user_name)), in vl_method_get_memberships() 406 … JSON_BUILD_PAIR("groupName", JSON_BUILD_STRING(last_group_name)))); in vl_method_get_memberships() 423 … JSON_BUILD_PAIR("userName", JSON_BUILD_STRING(last_user_name)), in vl_method_get_memberships() 424 … JSON_BUILD_PAIR("groupName", JSON_BUILD_STRING(last_group_name)))); in vl_method_get_memberships()
|
/systemd-251/src/nss-resolve/ |
D | nss-resolve.c | 253 JSON_BUILD_PAIR("name", JSON_BUILD_STRING(name)), in _nss_resolve_gethostbyname4_r() 254 … JSON_BUILD_PAIR("flags", JSON_BUILD_UNSIGNED(query_flags())))); 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() 414 … JSON_BUILD_PAIR("family", JSON_BUILD_INTEGER(af)), in _nss_resolve_gethostbyname3_r() 415 … JSON_BUILD_PAIR("flags", JSON_BUILD_UNSIGNED(query_flags())))); 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() 626 … JSON_BUILD_PAIR("family", JSON_BUILD_INTEGER(af)), in _nss_resolve_gethostbyaddr2_r() 627 … JSON_BUILD_PAIR("flags", JSON_BUILD_UNSIGNED(query_flags())))); in _nss_resolve_gethostbyaddr2_r()
|
/systemd-251/src/network/ |
D | networkd-json.c | 89 …r = json_build(ret, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("Addresses", JSON_BUILD_VARIANT_ARRAY(elemen… in addresses_build_json() 146 …r = json_build(ret, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("Neighbors", JSON_BUILD_VARIANT_ARRAY(elemen… in neighbors_build_json() 256 …r = json_build(ret, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("NextHops", JSON_BUILD_VARIANT_ARRAY(element… in nexthops_build_json() 354 …r = json_build(ret, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("Routes", JSON_BUILD_VARIANT_ARRAY(elements,… in routes_build_json() 449 …r = json_build(ret, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("RoutingPolicyRules", JSON_BUILD_VARIANT_ARR… in routing_policy_rules_build_json() 468 JSON_BUILD_PAIR("RequiredOperationalStateForOnline", in network_build_json() 655 …r = json_build(ret, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("DNS", JSON_BUILD_VARIANT_ARRAY(elements, n)… in dns_build_json() 807 …r = json_build(ret, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("NTP", JSON_BUILD_VARIANT_ARRAY(elements, n)… in ntp_build_json() 856 …r = json_build(ret, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("SIP", JSON_BUILD_VARIANT_ARRAY(elements, n)… in sip_build_json() 995 … r = json_build(ret, JSON_BUILD_OBJECT(JSON_BUILD_PAIR(is_route ? "RouteDomains" : "SearchDomains", in domains_build_json() [all …]
|
/systemd-251/src/dissect/ |
D | dissect.c | 515 … JSON_BUILD_PAIR("name", JSON_BUILD_STRING(basename(arg_image))), in action_dissect() 516 JSON_BUILD_PAIR("size", JSON_BUILD_INTEGER(size)), in action_dissect() 522 … JSON_BUILD_PAIR("useBootableUefi", JSON_BUILD_BOOLEAN(m->partitions[PARTITION_ESP].found)), in action_dissect() 524 …JSON_BUILD_PAIR("usePortableService", JSON_BUILD_BOOLEAN(strv_env_pairs_get(m->os_release, "PORTAB… in action_dissect() 525 … JSON_BUILD_PAIR("useSystemExtension", JSON_BUILD_BOOLEAN(strv_contains(sysext_scopes, "system"))), in action_dissect() 526 … JSON_BUILD_PAIR("useInitRDExtension", JSON_BUILD_BOOLEAN(strv_contains(sysext_scopes, "initrd"))), in action_dissect() 527 …JSON_BUILD_PAIR("usePortableExtension", JSON_BUILD_BOOLEAN(strv_contains(sysext_scopes, "portable"… in action_dissect()
|