Searched defs:hex (Results 26 - 45 of 45) sorted by relevance

12

/illumos-gate/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_services.c1719 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 Dprint_json.c572 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 Dixp425_board.c202 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 Dhttp.c2005 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 Dsndrd.c1543 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 Dnfs_tbind.c1094 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 Dsgen.c2053 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 Dusbecm.c2395 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 Demul64.c1624 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 Dsmb_util.c69 * 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 Dsmbios.c1057 int hex = opt_x; local
1198 hex++;
1201 if (hex)
/illumos-gate/usr/src/cmd/praudit/
H A Dformat.c1473 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 Dsnoop_ldap.c89 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 Dxgettext.c1134 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 Dibnex.c2520 * 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 Dmountd.c2233 int hex = 0; local
2237 hex = 1;
2242 if (hex) {
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_xmit.c1802 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 Dlibshare_nfs.c826 int hex = 0; local
830 hex = 1;
835 if (hex) {
/illumos-gate/usr/src/uts/intel/io/dnet/
H A Ddnet.c4562 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 Dlibzfs_dataset.c1061 * 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...]

Completed in 159 milliseconds

12