Home
last modified time | relevance | path

Searched refs:STRPTR_IN_SET (Results 1 – 16 of 16) sorted by relevance

/systemd-251/src/test/
Dtest-strv.c18 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/
Dglyph-util.c18 !STRPTR_IN_SET(getenv("TERM"), "dumb", "linux"); in emoji_enabled()
Dstrv.h183 #define STRPTR_IN_SET(x, ...) \ macro
Dterminal-util.c1300 if (STRPTR_IN_SET(getenv("COLORTERM"), in get_color_mode()
/systemd-251/src/analyze/
Danalyze.c495 …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()
Danalyze-security.c186 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/
Dnetworkd-ipv6ll.c32 if (STRPTR_IN_SET(link->kind, "vrf", "wireguard", "ipip", "gre", "sit", "vti", "nlmon")) in link_ipv6ll_enabled()
Dnetworkctl.c181 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/
Dsystemctl-show.c294 } 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()
434STRPTR_IN_SET(i->active_state, "inactive", "failed") ? i->inactive_enter_timestamp : in print_status_info()
435STRPTR_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/
Dcoredumpctl.c527 … 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/
Djournal-upload.c261 if (STRPTR_IN_SET(arg_trust, "-", "all")) in start_upload()
/systemd-251/src/fstab-generator/
Dfstab-generator.c419 if (STRPTR_IN_SET(fstype, "nfs", "nfs4") && !(flags & MOUNT_AUTOMOUNT) && in add_mount()
/systemd-251/src/timedate/
Dtimedated.c259 count += !STRPTR_IN_SET(info->active_state, "inactive", "failed"); in context_ntp_service_is_active()
/systemd-251/src/shared/
Ddissect-image.c377 if (STRPTR_IN_SET(usage, "filesystem", "crypto")) { in dissect_image()
1402 if (!rw && STRPTR_IN_SET(fstype, "ext3", "ext4", "xfs", "btrfs")) in mount_partition()
Dinstall.c907 if (!STRPTR_IN_SET(suffix, ".wants", ".requires")) in find_symlinks()
/systemd-251/src/run/
Drun.c1020 done = STRPTR_IN_SET(c->active_state, "inactive", "failed") && !c->has_job; in run_context_check_done()