Home
last modified time | relevance | path

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

/third_party/flutter/skia/third_party/externals/spirv-tools/source/util/
Dparse_number.h124 uint64_t sign_mask = 0; in CheckRangeAndIfHexThenSignExtend() local
130 sign_mask = magnitude_mask + 1; in CheckRangeAndIfHexThenSignExtend()
137 ((value & sign_mask) != sign_mask); in CheckRangeAndIfHexThenSignExtend()
156 if (is_hex && (value & sign_mask)) in CheckRangeAndIfHexThenSignExtend()
Dhex_float.h293 static const uint_type sign_mask = uint_type(1) << top_bit_left_shift;
318 ~sign_mask);
342 if ((getBits() & ~sign_mask) == 0) { // special case if everything is 0
369 bool isNegative() const { return (getBits() & sign_mask) != 0; }
409 new_value = static_cast<uint_type>(new_value | sign_mask);
605 (negate ? other_T::sign_mask : 0) | other_T::exponent_mask)));
620 (negate ? other_T::sign_mask : 0) | other_T::exponent_mask |
679 const char* const sign = (bits & HF::sign_mask) ? "-" : "";
/third_party/skia/third_party/externals/spirv-tools/source/util/
Dparse_number.h125 uint64_t sign_mask = 0; in CheckRangeAndIfHexThenSignExtend() local
131 sign_mask = magnitude_mask + 1; in CheckRangeAndIfHexThenSignExtend()
138 ((value & sign_mask) != sign_mask); in CheckRangeAndIfHexThenSignExtend()
157 if (is_hex && (value & sign_mask)) in CheckRangeAndIfHexThenSignExtend()
Dhex_float.h338 static const uint_type sign_mask = uint_type(1) << top_bit_left_shift;
362 return static_cast<uint_type>(value_.data() & ~sign_mask);
386 if ((getBits() & ~sign_mask) == 0) { // special case if everything is 0
413 bool isNegative() const { return (getBits() & sign_mask) != 0; }
453 new_value = static_cast<uint_type>(new_value | sign_mask);
677 (negate ? other_T::sign_mask : 0) | other_T::exponent_mask)));
692 (negate ? other_T::sign_mask : 0) | other_T::exponent_mask |
751 const char* const sign = (bits & HF::sign_mask) ? "-" : "";
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/
Dparse_number.h125 uint64_t sign_mask = 0; in CheckRangeAndIfHexThenSignExtend() local
131 sign_mask = magnitude_mask + 1; in CheckRangeAndIfHexThenSignExtend()
138 ((value & sign_mask) != sign_mask); in CheckRangeAndIfHexThenSignExtend()
157 if (is_hex && (value & sign_mask)) in CheckRangeAndIfHexThenSignExtend()
Dhex_float.h338 static const uint_type sign_mask = uint_type(1) << top_bit_left_shift;
362 return static_cast<uint_type>(value_.data() & ~sign_mask);
386 if ((getBits() & ~sign_mask) == 0) { // special case if everything is 0
413 bool isNegative() const { return (getBits() & sign_mask) != 0; }
453 new_value = static_cast<uint_type>(new_value | sign_mask);
677 (negate ? other_T::sign_mask : 0) | other_T::exponent_mask)));
692 (negate ? other_T::sign_mask : 0) | other_T::exponent_mask |
751 const char* const sign = (bits & HF::sign_mask) ? "-" : "";
/third_party/boost/boost/atomic/detail/
Dextra_fp_ops_generic.hpp105 …static BOOST_CONSTEXPR_OR_CONST storage_type sign_mask = static_cast< storage_type >(1u) << (atomi… member
109 …rn atomics::detail::bitwise_fp_cast< value_type >(base_type::fetch_xor(storage, sign_mask, order)); in fetch_negate()
114 … atomics::detail::bitwise_fp_cast< value_type >(base_type::bitwise_xor(storage, sign_mask, order)); in negate()
119 base_type::opaque_xor(storage, sign_mask, order); in opaque_negate()
/third_party/skia/src/core/
DSkHalf.cpp34 static const uint32_t sign_mask = 0x80000000u; in SkFloatToHalf() local
41 uint32_t sign = floatUnion.fUInt & sign_mask; in SkFloatToHalf()
/third_party/flutter/skia/src/core/
DSkHalf.cpp34 static const uint32_t sign_mask = 0x80000000u; in SkFloatToHalf() local
41 uint32_t sign = floatUnion.fUInt & sign_mask; in SkFloatToHalf()
/third_party/boost/libs/multiprecision/test/
Dtest_arithmetic.hpp236 int sign_mask = ~0; in test_complement() local
239 BOOST_CHECK_EQUAL(~a, (~i & sign_mask)); in test_complement()
241 BOOST_CHECK_EQUAL(c, (i & (~j & sign_mask))); in test_complement()
243 BOOST_CHECK_EQUAL(c, (~(i | j) & sign_mask)); in test_complement()