Symbol: hex
common/dist/zlib/test/infcover.c
245
local unsigned char *h2b(const char *hex, unsigned *len)
common/dist/zlib/test/infcover.c
250
in = malloc((strlen(hex) + 1) >> 1);
common/dist/zlib/test/infcover.c
256
if (*hex >= '0' && *hex <= '9')
common/dist/zlib/test/infcover.c
257
val = (val << 4) + *hex - '0';
common/dist/zlib/test/infcover.c
258
else if (*hex >= 'A' && *hex <= 'F')
common/dist/zlib/test/infcover.c
259
val = (val << 4) + *hex - 'A' + 10;
common/dist/zlib/test/infcover.c
260
else if (*hex >= 'a' && *hex <= 'f')
common/dist/zlib/test/infcover.c
261
val = (val << 4) + *hex - 'a' + 10;
common/dist/zlib/test/infcover.c
268
} while (*hex++); /* go through the loop with the terminating null */
common/dist/zlib/test/infcover.c
284
local void inf(char *hex, char *what, unsigned step, int win, unsigned len,
common/dist/zlib/test/infcover.c
311
in = h2b(hex, &have); assert(in != NULL);
common/dist/zlib/test/infcover.c
508
local int try(char *hex, char *id, int err)
common/dist/zlib/test/infcover.c
517
in = h2b(hex, &len);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
247
eay_hex2asn1dn(const char *hex, int len)
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
255
len = strlen(hex);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
257
if (BN_hex2bn(&bn, hex) != len) {
dist/pf/sbin/pfctl/pfctl_parser.c
528
static const char hex[] = "0123456789abcdef";
dist/pf/sbin/pfctl/pfctl_parser.c
567
buf[i + i] = hex[s->pf_chksum[i] >> 4];
dist/pf/sbin/pfctl/pfctl_parser.c
568
buf[i + i + 1] = hex[s->pf_chksum[i] & 0x0f];
lib/libc/hash/hashhl.c
68
static const char hex[]="0123456789abcdef";
lib/libc/hash/hashhl.c
80
buf[i+i] = hex[(u_int32_t)digest[i] >> 4];
lib/libc/hash/hashhl.c
81
buf[i+i+1] = hex[digest[i] & 0x0f];
lib/libc/md/mdXhl.c
50
static const char hex[]="0123456789abcdef";
lib/libc/md/mdXhl.c
62
buf[i+i] = hex[(u_int32_t)digest[i] >> 4];
lib/libc/md/mdXhl.c
63
buf[i+i+1] = hex[digest[i] & 0x0f];
lib/libc/stdio/vfwprintf.c
1335
goto hex;
lib/libc/stdio/vfwprintf.c
1338
hex:
lib/libc/stdio/vsnprintf_ss.c
356
goto hex;
lib/libc/stdio/vsnprintf_ss.c
359
hex: _uquad = UARG();
lib/libedit/parse.c
182
const wchar_t hex[] = L"0123456789ABCDEF";
lib/libedit/parse.c
189
h = wcschr(hex, *p++);
lib/libedit/parse.c
193
c = (c << 4) | ((int)(h - hex));
sbin/newfs_udf/udf_core.c
153
int hex = 0;
sbin/newfs_udf/udf_core.c
160
hex = 1;
sbin/newfs_udf/udf_core.c
171
if (!hex) {
sys/arch/emips/stand/common/printf.c
36
const char *hex = "0123456789abcdef";
sys/arch/emips/stand/common/printf.c
73
*s++ = hex[u & 0xfu];
sys/arch/ews4800mips/stand/common/fileread_bfs.c
60
const char hex[] = "0123456789ABCDEF";
sys/arch/ews4800mips/stand/common/fileread_bfs.c
68
msg[i*3] = hex[v];
sys/arch/ews4800mips/stand/common/fileread_bfs.c
70
msg[i*3+1] = hex[v];
sys/arch/luna68k/dev/if_le.c
241
unsigned int u, l, hex;
sys/arch/luna68k/dev/if_le.c
247
hex = (u < '9') ? l : l + 9;
sys/arch/luna68k/dev/if_le.c
254
ether[i] = ((u < '9') ? l : l + 9) | (hex << 4);
sys/arch/luna68k/stand/boot/if_le.c
260
unsigned int u, l, hex;
sys/arch/luna68k/stand/boot/if_le.c
266
hex = (u < '9') ? l : l + 9;
sys/arch/luna68k/stand/boot/if_le.c
273
ether[i] = ((u < '9') ? l : l + 9) | (hex << 4);
sys/arch/sparc64/dev/ffb.c
1403
int m, d, p, f, hex = 0, curdiff;
sys/arch/sparc64/dev/ffb.c
1412
hex = 0x4000 + (d << 7) + m;
sys/arch/sparc64/dev/ffb.c
1415
hex = 0x4800 + (d << 7) + m;
sys/arch/sparc64/dev/ffb.c
1418
hex = 0x5000 + (d << 7) + m;
sys/arch/sparc64/dev/ffb.c
1421
hex = 0x6000 + (d << 7) + m;
sys/arch/sparc64/dev/ffb.c
1427
*pll = hex;
sys/arch/sparc64/dev/ffb.c
1433
*pll = hex;
sys/dev/acpi/apei.c
611
char hex[9*sizeof(PE->CapabilityStructure)/4];
sys/dev/acpi/apei.c
620
snprintf(hex + 9*i, sizeof(hex) - 9*i, "%08"PRIx32" ",
sys/dev/acpi/apei.c
623
hex[sizeof(hex) - 1] = '\0';
sys/dev/acpi/apei.c
625
ctx, hex);
sys/dev/acpi/apei.c
656
char hex[9*sizeof(PE->AERInfo)/4];
sys/dev/acpi/apei.c
666
snprintf(hex + 9*i, sizeof(hex) - 9*i, "%08"PRIx32" ",
sys/dev/acpi/apei.c
669
hex[sizeof(hex) - 1] = '\0';
sys/dev/acpi/apei.c
670
device_printf(sc->sc_dev, "%s: AERInfo={%s}\n", ctx, hex);
sys/dev/acpi/wmi/wmi_acpi.c
325
char hex[3];
sys/dev/acpi/wmi/wmi_acpi.c
337
(void)memcpy(hex, ptr, 2);
sys/dev/acpi/wmi/wmi_acpi.c
338
hex[2] = '\0';
sys/dev/acpi/wmi/wmi_acpi.c
340
if (HEXCHAR(hex[0]) == 0 || HEXCHAR(hex[1]) == 0)
sys/dev/acpi/wmi/wmi_acpi.c
343
bin[i] = strtoul(hex, NULL, 16) & 0xFF;
sys/dev/pcmcia/bt3c.c
642
len = hex(line + 2, 2);
sys/dev/pcmcia/bt3c.c
649
sum += hex(p, 2);
sys/dev/pcmcia/bt3c.c
666
addr = hex(line + 8, 4);
sys/dev/pcmcia/bt3c.c
673
data = hex(p, 4);
sys/kern/subr_prf.c
1476
goto hex;
sys/kern/subr_prf.c
1479
hex: _uquad = UARG();
sys/net/if_wg.c
299
char *hex = gethexdump(buf, size);
sys/net/if_wg.c
301
log(LOG_DEBUG, "%s: %s\n", func, hex);
sys/net/if_wg.c
302
puthexdump(hex, buf, size);
sys/net/if_wg.c
313
char *hex = gethexdump(hash, size);
sys/net/if_wg.c
315
log(LOG_DEBUG, "%s: %s: %s\n", func, name, hex);
sys/net/if_wg.c
316
puthexdump(hex, hash, size);
sys/net/if_wg.c
4838
char *hex = gethexdump(pubkey, pubkey_len);
sys/net/if_wg.c
4840
pubkey, pubkey_len, hex);
sys/net/if_wg.c
4841
puthexdump(hex, pubkey, pubkey_len);
sys/net/if_wg.c
5047
char *hex = gethexdump(privkey, privkey_len);
sys/net/if_wg.c
5049
privkey, privkey_len, hex);
sys/net/if_wg.c
5050
puthexdump(hex, privkey, privkey_len);
tests/usr.bin/xlint/lint1/lang_level_c99.c
142
double hex = 0x1.0p34;
tests/usr.bin/xlint/lint1/lang_level_c99.c
143
pf("%s %a\n", "hex", hex);
usr.bin/kdump/kdump.c
1230
const char hex[] = "0123456789abcdef";
usr.bin/kdump/kdump.c
1299
bp[(l ^ bswap) * bsize] = hex[c >> 4];
usr.bin/kdump/kdump.c
1300
bp[(l ^ bswap) * bsize + 1] = hex[c & 0xf];
usr.bin/mail/mime_codecs.c
400
_qp_cfromhex(char const *hex)
usr.bin/mail/mime_codecs.c
415
if ((i1 = (unsigned char)hex[0] - '0') >= __arraycount(atoi16) ||
usr.bin/mail/mime_codecs.c
416
(i2 = (unsigned char)hex[1] - '0') >= __arraycount(atoi16))