Lines Matching refs:v
9 int r, v; in parse_parts_value_whole() local
16 r = safe_atoi(n, &v); in parse_parts_value_whole()
19 if (v < 0) in parse_parts_value_whole()
22 return v; in parse_parts_value_whole()
27 int r, q, v; in parse_parts_value_with_tenths_place() local
45 r = safe_atoi(n, &v); in parse_parts_value_with_tenths_place()
48 if (v < 0) in parse_parts_value_with_tenths_place()
50 if (v > (INT_MAX - q) / 10) in parse_parts_value_with_tenths_place()
53 v = v * 10 + q; in parse_parts_value_with_tenths_place()
54 return v; in parse_parts_value_with_tenths_place()
59 int r, q, v; in parse_parts_value_with_hundredths_place() local
89 r = safe_atoi(n, &v); in parse_parts_value_with_hundredths_place()
92 if (v < 0) in parse_parts_value_with_hundredths_place()
94 if (v > (INT_MAX - q) / 100) in parse_parts_value_with_hundredths_place()
97 v = v * 100 + q; in parse_parts_value_with_hundredths_place()
98 return v; in parse_parts_value_with_hundredths_place()
106 int v; in parse_percent() local
108 v = parse_percent_unbounded(p); in parse_percent()
109 if (v > 100) in parse_percent()
112 return v; in parse_percent()
126 int v; in parse_permille() local
128 v = parse_permille_unbounded(p); in parse_permille()
129 if (v > 1000) in parse_permille()
132 return v; in parse_permille()
150 int v; in parse_permyriad() local
152 v = parse_permyriad_unbounded(p); in parse_permyriad()
153 if (v > 10000) in parse_permyriad()
156 return v; in parse_permyriad()