/systemd-251/src/test/ |
D | test-parse-util.c | 15 TEST(parse_boolean) { in TEST() argument 16 assert_se(parse_boolean("1") == 1); in TEST() 17 assert_se(parse_boolean("y") == 1); in TEST() 18 assert_se(parse_boolean("Y") == 1); in TEST() 19 assert_se(parse_boolean("yes") == 1); in TEST() 20 assert_se(parse_boolean("YES") == 1); in TEST() 21 assert_se(parse_boolean("true") == 1); in TEST() 22 assert_se(parse_boolean("TRUE") == 1); in TEST() 23 assert_se(parse_boolean("on") == 1); in TEST() 24 assert_se(parse_boolean("ON") == 1); in TEST() [all …]
|
/systemd-251/src/core/ |
D | unit-serialize.c | 329 … } else if (MATCH_DESERIALIZE("condition-result", l, v, parse_boolean, u->condition_result)) in unit_deserialize() 332 else if (MATCH_DESERIALIZE("assert-result", l, v, parse_boolean, u->assert_result)) in unit_deserialize() 335 else if (MATCH_DESERIALIZE("transient", l, v, parse_boolean, u->transient)) in unit_deserialize() 338 else if (MATCH_DESERIALIZE("in-audit", l, v, parse_boolean, u->in_audit)) in unit_deserialize() 341 …else if (MATCH_DESERIALIZE("exported-invocation-id", l, v, parse_boolean, u->exported_invocation_i… in unit_deserialize() 344 …else if (MATCH_DESERIALIZE("exported-log-level-max", l, v, parse_boolean, u->exported_log_level_ma… in unit_deserialize() 347 …else if (MATCH_DESERIALIZE("exported-log-extra-fields", l, v, parse_boolean, u->exported_log_extra… in unit_deserialize() 350 …else if (MATCH_DESERIALIZE("exported-log-rate-limit-interval", l, v, parse_boolean, u->exported_lo… in unit_deserialize() 353 …else if (MATCH_DESERIALIZE("exported-log-rate-limit-burst", l, v, parse_boolean, u->exported_log_r… in unit_deserialize() 379 … } else if (MATCH_DESERIALIZE("cgroup-realized", l, v, parse_boolean, u->cgroup_realized)) in unit_deserialize()
|
D | manager-serialize.c | 367 b = parse_boolean(val); in manager_deserialize() 376 b = parse_boolean(val); in manager_deserialize() 385 b = parse_boolean(val); in manager_deserialize() 394 b = parse_boolean(val); in manager_deserialize() 403 b = parse_boolean(val); in manager_deserialize()
|
/systemd-251/src/journal/ |
D | journald-stream.c | 406 r = parse_boolean(p); in stdout_stream_line() 415 r = parse_boolean(p); in stdout_stream_line() 424 r = parse_boolean(p); in stdout_stream_line() 433 r = parse_boolean(p); in stdout_stream_line() 789 r = parse_boolean(level_prefix); in stdout_stream_load() 795 r = parse_boolean(forward_to_syslog); in stdout_stream_load() 801 r = parse_boolean(forward_to_kmsg); in stdout_stream_load() 807 r = parse_boolean(forward_to_console); in stdout_stream_load()
|
D | journald-console.c | 28 && parse_boolean(p) > 0; in prefix_timestamp()
|
/systemd-251/src/getty-generator/ |
D | getty-generator.c | 151 r = value ? parse_boolean(value) : 1; in parse_proc_cmdline_item() 175 r = parse_boolean(getty_auto); in run()
|
/systemd-251/src/nspawn/ |
D | nspawn-settings.c | 520 r = parse_boolean(rvalue); in config_parse_boot() 565 r = parse_boolean(rvalue); in config_parse_pid2() 610 r = parse_boolean(rvalue); in config_parse_private_users() 818 r = parse_boolean(s); in parse_link_journal() 899 r = parse_boolean(rvalue); in config_parse_userns_chown()
|
/systemd-251/src/cgls/ |
D | cgls.c | 147 r = parse_boolean(optarg); in parse_argv() 155 r = parse_boolean(optarg); in parse_argv()
|
/systemd-251/src/sysupdate/ |
D | sysupdate-pattern.c | 345 r = parse_boolean(t); in pattern_match() 354 r = parse_boolean(t); in pattern_match() 363 r = parse_boolean(t); in pattern_match()
|
/systemd-251/src/random-seed/ |
D | random-seed.c | 56 r = parse_boolean(e); in may_credit() 77 r = parse_boolean(creditable); in may_credit()
|
/systemd-251/src/shared/ |
D | apparmor-util.c | 18 parse_boolean(p) > 0; in mac_apparmor_use()
|
D | parse-argument.c | 19 r = parse_boolean(s); in parse_boolean_argument()
|
/systemd-251/src/systemctl/ |
D | systemctl-service-watchdogs.c | 33 b = parse_boolean(argv[1]); in verb_service_watchdogs()
|
/systemd-251/src/analyze/ |
D | analyze-service-watchdogs.c | 31 b = parse_boolean(argv[1]); in verb_service_watchdogs()
|
/systemd-251/src/network/ |
D | networkd-can.c | 284 r = parse_boolean(rvalue); in config_parse_can_control_mode() 328 r = parse_boolean(rvalue); in config_parse_can_termination()
|
D | networkd-lldp-tx.c | 123 r = parse_boolean(rvalue); in config_parse_lldp_multicast_mode()
|
/systemd-251/src/basic/ |
D | util.c | 81 r = parse_boolean(e); in in_initrd()
|
D | log.c | 1276 t = parse_boolean(e); in log_show_color_from_string() 1287 t = parse_boolean(e); in log_show_location_from_string() 1298 t = parse_boolean(e); in log_show_time_from_string() 1309 t = parse_boolean(e); in log_show_tid_from_string()
|
D | parse-util.h | 14 int parse_boolean(const char *v) _pure_;
|
/systemd-251/src/veritysetup/ |
D | veritysetup-generator.c | 165 r = value ? parse_boolean(value) : 1; in parse_proc_cmdline_item() 173 r = value ? parse_boolean(value) : 1; in parse_proc_cmdline_item()
|
/systemd-251/src/libsystemd/sd-network/ |
D | sd-network.c | 236 return parse_boolean(s); in sd_network_link_get_required_for_online() 337 return parse_boolean(s); in sd_network_link_get_dns_default_route()
|
/systemd-251/src/debug-generator/ |
D | debug-generator.c | 65 r = value ? parse_boolean(value) : 1; in parse_proc_cmdline_item()
|
/systemd-251/src/cryptsetup/ |
D | cryptsetup.c | 199 r = parse_boolean(val); in parse_one_option() 246 r = parse_boolean(val); in parse_one_option() 394 r = parse_boolean(val); in parse_one_option() 404 r = parse_boolean(val); in parse_one_option() 416 r = parse_boolean(val); in parse_one_option()
|
/systemd-251/src/libsystemd/sd-login/ |
D | sd-login.c | 456 return parse_boolean(s); in sd_session_is_active() 475 return parse_boolean(s); in sd_session_is_remote() 734 return parse_boolean(s); in seat_get_can()
|
/systemd-251/src/journal-remote/ |
D | journal-gatewayd.c | 379 r = parse_boolean(value); in request_parse_arguments_iterator() 395 r = parse_boolean(value); in request_parse_arguments_iterator() 409 r = parse_boolean(value); in request_parse_arguments_iterator()
|