Searched refs:nextc (Results 1 – 1 of 1) sorted by relevance
/linux/tools/power/cpupower/utils/helpers/ |
H A D | bitmask.c | 99 static int scan_was_ok(int sret, char nextc, const char *ok_next_chars) in scan_was_ok() argument 102 (sret == 2 && strchr(ok_next_chars, nextc) != NULL); in scan_was_ok() 204 char nextc; /* char after sscanf %u match */ in bitmask_parselist() local 207 sret = sscanf(p, "%u%c", &a, &nextc); in bitmask_parselist() 208 if (!scan_was_ok(sret, nextc, ",-")) in bitmask_parselist() 215 sret = sscanf(c1, "%u%c", &b, &nextc); in bitmask_parselist() 216 if (!scan_was_ok(sret, nextc, ",:")) in bitmask_parselist() 220 sret = sscanf(c1, "%u%c", &s, &nextc); in bitmask_parselist() 221 if (!scan_was_ok(sret, nextc, ",")) in bitmask_parselist()
|