Searched refs:rlimit_from_string_harder (Results 1 – 5 of 5) sorted by relevance
70 TEST(rlimit_from_string_harder) { in TEST() argument71 assert_se(rlimit_from_string_harder("NOFILE") == RLIMIT_NOFILE); in TEST()72 assert_se(rlimit_from_string_harder("LimitNOFILE") == RLIMIT_NOFILE); in TEST()73 assert_se(rlimit_from_string_harder("RLIMIT_NOFILE") == RLIMIT_NOFILE); in TEST()74 assert_se(rlimit_from_string_harder("xxxNOFILE") == -EINVAL); in TEST()75 assert_se(rlimit_from_string_harder("DefaultLimitNOFILE") == -EINVAL); in TEST()87 assert_se(rlimit_from_string_harder(p) == i); in TEST()92 assert_se(rlimit_from_string_harder(prefixed) == i); in TEST()98 assert_se(rlimit_from_string_harder(prefixed) == i); in TEST()
10 int rlimit_from_string_harder(const char *s) _pure_;
345 int rlimit_from_string_harder(const char *s) { in rlimit_from_string_harder() function
2714 l = rlimit_from_string_harder(field); in parse_argv()
1488 rl = rlimit_from_string_harder(name); in parse_argv()