Lines Matching refs:line
21 char * line = NULL;
28 line = op_get_line(fp);
30 if (!line)
33 if (line[0] == '\0') {
34 free(line);
39 if (sscanf(line, "cpu MHz : %lf", &fval) == 1)
42 if (sscanf(line, "clock : %lfMHz", &fval) == 1)
45 if (sscanf(line, "cycle frequency [Hz] : %lu", &uval) == 1) {
50 if (sscanf(line, "Cpu0ClkTck : %lx", &uval) == 1) {
55 if (sscanf(line, "BogoMIPS : %lu", &uval) == 1) {
61 free(line);
64 if (line)
65 free(line);