/external/aac/libSYS/include/ |
H A D | genericStds.h | 246 INT FDKfprintf(void *stream, const char *format, ...);
|
/external/aac/libSYS/src/ |
H A D | genericStds.cpp | 159 INT FDKfprintf(FDKFILE *stream, const char *format, ...) { argument 163 chars += vfprintf((FILE*)stream, format, ap); 183 INT FDKfprintf(FILE *stream, const char *format, ...) { /*stub ! */; } argument
|
/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 | 20 var stream:FileStream = new FileStream(); 23 stream.open(file, FileMode.READ); 24 data = stream.readMultiByte(file.size, encoding); 28 stream.close();
|
H A D | BaseRecognizer.as | 35 /** reset the parser's state; subclasses must rewinds the input stream */ 323 /** Recover from an error found on the input stream. This is 497 * a missing token in the input stream. "Insert" one by just not 607 * for input stream type or change the IntStream interface, I use 622 * the next token in the stream is what we want we assume that 733 * input stream? Return the stop token index or MEMO_RULE_UNKNOWN.
|
H A D | DFA.as | 56 /** From the input stream, predict what alternative will succeed
|
H A D | RecognizerSharedState.as | 24 /** The index into the input stream where the last error occurred. 69 /** What character index in the stream did the current token start at?
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/ |
H A D | CommonTreeNodeStream.as | 34 /** A buffered stream of tree nodes. Nodes can be from a tree of ANY kind. 36 * This node stream sucks all nodes out of the tree specified in 38 * the tree using an array of Object pointers. The stream necessarily 41 * This stream knows how to mark/release for backtracking. 43 * This stream is most suitable for tree interpreters that need to 61 /** The complete mapping from stream index to tree node. 75 /** IF this tree (root) was created from a token stream, track it. */ 109 /** Reuse an existing node stream's buffer of nodes. Do not point at a 110 * node stream that can change. Must have static node list. start/stop 111 * are indexes into the parent.nodes stream [all...] |
H A D | RewriteRuleNodeStream.as | 24 throw new Error("dup can't be called for a node stream.");
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/test/org/antlr/runtime/test/ |
H A D | TestANTLRStringStream.as | 15 var stream:CharStream = new ANTLRStringStream("abc"); 16 assertEquals(stream.size, 3); 17 assertEquals(stream.charPositionInLine, 0); 18 assertEquals(stream.line, 1); 19 assertEquals(stream.index, 0); 21 for (var i:int = 0; i < stream.size; i++) { 22 stream.consume(); 24 assertEquals(stream.size, 3); // invariant 25 assertEquals(stream.charPositionInLine, i + 1); 26 assertEquals(stream [all...] |
/external/antlr/antlr-3.4/runtime/C/include/ |
H A D | antlr3intstream.h | 4 * Certain functionality (such as DFAs for instance) abstract the stream of tokens 6 * in any stream that is able to provide the output as a stream of integers (which is anything 12 * the base stream provides a pointer to this interface, within which it installs its 14 * and can treat any input as an int stream. 66 /** Type indicator for a character stream 67 * \remark if a custom stream is created but it can be treated as 68 * a char stream, then you may OR in this value to your type indicator 72 /** Type indicator for a Token stream 73 * \remark if a custom stream i [all...] |
H A D | antlr3rewritestreams.h | 60 /// TODO: add mechanism to detect/puke on modification after reading from stream 82 /// The element or stream description; usually has name of the token or 88 /// Pointer to the tree adaptor in use for this stream 92 /// Once a node / subtree has been used in a stream, it must be dup'ed 99 // Pointer to the recognizer shared state to which this stream belongs 105 /// Reset the condition of this stream so that it appears we have 108 void (*reset) (struct ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct * stream); 110 /// Add a new pANTLR3_BASE_TREE to this stream 112 void (*add) (struct ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct * stream, void *el, void (ANTLR3_CDECL *freePtr)(void *)); 114 /// Return the next element in the stream [all...] |
/external/antlr/antlr-3.4/runtime/C/src/ |
H A D | antlr3commontreenodestream.c | 2 /// Defines the implementation of the common node stream the default 3 /// tree node stream used by ANTLR. 90 pANTLR3_TREE_NODE_STREAM stream; local 94 stream = (pANTLR3_TREE_NODE_STREAM) ANTLR3_CALLOC(1, sizeof(ANTLR3_TREE_NODE_STREAM)); 96 if (stream == NULL) 103 stream->replaceChildren = replaceChildren; 104 stream->free = antlr3TreeNodeStreamFree; 106 return stream; 110 antlr3TreeNodeStreamFree(pANTLR3_TREE_NODE_STREAM stream) argument 112 ANTLR3_FREE(stream); 118 pANTLR3_COMMON_TREE_NODE_STREAM stream; local 134 pANTLR3_COMMON_TREE_NODE_STREAM stream; local 272 pANTLR3_COMMON_TREE_NODE_STREAM stream; local [all...] |
H A D | antlr3intstream.c | 2 /// Implementation of superclass elements of an ANTLR3 int stream. 38 static void freeStream (pANTLR3_INT_STREAM stream); 43 pANTLR3_INT_STREAM stream; local 47 stream = (pANTLR3_INT_STREAM) ANTLR3_CALLOC(1, sizeof(ANTLR3_INT_STREAM)); 49 if (stream == NULL) 54 stream->free = freeStream; 56 return stream; 60 freeStream (pANTLR3_INT_STREAM stream) argument 62 ANTLR3_FREE(stream);
|
H A D | antlr3rewritestreams.c | 38 // Static support function forward declarations for the stream types. 40 static void reset (pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream); 41 static void add (pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream, void * el, void (ANTLR3_CDECL *freePtr)(void *)); 42 static void * next (pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream); 43 static pANTLR3_BASE_TREE nextTree (pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream); 44 static void * nextToken (pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream); 45 static void * _next (pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream); 46 static void * dupTok (pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream, void * el); 47 static void * dupTree (pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream, void * el); 48 static void * dupTreeNode (pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream, voi 65 freeRS(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream) argument 108 freeNodeRS(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream) argument 174 expungeRS(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream) argument 189 pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream; local 259 pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream; local 282 pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream; local 311 pANTLR3_REWRITE_RULE_TOKEN_STREAM stream; local 335 pANTLR3_REWRITE_RULE_TOKEN_STREAM stream; local 354 pANTLR3_REWRITE_RULE_TOKEN_STREAM stream; local 375 pANTLR3_REWRITE_RULE_SUBTREE_STREAM stream; local 397 pANTLR3_REWRITE_RULE_SUBTREE_STREAM stream; local 420 pANTLR3_REWRITE_RULE_SUBTREE_STREAM stream; local 444 pANTLR3_REWRITE_RULE_NODE_STREAM stream; local 468 pANTLR3_REWRITE_RULE_NODE_STREAM stream; local 487 pANTLR3_REWRITE_RULE_NODE_STREAM stream; local 510 reset(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream) argument 519 add(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream, void * el, void (ANTLR3_CDECL *freePtr)(void *)) argument 568 nextTree(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream) argument 592 nextToken(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream) argument 601 next(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream) argument 625 _next(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream) argument 682 dupTok(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream, void * el) argument 696 dupTree(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream, void * element) argument 710 dupTreeNode(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream, void * element) argument 721 toTree(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream, void * element) argument 738 toTreeNode(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream, void * element) argument 750 hasNext(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream) argument 767 nextNodeToken(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream) argument 773 nextNodeNode(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream) argument 788 nextNode(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream) argument 811 size(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream) argument 836 getDescription(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream) argument [all...] |
H A D | antlr3tokenstream.c | 82 static void antlr3TokenStreamFree (pANTLR3_TOKEN_STREAM stream); 83 static void antlr3CTSFree (pANTLR3_COMMON_TOKEN_STREAM stream); 95 pANTLR3_TOKEN_STREAM stream; local 99 stream = (pANTLR3_TOKEN_STREAM) ANTLR3_MALLOC(sizeof(ANTLR3_TOKEN_STREAM)); 101 if (stream == NULL) 108 stream->free = antlr3TokenStreamFree; 111 return stream; 115 antlr3TokenStreamFree(pANTLR3_TOKEN_STREAM stream) argument 117 ANTLR3_FREE(stream); 121 antlr3CTSFree (pANTLR3_COMMON_TOKEN_STREAM stream) argument 208 pANTLR3_COMMON_TOKEN_STREAM stream; local 237 pANTLR3_COMMON_TOKEN_STREAM stream; local 256 pANTLR3_COMMON_TOKEN_STREAM stream; local [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/ |
H A D | ANTLRxxxxStreamFixture.cs | 240 ANTLRInputStream stream = new ANTLRInputStream(grammarStream, encoding); 242 Assert.AreEqual("Two", stream.Substring(5, 7)); 243 Assert.AreEqual("One", stream.Substring(0, 2)); 244 Assert.AreEqual("Three", stream.Substring(10, 14)); 246 stream.Consume(); 248 Assert.AreEqual("Two", stream.Substring(5, 7)); 249 Assert.AreEqual("One", stream.Substring(0, 2)); 250 Assert.AreEqual("Three", stream.Substring(10, 14)); 260 ANTLRInputStream stream = new ANTLRInputStream(grammarStream, encoding); 261 Assert.AreEqual('O', stream [all...] |
H A D | ITreeNodeStreamFixture.cs | 61 ITreeNodeStream stream = CreateCommonTreeNodeStream(t); 63 string actual = GetStringOfEntireStreamContentsWithNodeTypesOnly(stream); 67 actual = stream.ToString(); 82 ITreeNodeStream stream = CreateBufferedTreeNodeStream(t); 84 string actual = GetStringOfEntireStreamContentsWithNodeTypesOnly(stream); 88 actual = stream.ToString(); 107 BufferedTreeNodeStream stream = new BufferedTreeNodeStream(root); 109 string actual = GetStringOfEntireStreamContentsWithNodeTypesOnly(stream); 113 actual = stream.ToString(); 126 BufferedTreeNodeStream stream [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
H A D | TokenRewriteStream.cs | 42 /** Useful for dumping out the input stream after doing some 59 * the original token stream back without undoing anything. Since 90 * If you don't use named rewrite streams, a "default" stream is used as 109 protected TokenRewriteStream stream; field in class:Antlr.Runtime.TokenRewriteStream.RewriteOperation 111 protected RewriteOperation(TokenRewriteStream stream, int index, object text) { argument 114 this.stream = stream; 133 public InsertBeforeOp(TokenRewriteStream stream, int index, object text) : argument 134 base(stream, index, text) { 139 if (stream 152 ReplaceOp(TokenRewriteStream stream, int from, int to, object text) argument 168 DeleteOp(TokenRewriteStream stream, int from, int to) argument [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
H A D | TokenRewriteStream.cs | 45 /** Useful for dumping out the input stream after doing some 62 * the original token stream back without undoing anything. Since 93 * If you don't use named rewrite streams, a "default" stream is used as 114 protected TokenRewriteStream stream; field in class:Antlr.Runtime.TokenRewriteStream.RewriteOperation 116 protected RewriteOperation(TokenRewriteStream stream, int index) argument 118 this.stream = stream; 122 protected RewriteOperation( TokenRewriteStream stream, int index, object text ) argument 126 this.stream = stream; 150 InsertBeforeOp( TokenRewriteStream stream, int index, object text ) argument 172 ReplaceOp( TokenRewriteStream stream, int from, int to, object text ) argument [all...] |
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime.Tests/ |
H A D | Antlr.Runtime.Tree.Tests.pas | 846 // stream has 7 real + 6 nav nodes 887 // stream has 7 real + 6 nav nodes 937 // stream has 7 real + 6 nav nodes 985 // stream has 9 real + 8 nav nodes 1048 // stream has 9 real + 8 nav nodes 1095 // stream has 9 real + 8 nav nodes 1150 // stream has 7 real + 6 nav nodes 1180 // stream has 7 real + 6 nav nodes
|
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/ |
H A D | Antlr.Runtime.Tree.pas | 96 /// <para>You must specify the input stream so that the erroneous text can 263 /// Where are the bounds in the input token stream for this node and 331 /// <summary>A stream of tree nodes, accessing nodes from a tree of some kind </summary> 364 /// If the stream does not buffer all the nodes then it can still 379 /// The stream is notified because it is walking the tree and might need 381 /// able to modify the node stream to avoid restreaming for future phases. 392 /// Where is this stream pulling nodes from? This is not the name, but 400 /// Get the ITokenStream from which this stream's Tree was created 404 /// If the tree associated with this stream was created from a 626 // A node representing erroneous token range in token stream [all...] |
H A D | Antlr.Runtime.pas | 58 /// A simple stream of integers. This is useful when all we care about is the char 68 /// Advances the read position of the stream. Updates line and column state 80 /// <summary>Tell the stream to start buffering if it hasn't already.</summary> 82 /// Executing Rewind(Mark()) on a stream should not affect the input position. 100 /// Resets the stream so that the next call to 106 /// state the stream was in. This is essentially calling 110 /// stream was in when this marker was created. 129 /// stream to keep bookkeeping objects around for a marker that is 143 /// normally used to seek ahead in the input stream. 146 /// No buffering is required to do this unless you know your stream [all...] |
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/ |
H A D | rhino-python.extensions | 70 PythonTokenSource = function(stream) { 71 this.stream = stream; 90 return this.stream.getSourceName(); 130 var t = this.stream.LT(1); 131 this.stream.consume(); 135 var hiddenTokens = this.stream.getTokens(this.lastTokenAddedIndex+1,t.getTokenIndex()-1); 145 var hiddenTokens = this.stream.getTokens(this.lastTokenAddedIndex+1,t.getTokenIndex()-1); 153 t = this.stream.LT(1); 154 this.stream [all...] |