Home
last modified time | relevance | path

Searched refs:LookAhead (Results 1 – 17 of 17) sorted by relevance

/external/llvm/lib/MC/MCParser/
DAsmLexer.cpp224 const char *LookAhead = CurPtr; in doLookAhead() local
226 if (isdigit(*LookAhead)) { in doLookAhead()
227 ++LookAhead; in doLookAhead()
228 } else if (isxdigit(*LookAhead)) { in doLookAhead()
230 FirstHex = LookAhead; in doLookAhead()
231 ++LookAhead; in doLookAhead()
236 bool isHex = *LookAhead == 'h' || *LookAhead == 'H'; in doLookAhead()
237 CurPtr = isHex || !FirstHex ? LookAhead : FirstHex; in doLookAhead()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/MCParser/
DAsmLexer.cpp248 const char *LookAhead = CurPtr; in doLookAhead() local
250 if (isDigit(*LookAhead)) { in doLookAhead()
251 ++LookAhead; in doLookAhead()
252 } else if (isHexDigit(*LookAhead)) { in doLookAhead()
254 FirstHex = LookAhead; in doLookAhead()
255 ++LookAhead; in doLookAhead()
260 bool isHex = *LookAhead == 'h' || *LookAhead == 'H'; in doLookAhead()
261 CurPtr = isHex || !FirstHex ? LookAhead : FirstHex; in doLookAhead()
/external/clang/lib/Parse/
DParseOpenMP.cpp126 Tok = P.getPreprocessor().LookAhead(0); in ParseOpenMPDirectiveKind()
838 if (PP.LookAhead(0).is(tok::l_paren)) { in ParseOpenMPDeclarativeOrExecutableDirective()
1117 if (CKind == OMPC_ordered && PP.LookAhead(/*N=*/0).isNot(tok::l_paren)) in ParseOpenMPClause()
1589 if (Tok.is(tok::identifier) && PP.LookAhead(0).is(tok::l_paren)) { in ParseOpenMPVarList()
1618 if (PP.LookAhead(0).is(tok::colon)) { in ParseOpenMPVarList()
1624 } else if (PP.LookAhead(0).is(tok::comma)) { in ParseOpenMPVarList()
1625 if (IsMapClauseModifierToken(PP.LookAhead(1)) && in ParseOpenMPVarList()
1626 PP.LookAhead(2).is(tok::colon)) { in ParseOpenMPVarList()
DParseInit.cpp42 switch (PP.LookAhead(0).getKind()) { in MayBeDesignationStart()
65 return PP.LookAhead(0).is(tok::colon); in MayBeDesignationStart()
DParseStmtAsm.cpp236 Token IdTok = PP.LookAhead(0); in ParseMSAsmIdentifier()
456 if (PP.LookAhead(0).is(tok::l_brace)) in ParseMicrosoftAsmStatement()
DParseExprCXX.cpp441 PP.LookAhead(1).is(tok::identifier)) { in ParseOptionalCXXScopeSpecifier()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_lexer.h137 TokKind LookAhead();
Dhlo_lexer.cc87 TokKind HloLexer::LookAhead() { in LookAhead() function in xla::HloLexer
Dhlo_parser.cc3589 (lexer_.LookAhead() == TokKind::kInt || in ParseShape()
3590 lexer_.LookAhead() == TokKind::kColon)) { in ParseShape()
/external/fonttools/Lib/fontTools/mtiLib/
D__init__.py551 ChainRuleData = lambda r:(r.Backtrack, r.Input, r.LookAhead)
556 (r.Backtrack, r.Input, r.LookAhead) = d
572 ChainRuleData = lambda r:(r.Backtrack, r.Input, r.LookAhead)
577 (r.Backtrack, r.Input, r.LookAhead) = d
/external/antlr/runtime/Delphi/Sources/Antlr3.Runtime/
DAntlr.Runtime.Tree.pas1907 property LookAhead: TANTLRInterfaceArray read GetLookAhead write SetLookAhead; property
4729 State.LookAhead := LA;
4812 while (FTail < Length(State.LookAhead)) do
4814 FLookahead[FTail] := State.LookAhead[FTail];
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGRRList.cpp924 unsigned LookAhead = std::min((unsigned)Sequence.size(), in RestoreHazardCheckerBottomUp() local
926 if (LookAhead == 0) in RestoreHazardCheckerBottomUp()
929 std::vector<SUnit *>::const_iterator I = (Sequence.end() - LookAhead); in RestoreHazardCheckerBottomUp()
/external/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGRRList.cpp895 unsigned LookAhead = std::min((unsigned)Sequence.size(), in RestoreHazardCheckerBottomUp() local
897 if (LookAhead == 0) in RestoreHazardCheckerBottomUp()
900 std::vector<SUnit*>::const_iterator I = (Sequence.end() - LookAhead); in RestoreHazardCheckerBottomUp()
/external/fonttools/Lib/fontTools/subset/
D__init__.py808 ChainRuleData = lambda r:(r.Backtrack, r.Input, r.LookAhead)
813 (r.Backtrack, r.Input, r.LookAhead) = d
829 ChainRuleData = lambda r:(r.Backtrack, r.Input, r.LookAhead)
834 (r.Backtrack, r.Input, r.LookAhead) = d
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DScheduleDAGRRList.cpp725 unsigned LookAhead = std::min((unsigned)Sequence.size(), in RestoreHazardCheckerBottomUp() local
727 if (LookAhead == 0) in RestoreHazardCheckerBottomUp()
730 std::vector<SUnit*>::const_iterator I = (Sequence.end() - LookAhead); in RestoreHazardCheckerBottomUp()
/external/clang/include/clang/Parse/
DParser.h551 return PP.LookAhead(N-1); in GetLookAheadToken()
558 return PP.LookAhead(0); in NextToken()
/external/clang/include/clang/Lex/
DPreprocessor.h1153 const Token &LookAhead(unsigned N) { in LookAhead() function