Lines Matching refs:featurestr
317 char *featurestr, *name = strtok(s, ","); in cpu_x86_find_by_name() local
333 featurestr = strtok(NULL, ","); in cpu_x86_find_by_name()
335 while (featurestr) { in cpu_x86_find_by_name()
337 if (featurestr[0] == '+') { in cpu_x86_find_by_name()
338 …add_flagname_to_bitmaps(featurestr + 1, &plus_features, &plus_ext_features, &plus_ext2_features, &… in cpu_x86_find_by_name()
339 } else if (featurestr[0] == '-') { in cpu_x86_find_by_name()
340 …add_flagname_to_bitmaps(featurestr + 1, &minus_features, &minus_ext_features, &minus_ext2_features… in cpu_x86_find_by_name()
341 } else if ((val = strchr(featurestr, '='))) { in cpu_x86_find_by_name()
343 if (!strcmp(featurestr, "family")) { in cpu_x86_find_by_name()
351 } else if (!strcmp(featurestr, "model")) { in cpu_x86_find_by_name()
359 } else if (!strcmp(featurestr, "stepping")) { in cpu_x86_find_by_name()
367 } else if (!strcmp(featurestr, "vendor")) { in cpu_x86_find_by_name()
381 } else if (!strcmp(featurestr, "model_id")) { in cpu_x86_find_by_name()
385 fprintf(stderr, "unrecognized feature %s\n", featurestr); in cpu_x86_find_by_name()
389 …fprintf(stderr, "feature string `%s' not in format (+feature|-feature|feature=xyz)\n", featurestr); in cpu_x86_find_by_name()
392 featurestr = strtok(NULL, ","); in cpu_x86_find_by_name()