HomeSort by relevance Sort by last modified time
    Searched defs:hex (Results 1 - 25 of 40) sorted by null

1 2

  /onnv/onnv-gate/usr/src/common/openssl/apps/
prime.c 63 int hex=0; local
78 if(!strcmp(*argv,"-hex"))
79 hex=1;
111 if(hex)
127 BIO_printf(bio_err,"%-14s hex\n","-hex");
  /onnv/onnv-gate/usr/src/cmd/tsol/atohexlabel/
atohexlabel.c 83 char *hex = NULL; /* internal label to print */ local
142 if (label_to_str(label, &hex, M_INTERNAL, DEF_NAMES) != 0) {
146 (void) printf("%s\n", hex);
148 free(hex);
154 if (label_to_str(label, &hex, M_INTERNAL, DEF_NAMES) != 0) {
158 (void) printf("%s\n", hex);
160 free(hex);
  /onnv/onnv-gate/usr/src/cmd/tsol/hextoalabel/
hextoalabel.c 51 label_error(const char *hex, const int err)
57 gettext("hextoalabel: bad string %s\n"), hex);
66 "\"%s\" at position %d\n"), hex, err);
82 char hex[PIPE_BUF]; /* internal label */ local
115 (void) strlcpy(hex, argv[optind], sizeof (hex));
119 if ((c = read(STDIN_FILENO, hex, sizeof (hex))) <= 0) {
129 hex[c-1] = '\0';
138 if (str_to_label(hex, &label, USER_CLEAR, L_NO_CORRECTION
    [all...]
  /onnv/onnv-gate/usr/src/lib/libresolv2/common/isc/
hex.c 25 static const char hex[17] = "0123456789abcdef"; variable
63 if ((s = strchr(hex, tolower(c))) == NULL)
65 x = (x<<4) | (s - hex);
95 fputc(hex[(buf[0]>>4)&0xf], fp);
96 fputc(hex[buf[0]&0xf], fp);
111 *t++ = hex[(buf[0]>>4)&0xf];
112 *t++ = hex[buf[0]&0xf];
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sadm/dhcpmgr/com/sun/dhcpmgr/cli/common/
Util.java 37 * Array of hex characters, used by for translations.
43 * Converts an ascii string into a string containing its hex value.
45 * @return the hex representation
49 StringBuffer hex = new StringBuffer(); local
58 hex.append(hexChars[ndx]);
60 hex.append(hexChars[ndx]);
63 return hex.toString();
  /onnv/onnv-gate/usr/src/cmd/vi/port/
ovdoprnt.s 130 hex; 'x
167 hex: label
  /onnv/onnv-gate/usr/src/common/openssl/crypto/cast/
casttest.c 183 static char *hex="0123456789ABCDEF"; local
201 printf("%c",hex[i&0x0f]);
  /onnv/onnv-gate/usr/src/common/openssl/crypto/x509/
x509_obj.c 75 static char hex[17]="0123456789ABCDEF"; local
190 *(p++)=hex[(n>>4)&0x0f];
191 *(p++)=hex[n&0x0f];
202 *(p++)=hex[(n>>4)&0x0f];
203 *(p++)=hex[n&0x0f];
  /onnv/onnv-gate/usr/src/lib/libmp/common/
util.c 153 * Convert hex digit to binary value
171 * Convert hex key to MINT key
208 * Convert MINT key to hex key
219 char *hex; local
229 hex = malloc((size_t) ((size * BASEBITS + 3)) / 4 + (size ? 1 : 2));
230 if (hex == NULL) {
234 p = hex;
243 for (p--, s = hex; s < p; s++, p--) {
248 return (hex);
  /onnv/onnv-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
ScalarRecord.java 279 * Represents a byte array as a table of unsigned byte values in hex,
293 * Represents a byte array as a table of unsigned byte values in hex,
300 * converted to hex display
303 * @return table representation of 16 bytes per row as hex and
323 String hex; local
387 * table displaying 16 bytes per row in unsigned hex followed by the
  /onnv/onnv-gate/usr/src/lib/libpp/common/
ppfsm.c 358 /* saw 0, possible oct|hex|dec|dbl constant */
380 /* saw 0 [xX], hex constant */
389 /* hex constant qualifier */
394 /* hex [eE][-+] botch */
401 /* hex dbl fraction */
408 /* optional hex dbl exponent sign */
414 /* mandatory hex dbl exponent first digit */
419 /* hex dbl exponent digits */
425 /* hex dbl constant qualifier */
562 static char hex[] = "fedcbaFEDCBA9876543210" variable
    [all...]
  /onnv/onnv-gate/usr/src/common/tsol/
ltos.c 72 #define HEX(h, i, l, s) \
80 char *hex; local
96 if ((hex = malloc(hex_len)) == NULL) {
102 hex[i++] = '0';
103 hex[i++] = 'x';
108 HEX(hex, i, hl, 6);
111 hex[i++] = '-';
112 HEX(hex, i, len, 9)
    [all...]
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/
syncloop.c 551 char c, *hex = "0123456789ABCDEF"; local
556 (void) putchar(hex[(c >> 4) & 0xF]);
557 (void) putchar(hex[c & 0xF]);
  /onnv/onnv-gate/usr/src/cmd/fm/modules/common/disk-monitor/
dm_platform.c 83 boolean_t hex = B_FALSE; local
87 hex = B_TRUE;
94 if ((hex && !isxdigit(*str)) ||
95 (!hex && !isdigit(*str))) {
  /onnv/onnv-gate/usr/src/cmd/sendmail/db/db/
db_pr.c 723 static const char hex[] = "0123456789abcdef"; local
742 hex[(u_int8_t)(*p & 0xf0) >> 4],
743 hex[*p & 0x0f]) != 3)
748 hex[(u_int8_t)(*p & 0xf0) >> 4],
749 hex[*p & 0x0f]) != 2)
  /onnv/onnv-gate/usr/src/lib/libbsm/common/
audit_event.c 393 au_class_t hex = 0; local
404 hex |= p_class->ac_class;
407 return (hex);
  /onnv/onnv-gate/usr/src/lib/libnsl/key/
xcrypt.c 39 * Hex encryption/decryption and utility routines
57 static char hex[]; /* forward */ variable
80 * The secret key is passed and returned in hex notation.
81 * Its length must be a multiple of 16 hex digits (64 bits).
121 * The secret key is passed and returned in hex notation.
122 * Once again, the length is a multiple of 16 hex digits
181 * Hex to binary conversion
199 * Binary to hex conversion
212 hexnum[i*2] = hex[val >> 4];
213 hexnum[i*2+1] = hex[val & 0xf]
219 static char hex[16] = { variable
    [all...]
  /onnv/onnv-gate/usr/src/lib/libshare/smbfs/
libshare_smbfs.c 122 int hex = 0; local
126 hex = 1;
132 if (hex) {
  /onnv/onnv-gate/usr/src/lib/sasl_plugins/cram/
cram.c 82 /* convert a string of 8bit chars to it's representation in hex
87 static char hex[]="0123456789abcdef"; local
95 out[lup*2] = hex[in[lup] >> 4];
96 out[lup*2+1] = hex[in[lup] & 15];
579 /* convert that to hex form */
  /onnv/onnv-gate/usr/src/uts/common/io/
dedump.c 68 char hex[DEDUMP_HEXLEN + 1], asc[DEDUMP_ASCLEN + 1]; local
73 hex[DEDUMP_HEXLEN] = '\0';
80 * but first NUL-terminate asc[] and pad out hex[]
84 (void) memset(hex + hexi, ' ', DEDUMP_HEXLEN - hexi);
85 (void) printf("%s %s %s\n", hdrp, hex, asc);
101 hexi += snprintf(hex + hexi, 3, "%02X", c);
103 hex[hexi++] = ' ';
  /onnv/onnv-gate/usr/src/cmd/fmli/oh/
scram.c 384 static char hex[] = "0123456789abcdef"; local
387 Keycheck[n] = hex[(buf[m] >> 4) & 0xf];
388 Keycheck[n+1] = hex[buf[m] & 0xf];
  /onnv/onnv-gate/usr/src/cmd/ssh/libssh/common/
key.c 241 char hex[4]; local
242 snprintf(hex, sizeof(hex), "%02x:", dgst_raw[i]);
243 strlcat(retval, hex, dgst_raw_len * 3);
  /onnv/onnv-gate/usr/src/lib/smbsrv/libsmb/common/
smb_util.c 66 * Simple hex dump display function. Displays nbytes of buffer in hex and
78 static char *hex = "0123456789ABCDEF"; local
108 hex[(*p >> 4) & 0x0F], hex[(*p & 0x0F)]);
133 * its equivalent hex chars (hexbuf).
164 * Converts hex to binary.
166 * Assuming hexbuf only contains hex digits (chars)
  /onnv/onnv-gate/usr/src/cmd/krb5/ldap_util/
kdb5_ldap_services.c 1719 krb5_data pwd, hex; local
    [all...]
  /onnv/onnv-gate/usr/src/grub/grub-0.97/stage2/
graphics.c 460 * The RGB hex digits should be six characters in length.
467 int r = ((hex(buf[0]) << 4) | hex(buf[1])) >> 2;
468 int g = ((hex(buf[2]) << 4) | hex(buf[3])) >> 2;
469 int b = ((hex(buf[4]) << 4) | hex(buf[5])) >> 2;
566 /* Convert a character which is a hex digit to the appropriate integer */
567 int hex(int v) function

Completed in 791 milliseconds

1 2