Searched defs:encoding (Results 1 - 25 of 516) sorted by path

1234567891011>>

/external/antlr/antlr-3.4/lib/
H A Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ...
/external/antlr/antlr-3.4/runtime/ActionScript/project/lib/
H A DFlexAntTasks.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/adobe/ com/adobe/ac/ com/adobe/ac/ant/ ...
/external/antlr/antlr-3.4/runtime/C/include/
H A Dantlr3input.h3 * streams from any input source. Any character size and encoding
70 * taken as offsets from here and in original input format encoding.
85 * This is cast to point at the encoding of the original file that
168 * memory and is in same encoding as the input stream itself, NOT internal ANTLR3_UCHAR form.
232 /// Indicates the encoding scheme used in this input stream
234 ANTLR3_UINT32 encoding; member in struct:ANTLR3_INPUT_STREAM_struct
246 * This is cast to point at the encoding of the original file that
H A Dantlr3string.h78 /** Occasionally it is useful to know what the encoding of the string
81 ANTLR3_UINT8 encoding; member in struct:ANTLR3_STRING_struct
83 /** Pointer to function that sets the string value to a specific string in the default encoding
85 * but if the encoding is UTF16, then the pointer is assumed to point to UTF16 characters, not
90 /** Pointer to function that sets the string value to a specific 8 bit string in the default encoding
92 * but if the encoding is UTF16, then the pointer is assumed to point to 8 bit characters that must
97 /** Pointer to function adds a raw char * type pointer in the default encoding
99 * but if the encoding is UTF16, then the pointer is assumed to point to UTF16 characters not
104 /** Pointer to function adds a raw char * type pointer in the default encoding
111 * offset in the current string in the default encoding fo
[all...]
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3filestream.c10 * encoding, though this is not a panacea. More information can be
13 * Where a well grounded discussion of the encoding formats available
54 antlr3FileStreamNew(pANTLR3_UINT8 fileName, ANTLR3_UINT32 encoding) argument
59 // as just straight 8 bit bytes. Then we will work out the encoding and
70 // the encoding scheme we were given by the user.
72 input->encoding = encoding;
89 antlr3StringStreamNew(pANTLR3_UINT8 data, ANTLR3_UINT32 encoding, ANTLR3_UINT32 size, pANTLR3_UINT8 name) argument
94 // Then we will work out the encoding and byte order and adjust the API functions that are installed for the
108 // the encoding schem
[all...]
H A Dantlr3string.c98 antlr3StringFactoryNew(ANTLR3_UINT32 encoding) argument
134 switch(encoding)
265 string->encoding = ANTLR3_ENC_8BIT ;
302 string->encoding = ANTLR3_ENC_8BIT;
346 // a memcpy as we make no assumptions about the 8 bit encoding.
357 // UCS2 has the same encoding as UTF16 so we can use UTF16 converter.
1175 * (which is assumed to be in the same encoding as the string itself) and returns a result
1204 * (which is assumed to be in the same encoding as the string itself) and returns a result
1234 * (which is assumed to be in the same encoding as the string itself) and returns a result
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
H A DANTLRFileStream.cs74 /// specified file name and encoding
76 public ANTLRFileStream(string fileName, Encoding encoding) argument
79 Load(fileName, encoding);
100 /// <param name="encoding">Encoding to apply to file</param>
101 public virtual void Load(string fileName, Encoding encoding) argument
112 if (encoding != null)
113 fr = new StreamReader(fileName, encoding);
H A DANTLRInputStream.cs53 public ANTLRInputStream(Stream input, Encoding encoding) argument
54 : this(input, InitialBufferSize, encoding) {
57 public ANTLRInputStream(Stream input, int size, Encoding encoding) argument
58 : this(input, size, ReadBufferSize, encoding) {
61 public ANTLRInputStream(Stream input, int size, int readBufferSize, Encoding encoding) argument
62 : base(GetStreamReader(input, encoding), size, readBufferSize) {
65 private static StreamReader GetStreamReader(Stream input, Encoding encoding) { argument
66 if (encoding != null)
67 return new StreamReader(input, encoding);
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
H A DANTLRInputStream.cs57 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 )
68 : base(GetStreamReader(input, encoding), size, readBufferSize)
72 private static StreamReader GetStreamReader(Stream input, Encoding encoding) argument
74 if (encoding != null)
75 return new StreamReader(input, encoding);
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
H A DANTLRFileStream.java45 public ANTLRFileStream(String fileName, String encoding) throws IOException { argument
47 load(fileName, encoding);
50 public void load(String fileName, String encoding) argument
60 if ( encoding!=null ) {
61 isr = new InputStreamReader(fis, encoding);
H A DANTLRInputStream.java47 public ANTLRInputStream(InputStream input, String encoding) throws IOException { argument
48 this(input, INITIAL_BUFFER_SIZE, encoding);
51 public ANTLRInputStream(InputStream input, int size, String encoding) throws IOException { argument
52 this(input, size, READ_BUFFER_SIZE, encoding);
58 String encoding)
62 if ( encoding!=null ) {
63 isr = new InputStreamReader(input, encoding);
55 ANTLRInputStream(InputStream input, int size, int readBufferSize, String encoding) argument
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
H A DANTLRInputStream.h13 NSStringEncoding encoding; variable
16 @property (assign) NSStringEncoding encoding; variable
21 + (id) newANTLRInputStream:(NSFileHandle *)anInput encoding:(NSStringEncoding)theEncoding;
25 encoding:(NSStringEncoding)theEncoding;
30 encoding:(NSStringEncoding)theEncoding;
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
H A DFileHandlerTest.java86 props.put("java.util.logging.FileHandler.encoding", "iso-8859-1");
213 Formatter formatter, String encoding) throws Exception {
214 assertFileContent(homepath, filename, new LogRecord[] { r }, formatter, encoding);
218 LogRecord[] lr, Formatter formatter, String encoding) throws Exception {
248 if (encoding == null) {
251 assertEquals(msg, new String(bytes, encoding));
386 props.put("java.util.logging.FileHandler.encoding", "ut");
212 assertFileContent(String homepath, String filename, Formatter formatter, String encoding) argument
217 assertFileContent(String homepath, String filename, LogRecord[] lr, Formatter formatter, String encoding) argument
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
H A DTimestampTest.java41 private static final byte[] encoding = { 1, 2, 3 }; field in class:TimestampTest
43 private CertPath cpath = new MyCertPath(encoding);
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/
H A DX509CertSelectorTest.java104 protected byte[] encoding = null; field in class:X509CertSelectorTest.TestCert
217 public void setEncoding(byte[] encoding) { argument
218 this.encoding = encoding;
360 return encoding;
637 //manually obtained DER encoding of "O=First Org." issuer name;
641 //manually obtained DER encoding of "O=Second Org." issuer name;
672 //manually obtained DER encoding of "O=First Org." issuer name;
676 //manually obtained DER encoding of "O=Second Org." issuer name;
806 //manually obtained DER encoding o
[all...]
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
H A DKSBuilder_ImplTest.java494 private final byte[] encoding; field in class:KSBuilder_ImplTest.MCertificate
498 public MCertificate(String type, byte[] encoding) { argument
500 this.encoding = encoding;
505 return encoding.clone();
529 return encoding;
H A DTimestamp_ImplTest.java41 private static final byte[] encoding = { 1, 2, 3 }; field in class:Timestamp_ImplTest
43 private CertPath cpath = new MyCertPath(encoding);
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/
H A DCertificateListTest.java59 private static byte[] algParams = { 1, 1, 0 }; // DER boolean false encoding
135 private byte[] encoding; field in class:CertificateListTest
148 encoding = CertificateList.ASN1.encode(certificateList);
151 CertificateList.ASN1.decode(encoding);
174 byte[] encoding = CertificateList.ASN1.encode(cl);
175 CertificateList.ASN1.decode(encoding);
182 encoding = CertificateList.ASN1.encode(cl);
183 CertificateList.ASN1.decode(encoding);
218 new ByteArrayInputStream(encoding));
H A DPolicyQualifierInfoTest.java62 // "Valid" reference DER encoding
64 private static final byte[] encoding = { field in class:PolicyQualifierInfoTest
185 // Generates unique (based on parameter) DER encoding
186 // @param intVal value to be incorporated into the resulting encoding
187 // @return PolicyQualifier DER encoding
195 // Generates unique (based on parameter) DER encoding
196 // @param intVal value to be incorporated into the resulting encoding
197 // @return PolicyQualifier DER encoding
210 // make encoding thread-specific
211 byte[] a = encoding
[all...]
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
H A DKeyStoreTestSupport.java118 private final byte[] encoding; field in class:KeyStoreTestSupport.MCertificate
122 public MCertificate(String type, byte[] encoding) { argument
124 this.encoding = encoding;
129 return encoding.clone();
154 return encoding;
H A DTestCertUtils.java196 public byte[] getEncoded(String encoding) argument
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/
H A DMyCertPath.java45 * my cert path the only encoding
47 private final byte[] encoding; field in class:MyCertPath
53 * @param encoding
55 public MyCertPath(byte[] encoding) { argument
57 this.encoding = encoding;
59 certificates.add(new MyCertificate("MyEncoding", encoding));
77 return encoding.clone();
82 * <code>encoding</code> parameter
83 * @throws CertificateEncodingException if <code>encoding</cod
87 getEncoded(String encoding) argument
[all...]
H A DMyCertificate.java38 // MyCertificate encoding
39 private final byte[] encoding; field in class:MyCertificate
45 * @param encoding
47 public MyCertificate(String type, byte[] encoding) { argument
50 this.encoding = encoding;
54 * Returns <code>MyCertificate</code> encoding
58 return encoding.clone();
H A DMyCertificateFactorySpi.java107 public CertPath engineGenerateCertPath(InputStream inStream, String encoding) argument
112 if (encoding.length() == 0) {
/external/apache-http/src/org/apache/http/client/entity/
H A DUrlEncodedFormEntity.java53 * of parameters in the specified encoding.
56 * @param encoding encoding the name/value pairs be encoded with
57 * @throws UnsupportedEncodingException if the encoding isn't supported
61 final String encoding) throws UnsupportedEncodingException {
62 super(URLEncodedUtils.format(parameters, encoding),
63 encoding);
69 * of parameters with the default encoding of {@link HTTP#DEFAULT_CONTENT_CHARSET}
72 * @throws UnsupportedEncodingException if the default encoding isn't supported
59 UrlEncodedFormEntity( final List <? extends NameValuePair> parameters, final String encoding) argument

Completed in 3311 milliseconds

1234567891011>>