Home
last modified time | relevance | path

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

123

/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.py206 LParen, RParen, LBrace, RBrace) = range(11)
209 '=': Equals, ',': Comma, '?': Question, '|': Pipe, '(': LParen,
285 if self.cur_token.kind == TokenKind.LParen:
305 self._match(TokenKind.LParen)
320 if self.cur_token.kind == TokenKind.LParen:
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AVR/AsmParser/
DAVRAsmParser.cpp412 tokens[1].getKind() == AsmToken::LParen) || in tryParseRelocExpression()
413 (tokens[0].getKind() == AsmToken::LParen && in tryParseRelocExpression()
433 Parser.getLexer().peekTok().getKind() != AsmToken::LParen) { in tryParseRelocExpression()
457 assert(Parser.getTok().getKind() == AsmToken::LParen); in tryParseRelocExpression()
498 case AsmToken::LParen: in parseOperand()
639 Parser.getLexer().peekTok().getKind() == AsmToken::LParen) { in parseLiteralValues()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/AsmParser/
DWebAssemblyAsmParser.cpp315 if (Lexer.is(AsmToken::LParen)) { in ParseOperandStartingWithInteger()
317 auto &LParen = Lexer.getTok(); in ParseOperandStartingWithInteger() local
320 LParen.getLoc(), in ParseOperandStartingWithInteger()
321 LParen.getEndLoc(), in ParseOperandStartingWithInteger()
323 LParen.getString()})); in ParseOperandStartingWithInteger()
/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/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/swiftshader/third_party/LLVM/include/llvm/MC/MCParser/
DMCAsmLexer.h47 LParen, RParen, LBrac, RBrac, LCurly, RCurly, enumerator
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/AsmParser/
DRISCVAsmParser.cpp807 if (AllowParens && getLexer().is(AsmToken::LParen)) { in parseRegister()
853 case AsmToken::LParen: in parseImmediate()
901 if (getLexer().getKind() != AsmToken::LParen) { in parseOperandWithModifier()
919 if (getLexer().isNot(AsmToken::LParen)) { in parseMemOpBaseReg()
957 if (getLexer().is(AsmToken::LParen)) in parseOperand()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
DMCAsmMacro.h49 LParen, RParen, LBrac, RBrac, LCurly, RCurly, enumerator
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/BPF/AsmParser/
DBPFAsmParser.cpp368 case AsmToken::LParen: in parseOperandAsOperator()
429 case AsmToken::LParen: in parseImmediate()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/MCParser/
DMCAsmLexer.cpp82 case AsmToken::LParen: OS << "LParen"; break; in dump()
/external/llvm/include/llvm/MC/MCParser/
DMCAsmLexer.h52 LParen, RParen, LBrac, RBrac, LCurly, RCurly, enumerator
/external/swiftshader/third_party/LLVM/lib/Target/X86/AsmParser/
DX86AsmParser.cpp431 if (getLexer().isNot(AsmToken::LParen)) in ParseRegister()
534 if (getLexer().isNot(AsmToken::LParen)) { in ParseMemOperand()
540 if (getLexer().isNot(AsmToken::LParen)) { in ParseMemOperand()
567 if (getLexer().isNot(AsmToken::LParen)) { in ParseMemOperand()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp882 static char const *LParen = "("; in parseOperand() local
885 HexagonOperand::CreateToken(getContext(), LParen, Begin)); in parseOperand()
900 static char const *LParen = "("; in parseOperand() local
903 getContext(), LParen, Begin)); in parseOperand()
1164 AsmToken LParen = Lexer.peekTok(); in parseInstruction() local
1165 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()
/external/clang/lib/Parse/
DParseExprCXX.cpp111 Token LParen = Tok; in CheckForLParenAfterColonColon() local
140 Diag(LParen.getLocation(), diag::err_paren_after_colon_colon) in CheckForLParenAfterColonColon()
141 << FixItHint::CreateRemoval(LParen.getLocation()) in CheckForLParenAfterColonColon()
1829 SourceLocation LParen = ConsumeParen(), RParen = LParen; in ParseCXXCondition() local
1834 << SourceRange(LParen, RParen); in ParseCXXCondition()
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp928 if (getLexer().isNot(AsmToken::LParen)) in ParseRegister()
1373 case AsmToken::LParen: SM.onLParen(); break; in ParseIntelExpression()
1811 getLexer().is(AsmToken::Tilde) || getLexer().is(AsmToken::LParen)) { in ParseIntelOperand()
2004 if (getLexer().isNot(AsmToken::LParen)) { in ParseMemOperand()
2010 if (getLexer().isNot(AsmToken::LParen)) { in ParseMemOperand()
2038 if (getLexer().isNot(AsmToken::LParen)) { in ParseMemOperand()
/external/swiftshader/third_party/LLVM/lib/MC/MCParser/
DAsmLexer.cpp409 case '(': return AsmToken(AsmToken::LParen, StringRef(TokStart, 1)); in LexToken()
/external/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp1042 if (getLexer().isNot(AsmToken::LParen)) { in parseRegOrImmWithFPInputMods()
1098 if (getLexer().isNot(AsmToken::LParen)) { in parseRegOrImmWithIntInputMods()
1725 if (getLexer().isNot(AsmToken::LParen)) in parseCnt()
1798 if (getLexer().isNot(AsmToken::LParen)) in parseHwregConstruct()
1911 if (getLexer().isNot(AsmToken::LParen)) in parseSendMsgConstruct()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp1117 if (getLexer().isNot(AsmToken::LParen)) in ParseRegister()
1551 case AsmToken::LParen: SM.onLParen(); break; in ParseIntelExpression()
2100 if (getLexer().isNot(AsmToken::LParen)) { in ParseMemOperand()
2109 if (getLexer().isNot(AsmToken::LParen)) { in ParseMemOperand()
2130 getLexer().UnLex(AsmToken(AsmToken::LParen, "(")); in ParseMemOperand()
2140 if (getLexer().isNot(AsmToken::LParen)) { in ParseMemOperand()
/external/llvm/lib/MC/MCParser/
DAsmLexer.cpp567 case '(': return AsmToken(AsmToken::LParen, StringRef(TokStart, 1)); in LexToken()

123