Home
last modified time | relevance | path

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

/systemd-251/src/test/
Dtest-parse-util.c815 TEST(parse_errno) { in TEST() argument
816 assert_se(parse_errno("EILSEQ") == EILSEQ); in TEST()
817 assert_se(parse_errno("EINVAL") == EINVAL); in TEST()
818 assert_se(parse_errno("0") == 0); in TEST()
819 assert_se(parse_errno("1") == 1); in TEST()
820 assert_se(parse_errno("4095") == 4095); in TEST()
822 assert_se(parse_errno("-1") == -ERANGE); in TEST()
823 assert_se(parse_errno("-3") == -ERANGE); in TEST()
824 assert_se(parse_errno("4096") == -ERANGE); in TEST()
826 assert_se(parse_errno("") == -EINVAL); in TEST()
[all …]
/systemd-251/src/shared/
Dseccomp-util.h145 return parse_errno(p); in seccomp_parse_errno_or_action()
/systemd-251/src/basic/
Dparse-util.h22 int parse_errno(const char *t);
Dparse-util.c296 int parse_errno(const char *t) { in parse_errno() function
/systemd-251/src/core/
Dservice.c4206 status_errno = parse_errno(e); in service_notify_message()
Dload-fragment.c3541 e = parse_errno(rvalue); in config_parse_syscall_errno()