Lines Matching refs:str1
3506 static unsigned int parse_percent_type(char *str1, char *str2)
3510 if (!strcmp("period", str1)) {
3517 if (!strcmp("hits", str1)) {
3531 char *str1, *str2;
3534 str1 = strdup(_str);
3535 if (!str1)
3538 str2 = strchr(str1, '-');
3544 type = parse_percent_type(str1, str2);
3546 type = parse_percent_type(str2, str1);
3553 free(str1);