Searched refs:hexchar (Results 1 – 13 of 13) sorted by relevance
/systemd-251/src/shared/ |
D | dns-domain.c | 724 … hexchar(p[15] & 0xF), hexchar(p[15] >> 4), hexchar(p[14] & 0xF), hexchar(p[14] >> 4), in dns_name_reverse() 725 … hexchar(p[13] & 0xF), hexchar(p[13] >> 4), hexchar(p[12] & 0xF), hexchar(p[12] >> 4), in dns_name_reverse() 726 … hexchar(p[11] & 0xF), hexchar(p[11] >> 4), hexchar(p[10] & 0xF), hexchar(p[10] >> 4), in dns_name_reverse() 727 … hexchar(p[ 9] & 0xF), hexchar(p[ 9] >> 4), hexchar(p[ 8] & 0xF), hexchar(p[ 8] >> 4), in dns_name_reverse() 728 … hexchar(p[ 7] & 0xF), hexchar(p[ 7] >> 4), hexchar(p[ 6] & 0xF), hexchar(p[ 6] >> 4), in dns_name_reverse() 729 … hexchar(p[ 5] & 0xF), hexchar(p[ 5] >> 4), hexchar(p[ 4] & 0xF), hexchar(p[ 4] >> 4), in dns_name_reverse() 730 … hexchar(p[ 3] & 0xF), hexchar(p[ 3] >> 4), hexchar(p[ 2] & 0xF), hexchar(p[ 2] >> 4), in dns_name_reverse() 731 … hexchar(p[ 1] & 0xF), hexchar(p[ 1] >> 4), hexchar(p[ 0] & 0xF), hexchar(p[ 0] >> 4)); in dns_name_reverse()
|
/systemd-251/src/libsystemd/sd-id128/ |
D | sd-id128.c | 25 s[n*2] = hexchar(id.bytes[n] >> 4); in sd_id128_to_string() 26 s[n*2+1] = hexchar(id.bytes[n] & 0xF); in sd_id128_to_string() 46 s[k++] = hexchar(id.bytes[n] >> 4); in sd_id128_to_uuid_string() 47 s[k++] = hexchar(id.bytes[n] & 0xF); in sd_id128_to_uuid_string()
|
/systemd-251/src/basic/ |
D | bus-label.c | 36 *(t++) = hexchar(*f >> 4); in bus_label_escape() 37 *(t++) = hexchar(*f); in bus_label_escape()
|
D | ether-addr-util.c | 24 buffer[j++] = hexchar(addr->bytes[i] >> 4); in hw_addr_to_string_full() 25 buffer[j++] = hexchar(addr->bytes[i] & 0x0f); in hw_addr_to_string_full()
|
D | utf8.c | 258 *(s++) = hexchar((int) *str >> 4); in utf8_escape_non_printable_full() 259 *(s++) = hexchar((int) *str); in utf8_escape_non_printable_full()
|
D | hexdecoct.h | 17 char hexchar(int x) _const_;
|
D | hexdecoct.c | 38 char hexchar(int x) { in hexchar() function 67 *(z++) = hexchar(*x >> 4); in hexmem() 68 *(z++) = hexchar(*x & 15); in hexmem()
|
D | escape.c | 406 *(t++) = hexchar(*f >> 4); in xescape_full() 407 *(t++) = hexchar(*f); in xescape_full()
|
D | unit-name.c | 306 *(t++) = hexchar(c >> 4); in do_escape_char() 307 *(t++) = hexchar(c); in do_escape_char()
|
D | tmpfile-util.c | 203 *(x++) = hexchar(u & 0xF); in tempfn_random_child()
|
/systemd-251/src/test/ |
D | test-hexdecoct.c | 12 TEST(hexchar) { in TEST() argument 13 assert_se(hexchar(0xa) == 'a'); in TEST() 14 assert_se(hexchar(0x0) == '0'); in TEST()
|
/systemd-251/src/libsystemd/sd-bus/ |
D | bus-internal.c | 311 *(b++) = hexchar(*a >> 4); in bus_address_escape() 312 *(b++) = hexchar(*a & 0xF); in bus_address_escape()
|
/systemd-251/src/udev/ |
D | udev-netlink.c | 185 str[j++] = hexchar(data[i] >> 4); in cache_binary() 186 str[j++] = hexchar(data[i] & 0x0f); in cache_binary()
|