Searched refs:inp (Results 1 – 1 of 1) sorted by relevance
2155 static int parse_num_or_str(char **inp, u64 *num, const char **str, in parse_num_or_str() argument2158 *inp += strspn(*inp, " "); in parse_num_or_str()2160 if (isdigit(**inp)) { in parse_num_or_str()2166 *num = strtoull(*inp, &endptr, 0); in parse_num_or_str()2169 if (endptr == *inp) in parse_num_or_str()2171 *inp = endptr; in parse_num_or_str()2177 *inp += strspn(*inp, " "); in parse_num_or_str()2178 *str = *inp; in parse_num_or_str()2179 n = strcspn(*inp, str_delim); in parse_num_or_str()2182 *inp += n; in parse_num_or_str()[all …]