Home
last modified time | relevance | path

Searched refs:Alt (Results 1 - 15 of 15) sorted by relevance

/third_party/python/Tools/peg_generator/pegen/
H A Dvalidator.py4 from pegen.grammar import Alt, GrammarVisitor, Rhs, Rule namespace
29 def check_intersection(self, first_alt: Alt, second_alt: Alt) -> None:
H A Dparser_generator.py22 Alt,
184 self.all_rules[name] = Rule(name, None, Rhs([Alt([NamedItem(None, node)])]))
192 extra_function_alt = Alt(
201 alt = Alt(
241 def visit_Alt(self, alt: Alt) -> bool:
313 def visit_Alt(self, alt: Alt) -> Set[Any]:
H A Dgrammar_parser.py14 Alt,
283 def alt(self) -> Optional[Alt]:
293 return Alt ( items + [NamedItem ( None , NameLeaf ( 'ENDMARKER' ) )] , action = action )
300 return Alt ( items + [NamedItem ( None , NameLeaf ( 'ENDMARKER' ) )] , action = None )
307 return Alt ( items , action = action )
312 return Alt ( items , action = None )
H A Dc_generator.py10 Alt,
716 def emit_action(self, node: Alt, cleanup_code: Optional[str] = None) -> None:
732 def emit_default_action(self, is_gather: bool, node: Alt) -> None:
758 def handle_alt_normal(self, node: Alt, is_gather: bool, rulename: Optional[str]) -> None:
781 def handle_alt_loop(self, node: Alt, is_gather: bool, rulename: Optional[str]) -> None:
813 self, node: Alt, is_loop: bool, is_gather: bool, rulename: Optional[str]
857 def collect_vars(self, node: Alt) -> Dict[Optional[str], Optional[str]]:
H A Dpython_generator.py7 Alt,
62 def visit_Alt(self, node: Alt) -> bool:
238 def alts_uses_locations(self, alts: Sequence[Alt]) -> bool:
293 def visit_Alt(self, node: Alt, is_loop: bool, is_gather: bool) -> None:
H A Dfirst_sets.py10 Alt,
47 def visit_Alt(self, item: Alt) -> Set[str]:
H A Dgrammar.py146 def __init__(self, alts: List[Alt]):
156 def __iter__(self) -> Iterator[List[Alt]]:
169 class Alt: class
188 return f"Alt({', '.join(args)})"
/third_party/rust/crates/nom/src/branch/
H A Dmod.rs13 pub trait Alt<I, O, E> { traits
47 pub fn alt<I: Clone, O, E: ParseError<I>, List: Alt<I, O, E>>( in alt()
132 > Alt<Input, Output, Error> for ( $($id),+ ) {
155 Err(Err::Error(Error::append($input, ErrorKind::Alt, $err)))
161 // Manually implement Alt for (A,), the 1-tuple type
163 Alt<Input, Output, Error> for (A,)
/third_party/python/Tools/peg_generator/scripts/
H A Dgrammar_grapher.py30 Alt,
60 if isinstance(item, Alt):
/third_party/skia/third_party/externals/angle2/util/
H A DEvent.h31 bool Alt; member
H A DOSWindow.cpp132 return "Left Alt"; in KeyName()
140 return "Right Alt"; in KeyName()
262 if (event.Shift || event.Control || event.Alt || event.System) in KeyState()
275 if (event.Alt) in KeyState()
277 buffer << "Alt"; in KeyState()
/third_party/pcre2/pcre2/src/
H A Dpcre2_internal.h1666 "Alt", "Ket", "KetRmax", "KetRmin", "KetRpos", \
1744 1+LINK_SIZE, /* Alt */ \
/third_party/skia/third_party/externals/angle2/util/x11/
H A DX11Window.cpp249 event->Key.Alt = state & Mod1Mask; in AddX11KeyStateToEvent()
/third_party/skia/third_party/externals/angle2/util/windows/win32/
H A DWin32Window.cpp330 event.Key.Alt = HIWORD(GetAsyncKeyState(VK_MENU)) != 0; in WndProc()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp5320 uint64_t Mask = 0, Alt = 0; in combineToCMPB() local
5323 uint64_t &Mask, uint64_t &Alt, in combineToCMPB()
5344 Alt |= PAlt; in combineToCMPB()
5457 Alt |= A; in combineToCMPB()
5462 Alt |= A; in combineToCMPB()
5492 if (NonTrivialMask && !Alt) { in combineToCMPB()
5496 } else if (Alt) { in combineToCMPB()
5497 // Res = (CMPB & Mask) | (~CMPB & Alt) in combineToCMPB()
5501 // Res = Alt ^ ((Alt in combineToCMPB()
[all...]

Completed in 26 milliseconds