Home
last modified time | relevance | path

Searched refs:BitSet (Results 1 – 25 of 218) sorted by relevance

123456789

/external/antlr/runtime/ObjC/Framework/examples/simplecTreeParser/
DSimpleCTP.java807 …public static final BitSet FOLLOW_declaration_in_program43 = new BitSet(new long[]{0x0000000000000…
808 …public static final BitSet FOLLOW_variable_in_declaration63 = new BitSet(new long[]{0x000000000000…
809 …public static final BitSet FOLLOW_FUNC_DECL_in_declaration74 = new BitSet(new long[]{0x00000000000…
810 …public static final BitSet FOLLOW_functionHeader_in_declaration76 = new BitSet(new long[]{0x000000…
811 …public static final BitSet FOLLOW_FUNC_DEF_in_declaration88 = new BitSet(new long[]{0x000000000000…
812 …public static final BitSet FOLLOW_functionHeader_in_declaration90 = new BitSet(new long[]{0x000000…
813 …public static final BitSet FOLLOW_block_in_declaration92 = new BitSet(new long[]{0x000000000000000…
814 …public static final BitSet FOLLOW_VAR_DEF_in_variable113 = new BitSet(new long[]{0x000000000000000…
815 …public static final BitSet FOLLOW_type_in_variable115 = new BitSet(new long[]{0x0000000000000400L}…
816 …public static final BitSet FOLLOW_declarator_in_variable117 = new BitSet(new long[]{0x000000000000…
[all …]
DSimpleCParser.java1757 …public static final BitSet FOLLOW_declaration_in_program85 = new BitSet(new long[]{0x000000000001C…
1758 …public static final BitSet FOLLOW_variable_in_declaration105 = new BitSet(new long[]{0x00000000000…
1759 …public static final BitSet FOLLOW_functionHeader_in_declaration115 = new BitSet(new long[]{0x00000…
1760 …public static final BitSet FOLLOW_21_in_declaration117 = new BitSet(new long[]{0x0000000000000002L…
1761 …public static final BitSet FOLLOW_functionHeader_in_declaration135 = new BitSet(new long[]{0x00000…
1762 …public static final BitSet FOLLOW_block_in_declaration137 = new BitSet(new long[]{0x00000000000000…
1763 …public static final BitSet FOLLOW_type_in_variable166 = new BitSet(new long[]{0x0000000000000400L}…
1764 …public static final BitSet FOLLOW_declarator_in_variable168 = new BitSet(new long[]{0x000000000020…
1765 … public static final BitSet FOLLOW_21_in_variable170 = new BitSet(new long[]{0x0000000000000002L});
1766 …public static final BitSet FOLLOW_ID_in_declarator199 = new BitSet(new long[]{0x0000000000000002L}…
[all …]
/external/smali/smali/src/main/java/org/jf/smali/
DsmaliTreeWalker.java9 import org.antlr.runtime.BitSet;
8134 …public static final BitSet FOLLOW_I_CLASS_DEF_in_smali_file52 = new BitSet(new long[]{0x0000000000…
8135 …public static final BitSet FOLLOW_header_in_smali_file54 = new BitSet(new long[]{0x000000000000000…
8136 …public static final BitSet FOLLOW_methods_in_smali_file56 = new BitSet(new long[]{0x00000000000000…
8137 …public static final BitSet FOLLOW_fields_in_smali_file58 = new BitSet(new long[]{0x000000000000000…
8138 …public static final BitSet FOLLOW_annotations_in_smali_file60 = new BitSet(new long[]{0x0000000000…
8139 …public static final BitSet FOLLOW_class_spec_in_header85 = new BitSet(new long[]{0x000000000000000…
8140 …public static final BitSet FOLLOW_super_spec_in_header87 = new BitSet(new long[]{0x000000000000000…
8141 …public static final BitSet FOLLOW_implements_list_in_header90 = new BitSet(new long[]{0x0000000000…
8142 …public static final BitSet FOLLOW_source_spec_in_header92 = new BitSet(new long[]{0x00000000000000…
[all …]
DsmaliParser.java16541 …public static final BitSet FOLLOW_class_spec_in_smali_file1140 = new BitSet(new long[]{0x000002200…
16542 …public static final BitSet FOLLOW_super_spec_in_smali_file1151 = new BitSet(new long[]{0x000002200…
16543 …public static final BitSet FOLLOW_implements_spec_in_smali_file1159 = new BitSet(new long[]{0x0000…
16544 …public static final BitSet FOLLOW_source_spec_in_smali_file1168 = new BitSet(new long[]{0x00000220…
16545 …public static final BitSet FOLLOW_method_in_smali_file1176 = new BitSet(new long[]{0x0000022000020…
16546 …public static final BitSet FOLLOW_field_in_smali_file1182 = new BitSet(new long[]{0x00000220000200…
16547 …public static final BitSet FOLLOW_annotation_in_smali_file1188 = new BitSet(new long[]{0x000002200…
16548 …public static final BitSet FOLLOW_EOF_in_smali_file1199 = new BitSet(new long[]{0x0000000000000002…
16549 …public static final BitSet FOLLOW_CLASS_DIRECTIVE_in_class_spec1286 = new BitSet(new long[]{0x0000…
16550 …public static final BitSet FOLLOW_access_list_in_class_spec1288 = new BitSet(new long[]{0x00000000…
[all …]
/external/cldr/tools/java/org/unicode/cldr/draft/
DIdentifierInfo.java3 import java.util.BitSet;
65 private final BitSet requiredScripts = new BitSet();
66 private final Set<BitSet> scriptSetSet = new HashSet<BitSet>();
67 private final BitSet commonAmongAlternates = new BitSet();
91 BitSet temp = new BitSet(); // Will reuse this. in setIdentifier()
113 temp = new BitSet(); in setIdentifier()
123 for (Iterator<BitSet> it = scriptSetSet.iterator(); it.hasNext();) { in setIdentifier()
124 final BitSet next = it.next(); in setIdentifier()
129 for (BitSet other : scriptSetSet) { in setIdentifier()
148 static final BitSet COMMON_AND_INHERITED = set(new BitSet(), UScript.COMMON, UScript.INHERITED);
[all …]
DUnmodifiableBitSet.java3 import java.util.BitSet;
5 public class UnmodifiableBitSet extends BitSet {
9 public UnmodifiableBitSet(BitSet s) { in UnmodifiableBitSet()
15 public BitSet getModifiableBitset() { in getModifiableBitset()
17 BitSet result = new BitSet(); in getModifiableBitset()
23 public void and(BitSet set) { in and()
28 public void andNot(BitSet set) { in andNot()
78 public void or(BitSet set) { in or()
83 public void xor(BitSet set) { in xor()
DTestMixedScript.java3 import java.util.BitSet;
58 private final BitSet singleScripts = new BitSet();
59 private final HashSet<BitSet> combinations = new HashSet<BitSet>();
60 private BitSet tempBitSet = new BitSet();
92 BitSet bitSet = new BitSet();
113 BitSet ext = new BitSet(); in findScripts()
129 private static final BitSet ALL_SCRIPTS = new BitSet();
146 for (BitSet combo : combinations) { in checkSimple()
156 for (BitSet combo : combinations) { in checkSimple()
175 for (BitSet combo : combinations) { in checkHighlyRestricted()
[all …]
/external/doclava/src/com/google/doclava/parser/
DJavaParser.java20 import org.antlr.runtime.BitSet;
19987 …public static final BitSet FOLLOW_annotations_in_compilationUnit64 = new BitSet(new long[]{0x08000…
19988 …public static final BitSet FOLLOW_packageDeclaration_in_compilationUnit93 = new BitSet(new long[]{…
19989 …public static final BitSet FOLLOW_importDeclaration_in_compilationUnit115 = new BitSet(new long[]{…
19990 …public static final BitSet FOLLOW_typeDeclaration_in_compilationUnit137 = new BitSet(new long[]{0x…
19991 …public static final BitSet FOLLOW_PACKAGE_in_packageDeclaration167 = new BitSet(new long[]{0x00000…
19992 …public static final BitSet FOLLOW_qualifiedName_in_packageDeclaration169 = new BitSet(new long[]{0…
19993 …public static final BitSet FOLLOW_SEMI_in_packageDeclaration179 = new BitSet(new long[]{0x00000000…
19994 …public static final BitSet FOLLOW_IMPORT_in_importDeclaration198 = new BitSet(new long[]{0x0000000…
19995 …public static final BitSet FOLLOW_STATIC_in_importDeclaration209 = new BitSet(new long[]{0x0000000…
[all …]
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/
DDebugTreeGrammar.cs815 public static readonly BitSet _stat_in_prog48 = new BitSet(new ulong[]{0x3CCF2UL});
816 public static readonly BitSet _expr_in_stat63 = new BitSet(new ulong[]{0x2UL});
817 public static readonly BitSet _17_in_stat98 = new BitSet(new ulong[]{0x4UL});
818 public static readonly BitSet _ID_in_stat100 = new BitSet(new ulong[]{0x1CCD0UL});
819 public static readonly BitSet _expr_in_stat102 = new BitSet(new ulong[]{0x8UL});
820 public static readonly BitSet _FUNC_in_stat128 = new BitSet(new ulong[]{0x4UL});
821 public static readonly BitSet _16_in_expr172 = new BitSet(new ulong[]{0x4UL});
822 public static readonly BitSet _expr_in_expr176 = new BitSet(new ulong[]{0x1CCD0UL});
823 public static readonly BitSet _expr_in_expr180 = new BitSet(new ulong[]{0x8UL});
824 public static readonly BitSet _10_in_expr200 = new BitSet(new ulong[]{0x4UL});
[all …]
DProfileTreeGrammar.cs820 public static readonly BitSet _stat_in_prog48 = new BitSet(new ulong[]{0x3CCF2UL});
821 public static readonly BitSet _expr_in_stat63 = new BitSet(new ulong[]{0x2UL});
822 public static readonly BitSet _17_in_stat98 = new BitSet(new ulong[]{0x4UL});
823 public static readonly BitSet _ID_in_stat100 = new BitSet(new ulong[]{0x1CCD0UL});
824 public static readonly BitSet _expr_in_stat102 = new BitSet(new ulong[]{0x8UL});
825 public static readonly BitSet _FUNC_in_stat128 = new BitSet(new ulong[]{0x4UL});
826 public static readonly BitSet _16_in_expr172 = new BitSet(new ulong[]{0x4UL});
827 public static readonly BitSet _expr_in_expr176 = new BitSet(new ulong[]{0x1CCD0UL});
828 public static readonly BitSet _expr_in_expr180 = new BitSet(new ulong[]{0x8UL});
829 public static readonly BitSet _10_in_expr200 = new BitSet(new ulong[]{0x4UL});
[all …]
DDebugGrammarParser.cs1520 public static readonly BitSet _stat_in_prog53 = new BitSet(new ulong[]{0x11C2UL});
1521 public static readonly BitSet _expr_in_stat70 = new BitSet(new ulong[]{0x100UL});
1522 public static readonly BitSet _NEWLINE_in_stat72 = new BitSet(new ulong[]{0x2UL});
1523 public static readonly BitSet _ID_in_stat105 = new BitSet(new ulong[]{0x20000UL});
1524 public static readonly BitSet _17_in_stat107 = new BitSet(new ulong[]{0x10C0UL});
1525 public static readonly BitSet _expr_in_stat109 = new BitSet(new ulong[]{0x100UL});
1526 public static readonly BitSet _NEWLINE_in_stat111 = new BitSet(new ulong[]{0x2UL});
1527 public static readonly BitSet _func_in_stat143 = new BitSet(new ulong[]{0x100UL});
1528 public static readonly BitSet _NEWLINE_in_stat145 = new BitSet(new ulong[]{0x2UL});
1529 public static readonly BitSet _NEWLINE_in_stat178 = new BitSet(new ulong[]{0x2UL});
[all …]
DProfileGrammarParser.cs1524 public static readonly BitSet _stat_in_prog53 = new BitSet(new ulong[]{0x11C2UL});
1525 public static readonly BitSet _expr_in_stat70 = new BitSet(new ulong[]{0x100UL});
1526 public static readonly BitSet _NEWLINE_in_stat72 = new BitSet(new ulong[]{0x2UL});
1527 public static readonly BitSet _ID_in_stat105 = new BitSet(new ulong[]{0x20000UL});
1528 public static readonly BitSet _17_in_stat107 = new BitSet(new ulong[]{0x10C0UL});
1529 public static readonly BitSet _expr_in_stat109 = new BitSet(new ulong[]{0x100UL});
1530 public static readonly BitSet _NEWLINE_in_stat111 = new BitSet(new ulong[]{0x2UL});
1531 public static readonly BitSet _func_in_stat143 = new BitSet(new ulong[]{0x100UL});
1532 public static readonly BitSet _NEWLINE_in_stat145 = new BitSet(new ulong[]{0x2UL});
1533 public static readonly BitSet _NEWLINE_in_stat178 = new BitSet(new ulong[]{0x2UL});
[all …]
/external/antlr/tool/src/main/java/org/antlr/misc/
DBitSet.java53 public class BitSet implements IntSet, Cloneable { class
68 public BitSet() { in BitSet() method in BitSet
73 public BitSet(long[] bits_) { in BitSet() method in BitSet
80 public BitSet(int nbits) { in BitSet() method in BitSet
99 if ( set instanceof BitSet ) { in addAll()
100 this.orInPlace((BitSet)set); in addAll()
106 this.orInPlace(BitSet.range(I.a,I.b)); in addAll()
148 BitSet s = (BitSet)this.clone(); in and()
149 s.andInPlace((BitSet)a); in and()
153 public void andInPlace(BitSet a) { in andInPlace()
[all …]
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DBitSet.cs49 public sealed class BitSet : ICloneable { class
66 public BitSet() in BitSet() method in Antlr.Runtime.BitSet
71 public BitSet(ulong[] bits) { in BitSet() method in Antlr.Runtime.BitSet
76 public BitSet(IEnumerable<int> items) in BitSet() method in Antlr.Runtime.BitSet
85 public BitSet(int nbits) { in BitSet() method in Antlr.Runtime.BitSet
89 public static BitSet Of(int el) { in Of()
90 BitSet s = new BitSet(el + 1); in Of()
95 public static BitSet Of(int a, int b) { in Of()
96 BitSet s = new BitSet(Math.Max(a, b) + 1); in Of()
102 public static BitSet Of(int a, int b, int c) { in Of()
[all …]
DMismatchedSetException.cs41 private readonly BitSet _expecting;
54 public MismatchedSetException(BitSet expecting, IIntStream input) in MismatchedSetException()
59 public MismatchedSetException(string message, BitSet expecting, IIntStream input) in MismatchedSetException()
64 …public MismatchedSetException(string message, BitSet expecting, IIntStream input, Exception innerE… in MismatchedSetException()
74 this._expecting = (BitSet)info.GetValue("Expecting", typeof(BitSet)); in MismatchedSetException()
77 public BitSet Expecting {
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/
DBitSet.cs50 public sealed class BitSet : ICloneable class
68 public BitSet() in BitSet() method in Antlr.Runtime.BitSet
75 public BitSet( ulong[] bits ) in BitSet() method in Antlr.Runtime.BitSet
81 public BitSet( IEnumerable<int> items ) in BitSet() method in Antlr.Runtime.BitSet
91 public BitSet( int nbits ) in BitSet() method in Antlr.Runtime.BitSet
96 public static BitSet Of( int el ) in Of()
98 BitSet s = new BitSet( el + 1 ); in Of()
103 public static BitSet Of( int a, int b ) in Of()
105 BitSet s = new BitSet( Math.Max( a, b ) + 1 ); in Of()
111 public static BitSet Of( int a, int b, int c ) in Of()
[all …]
DMismatchedSetException.cs43 private readonly BitSet _expecting;
59 public MismatchedSetException( BitSet expecting, IIntStream input ) in MismatchedSetException()
65 public MismatchedSetException(string message, BitSet expecting, IIntStream input) in MismatchedSetException()
71 …public MismatchedSetException(string message, BitSet expecting, IIntStream input, Exception innerE… in MismatchedSetException()
83 this._expecting = (BitSet)info.GetValue("Expecting", typeof(BitSet)); in MismatchedSetException()
86 public BitSet Expecting
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/
DBitSet.java36 public class BitSet implements Cloneable { class
51 public BitSet() { in BitSet() method in BitSet
56 public BitSet(long[] bits_) { in BitSet() method in BitSet
61 public BitSet(List<Integer> items) { in BitSet() method in BitSet
72 public BitSet(int nbits) { in BitSet() method in BitSet
76 public static BitSet of(int el) { in of()
77 BitSet s = new BitSet(el + 1); in of()
82 public static BitSet of(int a, int b) { in of()
83 BitSet s = new BitSet(Math.max(a,b)+1); in of()
89 public static BitSet of(int a, int b, int c) { in of()
[all …]
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/
DBitSet.js14 org.antlr.runtime.BitSet = function(bits) { class in org.antlr.runtime
16 bits = org.antlr.runtime.BitSet.BITS;
30 org.antlr.lang.augmentObject(org.antlr.runtime.BitSet, {
66 var bitPosition = bitNumber & org.antlr.runtime.BitSet.MOD_MASK;
79 return (el >> org.antlr.runtime.BitSet.LOG_BITS) + 1;
90 return bit >> org.antlr.runtime.BitSet.LOG_BITS; // bit / BITS
118 s = new org.antlr.runtime.BitSet(el2 + 1);
120 n = org.antlr.runtime.BitSet.wordNumber(i);
121 s.bits[n] |= org.antlr.runtime.BitSet.bitMask(i);
125 s = new org.antlr.runtime.BitSet(el + 1);
[all …]
/external/rappor/client/java/com/google/android/rappor/
DEncoder.java14 import java.util.BitSet;
163 private final BitSet inputMask;
341 this.inputMask = new BitSet(numBits); in Encoder()
415 BitSet input = new BitSet(numBits); in encodeBoolean()
431 BitSet input = new BitSet(numBits); in encodeOrdinal()
464 BitSet input = new BitSet(numBits); in encodeString()
482 return encodeBits(BitSet.valueOf(bits)); in encodeBits()
490 private byte[] encodeBits(BitSet bits) { in encodeBits()
491 BitSet permanentRandomizedResponse = computePermanentRandomizedResponse(bits); in encodeBits()
492 BitSet encodedBitSet = computeInstantaneousRandomizedResponse(permanentRandomizedResponse); in encodeBits()
[all …]
/external/icu/icu4c/source/test/perf/usetperf/
Dbitset.cpp24 BitSet::BitSet() { in BitSet() function in BitSet
30 BitSet::~BitSet() { in ~BitSet()
34 UBool BitSet::get(int32_t bitIndex) const { in get()
41 void BitSet::set(int32_t bitIndex) { in set()
50 void BitSet::clearAll() { in clearAll()
54 void BitSet::ensureCapacity(uint32_t minLen) { in ensureCapacity()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DNormalizerData.java13 import java.util.BitSet;
83 LongHashtable compose, BitSet isCompatibility, BitSet isExcluded) { in NormalizerData()
131 private BitSet isCompatibility = new BitSet();
138 private BitSet isExcluded = new BitSet();
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
DNormalizerData.java14 import java.util.BitSet;
86 LongHashtable compose, BitSet isCompatibility, BitSet isExcluded) { in NormalizerData()
134 private BitSet isCompatibility = new BitSet();
141 private BitSet isExcluded = new BitSet();
/external/cldr/tools/java/org/unicode/cldr/tool/
DFindPluralDifferences.java4 import java.util.BitSet;
28 BitSet x = new BitSet(); in diff()
32 Map<String, BitSet> foo = new TreeMap<String, BitSet>(); in diff()
81 Map<String, BitSet> results = new TreeMap<String, BitSet>(); in diff()
91 BitSet diff = results.get(key); in diff()
93 results.put(key, diff = new BitSet()); in diff()
127 static String show(Map<String, BitSet> results) { in show()
129 for (Entry<String, BitSet> entry : results.entrySet()) { in show()
131 BitSet value = entry.getValue(); in show()
/external/angle/src/common/
Dbitset_utils_unittest.cpp23 typedef T BitSet; typedef in __anon68492bec0111::BitSetTest
26 using BitSetTypes = ::testing::Types<BitSet<12>, BitSet32<12>, BitSet64<12>>;
122 typename TestFixture::BitSet other(kOtherValue); in TYPED_TEST()
123 typename TestFixture::BitSet anded(kSelfMaskedValue & kOtherMaskedValue); in TYPED_TEST()
124 typename TestFixture::BitSet ored(kSelfMaskedValue | kOtherMaskedValue); in TYPED_TEST()
125 typename TestFixture::BitSet xored(kSelfMaskedValue ^ kOtherMaskedValue); in TYPED_TEST()
147 EXPECT_EQ(mBits, typename TestFixture::BitSet(kSelfValue)); in TYPED_TEST()
149 EXPECT_EQ(mBits << kShift, typename TestFixture::BitSet(kSelfShiftedLeft)); in TYPED_TEST()
150 EXPECT_EQ(mBits >> kShift, typename TestFixture::BitSet(kSelfShiftedRight)); in TYPED_TEST()
153 EXPECT_EQ(mBits, typename TestFixture::BitSet(kSelfShiftedLeft)); in TYPED_TEST()
[all …]

123456789