Lines Matching defs:str
25 static int get_range(char **str, int *pint)
29 (*str)++;
30 upper_range = simple_strtol((*str), NULL, 0);
39 * @str: option string
40 * @pint: (output) integer value parsed from @str
52 int get_option (char **str, int *pint)
54 char *cur = *str;
58 *pint = simple_strtol (cur, str, 0);
59 if (cur == *str)
61 if (**str == ',') {
62 (*str)++;
65 if (**str == '-')
73 * @str: String to be parsed
84 * the parse to end (typically a null terminator, if @str is
88 char *get_options(const char *str, int nints, int *ints)
93 res = get_option ((char **)&str, ints + i);
98 range_nums = get_range((char **)&str, ints + i);
113 return (char *)str;