Lines Matching refs:strstr
295 c = strstr(line, "age["); in read_data_acpi()
300 c = strstr(line, "ation["); in read_data_acpi()
366 f = strstr(line, "MWAIT "); in read_data_cpuidle()
374 f = strstr(line, "POLL IDLE"); in read_data_cpuidle()
380 f = strstr(line, "ACPI HLT"); in read_data_cpuidle()
518 if (strstr(line, "present:") && strstr(line, "no")) in print_battery_proc_acpi()
521 if (strstr(line, "charging state:") in print_battery_proc_acpi()
522 && !strstr(line, "discharging")) in print_battery_proc_acpi()
529 if (strstr(line, "present voltage")) in print_battery_proc_acpi()
532 if (strstr(line, "remaining capacity") && strstr(c, "mW")) in print_battery_proc_acpi()
535 if (strstr(line, "remaining capacity") && strstr(c, "mAh")) in print_battery_proc_acpi()
538 if (strstr(line, "present rate") && strstr(c, "mW")) in print_battery_proc_acpi()
541 if (strstr(line, "present rate") && strstr(c, "mA")) in print_battery_proc_acpi()
674 if (strstr(dirent->d_name, "AC")) in print_battery_sysfs()
694 if (!strstr(line, "Discharging")) in print_battery_sysfs()
946 if (strstr(line, "total events")) in main()
1001 if (strstr(line, "total events")) { in main()