Home
last modified time | relevance | path

Searched refs:EndOfFile (Results 1 – 25 of 63) sorted by relevance

123

/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DTokenConstants.cs55 public const int EndOfFile = (int)CharStreamConstants.EndOfFile; field in Antlr.Runtime.TokenTypes
67 public static readonly IToken EndOfFile = Tokens<CommonToken>.EndOfFile; field in Antlr.Runtime.Tokens
82 public static readonly T EndOfFile = new T() field in Antlr.Runtime.T
84 Type = TokenTypes.EndOfFile
DBufferedTokenStream.cs200 if (t.Type == CharStreamConstants.EndOfFile) in Fetch()
232 if (token.Type == TokenTypes.EndOfFile) in Get()
342 if (t.Type == CharStreamConstants.EndOfFile) in ToString()
361 if (_tokens[_p].Type == CharStreamConstants.EndOfFile) in Fill()
366 while (_tokens[i].Type != CharStreamConstants.EndOfFile) { in Fill()
DBaseRecognizer.cs255 if (ute.Expecting == TokenTypes.EndOfFile) { in GetErrorMessage()
265 if (mte.Expecting == TokenTypes.EndOfFile) { in GetErrorMessage()
274 if (mte.Expecting == TokenTypes.EndOfFile) { in GetErrorMessage()
284 if (mtne.Expecting == TokenTypes.EndOfFile) { in GetErrorMessage()
352 if (t.Type == TokenTypes.EndOfFile) { in GetTokenErrorDisplay()
707 while (ttype != TokenTypes.EndOfFile && ttype != tokenType) { in ConsumeUntil()
717 while (ttype != TokenTypes.EndOfFile && !set.Member(ttype)) { in ConsumeUntil()
DParser.cs72 if (expectedTokenType == TokenTypes.EndOfFile) in GetMissingSymbol()
78 if (current.Type == TokenTypes.EndOfFile) { in GetMissingSymbol()
DLexer.cs118 if (input.LA(1) == CharStreamConstants.EndOfFile) { in NextToken()
119 …IToken eof = new CommonToken((ICharStream)input, CharStreamConstants.EndOfFile, TokenChannels.Defa… in NextToken()
314 case TokenTypes.EndOfFile: in GetCharErrorDisplay()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DTreePatternLexer.cs74 while ( c != CharStreamConstants.EndOfFile ) in NextToken()
144 return CharStreamConstants.EndOfFile; in NextToken()
146 return CharStreamConstants.EndOfFile; in NextToken()
154 c = CharStreamConstants.EndOfFile; in Consume()
DCommonErrorNode.cs51 stop.Type != TokenTypes.EndOfFile ) ) in CommonErrorNode()
82 if ( ( (IToken)stop ).Type == TokenTypes.EndOfFile )
DCommonTreeNodeStream.cs186 return TreeAdaptor.GetType(o) == CharStreamConstants.EndOfFile; in IsEndOfFile()
243 while ( type != TokenTypes.EndOfFile ) in ToTokenTypeString()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
DBufferedTokenStream.cs231 if (t.Type == CharStreamConstants.EndOfFile) in Fetch()
265 if (token.Type == TokenTypes.EndOfFile) in Get()
391 if (t.Type == CharStreamConstants.EndOfFile) in ToString()
413 if (_tokens[_p].Type == CharStreamConstants.EndOfFile) in Fill()
418 while (_tokens[i].Type != CharStreamConstants.EndOfFile) in Fill()
DTokenTypes.cs37 public const int EndOfFile = CharStreamConstants.EndOfFile; field in Antlr.Runtime.TokenTypes
DBaseRecognizer.cs280 if ( ute.Expecting == TokenTypes.EndOfFile ) in GetErrorMessage()
295 if ( mte.Expecting == TokenTypes.EndOfFile ) in GetErrorMessage()
309 if ( mte.Expecting == TokenTypes.EndOfFile ) in GetErrorMessage()
324 if ( mtne.Expecting == TokenTypes.EndOfFile ) in GetErrorMessage()
414 if ( t.Type == TokenTypes.EndOfFile ) in GetTokenErrorDisplay()
794 while ( ttype != TokenTypes.EndOfFile && ttype != tokenType ) in ConsumeUntil()
806 while ( ttype != TokenTypes.EndOfFile && !set.Member( ttype ) ) in ConsumeUntil()
DParser.cs79 if ( expectedTokenType == TokenTypes.EndOfFile ) in GetMissingSymbol()
85 if ( current.Type == TokenTypes.EndOfFile ) in GetMissingSymbol()
DLexer.cs138 if ( input.LA( 1 ) == CharStreamConstants.EndOfFile ) in NextToken()
140 …IToken eof = new CommonToken((ICharStream)input, CharStreamConstants.EndOfFile, TokenChannels.Defa… in NextToken()
386 case TokenTypes.EndOfFile: in GetCharErrorDisplay()
DANTLRStringStream.cs199 return CharStreamConstants.EndOfFile; // invalid; no char before first char in LA()
206 return CharStreamConstants.EndOfFile; in LA()
/external/webrtc/webrtc/modules/audio_coding/test/
DRTPFile.h37 virtual bool EndOfFile() const = 0;
80 bool EndOfFile() const override;
117 bool EndOfFile() const override { return _rtpEOF; } in EndOfFile() function
DEncodeDecodeTest.cc103 if (!_pcmFile.EndOfFile()) { in Add10MsData()
183 if (!_rtpStream->EndOfFile()) { in IncomingPacket()
189 if (_rtpStream->EndOfFile()) { in IncomingPacket()
202 if (_realPayloadSizeBytes == 0 && _rtpStream->EndOfFile()) { in IncomingPacket()
242 if (_rtpStream->EndOfFile()) { in Run()
DPacketLossTest.cc42 if (!_rtpStream->EndOfFile()) { in IncomingPacket()
47 if (_rtpStream->EndOfFile()) { in IncomingPacket()
62 if (_realPayloadSizeBytes == 0 && _rtpStream->EndOfFile()) { in IncomingPacket()
Dopus_test.cc248 if (in_file_mono_.EndOfFile()) { in Run()
253 if (in_file_stereo_.EndOfFile()) { in Run()
358 if (in_file_mono_.EndOfFile()) { in Run()
361 if (in_file_stereo_.EndOfFile()) { in Run()
DiSACTest.cc129 while (!_inFileA.EndOfFile()) { in Setup()
247 while (!(_inFileA.EndOfFile() || _inFileA.Rewinded())) { in EncodeDecode()
307 if (_inFileA.EndOfFile()) { in SwitchingSamplingRate()
322 if (_inFileB.EndOfFile()) { in SwitchingSamplingRate()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DCommonErrorNode.cs48 stop.Type != TokenTypes.EndOfFile)) { in CommonErrorNode()
73 if (((IToken)stop).Type == TokenTypes.EndOfFile) {
DCommonTreeNodeStream.cs161 return TreeAdaptor.GetType(o) == CharStreamConstants.EndOfFile; in IsEndOfFile()
210 while (type != TokenTypes.EndOfFile) { in ToTokenTypeString()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/
DITreeNodeStreamFixture.cs187 Assert.AreEqual(Token.EndOfFile, ((ITree)stream.LT(9)).Type); in testLT()
189 Assert.AreEqual(Token.EndOfFile, ((ITree)stream.LT(100)).Type); in testLT()
215 Assert.AreEqual(Token.EndOfFile, ((ITree)stream.LT(1)).Type); in testMarkRewindEntire()
225 Assert.AreEqual(Token.EndOfFile, ((ITree)stream.LT(1)).Type); in testMarkRewindEntire()
272 Assert.AreEqual(Token.EndOfFile, ((ITree)stream.LT(1)).Type); in testMarkRewindInMiddle()
497 while (stream.LA(1) != Token.EndOfFile) in testPushPopFromEOF()
503 Assert.AreEqual(Token.EndOfFile, ((ITree)stream.LT(1)).Type); in testPushPopFromEOF()
516 Assert.AreEqual(Token.EndOfFile, ((ITree)stream.LT(1)).Type); in testPushPopFromEOF()
529 Assert.AreEqual(Token.EndOfFile, ((ITree)stream.LT(1)).Type); in testPushPopFromEOF()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/
DSlimTokenStream.cs120 while ( t.Type != CharStreamConstants.EndOfFile ) in FillBuffer()
261 return new SlimToken(TokenTypes.EndOfFile); in LT()
275 return new SlimToken(TokenTypes.EndOfFile); in LT()
DSlimLexer.cs144 if ( input.LA( 1 ) == CharStreamConstants.EndOfFile ) in NextToken()
146 return new SlimToken(TokenTypes.EndOfFile); in NextToken()
403 case TokenTypes.EndOfFile: in GetCharErrorDisplay()
DSlimStringStream.cs222 return CharStreamConstants.EndOfFile; // invalid; no char before first char in LA()
229 return CharStreamConstants.EndOfFile; in LA()

123