Searched refs:digits (Results 1 - 2 of 2) sorted by relevance

/systemd/src/basic/
H A Dparse-util.h95 int parse_fractional_part_u(const char **s, size_t digits, unsigned *res);
H A Dparse-util.c500 int parse_fractional_part_u(const char **p, size_t digits, unsigned *res) { argument
507 /* accept any number of digits, strtoull is limted to 19 */
508 for(i=0; i < digits; i++,s++) {
513 /* too few digits, pad with 0 */
514 for (; i < digits; i++)

Completed in 10 milliseconds