Searched refs:nextc (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/tools/power/cpupower/utils/helpers/ |
H A D | bitmask.c | 91 * the matched unsigned number. If it is 2, then 'nextc' is the first 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() [all...] |
/kernel/linux/linux-6.6/tools/power/cpupower/utils/helpers/ |
H A D | bitmask.c | 91 * the matched unsigned number. If it is 2, then 'nextc' is the first 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() [all...] |
Completed in 3 milliseconds