Lines Matching defs:str1
2390 static unsigned int parse_percent_type(char *str1, char *str2)
2394 if (!strcmp("period", str1)) {
2401 if (!strcmp("hits", str1)) {
2415 char *str1, *str2;
2418 str1 = strdup(_str);
2419 if (!str1)
2422 str2 = strchr(str1, '-');
2428 type = parse_percent_type(str1, str2);
2430 type = parse_percent_type(str2, str1);
2437 free(str1);