Searched defs:alt (Results 1 - 25 of 67) sorted by relevance

123

/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
H A DRecursionOverflowMessage.java43 public int alt; field in class:RecursionOverflowMessage
49 int alt,
56 this.alt = alt;
72 st.add("alt", alt);
47 RecursionOverflowMessage(DecisionProbe probe, DFAState sampleBadState, int alt, Collection targetRules, Collection callSiteStates) argument
H A DGrammarSerializerFoo.java42 * alt ::= A<elems>;
122 public void alt(GrammarAST alt) { argument
H A DLeftRecursiveRuleAnalyzer.java61 public void setTokenPrec(GrammarAST t, int alt) { argument
63 tokenToPrec.put(ttype, alt);
77 if ( altAssociativity.get(alt)!=null && altAssociativity.get(alt)!=assoc ) {
78 ErrorManager.error(ErrorManager.MSG_ALL_OPS_NEED_SAME_ASSOC, alt);
80 altAssociativity.put(alt, assoc);
82 //System.out.println("op " + alt + ": " + t.getText()+", assoc="+assoc);
86 public void binaryAlt(GrammarAST altTree, GrammarAST rewriteTree, int alt) { argument
94 int nextPrec = nextPrecedence(alt);
102 altText += "{}"; // add empty alt t
113 ternaryAlt(GrammarAST altTree, GrammarAST rewriteTree, int alt) argument
138 prefixAlt(GrammarAST altTree, GrammarAST rewriteTree, int alt) argument
164 suffixAlt(GrammarAST altTree, GrammarAST rewriteTree, int alt) argument
180 otherAlt(GrammarAST altTree, GrammarAST rewriteTree, int alt) argument
310 precedence(int alt) argument
314 nextPrecedence(int alt) argument
[all...]
H A DNFAFactory.java84 public void optimizeAlternative(StateCluster alt) { argument
85 NFAState s = alt.left;
86 while ( s!=alt.right ) {
101 // point at the last node of the alt. Don't collapse action edges
134 * what an alt block looks like, must have extra state on left.
231 * TODO add to codegen: collapse alt blks that are sets into single matchSet
357 // single alt, no decision, just return only alt state cluster
375 * and every alt right side points at a block end NFAState. There is a
376 * new NFAState in the NFAState in the StateCluster for each alt plu
[all...]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
H A DLL1DFA.java42 /** From list of lookahead sets (one per alt in decision), create
60 for (int alt=1; alt<altLook.length; alt++) {
63 setAcceptState(alt, acceptAltState);
65 acceptAltState.cachedUniquelyPredicatedAlt = alt;
66 Label e = getLabelForSet(altLook[alt].tokenTypeSet);
97 int alt = alts.get(0);
98 setAcceptState(alt, s);
99 s.cachedUniquelyPredicatedAlt = alt;
152 getSynPredForAlt(NFAState decisionStartState, int alt) argument
[all...]
H A DNFAConfiguration.java32 /** An NFA state, predicted alt, and syntactic/semantic context.
42 /** What alt is predicted by this configuration */
43 public int alt; field in class:NFAConfiguration
63 * other configuration associated with alt 3).
90 int alt,
95 this.alt = alt;
103 * the state|alt|ctx could be the same and have two different
113 this.alt==other.alt
89 NFAConfiguration(int state, int alt, NFAContext context, SemanticContext semanticContext) argument
[all...]
H A DDFAState.java47 * NFA could be in. We need to track the alt predicted by each
70 * context trees for an alt.
108 /** If we detect recursion on more than one alt, decision is non-LL(*),
137 /** The set of NFA configurations (state,alt,context) for this DFA state */
145 * hence looping forever. Sensitive to the NFA state, the alt, and
205 * an NFA state/alt/syntactic&semantic context (chain of invoking state(s)
209 * state|alt|synCtx and different semantic contexts because the
228 // track min alt rather than compute later
229 if ( c.alt < minAltInConfigurations ) {
230 minAltInConfigurations = c.alt;
259 addNFAConfiguration(NFAState state, int alt, NFAContext context, SemanticContext semanticContext) argument
[all...]
H A DNFAToDFAConverter.java122 * Walk each alt in decision and compute closure from the start of that
124 * that same decision. The idea is to associate a specific alt number
125 * with the starting closure so we can trace the alt number for all states
126 * derived from this. At a stop state in the DFA, we can return this alt
127 * number, indicating which alt is predicted.
131 * this alternative one, let's make this alt n+1 where n is the number of
140 NFAState alt = dfa.decisionNFAStartState;
145 while ( alt!=null ) {
147 // any input symbols for each alt. Keep adding to same
149 // but track the alt numbe
591 closure(NFAState p, int alt, NFAContext context, SemanticContext semanticContext, DFAState d, boolean collectPredicates) argument
985 convertToAcceptState(DFAState d, int alt) argument
[all...]
/external/chromium/chrome/browser/chromeos/input_method/
H A Dxkeyboard_unittest.cc24 // - kLeftAlt key is mapped to |alt|.
25 ModifierMap GetMap(ModifierKey search, ModifierKey control, ModifierKey alt) { argument
30 modifier_key.push_back(ModifierKeyPair(kLeftAltKey, alt));
37 // - kLeftAlt key is mapped to |alt|.
39 ModifierKey search, ModifierKey control, ModifierKey alt) {
45 (std::count(begin, end, ModifierKeyPair(kLeftAltKey, alt)) == 1)) {
38 CheckMap(const ModifierMap& modifier_map, ModifierKey search, ModifierKey control, ModifierKey alt) argument
/external/webkit/Source/WebCore/accessibility/
H A DAccessibilityImageMapLink.cpp104 const AtomicString& alt = getAttribute(altAttr); local
105 if (!alt.isEmpty())
106 return alt;
/external/webkit/Source/WebCore/platform/android/
H A DKeyEventAndroid.cpp214 int repeatCount, bool down, bool cap, bool alt, bool sym)
225 , m_altKey(alt ? AltKey : 0)
213 PlatformKeyboardEvent(int keyCode, UChar32 unichar, int repeatCount, bool down, bool cap, bool alt, bool sym) argument
/external/chromium/chrome/browser/extensions/
H A Dextension_input_api.cc100 bool alt = false; local
101 if (args->GetBoolean(kAlt, &alt))
102 flags |= alt ? ui::EF_ALT_DOWN : 0;
/external/grub/netboot/
H A Dmisc.c96 int alt = 0; local
101 alt = 1;
129 if (alt)
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
H A DBlankDebugEventListener.cs59 public virtual void EnterAlt(int alt) { argument
H A DDebugEventHub.cs86 public virtual void EnterAlt(int alt) { argument
89 listener.EnterAlt(alt);
H A DDebugEventRepeater.cs62 public virtual void EnterAlt(int alt) { argument
63 _listener.EnterAlt(alt);
H A DIDebugEventListener.cs51 * which alt is predicted. This is fired AFTER init actions have been
61 * know which alt you are entering. This is 1..n for n alts.
64 void EnterAlt(int alt); argument
172 * If no viable alt occurs it is within an enter/exit decision, which
192 * The sequence for this rule (with no viable alt in the subrule) for
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/
H A DBlankDebugEventListener.java40 public void enterAlt(int alt) {} argument
H A DDebugEventHub.java84 public void enterAlt(int alt) { argument
87 listener.enterAlt(alt);
H A DDebugEventListener.java51 * which alt is predicted. This is fired AFTER init actions have been
59 * know which alt you are entering. This is 1..n for n alts.
61 public void enterAlt(int alt); argument
146 * If no viable alt occurs it is within an enter/exit decision, which
166 * The sequence for this rule (with no viable alt in the subrule) for
H A DDebugEventRepeater.java51 public void enterAlt(int alt) { listener.enterAlt(alt); } argument
/external/chromium/chrome/browser/automation/
H A Dui_controls_linux.cc102 bool alt,
130 ui::SynthesizeKeyPressEvents(event_window, key, control, shift, alt, &events);
145 bool alt,
154 if (alt)
158 return SendKeyPress(window, key, control, shift, alt, command);
98 SendKeyPress(gfx::NativeWindow window, ui::KeyboardCode key, bool control, bool shift, bool alt, bool command) argument
141 SendKeyPressNotifyWhenDone(gfx::NativeWindow window, ui::KeyboardCode key, bool control, bool shift, bool alt, bool command, Task* task) argument
H A Dui_controls_win.cc166 bool control, bool shift, bool alt,
201 if (alt) {
215 if (alt) {
332 bool alt,
335 return SendKeyPressImpl(key, control, shift, alt, NULL);
342 bool alt,
346 return SendKeyPressImpl(key, control, shift, alt, task);
165 SendKeyPressImpl(ui::KeyboardCode key, bool control, bool shift, bool alt, Task* task) argument
328 SendKeyPress(gfx::NativeWindow window, ui::KeyboardCode key, bool control, bool shift, bool alt, bool command) argument
338 SendKeyPressNotifyWhenDone(gfx::NativeWindow window, ui::KeyboardCode key, bool control, bool shift, bool alt, bool command, Task* task) argument
/external/icu4c/i18n/
H A Dastro.h224 * @param alt The altitude, measured in radians above the horizon.
228 Horizon(double alt=0, double azim=0) argument
229 : altitude(alt), azimuth(azim) { }
233 * @param alt The altitude, measured in radians above the horizon.
237 void set(double alt, double azim) { argument
238 altitude = alt;
/external/libppp/src/
H A Ddatalink.h95 char *alt; /* Alternate (after fail) phone from the list */ member in struct:datalink::__anon8042

Completed in 2323 milliseconds

123