Home
last modified time | relevance | path

Searched refs:exit_status_from_string (Results 1 – 6 of 6) sorted by relevance

/systemd-251/src/test/
Dtest-exit-status.c18 assert_se(exit_status_from_string(s) == i); in TEST()
22 TEST(exit_status_from_string) { in TEST() argument
23 assert_se(exit_status_from_string("11") == 11); in TEST()
24 assert_se(exit_status_from_string("-1") == -ERANGE); in TEST()
25 assert_se(exit_status_from_string("256") == -ERANGE); in TEST()
26 assert_se(exit_status_from_string("foo") == -EINVAL); in TEST()
27 assert_se(exit_status_from_string("SUCCESS") == 0); in TEST()
28 assert_se(exit_status_from_string("FAILURE") == 1); in TEST()
/systemd-251/src/analyze/
Danalyze-exit-status.c36 status = exit_status_from_string(argv[i]); in verb_exit_status()
/systemd-251/src/shared/
Dexit-status.h94 int exit_status_from_string(const char *s) _pure_;
Dexit-status.c125 int exit_status_from_string(const char *s) { in exit_status_from_string() function
Dbus-unit-util.c2219 r = exit_status_from_string(word); in bus_append_service_property()
/systemd-251/src/core/
Dload-fragment.c4945 r = exit_status_from_string(word); in config_parse_set_status()