Lines Matching full:suffix
229 /* Left shiftwidth corresponding to the suffix. */ in config_parse_bytesize()
242 char *suffix; in config_parse_bytesize() local
249 logsize = strtoul(size_str, &suffix, 0); in config_parse_bytesize()
250 if (logsize == 0 || logsize >= UINT32_MAX || suffix == size_str) { in config_parse_bytesize()
254 /* Ignore spaces between number and suffix */ in config_parse_bytesize()
255 while (*suffix && isspace(*suffix)) { in config_parse_bytesize()
256 suffix++; in config_parse_bytesize()
260 if (*suffix == suffixes[i].unit) { in config_parse_bytesize()
270 suffix++; in config_parse_bytesize()
275 /* Allow suffix like 'kB' */ in config_parse_bytesize()
276 while (*suffix && (tolower(*suffix) == 'b' || isspace(*suffix))) { in config_parse_bytesize()
277 suffix++; in config_parse_bytesize()
280 if (*suffix) { in config_parse_bytesize()
281 warn("Invalid suffix!"); in config_parse_bytesize()