/illumos-gate/usr/src/cmd/krb5/ldap_util/ |
H A D | kdb5_ldap_services.c | 1719 krb5_data pwd, hex; local 1723 errcode = tohex(pwd, &hex); 1725 if (hex.length != 0) { 1726 memset(hex.data, 0, hex.length); 1727 free(hex.data); 1729 com_err(me, errcode, gettext("Failed to convert the password to hex")); 1735 1 + 5 + hex.length + 2); 1739 memset(hex.data, 0, hex [all...] |
/illumos-gate/usr/src/test/util-tests/tests/libnvpair_json/ |
H A D | print_json.c | 572 char hex[3]; local 728 hex[0] = hex[1] = hex[2] = '\0'; 744 hex[nhex] = c; 747 * The hex escape pair is complete, parse 752 if ((x = strtol(hex, NULL, 16)) == 0 ||
|
/illumos-gate/usr/src/boot/sys/boot/arm/ixp425/boot2/ |
H A D | ixp425_board.c | 202 const char *hex = "0123456789abcdef"; local 204 putchar(hex[ch >> 4]); 205 putchar(hex[ch & 0xf]);
|
/illumos-gate/usr/src/lib/print/libhttp-core/common/ |
H A D | http.c | 2005 static const char hex[] = "0123456789ABCDEF"; local 2025 *ptr ++ = hex[(*uri >> 4) & 15]; 2027 *ptr ++ = hex[*uri & 15];
|
/illumos-gate/usr/src/cmd/avs/rdc/ |
H A D | sndrd.c | 1543 char *hex = "0123456789abcdef"; local 1547 * in ASCII hex. 1551 buf[j] = hex[((uderr->addr.buf[i]) >> 4) & 0xf]; 1552 buf[j+1] = hex[uderr->addr.buf[i] & 0xf];
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfs_tbind.c | 1094 char *hex = "0123456789abcdef"; local 1098 * in ASCII hex. 1102 buf[j] = hex[((uderr->addr.buf[i]) >> 4) & 0xf]; 1103 buf[j+1] = hex[uderr->addr.buf[i] & 0xf];
|
/illumos-gate/usr/src/uts/common/io/scsi/targets/ |
H A D | sgen.c | 2053 static char hex[] = "0123456789abcdef"; local 2077 *p++ = hex[(*cdbp >> 4) & 0x0f]; 2078 *p++ = hex[*cdbp & 0x0f]; 2089 static char hex[] = "0123456789abcdef"; local 2112 *p++ = hex[(*rqbuf >> 4) & 0x0f]; 2113 *p++ = hex[*rqbuf & 0x0f];
|
/illumos-gate/usr/src/uts/common/io/usb/clients/usbecm/ |
H A D | usbecm.c | 2395 label_to_mac(char *hex, unsigned char *mac) argument 2403 if (!isdigit(hex[2*i])) { 2404 c = (toupper(hex[2 * i]) - 'A' + 10); 2406 c = (hex[2 * i] - '0'); 2411 if (!isdigit(hex[2*i + 1])) { 2412 c = (toupper(hex[2 * i + 1]) - 'A' + 10); 2414 c = hex[2 * i + 1] - '0';
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | emul64.c | 1624 static char hex[] = "0123456789abcdef"; local 1642 *p++ = hex[(*cdb >> 4) & 0x0f]; 1643 *p++ = hex[*cdb & 0x0f];
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_util.c | 69 * Simple hex dump display function. Displays nbytes of buffer in hex and 81 static char *hex = "0123456789ABCDEF"; local 111 hex[(*p >> 4) & 0x0F], hex[(*p & 0x0F)]); 136 * its equivalent hex chars (hexbuf). 167 * Converts hex to binary. 169 * Assuming hexbuf only contains hex digits (chars)
|
/illumos-gate/usr/src/cmd/smbios/ |
H A D | smbios.c | 1057 int hex = opt_x; local 1198 hex++; 1201 if (hex)
|
/illumos-gate/usr/src/cmd/praudit/ |
H A D | format.c | 1473 static char hex[] = "0123456789abcdef"; variable 1510 *t++ = hex[(uint_t)((uchar_t)*c >> 4)]; 1511 *t++ = hex[(uint_t)((uchar_t)*c & 0xF)]; 1521 *t++ = hex[(uint_t)((uchar_t)*c >> 4)]; 1522 *t++ = hex[(uint_t)((uchar_t)*c & 0xF)]; 2246 * event type, and is displayed in hex;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ldap.c | 89 static X hex; /* input hex octet */ variable 782 hex = 0; 785 hex = osibuff[gi_osibuf[ctxnum]++]; 786 (void) sprintf((char *)c, "%02x", (hex&0x00FF)); 873 otyp[ctxnum] = INT(hex); /* single octet type only */ 879 olen[ctxnum] = INT(hex); /* tlv length */ 902 rlen = (rlen << 8) | INT(hex); 1238 oidstr[j++] = hex; 1284 hexstr[k++] = hex; [all...] |
/illumos-gate/usr/src/cmd/msgfmt/ |
H A D | xgettext.c | 1134 char ch, oct, hex; local 1238 hex = p->str[*m]; 1240 if (isdigit(hex)) { 1241 value = value * 16 + (hex - '0'); 1242 } else if (isxdigit(hex)) { 1243 hex = tolower(hex); 1244 value = value * 16 + (hex - 'a' + 10); 1252 (void) fprintf(stderr, "hex=%d\n", value);
|
/illumos-gate/usr/src/uts/common/io/ib/ibnex/ |
H A D | ibnex.c | 2520 * All numeric values must specified in hex without prefix "0x" 3263 * hex value. Note. This function does not handle strings which 3270 uint64_t hex = 0, ii; local 3274 hex = (ii == 0) ? hex : (hex << 4); 3276 hex |= c[ii] - '0'; 3278 hex |= c[ii] - 'a' + 10; 3280 hex |= c[ii] - 'A' + 10; 3289 return (hex); [all...] |
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | mountd.c | 2233 int hex = 0; local 2237 hex = 1; 2242 if (hex) {
|
/illumos-gate/usr/src/uts/common/io/arn/ |
H A D | arn_xmit.c | 1802 char hex[((2 + 1) * 16) + 1]; local 1803 char *phex = hex; 1832 (16 / group), hex, 16, ascii);
|
/illumos-gate/usr/src/lib/libshare/nfs/ |
H A D | libshare_nfs.c | 826 int hex = 0; local 830 hex = 1; 835 if (hex) {
|
/illumos-gate/usr/src/uts/intel/io/dnet/ |
H A D | dnet.c | 4562 char hex[128], *p = hex; local 4579 cmn_err(CE_NOTE, "%s: %s\t%s", msg, hex, ascii); 4580 p = hex; 4584 if (p != hex) { 4585 while ((p - hex) < 8*3) 4588 cmn_err(CE_NOTE, "%s: %s\t%s", msg, hex, ascii);
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_dataset.c | 1061 * userquota@<hex-rid>-domain, to make it easy 1167 * internal hex label string. 1171 char *hex = NULL; /* internal label string */ local 1184 /* Now translate to hex internal label string */ 1185 if (label_to_str(new_sl, &hex, M_INTERNAL, 1187 if (hex) 1188 free(hex); 1194 if (strcmp(strval, hex) == 0) { 1195 free(hex); 1203 hex) [all...] |