Lines Matching refs:end
195 static void skip_num(int hex, const char *value, const char **end, in skip_num() argument
210 if (end != NULL) in skip_num()
211 *end = value; in skip_num()
217 const char *end; in eth_validate_ethaddr_str() local
223 skip_num(1, cur, &end, 2); in eth_validate_ethaddr_str()
224 if (cur == end) in eth_validate_ethaddr_str()
226 if (cur + 2 == end && is_hex_prefix(cur)) in eth_validate_ethaddr_str()
228 if (i != 5 && *end != ':') in eth_validate_ethaddr_str()
230 if (i == 5 && *end != '\0') in eth_validate_ethaddr_str()
232 cur = end + 1; in eth_validate_ethaddr_str()
246 const char *end; in _env_flags_validate_type() local
256 skip_num(0, value, &end, -1); in _env_flags_validate_type()
257 if (*end != '\0') in _env_flags_validate_type()
261 skip_num(1, value, &end, -1); in _env_flags_validate_type()
262 if (*end != '\0') in _env_flags_validate_type()
264 if (value + 2 == end && is_hex_prefix(value)) in _env_flags_validate_type()
280 skip_num(0, cur, &end, 3); in _env_flags_validate_type()
281 if (cur == end) in _env_flags_validate_type()
283 if (i != 3 && *end != '.') in _env_flags_validate_type()
285 if (i == 3 && *end != '\0') in _env_flags_validate_type()
287 cur = end + 1; in _env_flags_validate_type()