Searched refs:parse_uint (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/sound/core/ |
H A D | control_led.c | 476 static char *parse_uint(char *s, unsigned int *val) in parse_uint() function 544 s = parse_uint(s + 6, &id.numid); in set_led_id() 548 s = parse_uint(s + 7, &id.device); in set_led_id() 550 s = parse_uint(s + 10, &id.subdevice); in set_led_id() 554 s = parse_uint(s + 6, &id.index); in set_led_id() 562 parse_uint(buf2, &id.numid); in set_led_id()
|
/openbmc/qemu/tests/unit/ |
H A D | test-cutils.c | 40 r = parse_uint(NULL, &endptr, 0, &i); in test_parse_uint_null() 54 r = parse_uint(str, &endptr, 0, &i); in test_parse_uint_empty() 68 r = parse_uint(str, &endptr, 0, &i); in test_parse_uint_whitespace() 83 r = parse_uint(str, &endptr, 0, &i); in test_parse_uint_invalid() 98 r = parse_uint(str, &endptr, 0, &i); in test_parse_uint_trailing() 112 r = parse_uint(str, &endptr, 0, &i); in test_parse_uint_correct() 126 r = parse_uint(str, &endptr, 0, &i); in test_parse_uint_octal() 154 r = parse_uint(str, &endptr, 0, &i); in test_parse_uint_llong_max() 170 r = parse_uint(str, &endptr, 0, &i); in test_parse_uint_max() 189 r = parse_uint(str, &endptr, 0, &i); in test_parse_uint_overflow() [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | cutils.h | 166 int parse_uint(const char *s, const char **endptr, int base, uint64_t *value);
|
/openbmc/qemu/util/ |
H A D | cutils.c | 234 retval = parse_uint(nptr, &endptr, 10, &val); in do_strtosz() 816 int parse_uint(const char *s, const char **endptr, int base, uint64_t *value) in parse_uint() function 874 return parse_uint(s, NULL, base, value); in parse_uint_full()
|
/openbmc/linux/tools/testing/selftests/powerpc/include/ |
H A D | utils.h | 49 int parse_uint(const char *buffer, size_t count, unsigned int *result, int base);
|
/openbmc/linux/tools/testing/selftests/powerpc/ |
H A D | utils.c | 279 int parse_uint(const char *buffer, size_t count, unsigned int *result, int base) in parse_uint() function
|
/openbmc/qemu/qapi/ |
H A D | opts-visitor.c | 474 if (parse_uint(str, &endptr, 0, &val) == 0) { in opts_type_uint64()
|