Home
last modified time | relevance | path

Searched refs:hex_str (Results 1 – 3 of 3) sorted by relevance

/openbmc/libcper/tests/
H A Dir-tests.c131 char hex_str[3]; in cper_create_examples()
132 int out = snprintf(hex_str, sizeof(hex_str), "%02x", in cper_create_examples()
138 fwrite(hex_str, sizeof(char), 2, outFile); in cper_create_examples()
383 char hex_str[3]; in to_hex()
384 int n = snprintf(hex_str, sizeof(hex_str), "%02x", c); in to_hex()
389 (*out)[out_index] = hex_str[0]; in to_hex()
391 (*out)[out_index] = hex_str[1]; in to_hex()
130 char hex_str[3]; cper_create_examples() local
382 char hex_str[3]; to_hex() local
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/vlan/vlan-1.9/
H A D0001-Add-printf-format-and-silence-format-security-warnin.patch31 int hex_to_bytes(char* bytes, int bytes_length, char* hex_str) {
/openbmc/libcper/
H A Dcper-utils.c748 const char *hex_str = json_object_get_string(field); in get_bytes_hex()
749 if (hex_str == NULL) { in get_bytes_hex()
766 int high = hex_char_to_nibble(hex_str[i * 2]); in add_bool()
767 int low = hex_char_to_nibble(hex_str[i * 2 + 1]); in add_bool()
732 const char *hex_str = json_object_get_string(field); get_bytes_hex() local