/external/deqp-deps/amber/src/ |
D | tokenizer_test.cc | 28 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 …]
|
D | tokenizer.cc | 59 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()
|
D | descriptor_set_and_binding_parser.cc | 48 auto token = t.NextToken(); in Parse() 58 token = t.NextToken(); in Parse()
|
/external/pdfium/xfa/fxfa/formcalc/ |
D | cxfa_fmlexer_unittest.cpp | 14 CXFA_FMLexer::Token token = lexer.NextToken(); in TEST() 21 CXFA_FMLexer::Token token = lexer.NextToken(); in TEST() 29 CXFA_FMLexer::Token token = lexer.NextToken(); in TEST() 32 token = lexer.NextToken(); in TEST() 34 token = lexer.NextToken(); in TEST() 39 CXFA_FMLexer::Token token = lexer.NextToken(); in TEST() 45 CXFA_FMLexer::Token token = lexer.NextToken(); in TEST() 51 CXFA_FMLexer::Token token = lexer.NextToken(); in TEST() 57 CXFA_FMLexer::Token token = lexer.NextToken(); in TEST() 63 CXFA_FMLexer::Token token = lexer.NextToken(); in TEST() [all …]
|
D | cxfa_fmparser.cpp | 29 m_token = m_lexer->NextToken(); in Parse() 45 bool CXFA_FMParser::NextToken() { in NextToken() function in CXFA_FMParser 49 m_token = m_lexer->NextToken(); in NextToken() 51 m_token = m_lexer->NextToken(); in NextToken() 63 return NextToken(); in CheckThenNext() 114 if (!NextToken()) in ParseFunction() 130 if (!NextToken()) in ParseFunction() 136 if (!NextToken()) in ParseFunction() 197 if (!NextToken()) in ParseExpression() 203 if (!NextToken()) in ParseExpression() [all …]
|
/external/deqp-deps/amber/src/amberscript/ |
D | parser.cc | 207 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/deqp-deps/amber/src/vkscript/ |
D | command_parser.cc | 87 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 …]
|
D | parser.cc | 155 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/ |
D | TreePatternParser.cs | 46 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()
|
D | RewriteRuleTokenStream.cs | 77 public virtual IToken NextToken() { in NextToken() method in Antlr.Runtime.Tree.RewriteRuleTokenStream
|
/external/clang/lib/Format/ |
D | FormatToken.cpp | 78 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()
|
D | ContinuationIndenter.h | 315 FormatToken *NextToken; member 359 if (NextToken != Other.NextToken) 360 return NextToken < Other.NextToken;
|
D | ContinuationIndenter.cpp | 83 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 …]
|
D | UnwrappedLineFormatter.cpp | 468 llvm::dbgs() << State.NextToken->TokenText << "\n"; in printLineState() 511 const FormatToken *LBrace = State.NextToken->getPreviousNonComment(); in formatChildren() 512 FormatToken &Previous = *State.NextToken->Previous; in formatChildren() 587 while (State.NextToken) { in formatLine() 590 (Indenter->canBreak(State) && State.NextToken->NewlinesBefore > 0); in formatLine() 612 while (State.NextToken) { in formatLine() 704 if (!Node->State.NextToken) { in analyzeSolutionSpace() 719 FormatDecision LastFormat = Node->State.NextToken->Decision; in analyzeSolutionSpace() 784 << (*I)->Previous->State.NextToken->Tok.getName() << ": " in reconstructPath()
|
/external/clang/lib/Parse/ |
D | ParseTentative.cpp | 151 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 …]
|
D | ParseDecl.cpp | 289 const Token &Next = NextToken(); in ParseAttributeArgsCommon() 450 } else if (NextToken().is(tok::comma) || NextToken().is(tok::r_paren)) { in ParseMicrosoftDeclSpecArgs() 463 if (!NextToken().is(tok::equal)) in ParseMicrosoftDeclSpecArgs() 1361 assert(Tok.is(tok::l_square) && NextToken().is(tok::l_square)); in DiagnoseProhibitedCXX11Attribute() 1392 assert((Tok.is(tok::l_square) && NextToken().is(tok::l_square)) || in DiagnoseMisplacedCXX11Attribute() 1496 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_namespace)) { in ParseDeclaration() 1601 NextToken().is(tok::l_square); in MightBeDeclarator() 1607 switch (NextToken().getKind()) { in MightBeDeclarator() 1634 return getLangOpts().CPlusPlus11 && isCXX11VirtSpecifier(NextToken()); in MightBeDeclarator() 1684 if (Tok.isAtStartOfLine() && NextToken().is(tok::kw_namespace) && in SkipMalformedDecl() [all …]
|
D | Parser.cpp | 187 NextToken().is(tok::semi)) { in ExpectAndConsumeSemi() 756 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_template)) { in ParseExternalDeclaration() 766 tok::TokenKind NextKind = NextToken().getKind(); in ParseExternalDeclaration() 786 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_template)) { in ParseExternalDeclaration() 821 const Token &KW = NextToken(); in isDeclarationAfterDeclarator() 848 const Token &KW = NextToken(); in isStartOfFunctionDefinition() 1450 Token Next = NextToken(); in TryAnnotateName() 1486 if (getLangOpts().ObjC1 && NextToken().is(tok::less) && in TryAnnotateName() 1595 if (getLangOpts().MSVCCompat && NextToken().is(tok::kw_typedef)) { in TryAnnotateTypeOrScopeToken() 1703 false, NextToken().is(tok::period), nullptr, in TryAnnotateTypeOrScopeTokenAfterScopeSpec() [all …]
|
D | ParseExpr.cpp | 491 : NextToken(Next), AllowNonTypes(AllowNonTypes) { in CastExpressionIdValidator() 506 if (!NextToken.isOneOf(tok::equal, tok::arrow, tok::period)) in ValidateCandidate() 518 Token NextToken; member in __anon795b59650111::CastExpressionIdValidator 784 const Token &Next = NextToken(); in ParseCastExpression() 910 (NextToken().is(tok::colon) || NextToken().is(tok::r_square))) || in ParseCastExpression() 925 const Token& Next = NextToken(); in ParseCastExpression() 1226 Token Next = NextToken(); in ParseCastExpression() 1423 (NextToken().is(tok::colon) || NextToken().is(tok::r_square))) { in ParsePostfixExpressionSuffix() 2318 (NextToken().is(tok::colon) || NextToken().is(tok::r_square))) { in ParseParenExpression() 2387 isFoldOperator(NextToken().getKind())) { in ParseParenExpression() [all …]
|
/external/perfetto/src/trace_processor/importers/json/ |
D | json_trace_tokenizer.cc | 242 enum class NextToken { in ReadOneJsonKey() enum 248 NextToken next_token = NextToken::kStringOrEndOfDict; in ReadOneJsonKey() 255 case NextToken::kStringOrEndOfDict: { in ReadOneJsonKey() 276 next_token = NextToken::kColon; in ReadOneJsonKey() 279 case NextToken::kColon: in ReadOneJsonKey() 282 next_token = NextToken::kValue; in ReadOneJsonKey() 284 case NextToken::kValue: in ReadOneJsonKey()
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/ |
D | RewriteRuleXxxxStreamFixture.cs | 182 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/ |
D | Parser.cpp | 63 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/protobuf/python/google/protobuf/ |
D | text_format.py | 1303 self.NextToken() 1347 self.NextToken() 1367 self.NextToken() 1405 self.NextToken() 1427 self.NextToken() 1450 self.NextToken() 1473 self.NextToken() 1489 self.NextToken() 1551 self.NextToken() 1559 self.NextToken() [all …]
|
/external/cronet/third_party/protobuf/python/google/protobuf/ |
D | text_format.py | 1256 self.NextToken() 1300 self.NextToken() 1320 self.NextToken() 1358 self.NextToken() 1380 self.NextToken() 1403 self.NextToken() 1426 self.NextToken() 1442 self.NextToken() 1504 self.NextToken() 1512 self.NextToken() [all …]
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
D | ITokenSource.cs | 62 IToken NextToken(); in NextToken() method
|
D | UnbufferedTokenStream.cs | 79 IToken t = this.tokenSource.NextToken(); in NextElement()
|