| /onnv-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
| H A D | IANACharCode.java | 95 static int encodeCharacterEncoding(String encoding) in encodeCharacterEncoding() argument 98 if (encoding.equals(ASCII)) { in encodeCharacterEncoding() 100 } else if (encoding.equals(LATIN1)) { in encodeCharacterEncoding() 102 } else if (encoding.equals(UTF8)) { in encodeCharacterEncoding() 104 } else if (encoding.equals(UNICODE)) { in encodeCharacterEncoding() 106 } else if (encoding.equals(UNICODE_BIG)) { in encodeCharacterEncoding() 108 } else if (encoding.equals(UNICODE_LITTLE)) { in encodeCharacterEncoding() 110 } else if (encoding.equals(UNICODE_BIG_NO_HDR)) { in encodeCharacterEncoding() 118 new Object[] {encoding}); in encodeCharacterEncoding() 159 static String escapeChar(char c, String encoding) in escapeChar() argument [all …]
|
| H A D | SrvLocHeader.java | 407 getStringField(StringBuffer buf, DataInputStream dis, String encoding) in getStringField() argument 428 buf.append(getBytesString(bytes, encoding)); in getStringField() 452 String encoding) { in putStringField() argument 454 byte[] bytes = getStringBytes(string, encoding); in putStringField() 470 static byte[] getStringBytes(String string, String encoding) { in getStringBytes() argument 473 return string.getBytes(encoding); in getStringBytes() 483 static String getBytesString(byte[] bytes, String encoding) { in getBytesString() argument 486 return new String(bytes, encoding); in getBytesString()
|
| /onnv-gate/usr/src/lib/libsmbfs/smb/ |
| H A D | charsets.c | 110 CFStringEncoding encoding; in get_windows_encoding_equivalent() local 122 encoding = kCFStringEncodingDOSLatin1; in get_windows_encoding_equivalent() 124 encoding = kCFStringEncodingDOSLatinUS; in get_windows_encoding_equivalent() 128 encoding = kCFStringEncodingDOSJapanese; in get_windows_encoding_equivalent() 132 encoding = kCFStringEncodingDOSChineseTrad; in get_windows_encoding_equivalent() 136 encoding = kCFStringEncodingDOSKorean; in get_windows_encoding_equivalent() 140 encoding = kCFStringEncodingDOSArabic; in get_windows_encoding_equivalent() 144 encoding = kCFStringEncodingDOSHebrew; in get_windows_encoding_equivalent() 148 encoding = kCFStringEncodingDOSGreek; in get_windows_encoding_equivalent() 152 encoding = kCFStringEncodingDOSCyrillic; in get_windows_encoding_equivalent() [all …]
|
| /onnv-gate/usr/src/cmd/audio/utilities/ |
| H A D | filehdr.c | 463 return (hdr.encoding); in audio_isaudiofile() 592 hdrp->encoding = AUDIO_AU_ENCODING_LINEAR_8; in decode_aiff() 595 hdrp->encoding = AUDIO_AU_ENCODING_LINEAR_16; in decode_aiff() 659 AUDIO_AU_FILE2HOST(&fhdr.au_encoding, &hdrp->encoding); in decode_au() 682 short encoding; in decode_wav() local 709 AUDIO_WAV_FILE2HOST_SHORT(&fhdr.wav_fmt_encoding, &encoding); in decode_wav() 716 switch (encoding) { in decode_wav() 720 hdrp->encoding = AUDIO_AU_ENCODING_LINEAR_8; in decode_wav() 723 hdrp->encoding = AUDIO_AU_ENCODING_LINEAR_16; in decode_wav() 730 hdrp->encoding = AUDIO_AU_ENCODING_ALAW; in decode_wav() [all …]
|
| H A D | AudioHdrParse.cc | 129 (encoding == NONE)) { in EncodingString() 142 switch (encoding) { in EncodingString() 416 encoding = ULAW; in EncodingParse() 424 encoding = ALAW; in EncodingParse() 437 encoding = LINEAR; in EncodingParse() 447 encoding = LINEAR; in EncodingParse() 457 encoding = LINEAR; in EncodingParse() 467 encoding = LINEAR; in EncodingParse() 477 encoding = LINEAR; in EncodingParse() 488 encoding = FLOAT; in EncodingParse() [all …]
|
| H A D | AudioTypeG72X.cc | 61 switch (h.encoding) { in CanConvert() 129 if ((inhdr.encoding == outhdr.encoding) && in Convert() 154 switch (inhdr.encoding) { in Convert() 158 switch (outhdr.encoding) { in Convert() 184 switch (outhdr.encoding) { in Convert() 202 switch (outhdr.encoding) { in Convert() 258 switch (h.encoding) { in Flush() 261 switch (h.encoding) { in Flush()
|
| H A D | device_ctl.c | 97 prinfo->encoding = hdrp->encoding; in audio__setplayhdr() 112 hdrp->encoding = prinfo->encoding; in audio__setplayhdr() 113 switch (hdrp->encoding) { in audio__setplayhdr()
|
| /onnv-gate/usr/src/cmd/audio/include/ |
| H A D | AudioHdr.h | 127 AudioEncoding encoding; // data encoding format variable 132 channels(0), encoding(NONE) in AudioHdr() 144 encoding((AudioEncoding)hdr.encoding) in AudioHdr() 194 hdr.encoding = encoding; in Audio_hdr() 210 (encoding == tst.encoding));
|
| /onnv-gate/usr/src/cmd/audio/audioconvert/ |
| H A D | convert.cc | 75 if (((ihdr.encoding != ULAW) && in verify_conversion() 76 (ihdr.encoding != ALAW) && in verify_conversion() 77 (ihdr.encoding != LINEAR) && in verify_conversion() 78 (ihdr.encoding != FLOAT) && in verify_conversion() 79 (ihdr.encoding != G721) && in verify_conversion() 80 (ihdr.encoding != G723)) || in verify_conversion() 81 ((ohdr.encoding != ULAW) && in verify_conversion() 82 (ohdr.encoding != ALAW) && in verify_conversion() 83 (ohdr.encoding != LINEAR) && in verify_conversion() 84 (ohdr.encoding != FLOAT) && in verify_conversion() [all …]
|
| /onnv-gate/usr/src/uts/intel/io/vgatext/ |
| H A D | bdf_to_c.awk | 80 encoding[i] = -1; 219 encoding[$2] = offset; 251 if (encoding[i] == -1) encoding[i] = encoding[default_char]; 252 printf "\tFONTDATA+%d,\n", encoding[i];
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/Encode/t/ |
| H A D | perlio.t | 74 open $fh, ">:encoding($e)", $pfile or die "$sfile : $!"; 79 is(compare_text($sfile, $pfile), 0 => ">:encoding($e)"); 87 open $fh, ">:encoding($e)", $pfile or die "$sfile : $!"; 94 is(compare_text($sfile, $pfile), 0 => ">:encoding($e) by lines"); 100 open $fh, "<:encoding($e)", $pfile or die "$pfile : $!"; 105 ok($utext eq $dtext, "<:encoding($e)"); 112 open $fh, "<:encoding($e)", $pfile or die "$pfile : $!"; 119 ok($utext eq $dtext, "<:encoding($e) by lines"); 135 my $pev = PerlIO::encoding->VERSION; 136 skip "PerlIO::encoding->VERSION = $pev <= 0.07 ", 6 [all …]
|
| H A D | jperl.t | 30 no encoding; # ensure 32 use encoding "euc-jp"; 59 no encoding; 60 ok(! defined(${^ENCODING}), q{no encoding;}); 83 use encoding "euc-jp", Filter=>1; 94 no encoding;
|
| H A D | enc_module.t | 18 print "1..0 # encoding pragma does not support EBCDIC platforms\n"; 24 use encoding "euc-jp"; 50 is($cmp, 0, "encoding vs. STDOUT"); 58 is ($cmp[$i++], $_, "encoding vs. STDIN - $i");
|
| /onnv-gate/usr/src/cmd/dcs/sparc/sun4u/ |
| H A D | rsrc_info.c | 134 ri_pack(ri_hdl_t *hdl, caddr_t *bufp, size_t *sizep, int encoding) in ri_pack() argument 164 if (ap_list_pack(hdl->aps, &buf, &size, encoding) != 0 || in ri_pack() 171 encoding) != 0 || in ri_pack() 179 encoding) != 0 || in ri_pack() 186 if (nvlist_pack(nvl, &buf, &size, encoding, 0) != 0) { in ri_pack() 209 ap_list_pack(ri_ap_t *aplist, char **bufp, size_t *sizep, int encoding) in ap_list_pack() argument 227 if (ap_pack(aplist, &buf, &size, encoding) != 0) in ap_list_pack() 240 if (nvlist_pack(nvl, &buf, &size, encoding, 0) != 0) { in ap_list_pack() 263 dev_list_pack(ri_dev_t *devlist, char **bufp, size_t *sizep, int encoding) in dev_list_pack() argument 281 if (dev_pack(devlist, &buf, &size, encoding) != 0) in dev_list_pack() [all …]
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/DBM_Filter/ |
| H A D | encode.pm | 22 my $encoding = Encode::find_encoding($encoding_name) ; 25 unless $encoding; 29 $_ = $encoding->encode($_) 33 $_ = $encoding->decode($_)
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/Encode/lib/Encode/ |
| H A D | PerlIO.pod | 7 It is very common to want to do encoding transformations when 13 Here is how the blind poet would modernise the encoding: 16 open(my $iliad,'<:encoding(iso-8859-7)','iliad.greek'); 53 open(F, "<:encoding(iso-8859-1)", "data.txt") or die $!; 62 open(my $f, "<:encoding(cp1252)") 63 open(my $g, ">:encoding(iso-8859-2)") 64 open(my $h, ">:encoding(latin9)") # iso-8859-15 66 See also L<encoding> for how to change the default encoding of the 125 for your encoding object. See L<Encode::Encoding> for details. 139 =head2 How can I tell whether my encoding fully supports PerlIO ? [all …]
|
| H A D | Supported.pod | 10 is ignored. In addition, an encoding may have aliases. 11 Each encoding has one "canonical" name. The "canonical" 12 name is chosen from the names of the encoding by picking 39 safely tell if a given encoding is implemented or not just by passing 43 encodings have state, "Encode" uses an encoding object internally 96 UTF-7 is a special encoding which "re-encodes" UTF-16BE into a 7-bit 97 encoding. It is implemeneted seperately by Encode::Unicode::UTF7. 111 languages and corresponding encoding names by vendors. Note that 195 an "extended ASCII" encoding. 321 Strictly speaking, MIME header encoding documented in RFC 2047 is more [all …]
|
| /onnv-gate/usr/src/cmd/lp/filter/postscript/dpost/ |
| H A D | color.c | 129 extern int encoding; 244 if ( newencoding != encoding ) { in setcolor() 245 encoding = newencoding; in setcolor() 246 fprintf(tf, "%d setdecoding\n", encoding); in setcolor()
|
| /onnv-gate/usr/src/tools/ctf/dump/ |
| H A D | dump.c | 132 int_encoding_to_str(uint_t encoding) in int_encoding_to_str() argument 136 if (encoding == 0 || (encoding & ~(CTF_INT_SIGNED | CTF_INT_CHAR | in int_encoding_to_str() 138 (void) snprintf(buf, sizeof (buf), " 0x%x", encoding); in int_encoding_to_str() 141 if (encoding & CTF_INT_SIGNED) in int_encoding_to_str() 143 if (encoding & CTF_INT_CHAR) in int_encoding_to_str() 145 if (encoding & CTF_INT_BOOL) in int_encoding_to_str() 147 if (encoding & CTF_INT_VARARGS) in int_encoding_to_str() 155 fp_encoding_to_str(uint_t encoding) in fp_encoding_to_str() argument 165 if (encoding < 1 || encoding >= (sizeof (encs) / sizeof (char *))) { in fp_encoding_to_str() 166 (void) snprintf(buf, sizeof (buf), "%u", encoding); in fp_encoding_to_str() [all …]
|
| /onnv-gate/usr/src/common/openssl/doc/crypto/ |
| H A D | RSA_padding_add_PKCS1_type_1.pod | 55 with B<RSA_NO_PADDING> in order to implement OAEP with an encoding 60 does not meet the size requirements of the encoding method. 62 The following encoding methods are implemented: 92 a valid encoding for a B<rsa_len> byte RSA key in the respective 93 encoding method and stores the recovered data of at most B<tlen> bytes 97 For RSA_padding_xxx_OAEP(), B<p> points to the encoding parameter
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/PerlIO/t/ |
| H A D | fallback.t | 28 $PerlIO::encoding::fallback = Encode::PERLQQ; 41 $PerlIO::encoding::fallback = Encode::HTMLCREF; 67 $PerlIO::encoding::fallback = Encode::WARN_ON_ERROR;
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/Encode/bin/ |
| H A D | enc2xs | 206 my %encoding; 254 foreach my $name (sort cmp_name keys %encoding) 256 my ($e2u,$u2e,$erep,$min_el,$max_el) = @{$encoding{$name}}; 264 foreach my $name (sort cmp_name keys %encoding) 266 my ($e2u,$u2e,$erep,$min_el,$max_el) = @{$encoding{$name}}; 272 foreach my $enc (sort cmp_name keys %encoding) 275 my ($e2u,$u2e,$rep,$min_el,$max_el) = @{$encoding{$enc}}; 291 foreach my $enc (sort cmp_name keys %encoding) 344 foreach my $name (sort cmp_name keys %encoding) 346 my ($e2u,$u2e,$erep,$min_el,$max_el) = @{$encoding{$name}}; [all …]
|
| H A D | piconv | 101 resolve encoding to its (Encode) canonical name 128 piconv -r encoding 134 B<piconv> is perl version of B<iconv>, a character encoding converter 139 piconv converts the character encoding of either STDIN or files 149 Specifies the encoding you are converting from. Unlike B<iconv>, 154 Specifies the encoding you are converting to. Unlike B<iconv>,
|
| /onnv-gate/usr/src/uts/common/sys/ |
| H A D | ctf.h | 280 #define CTF_INT_DATA(encoding, offset, bits) \ argument 281 (((encoding) << 24) | ((offset) << 16) | (bits)) 296 #define CTF_FP_DATA(encoding, offset, bits) \ argument 297 (((encoding) << 24) | ((offset) << 16) | (bits))
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/pod/ |
| H A D | perluniintro.pod | 109 I<serialised> somehow. Unicode defines several I<character encoding 111 variable length encoding that encodes Unicode characters as 1 to 6 115 and UCS-4 encoding forms. 156 the "default" encoding. In such a case, the raw bytes used internally 201 On EBCDIC platforms, the internal Unicode encoding form is UTF-EBCDIC 282 using the C<encoding> pragma, for example 284 use encoding 'latin2'; # ISO 8859-2 289 encoding names is forgiving: instead of C<latin2> you could have 292 use encoding; 295 If that variable isn't set, the encoding pragma will fail. [all …]
|