/third_party/skia/third_party/externals/dawn/src/common/ |
D | ityp_bitset.h | 27 class bitset : private std::bitset<N> { 29 using Base = std::bitset<N>; 33 constexpr bitset(const Base& rhs) : Base(rhs) { in bitset() function 37 constexpr bitset() noexcept : Base() { in bitset() function 40 constexpr bitset(unsigned long long value) noexcept : Base(value) { in bitset() function 61 bool operator==(const bitset& other) const noexcept { 65 bool operator!=(const bitset& other) const noexcept { 69 bitset& operator&=(const bitset& other) noexcept { 70 return static_cast<bitset&>(Base::operator&=(static_cast<const Base&>(other))); 73 bitset& operator|=(const bitset& other) noexcept { [all …]
|
D | BitSetIterator.h | 37 BitSetIterator(const std::bitset<N>& bitset); 43 Iterator(const std::bitset<N>& bits); 59 std::bitset<N> mBits; 68 return Iterator(std::bitset<N>(0)); in end() 72 const std::bitset<N> mBits; 76 BitSetIterator<N, T>::BitSetIterator(const std::bitset<N>& bitset) : mBits(bitset) { in BitSetIterator() argument 90 BitSetIterator<N, T>::Iterator::Iterator(const std::bitset<N>& bits) in Iterator() 119 static std::bitset<N> wordMask(std::numeric_limits<uint32_t>::max()); in getNextBit() 135 BitSetIterator<N, uint32_t> IterateBitSet(const std::bitset<N>& bitset) { in IterateBitSet() argument 136 return BitSetIterator<N, uint32_t>(bitset); in IterateBitSet()
|
D | HashUtils.h | 77 size_t Hash(const std::bitset<N>& value) { in Hash() 80 std::bitset<N> bits = value; in Hash() 93 struct hash<ityp::bitset<Index, N>> { 95 size_t operator()(const ityp::bitset<Index, N>& value) const { 96 return Hash(static_cast<const std::bitset<N>&>(value));
|
/third_party/mesa3d/src/compiler/isaspec/ |
D | encode.py | 89 def __init__(self, bitset, case, name): argument 90 self.bitset = bitset # leaf bitset 94 def fields(self, bitset=None): argument 95 if bitset is None: 96 bitset = self.bitset 100 for case in bitset.cases: 102 expr = bitset.isa.expressions[case.expr] 116 expr = bitset.isa.expressions[field.expr] 124 if bitset.extends is not None: 125 yield from self.fields(isa.bitsets[bitset.extends]) [all …]
|
D | decode.c | 85 const struct isa_bitset *bitset; member 251 push_scope(struct decode_state *state, const struct isa_bitset *bitset, bitmask_t val) in push_scope() argument 255 BITSET_COPY(scope->val.bitset, val.bitset); in push_scope() 256 scope->bitset = bitset; in push_scope() 322 BITSET_AND(m.bitset, val.bitset, bitsets[n]->mask.bitset); in find_bitset() 324 BITSET_COPY(not_dontcare.bitset, bitsets[n]->dontcare.bitset); in find_bitset() 325 BITSET_NOT(not_dontcare.bitset); in find_bitset() 327 BITSET_AND(m.bitset, m.bitset, not_dontcare.bitset); in find_bitset() 329 if (!BITSET_EQUAL(m.bitset, bitsets[n]->match.bitset)) { in find_bitset() 349 BITSET_AND(m.bitset, match->dontcare.bitset, val.bitset); in find_bitset() [all …]
|
D | isa.py | 42 def __init__(self, bitset): argument 43 self.match = bitset.match 44 self.dontcare = bitset.dontcare 45 self.mask = bitset.mask 46 self.field_mask = bitset.field_mask; 142 self.isa = case.bitset.isa 144 self.name = case.bitset.name + '#assert' + str(len(case.fields)) 149 match, dontcare, mask = extract_pattern(xml, case.bitset.name) 183 def __init__(self, bitset, xml, update_field_mask, expr=None): argument 184 self.bitset = bitset [all …]
|
D | README.rst | 47 in another bitset. 61 bitset: 65 <bitset name="#instruction" size="64"> 69 </bitset> 76 <bitset name="#instruction-cat2" extends="#instruction"> 105 </bitset> 108 bitset matches against a given bit pattern. The leaf node's match/mask/ 117 <bitset name="#instruction-cat2-1src" extends="#instruction-cat2"> 137 </bitset> 139 <bitset name="absneg.f" extends="#instruction-cat2-1src"> [all …]
|
/third_party/flutter/skia/third_party/externals/dawn/src/common/ |
D | BitSetIterator.h | 36 BitSetIterator(const std::bitset<N>& bitset); 42 Iterator(const std::bitset<N>& bits); 55 std::bitset<N> mBits; 64 return Iterator(std::bitset<N>(0)); in end() 68 const std::bitset<N> mBits; 72 BitSetIterator<N, T>::BitSetIterator(const std::bitset<N>& bitset) : mBits(bitset) { in BitSetIterator() argument 86 BitSetIterator<N, T>::Iterator::Iterator(const std::bitset<N>& bits) in Iterator() 115 static std::bitset<N> wordMask(std::numeric_limits<uint32_t>::max()); in getNextBit() 131 BitSetIterator<N, uint32_t> IterateBitSet(const std::bitset<N>& bitset) { in IterateBitSet() argument 132 return BitSetIterator<N, uint32_t>(bitset); in IterateBitSet()
|
/third_party/mesa3d/src/util/tests/ |
D | bitset_test.cpp | 27 TEST(bitset, sizes) in TEST() argument 40 TEST(bitset, test_set_clear) in TEST() argument 54 TEST(bitset, test_set_ones) in TEST() argument 70 TEST(bitset, test_basic_range) in TEST() argument 92 TEST(bitset, test_bitset_ffs) in TEST() argument 112 TEST(bitset, test_range_bits) in TEST() argument 154 TEST(bitset, test_and) in TEST() argument 192 TEST(bitset, test_or) in TEST() argument 232 TEST(bitset, test_not) in TEST() argument 256 TEST(bitset, test_shr_zero) in TEST() argument [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | RenderPipeline.h | 68 const ityp::bitset<VertexAttributeLocation, kMaxVertexAttributes>& 71 const ityp::bitset<VertexBufferSlot, kMaxVertexBuffers>& GetVertexBufferSlotsUsed() const; 72 const ityp::bitset<VertexBufferSlot, kMaxVertexBuffers>& 74 const ityp::bitset<VertexBufferSlot, kMaxVertexBuffers>& 91 ityp::bitset<ColorAttachmentIndex, kMaxColorAttachments> GetColorAttachmentsMask() const; 120 ityp::bitset<VertexAttributeLocation, kMaxVertexAttributes> mAttributeLocationsUsed; 123 ityp::bitset<VertexBufferSlot, kMaxVertexBuffers> mVertexBufferSlotsUsed; 124 ityp::bitset<VertexBufferSlot, kMaxVertexBuffers> mVertexBufferSlotsUsedAsVertexBuffer; 125 ityp::bitset<VertexBufferSlot, kMaxVertexBuffers> mVertexBufferSlotsUsedAsInstanceBuffer;
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/ |
D | RenderPipeline.h | 63 const std::bitset<kMaxVertexAttributes>& GetAttributesSetMask() const; 65 const std::bitset<kMaxVertexBuffers>& GetInputsSetMask() const; 74 std::bitset<kMaxColorAttachments> GetColorAttachmentsMask() const; 83 std::bitset<kMaxVertexAttributes> GetAttributesUsingInput(uint32_t slot) const; 84 std::array<std::bitset<kMaxVertexAttributes>, kMaxVertexBuffers> attributesUsingInput; 99 std::bitset<kMaxVertexAttributes> mAttributesSetMask; 101 std::bitset<kMaxVertexBuffers> mInputsSetMask; 107 std::bitset<kMaxColorAttachments> mColorAttachmentsSet;
|
D | PipelineLayout.h | 45 const std::bitset<kMaxBindGroups> GetBindGroupLayoutsMask() const; 49 std::bitset<kMaxBindGroups> InheritedGroupsMask(const PipelineLayoutBase* other) const; 67 std::bitset<kMaxBindGroups> mMask;
|
D | BindGroupLayout.h | 45 std::bitset<kMaxBindingsPerGroup> dynamic; 46 std::bitset<kMaxBindingsPerGroup> multisampled; 47 std::bitset<kMaxBindingsPerGroup> mask;
|
/third_party/mesa3d/docs/drivers/freedreno/ |
D | isaspec.rst | 47 in another bitset. 61 bitset: 65 <bitset name="#instruction" size="64"> 69 </bitset> 76 <bitset name="#instruction-cat2" extends="#instruction"> 105 </bitset> 108 bitset matches against a given bit pattern. The leaf node's match/mask/ 117 <bitset name="#instruction-cat2-1src" extends="#instruction-cat2"> 137 </bitset> 139 <bitset name="absneg.f" extends="#instruction-cat2-1src"> [all …]
|
/third_party/flutter/skia/third_party/externals/spirv-tools/source/util/ |
D | bit_stream.h | 120 std::string str = std::bitset<sizeof(T) * 8>(*it).to_string(); in BufferToStream() 142 buffer.push_back(static_cast<T>(std::bitset<sizeof(T) * 8>( in StreamToBuffer() 147 buffer.push_back(static_cast<T>(std::bitset<sizeof(T) * 8>( in StreamToBuffer() 170 inline std::bitset<N> StreamToBitset(std::string str) { in StreamToBitset() 172 return std::bitset<N>(str); in StreamToBitset() 177 inline std::string BitsetToStream(const std::bitset<N>& bits, size_t num_bits = N) { 186 return std::bitset<64>(str).to_ullong(); in StreamToBits() 191 std::bitset<64> bitset(bits); 192 return BitsetToStream(bitset, num_bits); 216 void WriteBitset(const std::bitset<N>& bits, size_t num_bits = N) { [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
D | pool_urbg_test.cc | 133 std::bitset<sizeof(result_type) * 8> bitset(a[i] ^ b[i]); in TYPED_TEST() local 134 changed_bits += bitset.count(); in TYPED_TEST() 135 unchanged_bits += bitset.size() - bitset.count(); in TYPED_TEST() 137 std::bitset<sizeof(result_type) * 8> a_set(a[i]); in TYPED_TEST() 138 std::bitset<sizeof(result_type) * 8> b_set(b[i]); in TYPED_TEST()
|
D | seed_material_test.cc | 167 std::bitset<sizeof(uint32_t) * 8> bitset(seed_material[i] ^ in TEST() local 169 changed_bits += bitset.count(); in TEST() 192 std::bitset<sizeof(uint32_t) * 8> bitset(seed_material[i] ^ in TEST() local 194 changed_bits += bitset.count(); in TEST()
|
D | pcg_engine_test.cc | 76 std::bitset<sizeof(result_type) * 8> bitset(a[i] ^ b[i]); in TYPED_TEST() local 77 changed_bits += bitset.count(); in TYPED_TEST() 78 unchanged_bits += bitset.size() - bitset.count(); in TYPED_TEST() 80 std::bitset<sizeof(result_type) * 8> a_set(a[i]); in TYPED_TEST() 81 std::bitset<sizeof(result_type) * 8> b_set(b[i]); in TYPED_TEST()
|
D | randen_engine_test.cc | 78 std::bitset<sizeof(result_type) * 8> bitset(a[i] ^ b[i]); in TYPED_TEST() local 79 changed_bits += bitset.count(); in TYPED_TEST() 80 unchanged_bits += bitset.size() - bitset.count(); in TYPED_TEST() 82 std::bitset<sizeof(result_type) * 8> a_set(a[i]); in TYPED_TEST() 83 std::bitset<sizeof(result_type) * 8> b_set(b[i]); in TYPED_TEST()
|
/third_party/flutter/engine/flutter/third_party/txt/tests/ |
D | SparseBitSetTest.cpp | 35 SparseBitSet bitset(range.data(), range.size() / 2); in TEST() local 43 ASSERT_FALSE(bitset.get(ch)) << std::hex << ch; in TEST() 46 ASSERT_TRUE(bitset.get(ch)) << std::hex << ch; in TEST() 50 ASSERT_FALSE(bitset.get(ch)) << std::hex << ch; in TEST()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
D | BitSetIteratorTests.cpp | 24 std::bitset<40> mStateBits; 63 std::bitset<40> otherBits; in TEST_F() 92 ityp::bitset<TestEnum, kEnumCount> mStateBits; 131 ityp::bitset<TestEnum, kEnumCount> otherBits; in TEST_F() 158 ityp::bitset<IntegerT, 40> mStateBits; 197 ityp::bitset<IntegerT, 40> otherBits; in TEST_F()
|
/third_party/gptfdisk/ |
D | attributes.cc | 95 bool bitset; in ShowAttributes() local 98 bitset = (UINT64_C(1) << bitNum) & attributes; in ShowAttributes() 99 if (bitset) { in ShowAttributes() 100 cout << partNum+1 << ":" << bitNum << ":" << bitset in ShowAttributes()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | VulkanExtensions.h | 49 using InstanceExtSet = ityp::bitset<InstanceExt, static_cast<uint32_t>(InstanceExt::EnumCount)>; 108 using DeviceExtSet = ityp::bitset<DeviceExt, static_cast<uint32_t>(DeviceExt::EnumCount)>; 147 using VulkanLayerSet = ityp::bitset<VulkanLayer, static_cast<uint32_t>(VulkanLayer::EnumCount)>;
|
/third_party/mesa3d/src/freedreno/registers/ |
D | gen_header.py | 273 if self.bitset.inline: 274 self.bitset.dump(self.full_name) 278 if self.bitset.inline: 279 self.bitset.dump_pack_struct(self.full_name, not self.array == None, self.bit_size) 361 bitset = self.bitsets[attrs["type"]] 362 if bitset.inline: 363 self.current_bitset = Bitset(attrs["name"], bitset) 366 self.current_bitset = bitset 374 self.current_reg.bitset = self.current_bitset
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | InstructionSelector.h | 57 class PredicateBitsetImpl : public std::bitset<MaxPredicates> { 62 PredicateBitsetImpl(const std::bitset<MaxPredicates> &B) in PredicateBitsetImpl() 63 : std::bitset<MaxPredicates>(B) {} in PredicateBitsetImpl() 67 std::bitset<MaxPredicates>::set(I); in PredicateBitsetImpl()
|