/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 | 81 def __init__(self, bitset, case, name): argument 82 self.bitset = bitset # leaf bitset 86 def fields(self, bitset=None): argument 87 if bitset is None: 88 bitset = self.bitset 92 for case in bitset.cases: 94 expr = bitset.isa.expressions[case.expr] 108 expr = bitset.isa.expressions[field.expr] 116 if bitset.extends is not None: 117 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/boost/boost/histogram/axis/ |
D | option.hpp | 26 struct bitset : std::integral_constant<unsigned, Bits> { struct 29 static constexpr auto test(bitset<B>) { in test() argument 36 constexpr auto operator|(bitset<B1>, bitset<B2>) { in operator |() 37 return bitset<(B1 | B2)>{}; in operator |() 42 constexpr auto operator&(bitset<B1>, bitset<B2>) { in operator &() 43 return bitset<(B1 & B2)>{}; in operator &() 48 constexpr auto operator-(bitset<B1>, bitset<B2>) { in operator -() 49 return bitset<(B1 & ~B2)>{}; in operator -() 58 struct bit : bitset<(1 << Pos)> {}; 61 using none_t = bitset<0>;
|
/third_party/boost/libs/parameter/test/ |
D | evaluate_category.hpp | 96 std::bitset<N + 1> rvalue_bitset() in rvalue_bitset() 98 return std::bitset<N + 1>(); in rvalue_bitset() 102 std::bitset<N + 1> const rvalue_const_bitset() in rvalue_const_bitset() 104 return std::bitset<N + 1>(); in rvalue_const_bitset() 108 std::bitset<N + 1>& lvalue_bitset() in lvalue_bitset() 110 static std::bitset<N + 1> lset = std::bitset<N + 1>(); in lvalue_bitset() 115 std::bitset<N + 1> const& lvalue_const_bitset() in lvalue_const_bitset() 117 static std::bitset<N + 1> const clset = std::bitset<N + 1>(); in lvalue_const_bitset() 124 typedef std::bitset<N + 1>& result_type; 135 typedef std::bitset<N + 1> const& result_type; [all …]
|
D | preprocessor_eval_cat_8.cpp | 64 boost::is_convertible<boost::mpl::_,std::bitset<1> > 69 boost::is_convertible<boost::mpl::_,std::bitset<2> > 74 boost::is_convertible<boost::mpl::_,std::bitset<3> > 79 boost::is_convertible<boost::mpl::_,std::bitset<4> > 84 boost::is_convertible<boost::mpl::_,std::bitset<5> > 89 boost::is_convertible<boost::mpl::_,std::bitset<6> > 94 boost::is_convertible<boost::mpl::_,std::bitset<7> > 99 boost::is_convertible<boost::mpl::_,std::bitset<8> >
|
/third_party/grpc/test/core/gpr/ |
D | useful_test.cc | 28 uint32_t bitset = 0; in main() local 49 GPR_ASSERT(GPR_BITSET(&bitset, 3) == 8); in main() 50 GPR_ASSERT(GPR_BITCOUNT(bitset) == 1); in main() 51 GPR_ASSERT(GPR_BITGET(bitset, 3) == 1); in main() 52 GPR_ASSERT(GPR_BITSET(&bitset, 1) == 10); in main() 53 GPR_ASSERT(GPR_BITCOUNT(bitset) == 2); in main() 54 GPR_ASSERT(GPR_BITCLEAR(&bitset, 3) == 2); in main() 55 GPR_ASSERT(GPR_BITCOUNT(bitset) == 1); in main() 56 GPR_ASSERT(GPR_BITGET(bitset, 3) == 0); in main()
|
/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/ |
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 131 TEST(bitset, test_and) in TEST() argument 169 TEST(bitset, test_or) in TEST() argument 209 TEST(bitset, test_not) in TEST() argument 233 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;
|
/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/boost/boost/serialization/ |
D | bitset.hpp | 32 std::bitset<size> const & t, in save() 46 std::bitset<size> & t, in load() 51 t = std::bitset<size>(bits); in load() 57 std::bitset<size> & t, in serialize() 69 struct tracking_level<std::bitset<size> >
|
/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/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()
|
/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()
|
/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/mesa3d/src/gallium/drivers/swr/rasterizer/common/ |
D | isa.hpp | 221 std::bitset<32> f_1_ECX_; 222 std::bitset<32> f_1_EDX_; 223 std::bitset<32> f_7_EBX_; 224 std::bitset<32> f_7_ECX_; 225 std::bitset<32> f_81_ECX_; 226 std::bitset<32> f_81_EDX_;
|
/third_party/grpc/src/core/lib/compression/ |
D | compression_internal.cc | 114 uint32_t grpc_compression_bitset_to_message_bitset(uint32_t bitset) { in grpc_compression_bitset_to_message_bitset() argument 115 return bitset & ((1u << GRPC_MESSAGE_COMPRESS_ALGORITHMS_COUNT) - 1); in grpc_compression_bitset_to_message_bitset() 118 uint32_t grpc_compression_bitset_to_stream_bitset(uint32_t bitset) { in grpc_compression_bitset_to_stream_bitset() argument 119 uint32_t identity = (bitset & 1u); in grpc_compression_bitset_to_stream_bitset() 121 (bitset >> (GRPC_MESSAGE_COMPRESS_ALGORITHMS_COUNT - 1)) & in grpc_compression_bitset_to_stream_bitset()
|