Home
last modified time | relevance | path

Searched refs:hexdigits (Results 1 – 25 of 36) sorted by relevance

12

/netbsd-src/sys/lib/libkern/
H A Dhexdump.c38 static const char hexdigits[] = "0123456789abcdef"; variable
67 buf[p++] = hexdigits[(c >> 4) & 0xf];
68 buf[p++] = hexdigits[(c >> 0) & 0xf];
/netbsd-src/sys/net/
H A Ddl_print.c37 static const char hexdigits[] = "0123456789abcdef"; variable
53 *dp++ = hexdigits[(*sp) >> 4]; in lla_snprintf1()
56 *dp++ = hexdigits[(*sp++) & 0xf]; in lla_snprintf1()
H A Dif_arcsubr.c582 *cp++ = hexdigits[*ap >> 4]; in arc_sprintf()
583 *cp++ = hexdigits[*ap++ & 0xf]; in arc_sprintf()
H A Dppp_tty.c1079 *bp++ = hexdigits[*b >> 4]; /* convert byte to ascii hex */ in pppdumpb()
1080 *bp++ = hexdigits[*b++ & 0xf]; in pppdumpb()
/netbsd-src/sys/lib/libsa/
H A Dether_sprintf.c66 *cp++ = hexdigits[*ap >> 4]; in ether_sprintf()
67 *cp++ = hexdigits[*ap++ & 0xf]; in ether_sprintf()
H A Dsubr_prf.c68 const char hexdigits[16] = "0123456789abcdef"; variable
321 *p++ = hexdigits[ul % base]; in kprintn()
H A Dstand.h310 extern const char hexdigits[];
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/
H A Dparams_from_text.c121 size_t hexdigits = strlen(value); in prepare_from_text() local
122 if ((hexdigits % 2) != 0) { in prepare_from_text()
127 *buf_n = hexdigits >> 1; in prepare_from_text()
/netbsd-src/crypto/external/bsd/netpgp/dist/src/libdigest/
H A Dtiger.c705 static const char hexdigits[] = "0123456789abcdef"; in sprint_uint64() local
711 buf[2 * (7 - i)] = hexdigits[(val >> (56 - 8 * i + 4)) & 15]; in sprint_uint64()
712 buf[(2 * (7 - i)) + 1] = hexdigits[(val >> (56 - 8 * i)) & 15]; in sprint_uint64()
714 buf[2 * i] = hexdigits[(val >> (56 - 8 * i + 4)) & 15]; in sprint_uint64()
715 buf[(2 * i) + 1] = hexdigits[(val >> (56 - 8 * i)) & 15]; in sprint_uint64()
/netbsd-src/sys/fs/filecorefs/
H A Dfilecore_utils.c321 *ufn++ = hexdigits[(ip->i_dirent.load >> 10) & 15]; in filecore_fn2unix()
322 *ufn++ = hexdigits[(ip->i_dirent.load >> 9) & 15]; in filecore_fn2unix()
323 *ufn++ = hexdigits[(ip->i_dirent.load >> 8) & 15]; in filecore_fn2unix()
/netbsd-src/sys/netinet6/
H A Din6_print.c38 static const uint8_t hexdigits[] = "0123456789abcdef"; variable
67 uint8_t n = hexdigits[(v)]; \ in in6_print()
/netbsd-src/sys/netatalk/
H A Dat_rmx.c70 *bp++ = hexdigits[*cp / 16]; in prsockaddr()
71 *bp++ = hexdigits[*cp % 16]; in prsockaddr()
H A Dddp_input.c348 xout[(i * 3)] = hexdigits[(*data & 0xf0) >> 4];
349 xout[(i * 3) + 1] = hexdigits[*data & 0x0f];
/netbsd-src/libexec/ld.elf_so/
H A Dxprintf.c153 const char hexdigits[] = "0123456789abcdef"; in xvsnprintf() local
170 *bp++ = hexdigits[(val & mask) >> bits]; in xvsnprintf()
/netbsd-src/sys/arch/alpha/stand/common/
H A Dputulong.c35 *bp++ = hexdigits[ul & 0xf]; in putulong()
/netbsd-src/crypto/external/bsd/heimdal/dist/kadmin/
H A Dutil.c693 static char hexdigits[] = "0123456789abcdef"; in hex2n() local
696 p = strchr (hexdigits, tolower((unsigned char)c)); in hex2n()
700 return p - hexdigits; in hex2n()
/netbsd-src/tests/kernel/
H A Dgen_t_subr_prf45 static const char hexdigits[] = "0123456789abcdef";
/netbsd-src/external/bsd/nsd/dist/
H A Dutil.c613 static char hexdigits[] = { in hex_ntop() local
624 *target++ = hexdigits[src[i] >> 4U]; in hex_ntop()
625 *target++ = hexdigits[src[i] & 0xfU]; in hex_ntop()
H A Drdata.c421 static const char hexdigits[] = { in hex_to_string() local
430 buffer_write_u8(output, hexdigits[octet >> 4]); in hex_to_string()
431 buffer_write_u8(output, hexdigits[octet & 0x0f]); in hex_to_string()
/netbsd-src/sys/kern/
H A Dsubr_prf.c132 const char hexdigits[] = "0123456789abcdef"; variable
1441 xdigs = hexdigits; in kprintf()
1478 xdigs = hexdigits; in kprintf()
H A Dkgdb_stub.c172 return (hexdigits[n & 0x0f]); in i2digit()
/netbsd-src/sys/arch/next68k/stand/boot/
H A Den.c171 #define XCHR(x) hexdigits[(x) & 0xf]
/netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/
H A Dtkey.c829 static char hexdigits[16] = { '0', '1', '2', '3', in dns_tkey_processquery() local
842 randomtext[j++] = hexdigits[val >> 4]; in dns_tkey_processquery()
843 randomtext[j++] = hexdigits[val & 0xF]; in dns_tkey_processquery()
H A Drdata.c602 static const char hexdigits[] = "0123456789abcdef"; variable
2048 if ((s = strchr(hexdigits, c)) == NULL) { in hexvalue()
2051 return ((int)(s - hexdigits)); in hexvalue()
/netbsd-src/external/mpl/bind/dist/lib/dns/
H A Dtkey.c830 static char hexdigits[16] = { '0', '1', '2', '3', dns_tkey_processquery() local

12