Home
last modified time | relevance | path

Searched refs:SetBits (Results 1 - 15 of 15) sorted by relevance

/third_party/glslang/SPIRV/
H A Dbitutils.h33 // SetBits<T, First, Num> returns an integer of type <T> with bits set
39 struct SetBits { struct
42 const static T get = (T(1) << First) | SetBits<T, First + 1, Num - 1>::get;
46 struct SetBits<T, Last, 0> {
51 static_assert(SetBits<uint32_t, 0, 0>::get == uint32_t(0x00000000),
52 "SetBits failed");
53 static_assert(SetBits<uint32_t, 0, 1>::get == uint32_t(0x00000001),
54 "SetBits failed");
55 static_assert(SetBits<uint32_t, 31, 1>::get == uint32_t(0x80000000),
56 "SetBits faile
[all...]
H A Dhex_float.h274 spvutils::SetBits<uint_type, 0,
289 spvutils::SetBits<uint_type, 0, num_fraction_bits>::get;
296 spvutils::SetBits<uint_type, num_fraction_bits, num_exponent_bits>::get;
488 spvutils::SetBits<uint_type, 0, throwaway_mask_bits>::get; in getRoundedNormalizedSignificand()
999 SetBits<uint_type, 0, HF::num_exponent_bits>::get; in operator >>()
/third_party/skia/third_party/externals/spirv-tools/source/util/
H A Dbitutils.h44 // SetBits<T, First, Num> returns an integer of type <T> with bits set
50 struct SetBits { struct
53 const static T get = (T(1) << First) | SetBits<T, First + 1, Num - 1>::get;
57 struct SetBits<T, Last, 0> {
67 static_assert(SetBits<uint32_t, 0, 0>::get == uint32_t(0x00000000),
68 "SetBits failed");
69 static_assert(SetBits<uint32_t, 0, 1>::get == uint32_t(0x00000001),
70 "SetBits failed");
71 static_assert(SetBits<uint32_t, 31, 1>::get == uint32_t(0x80000000),
72 "SetBits faile
[all...]
H A 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; in getRoundedNormalizedSignificand()
1096 SetBits<uint_type, 0, HF::num_exponent_bits>::get; in operator >>()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/
H A Dbitutils.h44 // SetBits<T, First, Num> returns an integer of type <T> with bits set
50 struct SetBits { struct
53 const static T get = (T(1) << First) | SetBits<T, First + 1, Num - 1>::get;
57 struct SetBits<T, Last, 0> {
67 static_assert(SetBits<uint32_t, 0, 0>::get == uint32_t(0x00000000),
68 "SetBits failed");
69 static_assert(SetBits<uint32_t, 0, 1>::get == uint32_t(0x00000001),
70 "SetBits failed");
71 static_assert(SetBits<uint32_t, 31, 1>::get == uint32_t(0x80000000),
72 "SetBits faile
[all...]
H A 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; in getRoundedNormalizedSignificand()
1096 SetBits<uint_type, 0, HF::num_exponent_bits>::get; in operator >>()
/third_party/spirv-tools/source/util/
H A Dbitutils.h44 // SetBits<T, First, Num> returns an integer of type <T> with bits set
50 struct SetBits { struct
53 const static T get = (T(1) << First) | SetBits<T, First + 1, Num - 1>::get;
57 struct SetBits<T, Last, 0> {
67 static_assert(SetBits<uint32_t, 0, 0>::get == uint32_t(0x00000000),
68 "SetBits failed");
69 static_assert(SetBits<uint32_t, 0, 1>::get == uint32_t(0x00000001),
70 "SetBits failed");
71 static_assert(SetBits<uint32_t, 31, 1>::get == uint32_t(0x80000000),
72 "SetBits faile
[all...]
H A Dhex_float.h322 SetBits<uint_type, 0, num_fraction_bits + num_overflow_bits>::get;
336 SetBits<uint_type, 0, num_fraction_bits>::get;
343 SetBits<uint_type, num_fraction_bits, num_exponent_bits>::get;
572 SetBits<uint_type, 0, throwaway_mask_bits>::get; in getRoundedNormalizedSignificand()
1191 SetBits<uint_type, 0, HF::num_exponent_bits>::get; in operator >>()
/third_party/node/deps/v8/src/heap/
H A Dmarking.h68 return base::AsAtomic32::SetBits(cell_, mask_, mask_); in Set()
90 return base::AsAtomic32::SetBits(cell_, 0u, mask_); in Clear()
255 base::AsAtomic32::SetBits(cells() + cell_index, mask, mask); in SetBitsInCell()
267 base::AsAtomic32::SetBits(cells() + cell_index, 0u, mask); in ClearBitsInCell()
H A Dslot-set.h444 base::AsAtomic32::SetBits(cell(cell_index), mask, mask); in SetCellBits()
452 base::AsAtomic32::SetBits(cell(cell_index), 0u, mask); in ClearCellBits()
/third_party/node/deps/v8/src/base/
H A Datomic-utils.h155 static bool SetBits(T* addr, T bits, T mask) { in SetBits() function in v8::base::AsAtomicImpl
232 static bool SetBits(T* addr, T bits, T mask) = delete;
/third_party/node/deps/v8/src/execution/arm64/
H A Dsimulator-arm64.h291 void SetBits(int msb, int lsb, uint32_t bits);
299 SetBits(HighBit, LowBit, static_cast<Type>(bits)); \
H A Dsimulator-arm64.cc101 void SimSystemRegister::SetBits(int msb, int lsb, uint32_t bits) { in SetBits() function in v8::internal::SimSystemRegister
/third_party/vixl/src/aarch64/
H A Dsimulator-aarch64.h1142 void SetBits(int msb, int lsb, uint32_t bits);
1150 void Set##Name(uint32_t bits) { SetBits(HighBit, LowBit, bits); }
H A Dsimulator-aarch64.cc47 void SimSystemRegister::SetBits(int msb, int lsb, uint32_t bits) { in SetBits() function in vixl::aarch64::SimSystemRegister

Completed in 44 milliseconds