/libcore/luni/src/main/java/org/apache/harmony/security/ |
PrivateKeyImpl.java | 35 private byte[] encoding; field in class:PrivateKeyImpl 51 byte[] toReturn = new byte[encoding.length]; 52 System.arraycopy(encoding, 0, toReturn, 0, encoding.length); 61 public void setEncoding(byte[] encoding) { 62 this.encoding = new byte[encoding.length]; 63 System.arraycopy(encoding, 0, this.encoding, 0, encoding.length) [all...] |
PublicKeyImpl.java | 35 private byte[] encoding; field in class:PublicKeyImpl 56 byte[] result = new byte[encoding.length]; 57 System.arraycopy(encoding, 0, result, 0, encoding.length); 67 public void setEncoding(byte[] encoding) { 68 this.encoding = new byte[encoding.length]; 69 System.arraycopy(encoding, 0, this.encoding, 0, encoding.length) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
ExtensionValue.java | 28 protected byte[] encoding; field in class:ExtensionValue 34 public ExtensionValue(byte[] encoding) { 35 this.encoding = encoding; 40 return encoding; 45 if (encoding == null) { 46 encoding = getEncoded(); 48 if (encoding == null) { 51 sb.append(Array.toString(encoding, prefix));
|
InhibitAnyPolicy.java | 44 public InhibitAnyPolicy(byte[] encoding) throws IOException { 45 super(encoding); 47 ASN1Integer.getInstance().decode(encoding)).intValue(); 54 if (encoding == null) { 55 encoding = ASN1Integer.getInstance() 58 return encoding;
|
SubjectKeyIdentifier.java | 53 public static SubjectKeyIdentifier decode(byte[] encoding) 56 ASN1OctetString.getInstance().decode(encoding)); 57 res.encoding = encoding; 69 if (encoding == null) { 70 encoding = ASN1OctetString.getInstance().encode(keyIdentifier); 72 return encoding;
|
/external/webkit/Source/WebCore/css/ |
CSSCharsetRule.h | 32 static PassRefPtr<CSSCharsetRule> create(CSSStyleSheet* parent, const String& encoding) 34 return adoptRef(new CSSCharsetRule(parent, encoding)); 39 const String& encoding() const { return m_encoding; } function in class:WebCore::CSSCharsetRule 40 void setEncoding(const String& encoding, ExceptionCode&) { m_encoding = encoding; } 45 CSSCharsetRule(CSSStyleSheet* parent, const String& encoding);
|
CSSCharsetRule.cpp | 26 CSSCharsetRule::CSSCharsetRule(CSSStyleSheet* parent, const String& encoding) 28 , m_encoding(encoding)
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/ |
MyCertPath.java | 46 * my cert path the only encoding 48 private final byte[] encoding; field in class:MyCertPath 54 * @param encoding 56 public MyCertPath(byte[] encoding) { 58 this.encoding = encoding; 60 certificates.add(new MyCertificate("MyEncoding", encoding)); 78 return encoding.clone(); 83 * <code>encoding</code> parameter 84 * @throws CertificateEncodingException if <code>encoding</code [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
ANTLRInputStream.cs | 34 using Encoding = System.Text.Encoding; 53 public ANTLRInputStream(Stream input, Encoding encoding) 54 : this(input, InitialBufferSize, encoding) { 57 public ANTLRInputStream(Stream input, int size, Encoding encoding) 58 : this(input, size, ReadBufferSize, encoding) { 61 public ANTLRInputStream(Stream input, int size, int readBufferSize, Encoding encoding) [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
ANTLRInputStream.cs | 35 using Encoding = System.Text.Encoding; 57 public ANTLRInputStream( Stream input, Encoding encoding ) 58 : this( input, InitialBufferSize, encoding ) 62 public ANTLRInputStream( Stream input, int size, Encoding encoding ) 63 : this( input, size, ReadBufferSize, encoding ) 67 public ANTLRInputStream( Stream input, int size, int readBufferSize, Encoding encoding ) [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRFileStream.h | 42 + (id) newANTLRFileStream:(NSString *)aFileName encoding:(NSStringEncoding)encoding; 44 - (id) init:(NSString *) aFileName encoding:(NSStringEncoding)encoding; 45 - (void) load:(NSString *)fileName encoding:(NSStringEncoding)encoding;
|
/libcore/luni/src/main/java/org/xml/sax/ext/ |
Locator2Impl.java | 29 private String encoding; field in class:Locator2Impl 43 * <em>encoding</em> and <em>version</em>strings are copied, 55 encoding = l2.getEncoding (); 74 * Returns the current value of the encoding property. 76 * @return the current value of the encoding property. 81 { return encoding; } 98 * Assigns the current value of the encoding property. 100 * @param encoding the new "encoding" value 103 public void setEncoding (String encoding) [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
PolicyQualifierInfoTest.java | 82 // get valid encoding 83 byte[] encoding = getDerEncoding(); 85 encoding[1] = (byte)0x27; 89 new PolicyQualifierInfo(encoding); 95 // get valid encoding 96 encoding = getDerEncoding(); 99 encoding[2] = (byte)13; 102 new PolicyQualifierInfo(encoding); 116 // get valid encoding 117 byte[] encoding = getDerEncoding() [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
PolicyQualifierInfoTest.java | 76 // get valid encoding 77 byte[] encoding = getDerEncoding(); 79 encoding[1] = (byte)0x27; 83 new PolicyQualifierInfo(encoding); 89 // get valid encoding 90 encoding = getDerEncoding(); 93 encoding[2] = (byte)13; 96 new PolicyQualifierInfo(encoding); 110 // get valid encoding 111 byte[] encoding = getDerEncoding() [all...] |
/external/llvm/test/MC/Mips/ |
mips-alu-instructions.s | 1 # RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32r2 | FileCheck %s 8 # CHECK: and $9, $6, $7 # encoding: [0x24,0x48,0xc7,0x00] 9 # CHECK: andi $9, $6, 17767 # encoding: [0x67,0x45,0xc9,0x30] 10 # CHECK: andi $9, $6, 17767 # encoding: [0x67,0x45,0xc9,0x30] 11 # CHECK: clo $6, $7 # encoding: [0x21,0x30,0xe6,0x70] 12 # CHECK: clz $6, $7 # encoding: [0x20,0x30,0xe6,0x70] 13 # CHECK: ins $19, $9, 6, 7 # encoding: [0x84,0x61,0x33,0x7d] 14 # CHECK: nor $9, $6, $7 # encoding: [0x27,0x48,0xc7,0x00] 15 # CHECK: or $3, $3, $5 # encoding: [0x25,0x18,0x65,0x00] 16 # CHECK: ori $9, $6, 17767 # encoding: [0x67,0x45,0xc9,0x34 [all...] |
mips-jump-instructions.s | 1 # RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32r2 | FileCheck %s 8 # CHECK: b 1332 # encoding: [0x34,0x05,0x00,0x10] 9 # CHECK: nop # encoding: [0x00,0x00,0x00,0x00] 10 # CHECK: bc1f 1332 # encoding: [0x34,0x05,0x00,0x45] 11 # CHECK: nop # encoding: [0x00,0x00,0x00,0x00] 12 # CHECK: bc1t 1332 # encoding: [0x34,0x05,0x01,0x45] 13 # CHECK: nop # encoding: [0x00,0x00,0x00,0x00] 14 # CHECK: beq $9, $6, 1332 # encoding: [0x34,0x05,0x26,0x11] 15 # CHECK: nop # encoding: [0x00,0x00,0x00,0x00] 16 # CHECK: bgez $6, 1332 # encoding: [0x34,0x05,0xc1,0x04 [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/functions/escape/ |
UrlEscapeFunction.java | 33 private final String encoding; field in class:UrlEscapeFunction 35 public UrlEscapeFunction(String encoding) { 38 new OutputStreamWriter(new ByteArrayOutputStream(), encoding); 40 throw new IllegalArgumentException("Unsupported encoding : " + encoding); 42 this.encoding = encoding; 48 out.append(URLEncoder.encode(in, encoding)); 52 throw new Error("Unsuported encoding : " + encoding); [all...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
MyFailingCertPath.java | 7 public MyFailingCertPath(byte[] encoding) { 8 super(encoding);
|
/external/webkit/Source/WebCore/platform/text/mac/ |
CharsetData.h | 32 ::TextEncoding encoding; member in struct:WebCore::CharsetEntry
|
/packages/apps/Email/src/org/apache/commons/io/output/ |
FileWriterWithEncoding.java | 32 * Writer of files that allows the encoding to be set.
35 * that allows an encoding to be set. Unfortunately, it cannot subclass
40 * The encoding must be specified using either the name of the {@link Charset},
41 * the {@link Charset}, or a {@link CharsetEncoder}. If the default encoding
58 * Constructs a FileWriterWithEncoding with a file encoding.
61 * @param encoding the encoding to use, not null
62 * @throws NullPointerException if the file name or encoding is null
65 public FileWriterWithEncoding(String filename, String encoding) throws IOException {
66 this(new File(filename), encoding, false); [all...] |
/external/oauth/core/src/main/java/net/oauth/http/ |
HttpMessageDecoder.java | 26 * A decorator that handles Content-Encoding. 40 String encoding = getEncoding(message); local 41 if (encoding != null) { 42 return new HttpMessageDecoder(message, encoding); 53 String encoding = message.getHeader(CONTENT_ENCODING); local 54 if (encoding == null) { 56 } else if (GZIP.equalsIgnoreCase(encoding) 57 || ("x-" + GZIP).equalsIgnoreCase(encoding)) { 59 } else if (DEFLATE.equalsIgnoreCase(encoding)) { 65 private HttpMessageDecoder(HttpResponseMessage in, String encoding) [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
ANTLRInputStream.java | 47 public ANTLRInputStream(InputStream input, String encoding) throws IOException { 48 this(input, INITIAL_BUFFER_SIZE, encoding); 51 public ANTLRInputStream(InputStream input, int size, String encoding) throws IOException { 52 this(input, size, READ_BUFFER_SIZE, encoding); 58 String encoding) 62 if ( encoding!=null ) { 63 isr = new InputStreamReader(input, encoding);
|
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs7/ |
AuthenticatedAttributes.java | 35 private byte[] encoding; field in class:AuthenticatedAttributes 38 private AuthenticatedAttributes(byte[] encoding, 40 this.encoding = encoding; 52 if (encoding == null) { 53 encoding = ASN1.encode(this); 55 return encoding;
|
/packages/apps/Email/src/org/apache/james/mime4j/field/ |
ContentTransferEncodingField.java | 25 * Represents a <code>Content-Transfer-Encoding</code> field.
32 * The <code>7bit</code> encoding.
36 * The <code>8bit</code> encoding.
40 * The <code>binary</code> encoding.
44 * The <code>quoted-printable</code> encoding.
48 * The <code>base64</code> encoding.
52 private String encoding;
field in class:ContentTransferEncodingField 54 protected ContentTransferEncodingField(String name, String body, String raw, String encoding) {
56 this.encoding = encoding;
84 final String encoding = body.trim().toLowerCase(); local [all...] |
/external/llvm/test/MC/ARM/ |
neon-dup-encoding.s | 1 @ RUN: llvm-mc -mcpu=cortex-a8 -triple arm-unknown-unknown -show-encoding < %s | FileCheck %s 7 @ CHECK: vdup.8 d16, r0 @ encoding: [0x90,0x0b,0xc0,0xee] 8 @ CHECK: vdup.16 d16, r0 @ encoding: [0xb0,0x0b,0x80,0xee] 9 @ CHECK: vdup.32 d16, r0 @ encoding: [0x90,0x0b,0x80,0xee] 15 @ CHECK: vdup.8 q8, r0 @ encoding: [0x90,0x0b,0xe0,0xee] 16 @ CHECK: vdup.16 q8, r0 @ encoding: [0xb0,0x0b,0xa0,0xee] 17 @ CHECK: vdup.32 q8, r0 @ encoding: [0x90,0x0b,0xa0,0xee] 23 @ CHECK: vdup.8 d16, d16[1] @ encoding: [0x20,0x0c,0xf3,0xf3] 24 @ CHECK: vdup.16 d16, d16[1] @ encoding: [0x20,0x0c,0xf6,0xf3] 25 @ CHECK: vdup.32 d16, d16[1] @ encoding: [0x20,0x0c,0xfc,0xf3 [all...] |