Home
last modified time | relevance | path

Searched refs:IntSet (Results 1 – 24 of 24) sorted by relevance

/external/antlr/tool/src/main/java/org/antlr/misc/
DIntSet.java43 public interface IntSet { interface
50 void addAll(IntSet set); in addAll()
55 IntSet and(IntSet a); in and()
57 IntSet complement(IntSet elements); in complement()
59 IntSet or(IntSet a); in or()
61 IntSet subtract(IntSet a); in subtract()
DBitSet.java53 public class BitSet implements IntSet, Cloneable {
98 public void addAll(IntSet set) { in addAll()
147 public IntSet and(IntSet a) { in and()
289 public IntSet complement() { in complement()
296 public IntSet complement(IntSet set) { in complement()
342 public static BitSet of(IntSet set) { in of()
373 public IntSet or(IntSet a) { in or()
446 public IntSet subtract(IntSet a) { in subtract()
DIntervalSet.java52 public class IntervalSet implements IntSet {
192 public void addAll(IntSet set) { in addAll()
221 public IntervalSet complement(IntSet vocabulary) { in complement()
267 public IntervalSet subtract(IntSet other) { in subtract()
398 public IntSet or(IntSet a) { in or()
412 public IntervalSet and(IntSet other) { in and()
/external/antlr/tool/src/main/java/org/antlr/analysis/
DMachineProbe.java31 import org.antlr.misc.IntSet;
79 public List<IntSet> getEdgeLabels(DFAState targetState) { in getEdgeLabels()
81 List<IntSet> labels = new ArrayList<IntSet>(); in getEdgeLabels()
101 public String getInputSequenceDisplay(Grammar g, List<IntSet> labels) { in getInputSequenceDisplay()
103 for (IntSet label : labels) in getInputSequenceDisplay()
116 List<Set<NFAState>> nfaStates, List<IntSet> labels) { in getGrammarLocationsForInputSequence()
121 IntSet label = labels.get(i); in getGrammarLocationsForInputSequence()
DLabel.java30 import org.antlr.misc.IntSet;
122 protected IntSet labelSet;
129 public Label(IntSet labelSet) { in Label()
218 public IntSet getSet() { in getSet()
226 public void setSet(IntSet set) { in setSet()
245 public boolean matches(IntSet set) { in matches()
DLookaheadSet.java30 import org.antlr.misc.IntSet;
46 public LookaheadSet(IntSet s) { in LookaheadSet()
77 IntSet i = this.tokenTypeSet.and(s.tokenTypeSet); in intersection()
DDFAState.java30 import org.antlr.misc.IntSet;
320 IntSet t = label.getSet(); in addReachableLabel()
321 IntSet remainder = t; // remainder starts out as whole set to add in addReachableLabel()
341 IntSet s_i = rl.getSet(); in addReachableLabel()
342 IntSet intersection = s_i.and(t); in addReachableLabel()
346 IntSet existingMinusNewElements = s_i.subtract(t); in addReachableLabel()
DLL1Analyzer.java31 import org.antlr.misc.IntSet;
228 IntSet sl = transition0.label.getSet(); in _FIRST()
DDFA.java31 import org.antlr.misc.IntSet;
151 public IntSet recursiveAltSet = new IntervalSet();
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DSmallPtrSetTest.cpp310 SmallPtrSet<int *, 8> IntSet; in TEST() local
314 IntSet.insert(B); in TEST()
315 EXPECT_EQ(IntSet.count(B), 1u); in TEST()
316 EXPECT_EQ(IntSet.count(C), 1u); in TEST()
317 EXPECT_NE(IntSet.find(B), IntSet.end()); in TEST()
318 EXPECT_NE(IntSet.find(C), IntSet.end()); in TEST()
326 SmallPtrSet<TestPair, 8> IntSet; in TEST() local
329 IntSet.insert(Pair); in TEST()
330 EXPECT_EQ(IntSet.count(Pair), 1u); in TEST()
331 EXPECT_NE(IntSet.find(Pair), IntSet.end()); in TEST()
/external/emma/core/java12/com/vladium/util/
DIntSet.java23 final class IntSet class
30 public IntSet () in IntSet() method in IntSet
38 public IntSet (final int initialCapacity) in IntSet() method in IntSet
49 public IntSet (int initialCapacity, final float loadFactor) in IntSet() method in IntSet
/external/emma/core/java12/com/vladium/emma/data/
DMethodDescriptor.java18 import com.vladium.util.IntSet;
145 IntSet blockIDs = (IntSet) lineMap.get (line); in getLineMap()
149 blockIDs = new IntSet (); in getLineMap()
162 final int [] blockIDs = ((IntSet) lineMap.get (line)).values (); in getLineMap()
/external/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/
DTreeToNFAConverter.g77 public final IntSet setRule(GrammarAST t) throws RecognitionException {
499 IntSet notAtom = grammar.complement(ttype);
513 IntSet notAtom = null;
548 //IntSet notSet = grammar.complement(stNode.getSetValue());
550 IntSet s = stNode.getSetValue();
659 IntSet elements=new IntervalSet();
675 setRule returns [IntSet elements=new IntervalSet()]
678 IntSet s=null;
692 setElement[IntSet elements]
696 IntSet ns=null;
[all …]
DCodeGenTreeWalker.g719 IntSet elements=null;
795 IntSet elements=null;
1324 IntSet elements=null;
DANTLR.g123 import org.antlr.misc.IntSet;
736 IntSet elements=null;
/external/emma/pregenerated/res/com/vladium/emma/rt/
DRTExitHook.closure3 …mma.rt.RTCoverageDataPersister,com.vladium.util.IntSet,com.vladium.logging.Logger,com.vladium.util…
/external/antlr/tool/src/main/java/org/antlr/tool/
DGrammarAST.java33 import org.antlr.misc.IntSet;
84 protected IntSet setValue = null;
318 public IntSet getSetValue() { in getSetValue()
322 public void setSetValue(IntSet setValue) { in setSetValue()
DGrammar.java52 import org.antlr.misc.IntSet;
360 protected IntSet charVocabulary = null;
2968 public IntSet getTokenTypes() { in getTokenTypes()
2978 public IntSet getAllCharValues() { in getAllCharValues()
2982 IntSet allChar = IntervalSet.of(Label.MIN_CHAR_VALUE, getMaxCharValue()); in getAllCharValues()
3024 public IntSet complement(IntSet set) { in complement()
3027 IntSet c = set.complement(getTokenTypes()); in complement()
3032 public IntSet complement(int atom) { in complement()
3063 public IntSet getSetFromRule(TreeToNFAConverter nfabuilder, String ruleName) in getSetFromRule()
3070 IntSet elements; in getSetFromRule()
DNFAFactory.java31 import org.antlr.misc.IntSet;
136 public StateCluster build_Set(IntSet set, GrammarAST associatedAST) { in build_Set()
712 protected IntSet getCollapsedBlockAsSet(State blk) { in getCollapsedBlockAsSet()
/external/google-breakpad/src/testing/gtest/test/
Dgtest-typed-test_test.cc63 typedef std::set<int> IntSet; typedef in CommonTest
107 typename TestFixture::IntSet empty2; in TYPED_TEST()
/external/googletest/googletest/test/
Dgtest-typed-test_test.cc67 typedef std::set<int> IntSet; typedef in CommonTest
111 typename TestFixture::IntSet empty2; in TYPED_TEST()
/external/python/cpython2/Lib/
Dmhlib.py313 value = IntSet(fields[1].strip(), ' ').tolist()
322 s = IntSet('', ' ')
771 class IntSet: class
844 new = IntSet()
980 seqs['foo'] = IntSet('1-10 12-20', ' ').tolist()
/external/emma/core/java12/com/vladium/emma/instr/
DInstrVisitor.java32 import com.vladium.util.IntSet;
715 final IntSet leaders = new IntSet (); in visit()
1288 final IntSet blockLines = new IntSet (); in visit()
/external/antlr/tool/src/main/java/org/antlr/codegen/
DCodeGenerator.java750 IntSet set, in genSetExpr()