Home
last modified time | relevance | path

Searched refs:IntervalSet (Results 1 – 22 of 22) sorted by relevance

/external/antlr/tool/src/test/java/org/antlr/test/
DTestIntervalSet.java31 import org.antlr.misc.IntervalSet;
43 IntervalSet s = IntervalSet.of(99); in testSingleElement()
49 IntervalSet s = new IntervalSet(); in testIsolatedElements()
58 IntervalSet s = new IntervalSet(); in testMixedRangesAndElements()
67 IntervalSet s = IntervalSet.of(10,20); in testSimpleAnd()
68 IntervalSet s2 = IntervalSet.of(13,15); in testSimpleAnd()
75 IntervalSet s = IntervalSet.of('a','z'); in testRangeAndIsolatedElement()
76 IntervalSet s2 = IntervalSet.of('d'); in testRangeAndIsolatedElement()
83 IntervalSet s = IntervalSet.of('a','z'); in testEmptyIntersection()
84 IntervalSet s2 = IntervalSet.of('0','9'); in testEmptyIntersection()
[all …]
/external/antlr/tool/src/main/java/org/antlr/misc/
DIntervalSet.java52 public class IntervalSet implements IntSet { class
53 public static final IntervalSet COMPLETE_SET = IntervalSet.of(0,Label.MAX_CHAR_VALUE);
59 public IntervalSet() { in IntervalSet() method in IntervalSet
63 public IntervalSet(List<Interval> intervals) { in IntervalSet() method in IntervalSet
68 public static IntervalSet of(int a) { in of()
69 IntervalSet s = new IntervalSet(); in of()
75 public static IntervalSet of(int a, int b) { in of()
76 IntervalSet s = new IntervalSet(); in of()
196 if ( !(set instanceof IntervalSet) ) { in addAll()
201 IntervalSet other = (IntervalSet)set; in addAll()
[all …]
DBitSet.java102 else if ( set instanceof IntervalSet ) { in addAll()
103 IntervalSet other = (IntervalSet)set; in addAll()
350 if ( set instanceof IntervalSet ) { in of()
/external/antlr/tool/src/main/java/org/antlr/analysis/
DLookaheadSet.java31 import org.antlr.misc.IntervalSet;
40 public IntervalSet tokenTypeSet;
43 tokenTypeSet = new IntervalSet(); in LookaheadSet()
52 tokenTypeSet = IntervalSet.of(atom); in LookaheadSet()
87 tokenTypeSet = tokenTypeSet.subtract(IntervalSet.of(a)); in remove()
DLL1DFA.java31 import org.antlr.misc.IntervalSet;
79 MultiMap<IntervalSet, Integer> edgeMap) in LL1DFA() argument
89 for (Map.Entry<IntervalSet, List<Integer>> entry : edgeMap.entrySet()) { in LL1DFA()
90 IntervalSet edge = entry.getKey(); in LL1DFA()
143 protected Label getLabelForSet(IntervalSet edgeSet) { in getLabelForSet()
DLabel.java31 import org.antlr.misc.IntervalSet;
132 this.labelSet = IntervalSet.of(INVALID); in Label()
151 l.labelSet = new IntervalSet(); in clone()
162 labelSet = IntervalSet.of(label); in add()
221 return IntervalSet.of(label); in getSet()
DDFA.java32 import org.antlr.misc.IntervalSet;
151 public IntSet recursiveAltSet = new IntervalSet();
517 IntervalSet labels = (IntervalSet)label.getSet();
563 IntervalSet labels = (IntervalSet)label.getSet();
607 IntervalSet labels = (IntervalSet)label.getSet();
DLL1Analyzer.java32 import org.antlr.misc.IntervalSet;
188 look = new LookaheadSet(IntervalSet.COMPLETE_SET); in LOOK()
207 return new LookaheadSet(IntervalSet.COMPLETE_SET); in _FIRST()
/external/clang/test/SemaTemplate/
Dissue150.cpp89 template<class> class = allocator> class IntervalSet>
92 IntervalSet<T> IntervalSetT;
98 template<class> class = allocator> class IntervalSet>
101 IntervalSet<T> IntervalSetT; in int40()
/external/antlr/tool/src/main/java/org/antlr/tool/
DRandomPhrase.java35 import org.antlr.misc.IntervalSet;
130 IntervalSet typeSet = (IntervalSet)label.getSet(); in getTokenType()
DGrammar.java53 import org.antlr.misc.IntervalSet;
1247 List<IntervalSet> edges = new ArrayList<IntervalSet>(); in createLL_1_LookaheadDFA()
1252 List<IntervalSet> disjoint = makeEdgeSetsDisjoint(edges); in createLL_1_LookaheadDFA()
1255 MultiMap<IntervalSet, Integer> edgeMap = new MultiMap<IntervalSet, Integer>(); in createLL_1_LookaheadDFA()
1257 IntervalSet ds = disjoint.get(i); in createLL_1_LookaheadDFA()
1287 protected List<IntervalSet> makeEdgeSetsDisjoint(List<IntervalSet> edges) { in makeEdgeSetsDisjoint()
1288 OrderedHashSet<IntervalSet> disjointSets = new OrderedHashSet<IntervalSet>(); in makeEdgeSetsDisjoint()
1292 IntervalSet t = edges.get(e); in makeEdgeSetsDisjoint()
1298 IntervalSet remainder = t; // remainder starts out as whole set to add in makeEdgeSetsDisjoint()
1301 IntervalSet s_i = disjointSets.get(i); in makeEdgeSetsDisjoint()
[all …]
DInterpreter.java32 import org.antlr.misc.IntervalSet;
361 new MismatchedSetException(((IntervalSet)label.getSet()).toRuntimeBitSet(), in parseEngine()
DNFAFactory.java32 import org.antlr.misc.IntervalSet;
166 Label label = new Label(IntervalSet.of(a, b)); in build_Range()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DRenderMachineFunction.h59 typedef std::set<const LiveInterval*, IntervalComp> IntervalSet; typedef
78 const IntervalSet& intervals() const;
126 mutable IntervalSet intervalSet;
DRenderMachineFunction.cpp232 const MFRenderingOptions::IntervalSet& MFRenderingOptions::intervals() const { in intervals()
781 for (MFRenderingOptions::IntervalSet::const_iterator in renderCodeTablePlusPI()
858 for (MFRenderingOptions::IntervalSet::const_iterator in renderCodeTablePlusPI()
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/
DBitSet.js140 } else if (el instanceof org.antlr.runtime.IntervalSet) {
187 else if ( elements instanceof org.antlr.runtime.IntervalSet ) {
/external/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/
DTreeToNFAConverter.g659 IntSet elements=new IntervalSet();
675 setRule returns [IntSet elements=new IntervalSet()]
771 elements.addAll(IntervalSet.of(a,b));
781 | ^( NOT {ns=new IntervalSet();}
850 …{{ $alts = IntervalSet.of( Grammar.getCharValueFromGrammarCharLiteral($c1.text), Grammar.getCharVa…
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DRegAllocPBQP.cpp326 using IntervalSet = std::set<IntervalInfo, decltype(&lowestEndPoint)>; in apply() typedef
330 IntervalSet Active(lowestEndPoint); in apply()
347 IntervalSet::iterator RetireItr = Active.begin(); in apply()
/external/llvm/lib/CodeGen/
DRegAllocPBQP.cpp297 typedef std::set<IntervalInfo, decltype(&lowestEndPoint)> IntervalSet; in apply() typedef
300 IntervalSet Active(lowestEndPoint); in apply()
317 IntervalSet::iterator RetireItr = Active.begin(); in apply()
/external/antlr/tool/src/main/java/org/antlr/codegen/
DCodeGenerator.java754 if ( !(set instanceof IntervalSet) ) { in genSetExpr()
757 IntervalSet iset = (IntervalSet)set; in genSetExpr()
/external/antlr/runtime/C/
DREADME422 * Fixed bug in IntervalSet.and: it returned the same empty set all the time
1819 * two hideous bug fixes in the IntervalSet, which made analysis go wrong
/external/antlr/tool/
DCHANGES.txt2063 * Fixed bug in IntervalSet.and: it returned the same empty set all the time
3460 * two hideous bug fixes in the IntervalSet, which made analysis go wrong