Home
last modified time | relevance | path

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

1234

/third_party/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()
Dbitset.h20 class BitSet {
29 BitSet();
30 ~BitSet();
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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();
DNormalizerBuilder.java21 import java.util.BitSet;
58 BitSet isCompatibility = new BitSet(); in build()
59 BitSet isExcluded = new BitSet(); in build()
86 private static void readExclusionList(BitSet isExcluded) throws java.io.IOException { in readExclusionList()
117 LongHashtable compose, BitSet isCompatibility, BitSet isExcluded) in buildDecompositionTables()
261 LongHashtable compose, BitSet isCompatibility, BitSet isExcluded) { in setMinimalDecomp()
/third_party/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();
DNormalizerBuilder.java20 import java.util.BitSet;
57 BitSet isCompatibility = new BitSet(); in build()
58 BitSet isExcluded = new BitSet(); in build()
85 private static void readExclusionList(BitSet isExcluded) throws java.io.IOException { in readExclusionList()
116 LongHashtable compose, BitSet isCompatibility, BitSet isExcluded) in buildDecompositionTables()
260 LongHashtable compose, BitSet isCompatibility, BitSet isExcluded) { in setMinimalDecomp()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/test/
Dcmap_iterator_test.cc40 typedef std::vector<bool> BitSet; typedef
67 BitSet* GenerateCMapEntries(int32_t start, int32_t count);
70 BitSet* bit_set);
89 BitSet* CMapIteratorTests::GenerateCMapEntries(int32_t start, int32_t count) { in GenerateCMapEntries()
90 BitSet* entries = new BitSet(count); in GenerateCMapEntries()
102 BitSet* bit_set) { in CompareCMapIterAndBitSet()
104 BitSet::iterator end = bit_set->end(), in CompareCMapIterAndBitSet()
131 BitSet* bit_set = GenerateCMapEntries(0, 0x10ffff); in TEST_P()
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
Dcmap_iterator_test.cc40 typedef std::vector<bool> BitSet; typedef
67 BitSet* GenerateCMapEntries(int32_t start, int32_t count);
70 BitSet* bit_set);
89 BitSet* CMapIteratorTests::GenerateCMapEntries(int32_t start, int32_t count) { in GenerateCMapEntries()
90 BitSet* entries = new BitSet(count); in GenerateCMapEntries()
102 BitSet* bit_set) { in CompareCMapIterAndBitSet()
104 BitSet::iterator end = bit_set->end(), in CompareCMapIterAndBitSet()
131 BitSet* bit_set = GenerateCMapEntries(0, 0x10ffff); in TEST_P()
/third_party/flutter/skia/third_party/externals/angle2/src/common/
Dbitset_utils_unittest.cpp21 BitSet<12> mBits;
115 BitSet<12> other(kOtherValue); in TEST_F()
116 BitSet<12> anded(kSelfMaskedValue & kOtherMaskedValue); in TEST_F()
117 BitSet<12> ored(kSelfMaskedValue | kOtherMaskedValue); in TEST_F()
118 BitSet<12> xored(kSelfMaskedValue ^ kOtherMaskedValue); in TEST_F()
140 EXPECT_EQ(mBits, BitSet<12>(kSelfValue)); in TEST_F()
142 EXPECT_EQ(mBits << kShift, BitSet<12>(kSelfShiftedLeft)); in TEST_F()
143 EXPECT_EQ(mBits >> kShift, BitSet<12>(kSelfShiftedRight)); in TEST_F()
146 EXPECT_EQ(mBits, BitSet<12>(kSelfShiftedLeft)); in TEST_F()
149 mBits = BitSet<12>(kSelfValue); in TEST_F()
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_util.cpp225 BitSet::andNot(const BitSet &set) in andNot()
233 BitSet& BitSet::operator|=(const BitSet &set) in operator |=()
242 bool BitSet::resize(unsigned int nBits) in resize()
265 bool BitSet::allocate(unsigned int nBits, bool zero) in allocate()
285 unsigned int BitSet::popCount() const in popCount()
295 void BitSet::fill(uint32_t val) in fill()
304 void BitSet::setOr(BitSet *pA, BitSet *pB) in setOr()
314 int BitSet::findFreeRange(unsigned int count, unsigned int max) const in findFreeRange()
379 void BitSet::print() const in print()
Dnv50_ir_util.h477 class BitSet
480 BitSet() : marker(false), data(0), size(0) { } in BitSet() function
481 BitSet(unsigned int nBits, bool zero) : marker(false), data(0), size(0) in BitSet() function
485 ~BitSet() in ~BitSet()
499 void setOr(BitSet *, BitSet *); // second BitSet may be NULL
548 BitSet& operator|=(const BitSet&);
550 BitSet& operator=(const BitSet& set)
558 void andNot(const BitSet&);
/third_party/skia/third_party/externals/angle2/src/common/
Dbitset_utils_unittest.cpp25 typedef T BitSet; typedef in __anon5d901a3b0111::BitSetTest
28 using BitSetTypes = ::testing::Types<BitSet<12>, BitSet32<12>, BitSet64<12>>;
128 typename TestFixture::BitSet other(kOtherValue); in TYPED_TEST()
129 typename TestFixture::BitSet anded(kSelfMaskedValue & kOtherMaskedValue); in TYPED_TEST()
130 typename TestFixture::BitSet ored(kSelfMaskedValue | kOtherMaskedValue); in TYPED_TEST()
131 typename TestFixture::BitSet xored(kSelfMaskedValue ^ kOtherMaskedValue); in TYPED_TEST()
153 EXPECT_EQ(mBits, typename TestFixture::BitSet(kSelfValue)); in TYPED_TEST()
155 EXPECT_EQ(mBits << kShift, typename TestFixture::BitSet(kSelfShiftedLeft)); in TYPED_TEST()
156 EXPECT_EQ(mBits >> kShift, typename TestFixture::BitSet(kSelfShiftedRight)); in TYPED_TEST()
159 EXPECT_EQ(mBits, typename TestFixture::BitSet(kSelfShiftedLeft)); in TYPED_TEST()
[all …]
/third_party/qrcodegen/java/src/main/java/io/nayuki/qrcodegen/
DBitBuffer.java26 import java.util.BitSet;
37 private BitSet data;
49 data = new BitSet(); in BitBuffer()
122 result.data = (BitSet)result.data.clone(); in clone()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sfntdump/
DSfntDump.java43 import java.util.BitSet;
61 private BitSet glyphSet;
63 private BitSet charSet;
144 BitSet glyphSet = null; in main()
167 BitSet charSet = null; in main()
255 private static final BitSet parseRange(String range) { in parseRange()
256 BitSet set = null; in parseRange()
262 set = new BitSet(); in parseRange()
269 private static final BitSet parseList(String list) { in parseList()
270 BitSet set = null; in parseList()
[all …]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sfntdump/
DSfntDump.java43 import java.util.BitSet;
61 private BitSet glyphSet;
63 private BitSet charSet;
144 BitSet glyphSet = null; in main()
167 BitSet charSet = null; in main()
255 private static final BitSet parseRange(String range) { in parseRange()
256 BitSet set = null; in parseRange()
262 set = new BitSet(); in parseRange()
269 private static final BitSet parseList(String list) { in parseList()
270 BitSet set = null; in parseList()
[all …]
/third_party/mindspore/tests/ut/cpp/dataset/
Dbit_functions_test.cc29 BitSet(&x, 16); // 10000 in TEST_F()
36 BitSet(&x, 1); // 10001 in TEST_F()
46 BitSet(&x, 31); // 11111 in TEST_F()
/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DCollectAPI.java16 import java.util.BitSet;
35 void writeHTML(String outfile, BitSet filter) throws IOException { in writeHTML()
149 void writeTSV(String outfile, BitSet filter) throws IOException { in writeTSV()
194 BitSet filter = new BitSet(MAXSTATE + 1); in main()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
Dangletypes.h382 using AttributesMask = angle::BitSet<MAX_VERTEX_ATTRIBS>;
385 using UniformBlockBindingMask = angle::BitSet<IMPLEMENTATION_MAX_COMBINED_SHADER_UNIFORM_BUFFERS>;
388 using DrawBufferMask = angle::BitSet<IMPLEMENTATION_MAX_DRAW_BUFFERS>;
391 using StorageBuffersMask = angle::BitSet<IMPLEMENTATION_MAX_SHADER_STORAGE_BUFFER_BINDINGS>;
430 using ComponentTypeMask = angle::BitSet<kMaxComponentTypeMaskIndex * 2>;
484 using ActiveTextureMask = angle::BitSet<IMPLEMENTATION_MAX_ACTIVE_TEXTURES>;
498 using AtomicCounterBufferMask = angle::BitSet<IMPLEMENTATION_MAX_ATOMIC_COUNTER_BUFFERS>;
500 using ImageUnitMask = angle::BitSet<IMPLEMENTATION_MAX_IMAGE_UNITS>;
/third_party/icu/icu4c/source/test/perf/unisetperf/draft/
Dbitset.cpp89 class BitSet : public UObject, public UnicodeContainable { class
91 BitSet(const UnicodeSet &set, UErrorCode &errorCode) : bits(shortBits), restSet(set.clone()) { in BitSet() function in BitSet
177 ~BitSet() { in ~BitSet()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DGlobalizationPreferences.java14 import java.util.BitSet;
1155 BitSet bits = available_locales.get(loc); in isAvailableLocale()
1165 private static final HashMap<ULocale, BitSet> available_locales = new HashMap<>();
1176 BitSet bits;
1179 bits = new BitSet(TYPE_LIMIT);
1188 bits = new BitSet(TYPE_LIMIT);
1198 bits = new BitSet(TYPE_LIMIT);
1208 bits = new BitSet(TYPE_LIMIT);
1218 bits = new BitSet(TYPE_LIMIT);
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/util/
DGlobalizationPreferences.java13 import java.util.BitSet;
1153 BitSet bits = available_locales.get(loc); in isAvailableLocale()
1163 private static final HashMap<ULocale, BitSet> available_locales = new HashMap<>();
1174 BitSet bits;
1177 bits = new BitSet(TYPE_LIMIT);
1186 bits = new BitSet(TYPE_LIMIT);
1196 bits = new BitSet(TYPE_LIMIT);
1206 bits = new BitSet(TYPE_LIMIT);
1216 bits = new BitSet(TYPE_LIMIT);
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DTestUScript.java12 import java.util.BitSet;
96 BitSet scripts=new BitSet(UScript.CODE_LIMIT); in TestGetScriptExtensions()
132 BitSet scx = new BitSet(); in TestDefaultScriptExtensions()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/
DTestUScript.java13 import java.util.BitSet;
99 BitSet scripts=new BitSet(UScript.CODE_LIMIT); in TestGetScriptExtensions()
135 BitSet scx = new BitSet(); in TestDefaultScriptExtensions()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/component/
DGlyphGroup.java5 import java.util.BitSet;
11 public class GlyphGroup extends BitSet implements Iterable<Integer> {
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/component/
DGlyphGroup.java5 import java.util.BitSet;
11 public class GlyphGroup extends BitSet implements Iterable<Integer> {

1234