MCPcopy Create free account
hub / github.com/F-Stack/f-stack / parser_read_uint32

Function parser_read_uint32

dpdk/examples/fips_validation/fips_validation.c:796–810  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

794}
795
796int
797parser_read_uint32(uint32_t *value, char *p)
798{
799 uint64_t val = 0;
800 int ret = parser_read_uint64(&val, p);
801
802 if (ret < 0)
803 return ret;
804
805 if (val > UINT32_MAX)
806 return -EINVAL;
807
808 *value = val;
809 return 0;
810}
811
812int
813parser_read_uint16(uint16_t *value, const char *p)

Callers 5

parse_test_aes_initFunction · 0.70
parse_test_xts_initFunction · 0.70
parser_read_uint32_valFunction · 0.70
parse_cryptodev_id_argFunction · 0.70

Calls 1

parser_read_uint64Function · 0.70

Tested by

no test coverage detected