Home
last modified time | relevance | path

Searched refs:BitField (Results 1 – 25 of 35) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/libANGLE/
DCLBitField.h16 class BitField
19 BitField() noexcept : mBits(0u) {} in BitField() function
20 explicit BitField(cl_bitfield bits) noexcept : mBits(bits) {} in BitField() function
22 BitField &operator=(cl_bitfield bits)
30 bool operator==(const BitField &other) const { return mBits == other.mBits; }
31 bool operator!=(const BitField &other) const { return mBits != other.mBits; }
36 bool isSet(const BitField &other) const { return (mBits & other.mBits) != 0u; } in isSet()
38 bool isNotSet(const BitField &other) const { return (mBits & other.mBits) == 0u; } in isNotSet()
41 bool hasOtherBitsThan(const BitField &other) const { return (mBits & ~other.mBits) != 0u; } in hasOtherBitsThan()
53 BitField mask(cl_bitfield bits) const { return BitField(mBits & bits); } in mask()
[all …]
/third_party/boost/boost/gil/
Dchannel.hpp342 template <typename Derived, typename BitField, int NumBits, bool IsMutable>
360 using bitfield_t = BitField;
428 template <typename BitField, int FirstBit, int NumBits, bool IsMutable>
434 template <typename BitField, int NumBits, bool IsMutable>
439 template <typename BitField, int FirstBit, int NumBits>
440 class packed_channel_reference<BitField, FirstBit, NumBits, false>
443 packed_channel_reference<BitField, FirstBit, NumBits, false>,
444 BitField,
451 packed_channel_reference<BitField, FirstBit, NumBits, false>,
452 BitField,
[all …]
Dmetafunctions.hpp24 template <typename BitField,typename ChannelRefs,typename Layout> struct packed_pixel;
36 template <typename BitField, typename ChannelBitSizes, typename Layout, bool IsMutable> struct bit_…
310 template <typename BitField, typename FirstBit, typename NumBits>
315 BitField, FirstBit::value, NumBits::value, true
319 template <typename BitField, typename ChannelBitSizes>
323 … using reference_type = typename packed_channel_reference_type<BitField, FirstBit, NumBits>::type;
365 template <typename BitField, typename ChannelBitSizes, typename Layout>
370 BitField,
373 BitField,
390 template <typename BitField, typename ChannelBitSizes, typename Layout, typename Alloc=std::allocat…
[all …]
Dbit_aligned_pixel_reference.hpp114 template <typename BitField, typename ChannelBitSizes, typename Layout, bool IsMutable>
126 using bitfield_t = BitField;
132 … using reference = const bit_aligned_pixel_reference<BitField, ChannelBitSizes, Layout, IsMutable>;
133 … using const_reference = bit_aligned_pixel_reference<BitField,ChannelBitSizes,Layout,false> const;
140 …Mutable2> bit_aligned_pixel_reference(const bit_aligned_pixel_reference<BitField,ChannelBitSizes,L… in bit_aligned_pixel_reference()
233 template <typename BitField, typename ChannelBitSizes, typename L, bool IsMutable, int K>
236 bit_aligned_pixel_reference<BitField, ChannelBitSizes, L, IsMutable>,
242 BitField,
274 template <int K, typename BitField, typename ChannelBitSizes, typename L, bool IsMutable>
276 auto at_c(const bit_aligned_pixel_reference<BitField, ChannelBitSizes, L, IsMutable>& p) in at_c() argument
[all …]
Dpacked_pixel.hpp48 template <typename BitField, typename ChannelRefs, typename Layout>
51 BitField _bitfield{0}; // TODO: Make private
54 using value_type = packed_pixel<BitField, ChannelRefs, Layout>;
62 explicit packed_pixel(const BitField& bitfield) : _bitfield(bitfield) {} in packed_pixel()
195 template <typename BitField, typename ChannelRefs, typename Layout, int K>
196 struct kth_element_type<packed_pixel<BitField, ChannelRefs, Layout>, K>
201 template <typename BitField, typename ChannelRefs, typename Layout, int K>
202 struct kth_element_reference_type<packed_pixel<BitField, ChannelRefs, Layout>, K>
207 template <typename BitField, typename ChannelRefs, typename Layout, int K>
208 struct kth_element_const_reference_type<packed_pixel<BitField, ChannelRefs, Layout>, K>
[all …]
/third_party/boost/boost/gil/extension/io/png/detail/
Dsupported_types.hpp42 template< typename BitField
45 struct png_read_support< packed_dynamic_channel_reference< BitField
55 template< typename BitField
58 struct png_read_support< packed_dynamic_channel_reference< BitField
68 template< typename BitField
71 struct png_read_support< packed_dynamic_channel_reference< BitField
159 template< typename BitField
162 struct png_write_support< packed_dynamic_channel_reference< BitField
173 template< typename BitField
176 struct png_write_support< packed_dynamic_channel_reference< BitField
[all …]
/third_party/flutter/flutter/packages/flutter/test/foundation/
Dbit_field_test.dart13 test('BitField control test', () {
14 final BitField<_TestEnum> field = BitField<_TestEnum>(8);
44 test('BitField.filed control test', () {
45 final BitField<_TestEnum> field1 = BitField<_TestEnum>.filled(8, true);
49 final BitField<_TestEnum> field2 = BitField<_TestEnum>.filled(8, false);
/third_party/boost/libs/gil/test/core/channel/
Dalgorithm_channel_invert.cpp75 template <typename BitField>
76 void operator()(BitField const &) in operator ()()
78 using bitfield_t = BitField; in operator ()()
92 template <typename BitField>
93 void operator()(BitField const &) in operator ()()
95 using bitfield_t = BitField; in operator ()()
Dalgorithm_channel_multiply.cpp76 template <typename BitField>
77 void operator()(BitField const &) in operator ()()
79 using bitfield_t = BitField; in operator ()()
93 template <typename BitField>
94 void operator()(BitField const &) in operator ()()
96 using bitfield_t = BitField; in operator ()()
Dalgorithm_channel_relation.cpp84 template <typename BitField>
85 void operator()(BitField const &) in operator ()()
87 using bitfield_t = BitField; in operator ()()
101 template <typename BitField>
102 void operator()(BitField const &) in operator ()()
104 using bitfield_t = BitField; in operator ()()
Dtest_fixture.hpp192 template <typename BitField>
195 static_assert(sizeof(BitField) >= sizeof(std::uint16_t), "16-bit or more required");
196 using channel_0_5_t = gil::packed_channel_reference<BitField, 0, 5,true>;
197 using channel_5_6_t = gil::packed_channel_reference<BitField, 5, 6,true>;
198 using channel_11_5_t = gil::packed_channel_reference<BitField, 11, 5,true>;
221 template <typename BitField>
224 static_assert(sizeof(BitField) >= sizeof(std::uint16_t), "16-bit or more required");
225 using channel_5_t = gil::packed_dynamic_channel_reference<BitField,5,true>;
226 using channel_6_t = gil::packed_dynamic_channel_reference<BitField,6,true>;
Dtest_fixture.cpp86 template <typename BitField>
87 void operator()(BitField const &) in operator ()()
89 using bitfield_t = BitField; in operator ()()
106 template <typename BitField>
107 void operator()(BitField const &) in operator ()()
109 using bitfield_t = BitField; in operator ()()
Dalgorithm_channel_arithmetic.cpp129 template <typename BitField>
130 void operator()(BitField const &) in operator ()()
132 using bitfield_t = BitField; in operator ()()
147 template <typename BitField>
148 void operator()(BitField const &) in operator ()()
150 using bitfield_t = BitField; in operator ()()
/third_party/boost/boost/gil/detail/
Dis_channel_integral.hpp24 template <typename BitField, int FirstBit, int NumBits, bool IsMutable>
27 boost::gil::packed_channel_reference<BitField, FirstBit, NumBits, IsMutable>
31 template <typename BitField, int NumBits, bool IsMutable>
34 boost::gil::packed_dynamic_channel_reference<BitField, NumBits, IsMutable>
/third_party/boost/libs/gil/test/
Dtest_utility_output_stream.hpp62 template <typename BitField, int FirstBit, int NumBits, bool IsMutable>
63 void operator()(gil::packed_channel_reference<BitField, FirstBit, NumBits, IsMutable> const& c) in operator ()()
65 printable_numeric_t<BitField> n{c.get()}; in operator ()()
104 template <typename BitField, typename ChannelRefs, typename Layout>
105 std::ostream& operator<<(std::ostream& os, packed_pixel<BitField, ChannelRefs, Layout> const& p) in operator <<() argument
108 << "\n\tBitField=" << boost::core::demangled_name(typeid(BitField)) in operator <<()
/third_party/flutter/flutter/packages/flutter/lib/src/foundation/
Dbitfield.dart16 /// A BitField over an enum (or other class whose values implement "index").
20 abstract class BitField<T extends dynamic> {
24 factory BitField(int length) = _bitfield.BitField<T>;
32 factory BitField.filled(int length, bool value) = _bitfield.BitField<T>.filled;
D_bitfield_io.dart11 class BitField<T extends dynamic> implements bitfield.BitField<T> {
13 BitField(this._length)
18 BitField.filled(this._length, bool value)
D_bitfield_web.dart17 class BitField<T extends dynamic> implements bitfield.BitField<T> {
21 BitField(int length);
26 BitField.filled(int length, bool value);
/third_party/boost/boost/gil/extension/io/bmp/detail/
Dsupported_types.hpp33 template< typename BitField
36 struct bmp_read_support< packed_dynamic_channel_reference< BitField
46 template< typename BitField
49 struct bmp_read_support< packed_dynamic_channel_reference< BitField
/third_party/boost/boost/gil/extension/toolbox/metafunctions/
Dchannel_type.hpp67 template < typename BitField
71 struct channel_type< packed_pixel< BitField
75 > : lazy_enable_if< is_homogeneous< packed_pixel< BitField
80 , gen_chan_ref_p< BitField
/third_party/boost/boost/gil/extension/io/pnm/detail/
Dsupported_types.hpp40 template< typename BitField, bool Mutable >
41 struct pnm_read_support< packed_dynamic_channel_reference< BitField
76 template< typename BitField, bool Mutable >
77 struct pnm_write_support< packed_dynamic_channel_reference< BitField
/third_party/boost/libs/gil/doc/html/_sources/design/
Dmetafunctions.rst.txt68 …template <typename BitField, typename ChannelBitSizeVector, typename Layout, typename Alloc=std::a…
82 template <typename BitField, unsigned Size1,
86 template <typename BitField, unsigned Size1, unsigned Size2,
90 template <typename BitField, unsigned Size1, unsigned Size2, unsigned Size3,
94 template <typename BitField, unsigned Size1, unsigned Size2, unsigned Size3, unsigned Size4,
98 …template <typename BitField, unsigned Size1, unsigned Size2, unsigned Size3, unsigned Size4, unsig…
/third_party/boost/libs/gil/doc/design/
Dmetafunctions.rst68 …template <typename BitField, typename ChannelBitSizeVector, typename Layout, typename Alloc=std::a…
82 template <typename BitField, unsigned Size1,
86 template <typename BitField, unsigned Size1, unsigned Size2,
90 template <typename BitField, unsigned Size1, unsigned Size2, unsigned Size3,
94 template <typename BitField, unsigned Size1, unsigned Size2, unsigned Size3, unsigned Size4,
98 …template <typename BitField, unsigned Size1, unsigned Size2, unsigned Size3, unsigned Size4, unsig…
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/
DFDRTraceWriter.cpp65 uint32_t BitField = in FDRTraceWriter() local
72 OS.write(BitField); in FDRTraceWriter()
/third_party/skia/third_party/externals/angle2/src/libGLESv2/
Dentry_points_cl_utils.h39 typename std::enable_if_t<std::is_same<PackedT, BitField>::value, PackedT> PackParam(FromT from) in PackParam()

12