Home
last modified time | relevance | path

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

123

/external/antlr/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()
DANTLRStringStream.cs176 return CharStreamConstants.EndOfFile; // invalid; no char before first char in LA()
182 return CharStreamConstants.EndOfFile; in LA()
/external/antlr/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 )
/external/webrtc/modules/audio_coding/test/
DEncodeDecodeTest.cc83 if (!_pcmFile.EndOfFile()) { in Add10MsData()
160 if (!_rtpStream->EndOfFile()) { in IncomingPacket()
166 if (_rtpStream->EndOfFile()) { in IncomingPacket()
179 if (_realPayloadSizeBytes == 0 && _rtpStream->EndOfFile()) { in IncomingPacket()
223 if (_rtpStream->EndOfFile()) { in Run()
DRTPFile.h40 virtual bool EndOfFile() const = 0;
89 bool EndOfFile() const override;
122 bool EndOfFile() const override { return _rtpEOF; } in EndOfFile() function
DPacketLossTest.cc45 if (!_rtpStream->EndOfFile()) { in IncomingPacket()
50 if (_rtpStream->EndOfFile()) { in IncomingPacket()
65 if (_realPayloadSizeBytes == 0 && _rtpStream->EndOfFile()) { in IncomingPacket()
Dopus_test.cc246 if (in_file_mono_.EndOfFile()) { in Run()
251 if (in_file_stereo_.EndOfFile()) { in Run()
377 if (in_file_mono_.EndOfFile()) { in Run()
380 if (in_file_stereo_.EndOfFile()) { in Run()
DiSACTest.cc185 while (!_inFileA.EndOfFile()) { in Setup()
271 while (!(_inFileA.EndOfFile() || _inFileA.Rewinded())) { in EncodeDecode()
319 if (_inFileA.EndOfFile()) { in SwitchingSamplingRate()
338 if (_inFileB.EndOfFile()) { in SwitchingSamplingRate()
/external/antlr/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.cs282 if ( ute.Expecting == TokenTypes.EndOfFile ) in GetErrorMessage()
297 if ( mte.Expecting == TokenTypes.EndOfFile ) in GetErrorMessage()
311 if ( mte.Expecting == TokenTypes.EndOfFile ) in GetErrorMessage()
326 if ( mtne.Expecting == TokenTypes.EndOfFile ) in GetErrorMessage()
416 if ( t.Type == TokenTypes.EndOfFile ) in GetTokenErrorDisplay()
796 while ( ttype != TokenTypes.EndOfFile && ttype != tokenType ) in ConsumeUntil()
808 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()
178 …IToken eof = new CommonToken((ICharStream)input, CharStreamConstants.EndOfFile, TokenChannels.Defa… in GetEndOfFileToken()
394 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/antlr/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/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/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/
DSlimLexer.cs144 if ( input.LA( 1 ) == CharStreamConstants.EndOfFile ) in NextToken()
146 return new SlimToken(TokenTypes.EndOfFile); in NextToken()
403 case TokenTypes.EndOfFile: in GetCharErrorDisplay()
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()
DSlimStringStream.cs222 return CharStreamConstants.EndOfFile; // invalid; no char before first char in LA()
229 return CharStreamConstants.EndOfFile; in LA()

123