| /netbsd-src/sys/lib/libkern/ |
| H A D | hexdump.c | 38 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 D | dl_print.c | 37 static const char hexdigits[] = "0123456789abcdef"; variable 53 *dp++ = hexdigits[(*sp) >> 4]; in lla_snprintf1() 56 *dp++ = hexdigits[(*sp++) & 0xf]; in lla_snprintf1()
|
| H A D | if_arcsubr.c | 582 *cp++ = hexdigits[*ap >> 4]; in arc_sprintf() 583 *cp++ = hexdigits[*ap++ & 0xf]; in arc_sprintf()
|
| H A D | ppp_tty.c | 1079 *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 D | ether_sprintf.c | 66 *cp++ = hexdigits[*ap >> 4]; in ether_sprintf() 67 *cp++ = hexdigits[*ap++ & 0xf]; in ether_sprintf()
|
| H A D | subr_prf.c | 68 const char hexdigits[16] = "0123456789abcdef"; variable 321 *p++ = hexdigits[ul % base]; in kprintn()
|
| H A D | stand.h | 310 extern const char hexdigits[];
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/ |
| H A D | params_from_text.c | 121 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 D | tiger.c | 705 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 D | filecore_utils.c | 321 *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 D | in6_print.c | 38 static const uint8_t hexdigits[] = "0123456789abcdef"; variable 67 uint8_t n = hexdigits[(v)]; \ in in6_print()
|
| /netbsd-src/sys/netatalk/ |
| H A D | at_rmx.c | 70 *bp++ = hexdigits[*cp / 16]; in prsockaddr() 71 *bp++ = hexdigits[*cp % 16]; in prsockaddr()
|
| H A D | ddp_input.c | 348 xout[(i * 3)] = hexdigits[(*data & 0xf0) >> 4]; 349 xout[(i * 3) + 1] = hexdigits[*data & 0x0f];
|
| /netbsd-src/libexec/ld.elf_so/ |
| H A D | xprintf.c | 153 const char hexdigits[] = "0123456789abcdef"; in xvsnprintf() local 170 *bp++ = hexdigits[(val & mask) >> bits]; in xvsnprintf()
|
| /netbsd-src/sys/arch/alpha/stand/common/ |
| H A D | putulong.c | 35 *bp++ = hexdigits[ul & 0xf]; in putulong()
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/kadmin/ |
| H A D | util.c | 693 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 D | gen_t_subr_prf | 45 static const char hexdigits[] = "0123456789abcdef";
|
| /netbsd-src/external/bsd/nsd/dist/ |
| H A D | util.c | 613 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 D | rdata.c | 421 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 D | subr_prf.c | 132 const char hexdigits[] = "0123456789abcdef"; variable 1441 xdigs = hexdigits; in kprintf() 1478 xdigs = hexdigits; in kprintf()
|
| H A D | kgdb_stub.c | 172 return (hexdigits[n & 0x0f]); in i2digit()
|
| /netbsd-src/sys/arch/next68k/stand/boot/ |
| H A D | en.c | 171 #define XCHR(x) hexdigits[(x) & 0xf]
|
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/ |
| H A D | tkey.c | 829 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 D | rdata.c | 602 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 D | tkey.c | 830 static char hexdigits[16] = { '0', '1', '2', '3', dns_tkey_processquery() local
|