| 320 | } |
| 321 | |
| 322 | static inline const char *parse_uint64(const char *buf, size_t len, uint64_t *value, int *status) |
| 323 | { |
| 324 | buf = parse_integer(buf, len, value, status); |
| 325 | if (*status == PARSE_INTEGER_SIGNED) { |
| 326 | *status = PARSE_INTEGER_UNDERFLOW; |
| 327 | return 0; |
| 328 | } |
| 329 | return buf; |
| 330 | } |
| 331 | |
| 332 | static inline const char *parse_hex_uint64(const char *buf, size_t len, uint64_t *value, int *status) |
| 333 | { |
nothing calls this directly
no test coverage detected