| 330 | } |
| 331 | |
| 332 | static inline const char *parse_hex_uint64(const char *buf, size_t len, uint64_t *value, int *status) |
| 333 | { |
| 334 | buf = parse_hex_integer(buf, len, value, status); |
| 335 | if (*status == PARSE_INTEGER_SIGNED) { |
| 336 | *status = PARSE_INTEGER_UNDERFLOW; |
| 337 | return 0; |
| 338 | } |
| 339 | return buf; |
| 340 | } |
| 341 | |
| 342 | __portable_define_parse_signed(int64, int64_t, INT64_MAX) |
| 343 | __portable_define_parse_signed(int32, int32_t, INT32_MAX) |
nothing calls this directly
no test coverage detected