Home
last modified time | relevance | path

Searched refs:NextToken (Results 1 – 25 of 104) sorted by relevance

12345

/external/deqp-deps/amber/src/
Dtokenizer_test.cc28 auto next = t.NextToken(); in TEST_F()
35 auto next = t.NextToken(); in TEST_F()
40 next = t.NextToken(); in TEST_F()
47 auto next = t.NextToken(); in TEST_F()
52 next = t.NextToken(); in TEST_F()
59 auto next = t.NextToken(); in TEST_F()
64 next = t.NextToken(); in TEST_F()
71 auto next = t.NextToken(); in TEST_F()
76 next = t.NextToken(); in TEST_F()
85 auto next = t.NextToken(); in TestNaN()
[all …]
Dtokenizer.cc59 std::unique_ptr<Token> Tokenizer::NextToken() { in NextToken() function in amber::Tokenizer
198 return NextToken(); in NextToken()
204 return NextToken(); in NextToken()
265 std::unique_ptr<Token> tok = NextToken(); in PeekNextToken()
Ddescriptor_set_and_binding_parser.cc48 auto token = t.NextToken(); in Parse()
58 token = t.NextToken(); in Parse()
/external/pdfium/xfa/fxfa/fm2js/
Dcxfa_fmlexer_unittest.cpp15 CXFA_FMToken token = lexer.NextToken(); in TEST()
22 CXFA_FMToken token = lexer.NextToken(); in TEST()
29 CXFA_FMToken token = lexer->NextToken(); in TEST()
32 token = lexer->NextToken(); in TEST()
34 token = lexer->NextToken(); in TEST()
38 token = lexer->NextToken(); in TEST()
43 token = lexer->NextToken(); in TEST()
48 token = lexer->NextToken(); in TEST()
53 token = lexer->NextToken(); in TEST()
58 token = lexer->NextToken(); in TEST()
[all …]
Dcxfa_fmparser.cpp33 m_token = m_lexer->NextToken(); in Parse()
48 bool CXFA_FMParser::NextToken() { in NextToken() function in CXFA_FMParser
52 m_token = m_lexer->NextToken(); in NextToken()
54 m_token = m_lexer->NextToken(); in NextToken()
66 return NextToken(); in CheckThenNext()
119 if (!NextToken()) in ParseFunction()
135 if (!NextToken()) in ParseFunction()
141 if (!NextToken()) in ParseFunction()
200 if (!NextToken()) in ParseExpression()
205 if (!NextToken()) in ParseExpression()
[all …]
/external/deqp-deps/amber/src/amberscript/
Dparser.cc207 for (auto token = tokenizer->NextToken();; token = tokenizer->NextToken()) { in ParseBufferData()
288 for (auto token = tokenizer_->NextToken(); !token->IsEOS(); in Parse()
289 token = tokenizer_->NextToken()) { in Parse()
447 auto token = tokenizer_->NextToken(); in ValidateEndOfStatement()
455 auto token = tokenizer_->NextToken(); in ParseShaderBlock()
466 token = tokenizer_->NextToken(); in ParseShaderBlock()
472 token = tokenizer_->NextToken(); in ParseShaderBlock()
503 tokenizer_->NextToken(); in ParseShaderBlock()
504 token = tokenizer_->NextToken(); in ParseShaderBlock()
512 tokenizer_->NextToken(); // Skip VIRTUAL_FILE in ParseShaderBlock()
[all …]
/external/llvm-project/flang/include/flang/Common/
Dformat.h123 void NextToken(); in ENUM_CLASS()
178 template <typename CHAR> void FormatValidator<CHAR>::NextToken() { in NextToken() function
456 NextToken(); in check_w()
469 NextToken(); in check_m()
478 NextToken(); in check_m()
487 NextToken(); in check_d()
492 NextToken(); in check_d()
500 NextToken(); in check_e()
505 NextToken(); in check_e()
513 NextToken(); in Check()
[all …]
/external/deqp-deps/amber/src/vkscript/
Dcommand_parser.cc87 for (auto token = tokenizer_->NextToken(); !token->IsEOS(); in Parse()
88 token = tokenizer_->NextToken()) { in Parse()
101 token = tokenizer_->NextToken(); in Parse()
127 token = tokenizer_->NextToken(); in Parse()
139 token = tokenizer_->NextToken(); in Parse()
150 token = tokenizer_->NextToken(); in Parse()
264 auto token = tokenizer_->NextToken(); in ProcessDrawRect()
275 token = tokenizer_->NextToken(); in ProcessDrawRect()
283 token = tokenizer_->NextToken(); in ProcessDrawRect()
289 token = tokenizer_->NextToken(); in ProcessDrawRect()
[all …]
Dparser.cc155 for (auto token = tokenizer.NextToken(); !token->IsEOS(); in ProcessRequireBlock()
156 token = tokenizer.NextToken()) { in ProcessRequireBlock()
169 token = tokenizer.NextToken(); in ProcessRequireBlock()
189 token = tokenizer.NextToken(); in ProcessRequireBlock()
221 token = tokenizer.NextToken(); in ProcessRequireBlock()
230 token = tokenizer.NextToken(); in ProcessRequireBlock()
242 token = tokenizer.NextToken(); in ProcessRequireBlock()
265 token = tokenizer.NextToken(); in ProcessRequireBlock()
280 for (auto token = tokenizer.NextToken(); !token->IsEOS(); in ProcessIndicesBlock()
281 token = tokenizer.NextToken()) { in ProcessIndicesBlock()
[all …]
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DTreePatternParser.cs46 ttype = tokenizer.NextToken(); // kickstart in TreePatternParser()
66 ttype = tokenizer.NextToken(); in ParseTree()
90 ttype = tokenizer.NextToken(); in ParseTree()
98 ttype = tokenizer.NextToken(); in ParseNode()
103 ttype = tokenizer.NextToken(); in ParseNode()
107 ttype = tokenizer.NextToken(); // move to ID following colon in ParseNode()
112 ttype = tokenizer.NextToken(); in ParseNode()
127 ttype = tokenizer.NextToken(); in ParseNode()
137 ttype = tokenizer.NextToken(); in ParseNode()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DTreePatternParser.cs49 ttype = tokenizer.NextToken(); // kickstart in TreePatternParser()
75 ttype = tokenizer.NextToken(); in ParseTree()
105 ttype = tokenizer.NextToken(); in ParseTree()
115 ttype = tokenizer.NextToken(); in ParseNode()
121 ttype = tokenizer.NextToken(); in ParseNode()
126 ttype = tokenizer.NextToken(); // move to ID following colon in ParseNode()
132 ttype = tokenizer.NextToken(); in ParseNode()
149 ttype = tokenizer.NextToken(); in ParseNode()
161 ttype = tokenizer.NextToken(); in ParseNode()
/external/llvm-project/clang/lib/Tooling/Refactoring/Extract/
DSourceExtraction.cpp103 Optional<Token> NextToken = Lexer::findNextToken(End, SM, LangOpts); in compute() local
104 if (NextToken && NextToken->is(tok::semi) && in compute()
105 areOnSameLine(NextToken->getLocation(), End, SM)) { in compute()
106 ExtractedRange.setEnd(NextToken->getLocation()); in compute()
/external/clang/lib/Format/
DFormatToken.cpp78 if (State.NextToken == nullptr || !State.NextToken->Previous) in formatAfterToken()
83 State.NextToken->Previous->getPreviousNonComment(); in formatAfterToken()
92 Style.ColumnLimit - State.Column + State.NextToken->Previous->ColumnWidth; in formatAfterToken()
106 while (State.NextToken != LBrace->MatchingParen) { in formatAfterToken()
111 if (Item < Commas.size() && State.NextToken->Previous == Commas[Item]) { in formatAfterToken()
112 if (!State.NextToken->isTrailingComment()) { in formatAfterToken()
119 if (Column == Format->Columns || State.NextToken->MustBreakBefore) { in formatAfterToken()
DContinuationIndenter.h315 FormatToken *NextToken; member
359 if (NextToken != Other.NextToken)
360 return NextToken < Other.NextToken;
DContinuationIndenter.cpp83 State.NextToken = Line->First; in getInitialState()
99 const FormatToken &Current = *State.NextToken; in canBreak()
143 const FormatToken &Current = *State.NextToken; in mustBreak()
280 const FormatToken &Current = *State.NextToken; in addTokenToState()
314 FormatToken &Current = *State.NextToken; in addTokenOnCurrentLine()
315 const FormatToken &Previous = *State.NextToken->Previous; in addTokenOnCurrentLine()
441 FormatToken &Current = *State.NextToken; in addTokenOnNewLine()
442 const FormatToken &Previous = *State.NextToken->Previous; in addTokenOnNewLine()
458 Penalty += State.NextToken->SplitPenalty; in addTokenOnNewLine()
597 if (!State.NextToken || !State.NextToken->Previous) in getNewLineColumn()
[all …]
/external/llvm-project/clang/lib/Parse/
DParseTentative.cpp157 if (NextToken().isNot(tok::l_paren)) { in TryConsumeDeclarationSpecifier()
613 NextToken().isOneOf(tok::greater, tok::greatergreater, in isCXXTypeId()
666 if (Tok.isNot(tok::l_square) || NextToken().isNot(tok::l_square)) in isCXX11AttributeSpecifier()
835 (Tok.is(tok::annot_cxxscope) && NextToken().is(tok::star))) { in TryParsePtrOperatorSeq()
880 if (Tok.is(tok::l_square) && NextToken().is(tok::r_square)) { in TryParseOperatorId()
894 if (NextToken().is(tok::r_square)) { in TryParseOperatorId()
902 if (NextToken().is(tok::r_paren)) { in TryParseOperatorId()
1016 (Tok.is(tok::annot_cxxscope) && (NextToken().is(tok::identifier) || in TryParseDeclarator()
1017 NextToken().is(tok::kw_operator)))) && in TryParseDeclarator()
1040 (Tok.is(tok::ellipsis) && NextToken().is(tok::r_paren)) || in TryParseDeclarator()
[all …]
/external/llvm-project/clang/lib/Format/
DFormatToken.cpp79 if (State.NextToken == nullptr || !State.NextToken->Previous) in formatAfterToken()
87 State.NextToken->Previous->getPreviousNonComment(); in formatAfterToken()
96 Style.ColumnLimit - State.Column + State.NextToken->Previous->ColumnWidth; in formatAfterToken()
111 while (State.NextToken != LBrace->MatchingParen) { in formatAfterToken()
116 if (Item < Commas.size() && State.NextToken->Previous == Commas[Item]) { in formatAfterToken()
117 if (!State.NextToken->isTrailingComment()) { in formatAfterToken()
124 if (Column == Format->Columns || State.NextToken->MustBreakBefore) { in formatAfterToken()
DContinuationIndenter.h411 FormatToken *NextToken; member
458 if (NextToken != Other.NextToken)
459 return NextToken < Other.NextToken;
DContinuationIndenter.cpp253 State.NextToken = Line->First; in getInitialState()
278 const FormatToken &Current = *State.NextToken; in canBreak()
330 const FormatToken &Current = *State.NextToken; in mustBreak()
528 const FormatToken &Current = *State.NextToken; in addTokenToState()
564 FormatToken &Current = *State.NextToken; in addTokenOnCurrentLine()
565 const FormatToken &Previous = *State.NextToken->Previous; in addTokenOnCurrentLine()
758 FormatToken &Current = *State.NextToken; in addTokenOnNewLine()
759 const FormatToken &Previous = *State.NextToken->Previous; in addTokenOnNewLine()
775 Penalty += State.NextToken->SplitPenalty; in addTokenOnNewLine()
963 if (!State.NextToken || !State.NextToken->Previous) in getNewLineColumn()
[all …]
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/
DParser.cpp71 NextToken = getNextToken(); in CodeTokenizer()
78 NextToken = getNextToken(); in CodeTokenizer()
82 const TokenInfo &peekNextToken() const { return NextToken; } in peekNextToken()
86 TokenInfo ThisToken = NextToken; in consumeNextToken()
87 NextToken = getNextToken(); in consumeNextToken()
92 while (NextToken.Kind == TokenInfo::TK_NewLine) in SkipNewlines()
93 NextToken = getNextToken(); in SkipNewlines()
94 return NextToken; in SkipNewlines()
99 if (NextToken.Kind == TokenInfo::TK_Eof) in consumeNextTokenIgnoreNewlines()
100 return NextToken; in consumeNextTokenIgnoreNewlines()
[all …]
/external/clang/lib/Parse/
DParseTentative.cpp151 if (NextToken().isNot(tok::l_paren)) { in TryConsumeDeclarationSpecifier()
580 if (Tok.isNot(tok::l_square) || NextToken().isNot(tok::l_square)) in isCXX11AttributeSpecifier()
700 (Tok.is(tok::annot_cxxscope) && NextToken().is(tok::star))) { in TryParsePtrOperatorSeq()
739 if (Tok.is(tok::l_square) && NextToken().is(tok::r_square)) { in TryParseOperatorId()
753 if (NextToken().is(tok::r_square)) { in TryParseOperatorId()
761 if (NextToken().is(tok::r_paren)) { in TryParseOperatorId()
874 (Tok.is(tok::annot_cxxscope) && (NextToken().is(tok::identifier) || in TryParseDeclarator()
875 NextToken().is(tok::kw_operator)))) && in TryParseDeclarator()
892 (Tok.is(tok::ellipsis) && NextToken().is(tok::r_paren)) || in TryParseDeclarator()
1215 const Token &Next = NextToken(); in isCXXDeclarationSpecifier()
[all …]
/external/perfetto/src/trace_processor/importers/json/
Djson_trace_tokenizer.cc173 enum class NextToken { in ReadOneJsonKey() enum
179 NextToken next_token = NextToken::kStringOrEndOfDict; in ReadOneJsonKey()
186 case NextToken::kStringOrEndOfDict: { in ReadOneJsonKey()
212 next_token = NextToken::kColon; in ReadOneJsonKey()
215 case NextToken::kColon: in ReadOneJsonKey()
218 next_token = NextToken::kValue; in ReadOneJsonKey()
220 case NextToken::kValue: in ReadOneJsonKey()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/
DRewriteRuleXxxxStreamFixture.cs182 tokenTest.NextToken(); in CheckRRTokenStreamBehaviourWhileEmpty3()
212 IToken returnedToken = tokenTest.NextToken(); in CheckRRTokenStreamBehaviourWithElements()
237 returnedToken = tokenTest.NextToken(); in CheckRRTokenStreamBehaviourWithElements()
242 returnedToken = tokenTest.NextToken(); in CheckRRTokenStreamBehaviourWithElements()
248 tokenTest.NextToken(); in CheckRRTokenStreamBehaviourWithElements()
/external/clang/lib/ASTMatchers/Dynamic/
DParser.cpp63 NextToken = getNextToken(); in CodeTokenizer()
70 NextToken = getNextToken(); in CodeTokenizer()
74 const TokenInfo &peekNextToken() const { return NextToken; } in peekNextToken()
78 TokenInfo ThisToken = NextToken; in consumeNextToken()
79 NextToken = getNextToken(); in consumeNextToken()
83 TokenInfo::TokenKind nextTokenKind() const { return NextToken.Kind; } in nextTokenKind()
256 TokenInfo NextToken; member in clang::ast_matchers::dynamic::Parser::CodeTokenizer
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/
DSlimLexer.cs129 public virtual SlimToken NextToken() in NextToken() method in Antlr.Runtime.SlimLexer
174 IToken ITokenSource.NextToken() in ITokenSource.NextToken()
176 return NextToken(); in ITokenSource.NextToken()

12345