Searched refs:parse_mode (Results 1 - 5 of 5) sorted by relevance
/systemd/src/test/ |
H A D | test-parse-util.c | 87 assert_se(parse_mode("-1", &m) < 0); 88 assert_se(parse_mode("", &m) < 0); 89 assert_se(parse_mode("888", &m) < 0); 90 assert_se(parse_mode("77777", &m) < 0); 92 assert_se(parse_mode("544", &m) >= 0 && m == 0544); 93 assert_se(parse_mode("777", &m) >= 0 && m == 0777); 94 assert_se(parse_mode("7777", &m) >= 0 && m == 07777); 95 assert_se(parse_mode("0", &m) >= 0 && m == 0);
|
/systemd/src/basic/ |
H A D | parse-util.h | 34 int parse_mode(const char *s, mode_t *ret);
|
H A D | parse-util.c | 69 int parse_mode(const char *s, mode_t *ret) { function
|
/systemd/src/shared/ |
H A D | conf-parser.c | 464 DEFINE_PARSER(mode, mode_t, parse_mode);
|
/systemd/src/tmpfiles/ |
H A D | tmpfiles.c | 2041 if (parse_mode(mm, &m) < 0) {
|
Completed in 22 milliseconds