Searched refs:parse_nice (Results 1 – 7 of 7) sorted by relevance
/systemd-251/src/test/ |
D | test-parse-util.c | 788 TEST(parse_nice) { in TEST() argument 791 assert_se(parse_nice("0", &n) >= 0 && n == 0); in TEST() 792 assert_se(parse_nice("+0", &n) >= 0 && n == 0); in TEST() 793 assert_se(parse_nice("-1", &n) >= 0 && n == -1); in TEST() 794 assert_se(parse_nice("-2", &n) >= 0 && n == -2); in TEST() 795 assert_se(parse_nice("1", &n) >= 0 && n == 1); in TEST() 796 assert_se(parse_nice("2", &n) >= 0 && n == 2); in TEST() 797 assert_se(parse_nice("+1", &n) >= 0 && n == 1); in TEST() 798 assert_se(parse_nice("+2", &n) >= 0 && n == 2); in TEST() 799 assert_se(parse_nice("-20", &n) >= 0 && n == -20); in TEST() [all …]
|
/systemd-251/src/basic/ |
D | parse-util.h | 128 int parse_nice(const char *p, int *ret);
|
D | parse-util.c | 629 int parse_nice(const char *p, int *ret) { in parse_nice() function
|
/systemd-251/src/run/ |
D | run.c | 317 r = parse_nice(optarg, &arg_nice); in parse_argv()
|
/systemd-251/src/shared/ |
D | bus-unit-util.c | 127 DEFINE_BUS_APPEND_PARSE_PTR("i", int32_t, int, parse_nice);
|
/systemd-251/src/home/ |
D | homectl.c | 2676 r = parse_nice(optarg, &nc); in parse_argv()
|
/systemd-251/src/core/ |
D | load-fragment.c | 693 r = parse_nice(rvalue, &priority); in config_parse_exec_nice()
|