Searched refs:parse_permille_unbounded (Results 1 – 3 of 3) sorted by relevance
70 TEST(parse_permille_unbounded) { in TEST() argument71 assert_se(parse_permille_unbounded("1001‰") == 1001); in TEST()72 assert_se(parse_permille_unbounded("4000‰") == 4000); in TEST()73 assert_se(parse_permille_unbounded("2147483647‰") == 2147483647); in TEST()74 assert_se(parse_permille_unbounded("2147483648‰") == -ERANGE); in TEST()75 assert_se(parse_permille_unbounded("4294967295‰") == -ERANGE); in TEST()76 assert_se(parse_permille_unbounded("4294967296‰") == -ERANGE); in TEST()78 assert_se(parse_permille_unbounded("101%") == 1010); in TEST()79 assert_se(parse_permille_unbounded("400%") == 4000); in TEST()80 assert_se(parse_permille_unbounded("214748364.7%") == 2147483647); in TEST()[all …]
115 int parse_permille_unbounded(const char *p) { in parse_permille_unbounded() function128 v = parse_permille_unbounded(p); in parse_permille()
12 int parse_permille_unbounded(const char *p);