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

/systemd/src/test/
H A Dtest-conf-parser.c50 static void test_config_parse_iec_size_one(const char *rvalue, size_t expected) { function
131 test_config_parse_iec_size_one("1024", 1024);
132 test_config_parse_iec_size_one("2K", 2048);
133 test_config_parse_iec_size_one("10M", 10 * 1024 * 1024);
134 test_config_parse_iec_size_one("1G", 1 * 1024 * 1024 * 1024);
135 test_config_parse_iec_size_one("0G", 0);
136 test_config_parse_iec_size_one("0", 0);
138 test_config_parse_iec_size_one("-982", 0);
139 test_config_parse_iec_size_one("49874444198739873000000G", 0);
140 test_config_parse_iec_size_one("garbag
[all...]

Completed in 9 milliseconds