/external/antlr/antlr-3.4/lib/ |
H A D | antlr-3.4-complete.jar | META-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 D | FlexAntTasks.jar | META-INF/ META-INF/MANIFEST.MF com/ com/adobe/ com/adobe/ac/ com/adobe/ac/ant/ ... |
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
H A D | ANTLRFileStream.as | 10 public function ANTLRFileStream(file:File, encoding:String = null) { 11 load(file, encoding); 14 public function load(file:File, encoding:String = null):void { 16 if (encoding == null) { 17 encoding = File.systemCharset; 24 data = stream.readMultiByte(file.size, encoding);
|
H A D | DFA.as | 178 /** Given a String that has a run-length-encoding of some unsigned shorts
|
/external/antlr/antlr-3.4/runtime/C/include/ |
H A D | antlr3defs.h | 65 // Definitions that indicate the encoding scheme character streams and strings etc 75 /// General latin-1 or other 8 bit encoding scheme such as straight ASCII 79 /// UTF-8 encoding scheme 83 /// UTF-16 encoding scheme (which also covers UCS2 as that does not have surrogates) 89 /// UTF-32 encoding scheme (basically straight 32 bit) 559 ANTLR3_API pANTLR3_INPUT_STREAM antlr3FileStreamNew (pANTLR3_UINT8 fileName, ANTLR3_UINT32 encoding); 560 ANTLR3_API pANTLR3_INPUT_STREAM antlr3StringStreamNew (pANTLR3_UINT8 data, ANTLR3_UINT32 encoding, ANTLR3_UINT32 size, pANTLR3_UINT8 name); 564 ANTLR3_API pANTLR3_STRING_FACTORY antlr3StringFactoryNew (ANTLR3_UINT32 encoding);
|
H A D | antlr3input.h | 3 * 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 D | antlr3string.h | 78 /** 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 D | antlr3filestream.c | 10 * 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 D | antlr3inputstream.c | 122 /// that would not work for the particular input encoding, such as consume for instance. 129 input->strFactory = antlr3StringFactoryNew(input->encoding); 347 * \return Next input character in internal ANTLR3 encoding (UTF32) 374 * \return Next input character in internal ANTLR3 encoding (UTF32) 399 * \return Next input character in internal ANTLR3 encoding (UTF32) 680 * - The supplied newLineChar is in UTF32 encoding (which means ASCII and latin1 etc 697 /// tends to confuse the notions of character encoding, unicode and so on. UCS2 is 708 input->strFactory = antlr3StringFactoryNew(input->encoding); 854 /// \return Next input character in internal ANTLR3 encoding (UTF32) 1134 /// \return Next input character in internal ANTLR3 encoding (UTF3 [all...] |
H A D | antlr3string.c | 98 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.Tests/ |
H A D | ANTLRxxxxStreamFixture.cs | 66 Encoding encoding = Encoding.Unicode; 67 byte[] grammarStrBuffer = encoding.GetBytes(grammarStr); 70 ANTLRInputStream input = new ANTLRInputStream(grammarStream, encoding); 85 Encoding encoding = Encoding.Unicode; 86 byte[] grammarStrBuffer = encoding.GetBytes(grammarStr); 96 Encoding encoding = Encoding.Unicode; 97 byte[] grammarStrBuffer = encoding.GetBytes(grammarStr); 119 Encoding encoding = Encoding.Unicode; 120 byte[] grammarStrBuffer = encoding.GetBytes(grammarStr); 135 Encoding encoding [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/ |
H A D | DebugEventSocketProxy.cs | 102 System.Text.UTF8Encoding encoding = new System.Text.UTF8Encoding(); 103 socket.Send(encoding.GetBytes("ANTLR " + DebugEventListenerConstants.ProtocolVersion + "\n")); 104 socket.Send(encoding.GetBytes("grammar \"" + grammarFileName + "\n"));
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
H A D | ANTLRFileStream.cs | 74 /// 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 D | ANTLRInputStream.cs | 53 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.Debug/ |
H A D | DebugEventSocketProxy.cs | 109 System.Text.UTF8Encoding encoding = new System.Text.UTF8Encoding(); 110 socket.Send( encoding.GetBytes( "ANTLR " + DebugEventListenerConstants.ProtocolVersion + "\n" ) ); 111 socket.Send( encoding.GetBytes( "grammar \"" + grammarFileName + "\n" ) );
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
H A D | ANTLRFileStream.cs | 57 public ANTLRFileStream( string fileName, Encoding encoding ) 60 Load( fileName, encoding ); 63 public virtual void Load( string fileName, Encoding encoding ) 71 if (encoding == null) 74 text = File.ReadAllText(fileName, encoding);
|
H A D | ANTLRInputStream.cs | 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 ) 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/Delphi/Sources/Antlr3.Runtime/ |
H A D | Antlr.Runtime.pas | 1715 /// specified file name and encoding
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
H A D | ANTLRFileStream.java | 45 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 D | ANTLRInputStream.java | 47 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/JavaScript/src/org/antlr/runtime/ |
H A D | ANTLRFileStream.js | 8 * @param {String} [encoding] name of the charset used for decoding 10 org.antlr.runtime.ANTLRFileStream = function(fileName, encoding) { 24 var data = this[method](fileName, encoding); 43 * @param {String} [encoding] name of the charset used for decoding 46 loadFileUsingJava: function(fileName, encoding) { 52 if (encoding) { 53 isr = new java.io.InputStreamReader(fis, encoding);
|
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/ |
H A D | rhino-python.prog | 3 function loadFile(fileName, encoding) { 8 if (encoding) { 9 isr = new java.io.InputStreamReader(fis, encoding);
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
H A D | 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;
|
H A D | ANTLRFileStream.m | 47 + (id) newANTLRFileStream:(NSString *)aFileName encoding:(NSStringEncoding)encoding 49 return [[ANTLRFileStream alloc] init:aFileName encoding:encoding]; 57 [self load:aFileName encoding:NSUTF8StringEncoding]; 62 - (id) init:(NSString *) aFileName encoding:(NSStringEncoding)encoding 67 [self load:aFileName encoding:encoding]; 77 - (void) load:(NSString *)aFileName encoding [all...] |
H A D | ANTLRInputStream.h | 13 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;
|