Searched refs:exit_status_from_string (Results 1 – 6 of 6) sorted by relevance
18 assert_se(exit_status_from_string(s) == i); in TEST()22 TEST(exit_status_from_string) { in TEST() argument23 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()
36 status = exit_status_from_string(argv[i]); in verb_exit_status()
94 int exit_status_from_string(const char *s) _pure_;
125 int exit_status_from_string(const char *s) { in exit_status_from_string() function
2219 r = exit_status_from_string(word); in bus_append_service_property()
4945 r = exit_status_from_string(word); in config_parse_set_status()