Home
last modified time | relevance | path

Searched refs:LParen (Results 1 – 25 of 78) sorted by relevance

1234

/external/python/cpython3/Lib/lib2to3/fixes/
Dfix_paren.py9 from ..fixer_util import LParen, RParen
40 lparen = LParen()
Dfix_execfile.py11 from ..fixer_util import (Comma, Name, Call, LParen, RParen, Dot, Node,
38 Node(syms.trailer, [LParen(), RParen()])]
/external/python/cpython2/Lib/lib2to3/fixes/
Dfix_paren.py9 from ..fixer_util import LParen, RParen
40 lparen = LParen()
Dfix_execfile.py11 from ..fixer_util import (Comma, Name, Call, LParen, RParen, Dot, Node,
37 Node(syms.trailer, [LParen(), RParen()])]
Dfix_dict.py35 from ..fixer_util import Name, Call, LParen, RParen, ArgList, Dot
/external/python/cpython3/Parser/
Dasdl.py215 LParen, RParen, LBrace, RBrace) = range(11)
218 '=': Equals, ',': Comma, '?': Question, '|': Pipe, '(': LParen,
294 if self.cur_token.kind == TokenKind.LParen:
314 self._match(TokenKind.LParen)
329 if self.cur_token.kind == TokenKind.LParen:
/external/llvm-project/flang/include/flang/Common/
Dformat.h45 Star, LParen, RParen, Comma, Point, Sign, in ENUM_CLASS() argument
67 TokenKind::Z, TokenKind::Slash, TokenKind::LParen}; in ENUM_CLASS()
375 token_.set_kind(TokenKind::LParen); in NextToken()
514 if (token_.kind() != TokenKind::LParen) { in Check()
632 if (token_.kind() == TokenKind::LParen) { in Check()
767 case TokenKind::LParen: in Check()
817 case TokenKind::LParen: // Comma not allowed; token already processed. in Check()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/AsmParser/
DAVRAsmParser.cpp431 tokens[1].getKind() == AsmToken::LParen) || in tryParseRelocExpression()
432 (tokens[0].getKind() == AsmToken::LParen && in tryParseRelocExpression()
452 Parser.getLexer().peekTok().getKind() != AsmToken::LParen) { in tryParseRelocExpression()
476 assert(Parser.getTok().getKind() == AsmToken::LParen); in tryParseRelocExpression()
517 case AsmToken::LParen: in parseOperand()
659 Parser.getLexer().peekTok().getKind() == AsmToken::LParen) { in parseLiteralValues()
/external/llvm-project/llvm/lib/Target/AVR/AsmParser/
DAVRAsmParser.cpp439 tokens[1].getKind() == AsmToken::LParen) || in tryParseRelocExpression()
440 (tokens[0].getKind() == AsmToken::LParen && in tryParseRelocExpression()
460 Parser.getLexer().peekTok().getKind() != AsmToken::LParen) { in tryParseRelocExpression()
484 assert(Parser.getTok().getKind() == AsmToken::LParen); in tryParseRelocExpression()
525 case AsmToken::LParen: in parseOperand()
679 Parser.getLexer().peekTok().getKind() == AsmToken::LParen) { in parseLiteralValues()
/external/python/cpython2/Lib/lib2to3/
Dfixer_util.py21 def LParen(): function
54 def ArgList(args, lparen=LParen(), rparen=RParen()):
139 if isinstance(node, Node) and node.children == [LParen(), RParen()]:
164 return Node(syms.atom, [LParen(), node, RParen()])
/external/python/cpython3/Lib/lib2to3/
Dfixer_util.py19 def LParen(): function
52 def ArgList(args, lparen=LParen(), rparen=RParen()):
160 if isinstance(node, Node) and node.children == [LParen(), RParen()]:
185 return Node(syms.atom, [LParen(), node, RParen()])
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/AsmParser/
DRISCVAsmParser.cpp1030 AsmToken LParen; in parseRegister() local
1034 if (AllowParens && getLexer().is(AsmToken::LParen)) { in parseRegister()
1039 LParen = getParser().getTok(); in parseRegister()
1047 getLexer().UnLex(LParen); in parseRegister()
1056 getLexer().UnLex(LParen); in parseRegister()
1083 case AsmToken::LParen: in parseCSRSystemRegister()
1151 case AsmToken::LParen: in parseImmediate()
1195 if (getLexer().getKind() != AsmToken::LParen) { in parseOperandWithModifier()
1309 if (getLexer().isNot(AsmToken::LParen)) { in parseMemOpBaseReg()
1354 if (getLexer().isNot(AsmToken::LParen)) { in parseAtomicMemOp()
[all …]
/external/llvm-project/llvm/lib/Target/RISCV/AsmParser/
DRISCVAsmParser.cpp1262 AsmToken LParen; in parseRegister() local
1266 if (AllowParens && getLexer().is(AsmToken::LParen)) { in parseRegister()
1271 LParen = getParser().getTok(); in parseRegister()
1279 getLexer().UnLex(LParen); in parseRegister()
1288 getLexer().UnLex(LParen); in parseRegister()
1315 case AsmToken::LParen: in parseCSRSystemRegister()
1385 case AsmToken::LParen: in parseImmediate()
1429 if (getLexer().getKind() != AsmToken::LParen) { in parseOperandWithModifier()
1661 if (getLexer().isNot(AsmToken::LParen)) { in parseMemOpBaseReg()
1706 if (getLexer().isNot(AsmToken::LParen)) { in parseAtomicMemOp()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCAsmMacro.h48 LParen, RParen, LBrac, RBrac, LCurly, RCurly, enumerator
/external/llvm-project/clang/lib/Parse/
DParseStmt.cpp1371 SourceLocation LParen; in ParseIfStatement() local
1376 &LParen, &RParen)) in ParseIfStatement()
1489 return Actions.ActOnIfStmt(IfLoc, IsConstexpr, LParen, InitStmt.get(), Cond, in ParseIfStatement()
1529 SourceLocation LParen; in ParseSwitchStatement() local
1532 Sema::ConditionKind::Switch, &LParen, &RParen)) in ParseSwitchStatement()
1536 SwitchLoc, LParen, InitStmt.get(), Cond, RParen); in ParseSwitchStatement()
1619 SourceLocation LParen; in ParseWhileStatement() local
1622 Sema::ConditionKind::Boolean, &LParen, &RParen)) in ParseWhileStatement()
1652 return Actions.ActOnWhileStmt(WhileLoc, LParen, Cond, RParen, Body.get()); in ParseWhileStatement()
/external/llvm-project/llvm/lib/Target/VE/AsmParser/
DVEAsmParser.cpp1191 case AsmToken::LParen: in parseMEMOperand()
1207 case AsmToken::LParen: in parseMEMOperand()
1305 case AsmToken::LParen: in parseMEMAsOperand()
1323 case AsmToken::LParen: in parseMEMAsOperand()
1362 if (!Tok1.is(AsmToken::LParen)) in parseMImmOperand()
1410 case AsmToken::LParen: { in parseOperand()
1451 if (!Parser.getTok().is(AsmToken::LParen)) in parseOperand()
/external/llvm-project/llvm/include/llvm/MC/
DMCAsmMacro.h48 LParen, RParen, LBrac, RBrac, LCurly, RCurly, enumerator
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DMCAsmLexer.cpp81 case AsmToken::LParen: OS << "LParen"; break; in dump()
/external/llvm-project/llvm/lib/MC/MCParser/
DMCAsmLexer.cpp81 case AsmToken::LParen: OS << "LParen"; break; in dump()
/external/llvm/include/llvm/MC/MCParser/
DMCAsmLexer.h52 LParen, RParen, LBrac, RBrac, LCurly, RCurly, enumerator
/external/llvm-project/llvm/lib/Target/BPF/AsmParser/
DBPFAsmParser.cpp378 case AsmToken::LParen: in parseOperandAsOperator()
439 case AsmToken::LParen: in parseImmediate()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/AsmParser/
DBPFAsmParser.cpp368 case AsmToken::LParen: in parseOperandAsOperator()
429 case AsmToken::LParen: in parseImmediate()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/AsmParser/
DWebAssemblyAsmParser.cpp502 if (ExpectFuncType || (ExpectBlockType && Lexer.is(AsmToken::LParen))) { in ParseInstruction()
617 if (expect(AsmToken::LParen, "(")) in parseSignature()
625 if (expect(AsmToken::LParen, "(")) in parseSignature()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp880 static char const *LParen = "("; in parseOperand() local
883 HexagonOperand::CreateToken(getContext(), LParen, Begin)); in parseOperand()
898 static char const *LParen = "("; in parseOperand() local
901 getContext(), LParen, Begin)); in parseOperand()
1162 AsmToken LParen = Lexer.peekTok(); in parseInstruction() local
1163 if (!LParen.is(AsmToken::LParen)) { in parseInstruction()
/external/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp1124 static char const *LParen = "("; in parseOperand() local
1126 Operands.push_back(HexagonOperand::CreateToken(LParen, Begin)); in parseOperand()
1139 static char const *LParen = "("; in parseOperand() local
1142 HexagonOperand::CreateToken(LParen, Begin)); in parseOperand()
1396 AsmToken LParen = Lexer.peekTok(); in parseInstruction() local
1397 if (!LParen.is(AsmToken::LParen)) { in parseInstruction()

1234