/systemd-251/src/shared/ |
D | user-record-nss.c | 145 … JSON_BUILD_PAIR_CONDITION(hr->real_name, "realName", JSON_BUILD_STRING(hr->real_name)), in nss_passwd_to_user_record() 146 …JSON_BUILD_PAIR_CONDITION(hr->home_directory, "homeDirectory", JSON_BUILD_STRING(hr->home_director… in nss_passwd_to_user_record() 147 … JSON_BUILD_PAIR_CONDITION(hr->shell, "shell", JSON_BUILD_STRING(hr->shell)), in nss_passwd_to_user_record() 148 …JSON_BUILD_PAIR_CONDITION(!strv_isempty(hr->hashed_password), "privileged", JSON_BUILD_OBJECT(JSON… in nss_passwd_to_user_record() 149 … JSON_BUILD_PAIR_CONDITION(hr->locked >= 0, "locked", JSON_BUILD_BOOLEAN(hr->locked)), in nss_passwd_to_user_record() 150 …JSON_BUILD_PAIR_CONDITION(hr->not_after_usec != UINT64_MAX, "notAfterUSec", JSON_BUILD_UNSIGNED(hr… in nss_passwd_to_user_record() 151 …JSON_BUILD_PAIR_CONDITION(hr->password_change_now >= 0, "passwordChangeNow", JSON_BUILD_BOOLEAN(hr… in nss_passwd_to_user_record() 152 …JSON_BUILD_PAIR_CONDITION(hr->last_password_change_usec != UINT64_MAX, "lastPasswordChangeUSec", J… in nss_passwd_to_user_record() 153 …JSON_BUILD_PAIR_CONDITION(hr->password_change_min_usec != UINT64_MAX, "passwordChangeMinUSec", JSO… in nss_passwd_to_user_record() 154 …JSON_BUILD_PAIR_CONDITION(hr->password_change_max_usec != UINT64_MAX, "passwordChangeMaxUSec", JSO… in nss_passwd_to_user_record() [all …]
|
D | bootspec.c | 1196 … JSON_BUILD_PAIR_CONDITION(e->id, "id", JSON_BUILD_STRING(e->id)), in show_boot_entries() 1197 … JSON_BUILD_PAIR_CONDITION(e->path, "path", JSON_BUILD_STRING(e->path)), in show_boot_entries() 1198 … JSON_BUILD_PAIR_CONDITION(e->root, "root", JSON_BUILD_STRING(e->root)), in show_boot_entries() 1199 … JSON_BUILD_PAIR_CONDITION(e->title, "title", JSON_BUILD_STRING(e->title)), in show_boot_entries() 1200 …JSON_BUILD_PAIR_CONDITION(boot_entry_title(e), "showTitle", JSON_BUILD_STRING(boot_entry_title(e))… in show_boot_entries() 1201 … JSON_BUILD_PAIR_CONDITION(e->sort_key, "sortKey", JSON_BUILD_STRING(e->sort_key)), in show_boot_entries() 1202 … JSON_BUILD_PAIR_CONDITION(e->version, "version", JSON_BUILD_STRING(e->version)), in show_boot_entries() 1203 … JSON_BUILD_PAIR_CONDITION(e->machine_id, "machineId", JSON_BUILD_STRING(e->machine_id)), in show_boot_entries() 1204 … JSON_BUILD_PAIR_CONDITION(e->architecture, "architecture", JSON_BUILD_STRING(e->architecture)), in show_boot_entries() 1205 … JSON_BUILD_PAIR_CONDITION(opts, "options", JSON_BUILD_STRING(opts)), in show_boot_entries() [all …]
|
D | tpm2-util.c | 1412 …JSON_BUILD_PAIR_CONDITION(!!tpm2_pcr_bank_to_string(pcr_bank), "tpm2-pcr-bank", JSON_BUILD_STRING(… in tpm2_make_luks2_json() 1413 …JSON_BUILD_PAIR_CONDITION(!!tpm2_primary_alg_to_string(primary_alg), "tpm2-primary-alg", JSON_BUIL… in tpm2_make_luks2_json()
|
D | json.h | 276 #define JSON_BUILD_PAIR_CONDITION(c, n, ...) _JSON_BUILD_PAIR_CONDITION, (bool) { c }, (const char*… macro
|
/systemd-251/src/home/ |
D | user-record-util.c | 85 … JSON_BUILD_PAIR_CONDITION(!!rr, "realm", JSON_BUILD_STRING(realm)), in user_record_synthesize() 145 … JSON_BUILD_PAIR_CONDITION(!!rr, "realm", JSON_BUILD_STRING(rr)), in group_record_synthesize() 150 …JSON_BUILD_PAIR_CONDITION(h->disposition >= 0, "disposition", JSON_BUILD_STRING(user_disposition_t… in group_record_synthesize() 334 … JSON_BUILD_PAIR_CONDITION(!!image_path, "imagePath", JSON_BUILD_STRING(image_path)), in user_record_add_binding() 335 …JSON_BUILD_PAIR_CONDITION(!sd_id128_is_null(partition_uuid), "partitionUuid", JSON_BUILD_STRING(SD… in user_record_add_binding() 336 …JSON_BUILD_PAIR_CONDITION(!sd_id128_is_null(luks_uuid), "luksUuid", JSON_BUILD_STRING(SD_ID128_TO_… in user_record_add_binding() 337 …JSON_BUILD_PAIR_CONDITION(!sd_id128_is_null(fs_uuid), "fileSystemUuid", JSON_BUILD_STRING(SD_ID128… in user_record_add_binding() 338 … JSON_BUILD_PAIR_CONDITION(!!luks_cipher, "luksCipher", JSON_BUILD_STRING(luks_cipher)), in user_record_add_binding() 339 …JSON_BUILD_PAIR_CONDITION(!!luks_cipher_mode, "luksCipherMode", JSON_BUILD_STRING(luks_cipher_mode… in user_record_add_binding() 340 …JSON_BUILD_PAIR_CONDITION(luks_volume_key_size != UINT64_MAX, "luksVolumeKeySize", JSON_BUILD_UNSI… in user_record_add_binding() [all …]
|
D | homed-home.c | 2558 … JSON_BUILD_PAIR_CONDITION(disk_size != UINT64_MAX, "diskSize", JSON_BUILD_UNSIGNED(disk_size)), in home_augment_status() 2559 … JSON_BUILD_PAIR_CONDITION(disk_usage != UINT64_MAX, "diskUsage", JSON_BUILD_UNSIGNED(disk_usage)), in home_augment_status() 2560 … JSON_BUILD_PAIR_CONDITION(disk_free != UINT64_MAX, "diskFree", JSON_BUILD_UNSIGNED(disk_free)), in home_augment_status() 2561 …JSON_BUILD_PAIR_CONDITION(disk_ceiling != UINT64_MAX, "diskCeiling", JSON_BUILD_UNSIGNED(disk_ceil… in home_augment_status() 2562 … JSON_BUILD_PAIR_CONDITION(disk_floor != UINT64_MAX, "diskFloor", JSON_BUILD_UNSIGNED(disk_floor)), in home_augment_status() 2563 …JSON_BUILD_PAIR_CONDITION(h->signed_locally >= 0, "signedLocally", JSON_BUILD_BOOLEAN(h->signed_lo… in home_augment_status() 2564 … JSON_BUILD_PAIR_CONDITION(fstype, "fileSystemType", JSON_BUILD_STRING(fstype)), in home_augment_status() 2565 …JSON_BUILD_PAIR_CONDITION(access_mode != MODE_INVALID, "accessMode", JSON_BUILD_UNSIGNED(access_mo… in home_augment_status()
|
/systemd-251/src/network/ |
D | networkd-json.c | 302 JSON_BUILD_PAIR_CONDITION(route->src_prefixlen > 0, in route_build_json() 386 JSON_BUILD_PAIR_CONDITION(in_addr_is_set(rule->family, &rule->from), in routing_policy_rule_build_json() 389 JSON_BUILD_PAIR_CONDITION(in_addr_is_set(rule->family, &rule->to), in routing_policy_rule_build_json() 404 JSON_BUILD_PAIR_CONDITION(rule->suppress_prefixlen >= 0, in routing_policy_rule_build_json() 406 JSON_BUILD_PAIR_CONDITION(rule->suppress_ifgroup >= 0, in routing_policy_rule_build_json() 408 … JSON_BUILD_PAIR_CONDITION(rule->sport.start != 0 || rule->sport.end != 0, "SourcePort", in routing_policy_rule_build_json() 410 … JSON_BUILD_PAIR_CONDITION(rule->dport.start != 0 || rule->dport.end != 0, "DestinationPort", in routing_policy_rule_build_json() 412 …JSON_BUILD_PAIR_CONDITION(rule->uid_range.start != UID_INVALID && rule->uid_range.end != UID_INVAL… in routing_policy_rule_build_json() 520 … JSON_BUILD_PAIR_CONDITION(a->ifindex != 0, "InterfaceIndex", JSON_BUILD_INTEGER(a->ifindex)), in dns_build_json_one() 1174 JSON_BUILD_PAIR_CONDITION(link->master_ifindex > 0, in link_build_json() [all …]
|
/systemd-251/src/dissect/ |
D | dissect.c | 517 … JSON_BUILD_PAIR_CONDITION(m->hostname, "hostname", JSON_BUILD_STRING(m->hostname)), in action_dissect() 518 …JSON_BUILD_PAIR_CONDITION(!sd_id128_is_null(m->machine_id), "machineId", JSON_BUILD_ID128(m->machi… in action_dissect() 519 … JSON_BUILD_PAIR_CONDITION(mi, "machineInfo", JSON_BUILD_VARIANT(mi)), in action_dissect() 520 … JSON_BUILD_PAIR_CONDITION(osr, "osRelease", JSON_BUILD_VARIANT(osr)), in action_dissect() 521 … JSON_BUILD_PAIR_CONDITION(exr, "extensionRelease", JSON_BUILD_VARIANT(exr)), in action_dissect() 523 …JSON_BUILD_PAIR_CONDITION(m->has_init_system >= 0, "useBootableContainer", JSON_BUILD_BOOLEAN(m->h… in action_dissect()
|
/systemd-251/src/nspawn/ |
D | nspawn-bind-user.c | 126 …JSON_BUILD_PAIR_CONDITION(u->disposition >= 0, "disposition", JSON_BUILD_STRING(user_disposition_t… in convert_user() 129 … JSON_BUILD_PAIR_CONDITION(!strv_isempty(u->hashed_password), "privileged", JSON_BUILD_OBJECT( in convert_user() 139 …JSON_BUILD_PAIR_CONDITION(g->disposition >= 0, "disposition", JSON_BUILD_STRING(user_disposition_t… in convert_user()
|
/systemd-251/src/busctl/ |
D | busctl.c | 1187 …JSON_BUILD_PAIR_CONDITION(m->reply_cookie != 0, "reply_cookie", JSON_BUILD_INTEGER(m->reply_cookie… in message_json() 1189 JSON_BUILD_PAIR_CONDITION(m->sender, "sender", JSON_BUILD_STRING(m->sender)), in message_json() 1190 … JSON_BUILD_PAIR_CONDITION(m->destination, "destination", JSON_BUILD_STRING(m->destination)), in message_json() 1191 JSON_BUILD_PAIR_CONDITION(m->path, "path", JSON_BUILD_STRING(m->path)), in message_json() 1192 … JSON_BUILD_PAIR_CONDITION(m->interface, "interface", JSON_BUILD_STRING(m->interface)), in message_json() 1193 JSON_BUILD_PAIR_CONDITION(m->member, "member", JSON_BUILD_STRING(m->member)), in message_json() 1194 … JSON_BUILD_PAIR_CONDITION(m->monotonic != 0, "monotonic", JSON_BUILD_INTEGER(m->monotonic)), in message_json() 1195 … JSON_BUILD_PAIR_CONDITION(m->realtime != 0, "realtime", JSON_BUILD_INTEGER(m->realtime)), in message_json() 1196 JSON_BUILD_PAIR_CONDITION(m->seqnum != 0, "seqnum", JSON_BUILD_INTEGER(m->seqnum)), in message_json() 1197 … JSON_BUILD_PAIR_CONDITION(m->error.name, "error_name", JSON_BUILD_STRING(m->error.name)), in message_json()
|
/systemd-251/src/resolve/ |
D | resolved-varlink.c | 201 … JSON_BUILD_PAIR_CONDITION(ifindex > 0, "ifindex", JSON_BUILD_INTEGER(ifindex)), in vl_method_resolve_hostname_complete() 268 … JSON_BUILD_PAIR_CONDITION(ifindex > 0, "ifindex", JSON_BUILD_INTEGER(ifindex)), in parse_as_address() 429 … JSON_BUILD_PAIR_CONDITION(ifindex > 0, "ifindex", JSON_BUILD_INTEGER(ifindex)), in vl_method_resolve_address_complete()
|
/systemd-251/src/machine/ |
D | machined-varlink.c | 29 … JSON_BUILD_PAIR_CONDITION(!isempty(real_name), "realName", JSON_BUILD_STRING(real_name)), in build_user_json() 200 … JSON_BUILD_PAIR_CONDITION(!isempty(description), "description", JSON_BUILD_STRING(description)), in build_group_json()
|
/systemd-251/src/test/ |
D | test-json.c | 340 … JSON_BUILD_PAIR_CONDITION(false, "p", JSON_BUILD_STRING("q")), in TEST() 341 … JSON_BUILD_PAIR_CONDITION(true, "z", JSON_BUILD_CONST_STRING("a")), in TEST() 342 …JSON_BUILD_PAIR_CONDITION(false, "j", JSON_BUILD_ARRAY(JSON_BUILD_STRING("k"), JSON_BUILD_CONST_ST… in TEST()
|
/systemd-251/src/hostname/ |
D | hostnamed.c | 1245 …JSON_BUILD_PAIR_CONDITION(!sd_id128_is_null(product_uuid), "ProductUUID", JSON_BUILD_ID128(product… in method_describe() 1246 … JSON_BUILD_PAIR_CONDITION(sd_id128_is_null(product_uuid), "ProductUUID", JSON_BUILD_NULL))); in method_describe()
|
/systemd-251/src/core/ |
D | core-varlink.c | 86 … JSON_BUILD_PAIR_CONDITION(use_limit, "limit", JSON_BUILD_UNSIGNED(c->moom_mem_pressure_limit)))); in build_managed_oom_json_array_element()
|