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

1 2 3 4

  /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/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/lib/libtsol/common/
btohex.c 85 * Entry hex = Hexadecimal label string.
93 h_free(char *hex)
96 if (hex == NULL)
99 free(hex);
107 * hex = Buffer to place converted label.
117 bsltoh_r(const m_label_t *label, char *hex)
126 (void) strncpy(hex, (const char *)h, _HEX_SIZE);
128 return (hex);
138 * Address of statically allocated hex label string.
157 * hex = Buffer to place converted label
    [all...]
  /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/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/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/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/perl/5.8.4/distrib/lib/
charnames.pm 147 ## The code, in hex, is before that.
162 $ord = hex substr($txt, $hexstart, $off[0] - $hexstart);
168 my $hex = sprintf "%04x", $ord;
172 croak "Character 0x$hex with name '$fname' is above 0xFF";
249 return hex($1);
267 my $hex;
270 $hex = sprintf "%04X", $arg;
277 carp sprintf "Unicode characters only allocated up to U+10FFFF (you asked for U+%X)", $hex;
281 return $viacode{$hex} if exists $viacode{$hex};
    [all...]
utf8_heavy.pl 174 map { /^([0-9a-fA-F]+)/; [ hex($1), $_ ] }
186 my $min = hex $1;
187 my $max = defined $2 ? hex $2 : $min;
188 my $val = defined $3 ? hex $3 : 0;
268 my $min = hex $a;
269 my $max = defined $b ? hex $b : $min;
270 my $val = defined $c ? hex $c : 0;
302 my $min = hex $1;
303 my $max = defined $2 ? hex $2 : $min;
  /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/cmd/perl/5.8.4/distrib/ext/B/t/
terse.t 34 my ($hex, $op) = ('\(0x[a-f0-9]+\)', '\s+\w+');
35 my %ops = map { $_ => qr/$_ $hex$op/ }
93 like( $items, qr/RV $hex \\42/, 'RV' );
  /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/cmd/perl/5.8.4/distrib/ext/Encode/t/
Unicode.t 39 pack("C*", map {hex($_)} qw<5c 0f 98 fc 30 00 5f 3e d8 2a df cd>);
41 pack("C*", map {hex($_)} qw<0f 5c fc 98 00 30 3e 5f 2a d8 cd df>);
43 pack("C*", map {hex($_)} qw<5c 0f 98 fc 30 00 5f 3e ff fd>);
45 pack("C*", map {hex($_)} qw<0f 5c fc 98 00 30 3e 5f fd ff>);
47 pack("C*", map {hex($_)}
50 pack("C*", map {hex($_)}
  /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/t/uni/
case.pl 57 my $c = pack "U0U", hex $i;
60 print $d eq pack("U0U", hex $simple{$i}) ?
127 my $c = pack "U0U", hex $i;
  /onnv/onnv-gate/usr/src/uts/common/avs/ns/unistat/
spcs_s_k.h 183 * @param hex If nonzero "0x" is prepended to generated string and
189 spcs_s_inttostring(int val, char *buf, int buflen, int hex);
  /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/perl/5.8.4/distrib/ext/Unicode/Normalize/
mkheader 94 $Exclus{ hex($1) } = 1 if /([0-9A-Fa-f]+)/;
102 sub _getHexArray { map hex, $_[0] =~ /([0-9A-Fa-f]+)/g }
106 my $ini = hex $tab[0];
110 $Combin{ $_ } = $tab[2] foreach $ini .. hex($tab[1]);
118 my $ini = hex($tab[0]); # initial decomposable character
145 foreach my $u ($ini .. hex($tab[1])) {
  /onnv/onnv-gate/usr/src/cmd/lp/filter/postscript/postdmd/
README 42 where bytes and count are decimal integers and patterns is a series of hex digits.
43 Bytes is the number of bytes represented by the hex pattern, while count is the
  /onnv/onnv-gate/usr/src/grub/grub-0.97/stage2/
term.h 149 int hex(int v);
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
  /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/t/op/
bless.t 16 # in 64-bit platforms hex warns for 32+ -bit values
17 && do { no warnings 'portable'; hex($2) == $object }
oct.t 14 } elsif ($act eq 'hex') {
15 $result = hex $string;
28 if ($act eq 'hex' or $string =~ /x/) {
68 test ('hex', '01_234', 0b_1001000110100);
69 test ('hex', '012_34', 011064);
70 test ('hex', '0123_4', 4660);
71 test ('hex', '01234_', 0x1234);
73 test ('hex', '0x_1234', 0b1001000110100);
74 test ('hex', '0x1_234', 011064);
75 test ('hex', '0x12_34', 4660)
    [all...]
utf8decode.t 161 my ($okay, $bytes, $Unicode, $byteslen, $hex, $charslen, $experr) =
163 my @hex = split(/:/, $hex);
164 unless (@hex == $byteslen) {
165 my $nhex = @hex;
166 moan "amount of hex ($nhex) not equal to byteslen ($byteslen)\n";
  /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/utils/
h2ph.PL 332 && do {my $hex = $1;
333 $hex =~ s/^0+//;
334 if (length $hex > 8 && !$Config{use64bitint}) {
336 $new .= hex(substr($hex, -8)) +
337 2**32 * hex(substr($hex, 0, -8));
339 # if the hex constant was e.g. inside UINT64_C
342 $new .= lc("0x$hex");
  /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/unicore/
mktables 699 my ($hexcode, ## code point in hex (e.g. "0041")
721 my $code = hex($hexcode);
898 my ($first, $last, $lbrk) = (hex($1), hex($2||""), $3);
935 my $code = hex($hexcode);
958 my ($code, $short) = (hex($1), $2);
981 push @ScriptInfo, [ hex($1), hex($2||""), $3 ];
1051 my ($first, $last, $name) = (hex($1), hex($2), $3)
    [all...]

Completed in 2700 milliseconds

1 2 3 4