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.c123 char hex_str[3]; in cper_create_examples() local
124 int out = snprintf(hex_str, sizeof(hex_str), "%02x", in cper_create_examples()
130 fwrite(hex_str, sizeof(char), 2, outFile); in cper_create_examples()
361 char hex_str[3]; in to_hex() local
362 int n = snprintf(hex_str, sizeof(hex_str), "%02x", c); in to_hex()
367 (*out)[out_index] = hex_str[0]; in to_hex()
369 (*out)[out_index] = hex_str[1]; in to_hex()
/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/qemu/qga/
H A Dcommands-linux.c2129 const char *hex_str = (const char *)hex_value; in hex_to_ip_address()
2133 if (sscanf(&hex_str[i * 2], "%02hhx", &in6.s6_addr[i]) != 1) { in hex_to_ip_address()
2128 const char *hex_str = (const char *)hex_value; hex_to_ip_address() local