Searched refs:parse_mode (Results 1 - 5 of 5) sorted by relevance

/systemd/src/test/
H A Dtest-parse-util.c87 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 Dparse-util.h34 int parse_mode(const char *s, mode_t *ret);
H A Dparse-util.c69 int parse_mode(const char *s, mode_t *ret) { function
/systemd/src/shared/
H A Dconf-parser.c464 DEFINE_PARSER(mode, mode_t, parse_mode);
/systemd/src/tmpfiles/
H A Dtmpfiles.c2041 if (parse_mode(mm, &m) < 0) {

Completed in 22 milliseconds