Searched refs:parse_mode (Results 1 – 10 of 10) sorted by relevance
/systemd-251/src/test/ |
D | test-parse-util.c | 75 TEST(parse_mode) { in TEST() argument 78 assert_se(parse_mode("-1", &m) < 0); in TEST() 79 assert_se(parse_mode("+1", &m) < 0); in TEST() 80 assert_se(parse_mode("", &m) < 0); in TEST() 81 assert_se(parse_mode("888", &m) < 0); in TEST() 82 assert_se(parse_mode("77777", &m) < 0); in TEST() 84 assert_se(parse_mode("544", &m) >= 0 && m == 0544); in TEST() 85 assert_se(parse_mode("0544", &m) >= 0 && m == 0544); in TEST() 86 assert_se(parse_mode("00544", &m) >= 0 && m == 0544); in TEST() 87 assert_se(parse_mode("777", &m) >= 0 && m == 0777); in TEST() [all …]
|
/systemd-251/src/basic/ |
D | parse-util.h | 16 int parse_mode(const char *s, mode_t *ret);
|
D | parse-util.c | 71 int parse_mode(const char *s, mode_t *ret) { in parse_mode() function
|
D | process-util.c | 699 return parse_mode(m, ret); in get_process_umask()
|
/systemd-251/src/sysupdate/ |
D | sysupdate-pattern.c | 291 r = parse_mode(t, &m); in pattern_match()
|
/systemd-251/src/udev/ |
D | udev-rules.c | 747 r = parse_mode(attr, &mode); in parse_token() 921 if (parse_mode(value, &mode) >= 0) in parse_token() 2064 r = parse_mode(mode_str, &event->mode); in udev_rule_apply_token_to_event()
|
/systemd-251/src/shared/ |
D | conf-parser.c | 774 DEFINE_PARSER(mode, mode_t, parse_mode);
|
D | bus-unit-util.c | 135 DEFINE_BUS_APPEND_PARSE_PTR("u", uint32_t, mode_t, parse_mode);
|
/systemd-251/src/home/ |
D | homectl.c | 3017 r = parse_mode(optarg, &mode); in parse_argv() 3105 r = parse_mode(optarg, &m); in parse_argv()
|
/systemd-251/src/tmpfiles/ |
D | tmpfiles.c | 3217 r = parse_mode(mm, &m); in parse_line()
|