| /onnv-gate/usr/src/lib/libast/common/misc/ |
| H A D | fastfind.c | 224 sfsprintf(fp->encode.file, sizeof(fp->encode.file), "%s/%s", path, findnames[k]); in findopen() 225 if (!eaccess(fp->encode.file, R_OK|W_OK)) in findopen() 227 path = fp->encode.file; in findopen() 230 if (strchr(findnames[k], '/') && (b = strrchr(fp->encode.file, '/'))) in findopen() 233 if (!stat(fp->encode.file, &st) && st.st_uid == uid && (st.st_mode & S_IWUSR)) in findopen() 236 path = fp->encode.file; in findopen() 246 sfsprintf(fp->encode.file, sizeof(fp->encode.file), "%s", path); in findopen() 247 path = fp->encode.file; in findopen() 253 sfsprintf(fp->encode.file, sizeof(fp->encode.file), "%s", path); in findopen() 254 if (b = strrchr(fp->encode.file, '/')) in findopen() [all …]
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/Encode/t/ |
| H A D | Unicode.t | 24 use Encode qw(encode decode); 58 is($n_16be, encode('UTF-16BE', $nasty), qq{encode UTF-16BE}); 59 is($n_16le, encode('UTF-16LE', $nasty), qq{encode UTF-16LE}); 60 is($n_32be, encode('UTF-32BE', $nasty), qq{encode UTF-32BE}); 61 is($n_32le, encode('UTF-32LE', $nasty), qq{encode UTF-16LE}); 68 is($n_16bb, encode('UTF-16', $nasty), qq{encode UTF-16}); 69 is($n_32bb, encode('UTF-32', $nasty), qq{encode UTF-32}); 81 is(encode('UCS-2BE', $nasty), $f_16be, "encode UCS-2BE: fallback"); 82 is(encode('UCS-2LE', $nasty), $f_16le, "encode UCS-2LE: fallback"); 83 eval { encode('UCS-2BE', $nasty, 1) }; [all …]
|
| H A D | fallback.t | 45 my $dst = $meth->encode($src, FB_DEFAULT); 50 eval{ $dst = $meth->encode($src, FB_CROAK) }; 55 eval{ $dst = $meth->encode($src, FB_CROAK) }; 61 eval{ $dst = $meth->encode($src, FB_CROAK) }; 66 $dst = $meth->encode($src, FB_QUIET); 74 $dst = $meth->encode($src, FB_WARN); 82 $dst = $meth->encode($src, WARN_ON_ERR); 90 $dst = $meth->encode($src, FB_PERLQQ); 95 $dst = $meth->encode($src, FB_HTMLCREF); 100 $dst = $meth->encode($src, FB_XMLCREF);
|
| H A D | guess.t | 21 use Encode qw(decode encode find_encoding _utf8_off); 35 my $utf16 = encode('UTF-16', $utf8on); 36 my $utf32 = encode('UTF-32', $utf8on); 61 my $test = encode($jp, $utf8on); 65 is (decode('Guess', encode('euc-jp', $utf8on)), $utf8on, "decode('Guess')"); 66 eval{ encode('Guess', $utf8on) }; 67 like($@, qr/not defined/io, "no encode()"); 85 my $test = encode($name, decode('utf8', $utf8off)); 93 my $test = encode("$utf$bl" => $english); 98 my $test = encode("UTF-16$bl" => $ambiguous); [all …]
|
| H A D | mime-header.t | 92 is(Encode::encode('MIME-B', $dheader)."\n", $bheader, "encode B"); 93 is(Encode::encode('MIME-Q', $dheader)."\n", $qheader, "encode Q"); 98 is(Encode::encode('MIME-B', $dheader), $bheader, "Double decode B"); 99 is(Encode::encode('MIME-Q', $dheader), $qheader, "Double decode Q"); 106 is(Encode::encode('MIME-Q' => $pound_1024), '=?UTF-8?Q?=C2=A31024?=',
|
| H A D | at-tw.t | 29 # internal encode / decode test here. Unfortunately, to test 85 is(Encode::encode($enc, $utf), $str, "[$enc] encode - $title"); 88 my $utf8 = Encode::encode('utf-8', $utf);
|
| H A D | Encode.t | 18 use Encode qw(from_to encode decode 42 my $uni = $sym->decode(encode(ascii => 'a')); 44 $str = $sym->encode("\N{Beta}"); 53 $cpy = $tab->encode($uni); 127 ok(encode('utf8',$c),$o,"utf8 encode by name broken for $i");
|
| H A D | at-cn.t | 27 # internal encode / decode test here. Unfortunately, to test 134 is(Encode::encode($enc, $utf), $str, "[$enc] encode - $title"); 137 my $utf8 = Encode::encode('utf-8', $utf);
|
| H A D | CJKT.t | 96 eval{ $txt = $transcoder->encode($uni,1) }; 98 ok(defined($txt), "encode $charset"); $seq++; 99 is(length($uni), 0, "encode $charset completely"); $seq++; 113 my $rt = decode($encoding, encode($encoding, $uni));
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/Encode/ |
| H A D | Encode.pm | 139 sub encode($$;$) subroutine 149 my $octets = $enc->encode($string,$check); 186 $string = $t->encode($uni,$check); 194 utf8::encode($str); 233 *encode = sub{ 254 *encode = \&decode; 267 *encode = \&encode_xs; 279 *encode = sub {
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/DBM_Filter/t/ |
| H A D | encode.t | 38 eval { $db1->Filter_Push('encode' => 'blah') }; 41 eval { $db1->Filter_Push('encode') }; 42 is $@, '', "push an 'encode' filter (default to utf-8)" ; 68 eval { $db1->Filter_Push('encode' => 'iso-8859-16') }; 69 is $@, '', "push an 'encode' filter (specify iso-8859-16)" ;
|
| /onnv-gate/usr/src/cmd/sgs/libelf/common/ |
| H A D | update.c | 457 unsigned encode; in wrt() local 472 encode = (update_cmd == ELF_C_WRIMAGE) ? _elf_sys_encoding() : in wrt() 531 if (elf_xlatetof(&dst, &src, encode) == 0) in wrt() 556 if (elf_xlatetof(&dst, &src, encode) == 0) { in wrt() 646 if (elf_xlatetof(&dst, &d->db_data, encode) == 0) { in wrt() 675 if (elf_xlatetof(&dst, &src, encode) == 0) { in wrt() 808 unsigned encode; in _elfxx_update() local 810 ELFACCESSDATA(encode, _elf_encode) in _elfxx_update() 811 if (encode == ELFDATANONE) { in _elfxx_update() 817 eh->e_ident[EI_DATA] = (Byte)encode; in _elfxx_update() [all …]
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/Encode/lib/Encode/MIME/ |
| H A D | Header.pm | 13 encode => 'B', # encode with 'B' or 'Q' ? 34 encode => 'Q', 107 sub encode($$;$){ subroutine 141 my $enc = $o->{encode};
|
| /onnv-gate/usr/src/common/openssl/crypto/evp/ |
| H A D | bio_b64.c | 86 int encode; member 125 ctx->encode=0; in b64_new() 154 if (ctx->encode != B64_DECODE) in b64_read() 156 ctx->encode=B64_DECODE; in b64_read() 373 if (ctx->encode != B64_ENCODE) in b64_write() 375 ctx->encode=B64_ENCODE; in b64_write() 479 ctx->encode=B64_NONE; in b64_ctrl() 490 if ((ret == 0) && (ctx->encode != B64_NONE) in b64_ctrl() 523 else if (ctx->encode != B64_NONE && ctx->base64.num != 0) in b64_ctrl()
|
| /onnv-gate/usr/src/common/openssl/crypto/pem/ |
| H A D | pem_seal.c | 96 EVP_EncodeInit(&ctx->encode); in PEM_SealInit() 137 EVP_EncodeUpdate(&ctx->encode,out,&j,buffer,j); in PEM_SealUpdate() 167 EVP_EncodeUpdate(&ctx->encode,out,&j,s,i); in PEM_SealFinal() 170 EVP_EncodeFinal(&ctx->encode,out,&j); in PEM_SealFinal()
|
| /onnv-gate/usr/src/common/openssl/doc/crypto/ |
| H A D | d2i_RSAPublicKey.pod | 32 d2i_RSAPublicKey() and i2d_RSAPublicKey() decode and encode a PKCS#1 RSAPublicKey 35 d2i_RSA_PUBKEY() and i2d_RSA_PUBKEY() decode and encode an RSA public key using 38 d2i_RSAPrivateKey(), i2d_RSAPrivateKey() decode and encode a PKCS#1 RSAPrivateKey 41 d2i_Netscape_RSA(), i2d_Netscape_RSA() decode and encode an RSA private key in
|
| H A D | d2i_DSAPublicKey.pod | 36 d2i_DSAPublicKey() and i2d_DSAPublicKey() decode and encode the DSA public key 39 d2i_DSA_PUBKEY() and i2d_DSA_PUBKEY() decode and encode an DSA public key using 42 d2i_DSAPrivateKey(), i2d_DSAPrivateKey() decode and encode the DSA private key 45 d2i_DSAparams(), i2d_DSAparams() decode and encode the DSA parameters using 48 d2i_DSA_SIG(), i2d_DSA_SIG() decode and encode a DSA signature using a
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/DBM_Filter/ |
| H A D | encode.pm | 1 package DBM_Filter::encode ; 29 $_ = $encoding->encode($_)
|
| /onnv-gate/usr/src/psm/stand/bootblks/common/ |
| H A D | rd.fth | 34 " SUNW,ramdisk" encode-string " compatible" property 43 ramdisk-size encode-int " size" property 44 ramdisk-base-va encode-int " address" property 45 alloc-size encode-int " alloc-size" property
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/Encode/lib/Encode/ |
| H A D | Encoding.pm | 32 sub fromUnicode { shift->encode(@_) } 38 sub encode { subroutine
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/MIME/Base64/t/ |
| H A D | unicode.t | 17 my $tmp = MIME::Base64::encode(v300); 27 my $tmp = MIME::QuotedPrint::encode(v300);
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/Encode/lib/Encode/KR/ |
| H A D | 2022_KR.pm | 27 sub encode subroutine 32 my $octet = Encode::encode('euc-kr', $utf8, FB_PERLQQ) ;
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/Encode/lib/Encode/Unicode/ |
| H A D | UTF7.pm | 29 sub encode($$;$){ subroutine 41 my $base64 = encode_base64($e_utf16->encode($1), '');
|
| /onnv-gate/usr/src/lib/efcode/fcode_test/ |
| H A D | misc.fth | 135 1 encode-int " int-prop" property 136 1 2 encode-phys " phys-prop" property 139 1 encode-int 2 encode-int encode+ " 2int-prop" property 140 " abcd" encode-string " string-prop" property 141 " wxyz" encode-bytes " bytes-prop" property
|
| /onnv-gate/usr/src/cmd/fs.d/autofs/ |
| H A D | ns_ldap.c | 81 static int encode = 0; variable 244 encode = 1; in init_ldap() 250 encode = 1; in init_ldap() 344 if (encode) in ldap_match() 429 if (encode) in ldap_match() 665 if (encode) in mastermap_callback_ldap() 681 if (encode) in mastermap_callback_ldap() 804 if (encode) in directmap_callback() 930 if (encode) in readdir_callback()
|