Searched defs:hex (Results 1 - 7 of 7) sorted by relevance
/bind-9.11.3/contrib/idn/idnkit-1.0-src/lib/ |
H A D | debug.c | 57 static char *hex = "0123456789abcdef"; variable 78 *p++ = hex[c >> 4]; 79 *p++ = hex[c & 15]; 114 *p++ = hex[c >> 4]; 115 *p++ = hex[c & 15]; 152 *p++ = hex[(*s >> 28) & 0x0f]; 153 *p++ = hex[(*s >> 24) & 0x0f]; 157 *p++ = hex[(*s >> 20) & 0x0f]; 158 *p++ = hex[(*s >> 16) & 0x0f]; 162 *p++ = hex[(* [all...] |
/bind-9.11.3/lib/isc/ |
H A D | hex.c | 9 /* $Id: hex.c,v 1.20 2008/09/25 04:02:39 tbox Exp $ */ 18 #include <isc/hex.h> 39 static const char hex[] = "0123456789ABCDEF"; variable 53 buf[0] = hex[(source->base[0] >> 4) & 0xf]; 54 buf[1] = hex[(source->base[0]) & 0xf]; 70 * State of a hex decoding process in progress. 75 int digits; /*%< Number of buffered hex digits */ 91 if ((s = strchr(hex, toupper(c))) == NULL) 93 ctx->val[ctx->digits++] = (int)(s - hex);
|
/bind-9.11.3/lib/isc/unix/ |
H A D | interfaceiter.c | 210 static const char hex[] = "0123456789abcdef"; local 211 byte = ((strchr(hex, address[i * 2]) - hex) << 4) | 212 (strchr(hex, address[i * 2 + 1]) - hex);
|
/bind-9.11.3/lib/dns/tests/ |
H A D | rdata_test.c | 17 #include <isc/hex.h> 91 char buf[1024], hex[BUFSIZ]; local 103 hex, sizeof(hex)), 114 hex, sizeof(hex)), 123 hex, sizeof(hex)), 129 hex, sizeof(hex)), 212 char hex[BUFSIZ]; local [all...] |
/bind-9.11.3/contrib/idn/idnkit-1.0-src/lib/tests/ |
H A D | testsuite.c | 486 static const char hex[] = {"0123456789abcdef"}; local 501 *dst++ = hex[*(const unsigned char *)src >> 4]; 502 *dst++ = hex[*src & 0x0f]; 514 static const char hex[] = {"0123456789abcdef"}; local 530 *dst++ = hex[(*src >> 20) & 0x0f]; 533 *dst++ = hex[(*src >> 16) & 0x0f]; 535 *dst++ = hex[(*src >> 12) & 0x0f]; 536 *dst++ = hex[(*src >> 8) & 0x0f]; 537 *dst++ = hex[(*src >> 4) & 0x0f]; 538 *dst++ = hex[*sr [all...] |
/bind-9.11.3/lib/dns/ |
H A D | master.c | 629 static const char *hex = "0123456789abcdef0123456789ABCDEF"; variable 651 char val = hex[(value & 0x0f) + ((mode == 'n') ? 0 : 16)];
|
H A D | resolver.c | 7516 static const char hex[17] = "0123456789abcdef"; local 7522 /* Allocate buffer for storing hex version of the NSID */ 7531 /* Convert to hex */ 7535 *p++ = hex[(nsid[i] >> 4) & 0xf]; 7536 *p++ = hex[nsid[i] & 0xf];
|
Completed in 49 milliseconds