Lines Matching defs:str1
3165 static unsigned int parse_percent_type(char *str1, char *str2)
3169 if (!strcmp("period", str1)) {
3176 if (!strcmp("hits", str1)) {
3191 char *str1, *str2;
3194 str1 = strdup(_str);
3195 if (!str1)
3198 str2 = strchr(str1, '-');
3204 type = parse_percent_type(str1, str2);
3206 type = parse_percent_type(str2, str1);
3213 free(str1);