Lines Matching defs:str1
3364 static unsigned int parse_percent_type(char *str1, char *str2)
3368 if (!strcmp("period", str1)) {
3375 if (!strcmp("hits", str1)) {
3390 char *str1, *str2;
3393 str1 = strdup(_str);
3394 if (!str1)
3397 str2 = strchr(str1, '-');
3403 type = parse_percent_type(str1, str2);
3405 type = parse_percent_type(str2, str1);
3412 free(str1);