Home
last modified time | relevance | path

Searched refs:JSON_BUILD_PAIR (Results 1 – 25 of 33) sorted by relevance

12

/systemd-251/src/home/
Dhomed-varlink.c56JSON_BUILD_PAIR("record", JSON_BUILD_VARIANT(augmented->json)), in build_user_json()
57JSON_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()
295JSON_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()
301JSON_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()
311JSON_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 …]
Dhomectl-fido2.c89JSON_BUILD_PAIR("credential", JSON_BUILD_BASE64(cid, cid_size)), in add_fido2_salt()
90JSON_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()
92JSON_BUILD_PAIR("up", JSON_BUILD_BOOLEAN(FLAGS_SET(lock_with, FIDO2ENROLL_UP))), in add_fido2_salt()
93JSON_BUILD_PAIR("uv", JSON_BUILD_BOOLEAN(FLAGS_SET(lock_with, FIDO2ENROLL_UV))), in add_fido2_salt()
94JSON_BUILD_PAIR("clientPin", JSON_BUILD_BOOLEAN(FLAGS_SET(lock_with, FIDO2ENROLL_PIN))))); in add_fido2_salt()
Duser-record-util.c84 JSON_BUILD_PAIR("userName", JSON_BUILD_STRING(user_name)), in user_record_synthesize()
86JSON_BUILD_PAIR("disposition", JSON_BUILD_CONST_STRING("regular")), in user_record_synthesize()
87 JSON_BUILD_PAIR("binding", JSON_BUILD_OBJECT( in user_record_synthesize()
88JSON_BUILD_PAIR(SD_ID128_TO_STRING(mid), JSON_BUILD_OBJECT( in user_record_synthesize()
89JSON_BUILD_PAIR("imagePath", JSON_BUILD_STRING(image_path)), in user_record_synthesize()
90JSON_BUILD_PAIR("homeDirectory", JSON_BUILD_STRING(hd)), in user_record_synthesize()
91JSON_BUILD_PAIR("storage", JSON_BUILD_STRING(user_storage_to_string(storage))), in user_record_synthesize()
92JSON_BUILD_PAIR("uid", JSON_BUILD_UNSIGNED(uid)), in user_record_synthesize()
93JSON_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 …]
Dhomectl-pkcs11.c42 JSON_BUILD_PAIR("uri", JSON_BUILD_STRING(uri)), in add_pkcs11_encrypted_key()
43JSON_BUILD_PAIR("data", JSON_BUILD_BASE64(encrypted_key, encrypted_key_size)), in add_pkcs11_encrypted_key()
44JSON_BUILD_PAIR("hashedPassword", JSON_BUILD_STRING(hashed)))); in add_pkcs11_encrypted_key()
Dhomectl-recovery-key.c22 JSON_BUILD_PAIR("type", JSON_BUILD_CONST_STRING("modhex64")), in add_privileged()
23JSON_BUILD_PAIR("hashedPassword", JSON_BUILD_STRING(hashed)))); in add_privileged()
Duser-record-sign.c80 … JSON_BUILD_OBJECT(JSON_BUILD_PAIR("data", JSON_BUILD_BASE64(signature, signature_size)), in user_record_sign()
81JSON_BUILD_PAIR("key", JSON_BUILD_STRING(key))))); in user_record_sign()
/systemd-251/src/shared/
Djson.h275 #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 …]
Duserdb.c602 … 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()
605JSON_BUILD_PAIR("homeDirectory", JSON_BUILD_CONST_STRING("/root")), in synthetic_root_user_build()
606JSON_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()
615JSON_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 …]
Duser-record-nss.c142JSON_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()
368JSON_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()
Dvarlink.c886 …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()
1306JSON_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()
1357JSON_BUILD_PAIR("parameters", JSON_BUILD_VARIANT(parameters)))); in varlink_invoke()
1409 JSON_BUILD_PAIR("method", JSON_BUILD_STRING(method)), in varlink_observe()
1410JSON_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/
Dcore-varlink.c30 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()
34JSON_BUILD_PAIR("realName", JSON_BUILD_CONST_STRING("Dynamic User")), in build_user_json()
35JSON_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()
38JSON_BUILD_PAIR("service", JSON_BUILD_CONST_STRING("io.systemd.DynamicUser")), in build_user_json()
39JSON_BUILD_PAIR("disposition", JSON_BUILD_CONST_STRING("dynamic")))))); in build_user_json()
[all …]
/systemd-251/src/cryptenroll/
Dcryptenroll-fido2.c79JSON_BUILD_PAIR("type", JSON_BUILD_CONST_STRING("systemd-fido2")), in enroll_fido2()
80JSON_BUILD_PAIR("keyslots", JSON_BUILD_ARRAY(JSON_BUILD_STRING(keyslot_as_string))), in enroll_fido2()
81JSON_BUILD_PAIR("fido2-credential", JSON_BUILD_BASE64(cid, cid_size)), in enroll_fido2()
82JSON_BUILD_PAIR("fido2-salt", JSON_BUILD_BASE64(salt, salt_size)), in enroll_fido2()
83JSON_BUILD_PAIR("fido2-rp", JSON_BUILD_CONST_STRING("io.systemd.cryptsetup")), in enroll_fido2()
84JSON_BUILD_PAIR("fido2-clientPin-required", JSON_BUILD_BOOLEAN(FLAGS_SET(lock_with, FIDO2ENROLL_PI… in enroll_fido2()
85JSON_BUILD_PAIR("fido2-up-required", JSON_BUILD_BOOLEAN(FLAGS_SET(lock_with, FIDO2ENROLL_UP))), in enroll_fido2()
86JSON_BUILD_PAIR("fido2-uv-required", JSON_BUILD_BOOLEAN(FLAGS_SET(lock_with, FIDO2ENROLL_UV))))); in enroll_fido2()
Dcryptenroll-pkcs11.c86JSON_BUILD_PAIR("type", JSON_BUILD_CONST_STRING("systemd-pkcs11")), in enroll_pkcs11()
87JSON_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()
89JSON_BUILD_PAIR("pkcs11-key", JSON_BUILD_BASE64(encrypted_key, encrypted_key_size)))); in enroll_pkcs11()
Dcryptenroll-recovery.c79JSON_BUILD_PAIR("type", JSON_BUILD_CONST_STRING("systemd-recovery")), in enroll_recovery()
80JSON_BUILD_PAIR("keyslots", JSON_BUILD_ARRAY(JSON_BUILD_STRING(keyslot_as_string))))); in enroll_recovery()
/systemd-251/src/machine/
Dmachined-varlink.c25 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()
30JSON_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()
33JSON_BUILD_PAIR("service", JSON_BUILD_CONST_STRING("io.systemd.Machine")), in build_user_json()
34JSON_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/
Dresolved-varlink.c49 …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()
202JSON_BUILD_PAIR("family", JSON_BUILD_INTEGER(family)), in vl_method_resolve_hostname_complete()
203JSON_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()
229JSON_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()
269JSON_BUILD_PAIR("family", JSON_BUILD_INTEGER(ff)), in parse_as_address()
[all …]
/systemd-251/src/test/
Dtest-json.c285 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()
287JSON_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()
291JSON_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()
300JSON_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 …]
Dtest-varlink.c44 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()
150JSON_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()
226JSON_BUILD_PAIR("b", JSON_BUILD_INTEGER(22)))) >= 0); in main()
Dtest-format-table.c384JSON_BUILD_PAIR("foo_bar", JSON_BUILD_CONST_STRING("v1")), in TEST()
385JSON_BUILD_PAIR("quux", JSON_BUILD_UNSIGNED(4711)), in TEST()
386JSON_BUILD_PAIR("zzz", JSON_BUILD_BOOLEAN(true))), in TEST()
388JSON_BUILD_PAIR("foo_bar", JSON_BUILD_STRV(STRV_MAKE("a", "b", "c"))), in TEST()
389JSON_BUILD_PAIR("quux", JSON_BUILD_NULL), in TEST()
390JSON_BUILD_PAIR("zzz", JSON_BUILD_UNSIGNED(0755))))) >= 0); in TEST()
/systemd-251/src/hostname/
Dhostnamed.c1226 JSON_BUILD_PAIR("Hostname", JSON_BUILD_STRING(hn)), in method_describe()
1227JSON_BUILD_PAIR("StaticHostname", JSON_BUILD_STRING(c->data[PROP_STATIC_HOSTNAME])), in method_describe()
1228JSON_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()
1230JSON_BUILD_PAIR("HostnameSource", JSON_BUILD_STRING(hostname_source_to_string(c->hostname_source))… in method_describe()
1231JSON_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()
1233JSON_BUILD_PAIR("Deployment", JSON_BUILD_STRING(c->data[PROP_DEPLOYMENT])), in method_describe()
1234JSON_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/
Dnspawn-bind-user.c123JSON_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()
128JSON_BUILD_PAIR("service", JSON_BUILD_CONST_STRING("io.systemd.NSpawn")), in convert_user()
130JSON_BUILD_PAIR("hashedPassword", JSON_BUILD_VARIANT(hp)))))); in convert_user()
137JSON_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()
140JSON_BUILD_PAIR("service", JSON_BUILD_CONST_STRING("io.systemd.NSpawn")))); in convert_user()
/systemd-251/src/userdb/
Duserwork.c111 JSON_BUILD_PAIR("record", JSON_BUILD_VARIANT(v)), in build_user_json()
112JSON_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()
264JSON_BUILD_PAIR("incomplete", JSON_BUILD_BOOLEAN(stripped->incomplete)))); in build_group_json()
405JSON_BUILD_PAIR("userName", JSON_BUILD_STRING(last_user_name)), in vl_method_get_memberships()
406JSON_BUILD_PAIR("groupName", JSON_BUILD_STRING(last_group_name)))); in vl_method_get_memberships()
423JSON_BUILD_PAIR("userName", JSON_BUILD_STRING(last_user_name)), in vl_method_get_memberships()
424JSON_BUILD_PAIR("groupName", JSON_BUILD_STRING(last_group_name)))); in vl_method_get_memberships()
/systemd-251/src/nss-resolve/
Dnss-resolve.c253 JSON_BUILD_PAIR("name", JSON_BUILD_STRING(name)), in _nss_resolve_gethostbyname4_r()
254JSON_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()
414JSON_BUILD_PAIR("family", JSON_BUILD_INTEGER(af)), in _nss_resolve_gethostbyname3_r()
415JSON_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()
626JSON_BUILD_PAIR("family", JSON_BUILD_INTEGER(af)), in _nss_resolve_gethostbyaddr2_r()
627JSON_BUILD_PAIR("flags", JSON_BUILD_UNSIGNED(query_flags())))); in _nss_resolve_gethostbyaddr2_r()
/systemd-251/src/network/
Dnetworkd-json.c89 …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/
Ddissect.c515JSON_BUILD_PAIR("name", JSON_BUILD_STRING(basename(arg_image))), in action_dissect()
516 JSON_BUILD_PAIR("size", JSON_BUILD_INTEGER(size)), in action_dissect()
522JSON_BUILD_PAIR("useBootableUefi", JSON_BUILD_BOOLEAN(m->partitions[PARTITION_ESP].found)), in action_dissect()
524JSON_BUILD_PAIR("usePortableService", JSON_BUILD_BOOLEAN(strv_env_pairs_get(m->os_release, "PORTAB… in action_dissect()
525JSON_BUILD_PAIR("useSystemExtension", JSON_BUILD_BOOLEAN(strv_contains(sysext_scopes, "system"))), in action_dissect()
526JSON_BUILD_PAIR("useInitRDExtension", JSON_BUILD_BOOLEAN(strv_contains(sysext_scopes, "initrd"))), in action_dissect()
527JSON_BUILD_PAIR("usePortableExtension", JSON_BUILD_BOOLEAN(strv_contains(sysext_scopes, "portable"… in action_dissect()

12