Home
last modified time | relevance | path

Searched refs:SetBits (Results 1 – 10 of 10) sorted by relevance

/third_party/flutter/skia/third_party/externals/spirv-tools/source/util/
Dbitutils.h39 struct SetBits { struct
42 const static T get = (T(1) << First) | SetBits<T, First + 1, Num - 1>::get; argument
46 struct SetBits<T, Last, 0> {
51 static_assert(SetBits<uint32_t, 0, 0>::get == uint32_t(0x00000000),
53 static_assert(SetBits<uint32_t, 0, 1>::get == uint32_t(0x00000001),
55 static_assert(SetBits<uint32_t, 31, 1>::get == uint32_t(0x80000000),
57 static_assert(SetBits<uint32_t, 1, 2>::get == uint32_t(0x00000006),
59 static_assert(SetBits<uint32_t, 30, 2>::get == uint32_t(0xc0000000),
61 static_assert(SetBits<uint32_t, 0, 31>::get == uint32_t(0x7FFFFFFF),
63 static_assert(SetBits<uint32_t, 0, 32>::get == uint32_t(0xFFFFFFFF),
[all …]
Dhex_float.h275 spvutils::SetBits<uint_type, 0,
290 spvutils::SetBits<uint_type, 0, num_fraction_bits>::get;
297 spvutils::SetBits<uint_type, num_fraction_bits, num_exponent_bits>::get;
499 spvutils::SetBits<uint_type, 0, throwaway_mask_bits>::get;
1010 SetBits<uint_type, 0, HF::num_exponent_bits>::get;
/third_party/glslang/SPIRV/
Dbitutils.h39 struct SetBits { struct
42 const static T get = (T(1) << First) | SetBits<T, First + 1, Num - 1>::get; argument
46 struct SetBits<T, Last, 0> {
51 static_assert(SetBits<uint32_t, 0, 0>::get == uint32_t(0x00000000),
53 static_assert(SetBits<uint32_t, 0, 1>::get == uint32_t(0x00000001),
55 static_assert(SetBits<uint32_t, 31, 1>::get == uint32_t(0x80000000),
57 static_assert(SetBits<uint32_t, 1, 2>::get == uint32_t(0x00000006),
59 static_assert(SetBits<uint32_t, 30, 2>::get == uint32_t(0xc0000000),
61 static_assert(SetBits<uint32_t, 0, 31>::get == uint32_t(0x7FFFFFFF),
63 static_assert(SetBits<uint32_t, 0, 32>::get == uint32_t(0xFFFFFFFF),
[all …]
Dhex_float.h287 spvutils::SetBits<uint_type, 0,
302 spvutils::SetBits<uint_type, 0, num_fraction_bits>::get;
309 spvutils::SetBits<uint_type, num_fraction_bits, num_exponent_bits>::get;
501 spvutils::SetBits<uint_type, 0, throwaway_mask_bits>::get;
1012 SetBits<uint_type, 0, HF::num_exponent_bits>::get;
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/
Dbitutils.h50 struct SetBits { struct
53 const static T get = (T(1) << First) | SetBits<T, First + 1, Num - 1>::get; argument
57 struct SetBits<T, Last, 0> {
67 static_assert(SetBits<uint32_t, 0, 0>::get == uint32_t(0x00000000),
69 static_assert(SetBits<uint32_t, 0, 1>::get == uint32_t(0x00000001),
71 static_assert(SetBits<uint32_t, 31, 1>::get == uint32_t(0x80000000),
73 static_assert(SetBits<uint32_t, 1, 2>::get == uint32_t(0x00000006),
75 static_assert(SetBits<uint32_t, 30, 2>::get == uint32_t(0xc0000000),
77 static_assert(SetBits<uint32_t, 0, 31>::get == uint32_t(0x7FFFFFFF),
79 static_assert(SetBits<uint32_t, 0, 32>::get == uint32_t(0xFFFFFFFF),
[all …]
Dhex_float.h321 SetBits<uint_type, 0, num_fraction_bits + num_overflow_bits>::get;
335 SetBits<uint_type, 0, num_fraction_bits>::get;
342 SetBits<uint_type, num_fraction_bits, num_exponent_bits>::get;
571 SetBits<uint_type, 0, throwaway_mask_bits>::get;
1096 SetBits<uint_type, 0, HF::num_exponent_bits>::get;
/third_party/skia/third_party/externals/spirv-tools/source/util/
Dbitutils.h50 struct SetBits { struct
53 const static T get = (T(1) << First) | SetBits<T, First + 1, Num - 1>::get; argument
57 struct SetBits<T, Last, 0> {
67 static_assert(SetBits<uint32_t, 0, 0>::get == uint32_t(0x00000000),
69 static_assert(SetBits<uint32_t, 0, 1>::get == uint32_t(0x00000001),
71 static_assert(SetBits<uint32_t, 31, 1>::get == uint32_t(0x80000000),
73 static_assert(SetBits<uint32_t, 1, 2>::get == uint32_t(0x00000006),
75 static_assert(SetBits<uint32_t, 30, 2>::get == uint32_t(0xc0000000),
77 static_assert(SetBits<uint32_t, 0, 31>::get == uint32_t(0x7FFFFFFF),
79 static_assert(SetBits<uint32_t, 0, 32>::get == uint32_t(0xFFFFFFFF),
[all …]
Dhex_float.h321 SetBits<uint_type, 0, num_fraction_bits + num_overflow_bits>::get;
335 SetBits<uint_type, 0, num_fraction_bits>::get;
342 SetBits<uint_type, num_fraction_bits, num_exponent_bits>::get;
571 SetBits<uint_type, 0, throwaway_mask_bits>::get;
1096 SetBits<uint_type, 0, HF::num_exponent_bits>::get;
/third_party/spirv-tools/source/util/
Dbitutils.h50 struct SetBits { struct
53 const static T get = (T(1) << First) | SetBits<T, First + 1, Num - 1>::get; argument
57 struct SetBits<T, Last, 0> {
67 static_assert(SetBits<uint32_t, 0, 0>::get == uint32_t(0x00000000),
69 static_assert(SetBits<uint32_t, 0, 1>::get == uint32_t(0x00000001),
71 static_assert(SetBits<uint32_t, 31, 1>::get == uint32_t(0x80000000),
73 static_assert(SetBits<uint32_t, 1, 2>::get == uint32_t(0x00000006),
75 static_assert(SetBits<uint32_t, 30, 2>::get == uint32_t(0xc0000000),
77 static_assert(SetBits<uint32_t, 0, 31>::get == uint32_t(0x7FFFFFFF),
79 static_assert(SetBits<uint32_t, 0, 32>::get == uint32_t(0xFFFFFFFF),
[all …]
Dhex_float.h321 SetBits<uint_type, 0, num_fraction_bits + num_overflow_bits>::get;
335 SetBits<uint_type, 0, num_fraction_bits>::get;
342 SetBits<uint_type, num_fraction_bits, num_exponent_bits>::get;
571 SetBits<uint_type, 0, throwaway_mask_bits>::get;
1082 SetBits<uint_type, 0, HF::num_exponent_bits>::get;