Home
last modified time | relevance | path

Searched refs:hexchar (Results 1 – 13 of 13) sorted by relevance

/systemd-251/src/shared/
Ddns-domain.c724hexchar(p[15] & 0xF), hexchar(p[15] >> 4), hexchar(p[14] & 0xF), hexchar(p[14] >> 4), in dns_name_reverse()
725hexchar(p[13] & 0xF), hexchar(p[13] >> 4), hexchar(p[12] & 0xF), hexchar(p[12] >> 4), in dns_name_reverse()
726hexchar(p[11] & 0xF), hexchar(p[11] >> 4), hexchar(p[10] & 0xF), hexchar(p[10] >> 4), in dns_name_reverse()
727hexchar(p[ 9] & 0xF), hexchar(p[ 9] >> 4), hexchar(p[ 8] & 0xF), hexchar(p[ 8] >> 4), in dns_name_reverse()
728hexchar(p[ 7] & 0xF), hexchar(p[ 7] >> 4), hexchar(p[ 6] & 0xF), hexchar(p[ 6] >> 4), in dns_name_reverse()
729hexchar(p[ 5] & 0xF), hexchar(p[ 5] >> 4), hexchar(p[ 4] & 0xF), hexchar(p[ 4] >> 4), in dns_name_reverse()
730hexchar(p[ 3] & 0xF), hexchar(p[ 3] >> 4), hexchar(p[ 2] & 0xF), hexchar(p[ 2] >> 4), in dns_name_reverse()
731hexchar(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/
Dsd-id128.c25 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/
Dbus-label.c36 *(t++) = hexchar(*f >> 4); in bus_label_escape()
37 *(t++) = hexchar(*f); in bus_label_escape()
Dether-addr-util.c24 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()
Dutf8.c258 *(s++) = hexchar((int) *str >> 4); in utf8_escape_non_printable_full()
259 *(s++) = hexchar((int) *str); in utf8_escape_non_printable_full()
Dhexdecoct.h17 char hexchar(int x) _const_;
Dhexdecoct.c38 char hexchar(int x) { in hexchar() function
67 *(z++) = hexchar(*x >> 4); in hexmem()
68 *(z++) = hexchar(*x & 15); in hexmem()
Descape.c406 *(t++) = hexchar(*f >> 4); in xescape_full()
407 *(t++) = hexchar(*f); in xescape_full()
Dunit-name.c306 *(t++) = hexchar(c >> 4); in do_escape_char()
307 *(t++) = hexchar(c); in do_escape_char()
Dtmpfile-util.c203 *(x++) = hexchar(u & 0xF); in tempfn_random_child()
/systemd-251/src/test/
Dtest-hexdecoct.c12 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/
Dbus-internal.c311 *(b++) = hexchar(*a >> 4); in bus_address_escape()
312 *(b++) = hexchar(*a & 0xF); in bus_address_escape()
/systemd-251/src/udev/
Dudev-netlink.c185 str[j++] = hexchar(data[i] >> 4); in cache_binary()
186 str[j++] = hexchar(data[i] & 0x0f); in cache_binary()