/systemd-251/src/test/ |
D | test-strv.c | 18 assert_se(STRPTR_IN_SET("x", "x", "y", "z")); in TEST() 19 assert_se(!STRPTR_IN_SET("X", "x", "y", "z")); in TEST() 20 assert_se(!STRPTR_IN_SET("", "x", "y", "z")); in TEST() 21 assert_se(STRPTR_IN_SET("x", "w", "x")); in TEST() 23 assert_se(!STRPTR_IN_SET(NULL, "x", "y", "z")); in TEST() 24 assert_se(!STRPTR_IN_SET(NULL, "")); in TEST() 26 assert_se(!STRPTR_IN_SET(NULL, NULL)); in TEST()
|
/systemd-251/src/basic/ |
D | glyph-util.c | 18 !STRPTR_IN_SET(getenv("TERM"), "dumb", "linux"); in emoji_enabled()
|
D | strv.h | 183 #define STRPTR_IN_SET(x, ...) \ macro
|
D | terminal-util.c | 1300 if (STRPTR_IN_SET(getenv("COLORTERM"), in get_color_mode()
|
/systemd-251/src/analyze/ |
D | analyze.c | 495 …if (arg_json_format_flags != JSON_FORMAT_OFF && !STRPTR_IN_SET(argv[optind], "security", "inspect-… in parse_argv() 516 …if ((arg_root || arg_image) && (!STRPTR_IN_SET(argv[optind], "cat-config", "verify", "condition"))… in parse_argv()
|
D | analyze-security.c | 186 if (STRPTR_IN_SET(i->user, "0", "root")) in security_info_runs_privileged() 438 else if (STRPTR_IN_SET(info->protect_proc, "invisible", "ptraceable")) in assess_protect_proc() 722 if (STRPTR_IN_SET(info->device_policy, "strict", "closed")) { in assess_device_allow()
|
/systemd-251/src/network/ |
D | networkd-ipv6ll.c | 32 if (STRPTR_IN_SET(link->kind, "vrf", "wireguard", "ipip", "gre", "sit", "vti", "nlmon")) in link_ipv6ll_enabled()
|
D | networkctl.c | 181 if (STRPTR_IN_SET(state, "routable", "enslaved") || in operational_state_to_color() 211 } else if (STRPTR_IN_SET(state, "failed", "linger")) { in setup_state_to_color() 1940 … } else if (STRPTR_IN_SET(info->netdev_kind, "ipip", "sit", "gre", "gretap", "erspan", "vti")) { in link_status_one() 1958 } else if (STRPTR_IN_SET(info->netdev_kind, "ip6gre", "ip6gretap", "ip6erspan", "vti6")) { in link_status_one() 2070 } else if (STRPTR_IN_SET(info->netdev_kind, "macvlan", "macvtap")) { in link_status_one()
|
/systemd-251/src/systemctl/ |
D | systemctl-show.c | 294 } else if (STRPTR_IN_SET(active_state, "active", "reloading")) { in format_active_state() 348 if (STRPTR_IN_SET(i->load_state, "error", "not-found", "bad-setting")) { in print_status_info() 433 … timestamp = STRPTR_IN_SET(i->active_state, "active", "reloading") ? i->active_enter_timestamp : in print_status_info() 434 … STRPTR_IN_SET(i->active_state, "inactive", "failed") ? i->inactive_enter_timestamp : in print_status_info() 435 … STRPTR_IN_SET(i->active_state, "activating") ? i->inactive_exit_timestamp : in print_status_info() 452 STRPTR_IN_SET(i->active_state, "inactive", "failed") && in print_status_info()
|
/systemd-251/src/coredump/ |
D | coredumpctl.c | 527 … if (STRPTR_IN_SET(present, "present", "journal") && truncated && parse_boolean(truncated) > 0) in print_list() 708 … if (STRPTR_IN_SET(state, "present", "journal") && truncated && parse_boolean(truncated) > 0) in print_info()
|
/systemd-251/src/journal-remote/ |
D | journal-upload.c | 261 if (STRPTR_IN_SET(arg_trust, "-", "all")) in start_upload()
|
/systemd-251/src/fstab-generator/ |
D | fstab-generator.c | 419 if (STRPTR_IN_SET(fstype, "nfs", "nfs4") && !(flags & MOUNT_AUTOMOUNT) && in add_mount()
|
/systemd-251/src/timedate/ |
D | timedated.c | 259 count += !STRPTR_IN_SET(info->active_state, "inactive", "failed"); in context_ntp_service_is_active()
|
/systemd-251/src/shared/ |
D | dissect-image.c | 377 if (STRPTR_IN_SET(usage, "filesystem", "crypto")) { in dissect_image() 1402 if (!rw && STRPTR_IN_SET(fstype, "ext3", "ext4", "xfs", "btrfs")) in mount_partition()
|
D | install.c | 907 if (!STRPTR_IN_SET(suffix, ".wants", ".requires")) in find_symlinks()
|
/systemd-251/src/run/ |
D | run.c | 1020 done = STRPTR_IN_SET(c->active_state, "inactive", "failed") && !c->has_job; in run_context_check_done()
|