Home
last modified time | relevance | path

Searched refs:is_unsigned (Results 1 – 25 of 178) sorted by relevance

12345678

/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/
Dis_unsigned.pass.cpp20 static_assert( std::is_unsigned<T>::value, ""); in test_is_unsigned()
21 static_assert( std::is_unsigned<const T>::value, ""); in test_is_unsigned()
22 static_assert( std::is_unsigned<volatile T>::value, ""); in test_is_unsigned()
23 static_assert( std::is_unsigned<const volatile T>::value, ""); in test_is_unsigned()
35 static_assert(!std::is_unsigned<T>::value, ""); in test_is_not_unsigned()
36 static_assert(!std::is_unsigned<const T>::value, ""); in test_is_not_unsigned()
37 static_assert(!std::is_unsigned<volatile T>::value, ""); in test_is_not_unsigned()
38 static_assert(!std::is_unsigned<const volatile T>::value, ""); in test_is_not_unsigned()
/external/llvm-project/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/
Dis_unsigned.pass.cpp19 static_assert( std::is_unsigned<T>::value, ""); in test_is_unsigned()
20 static_assert( std::is_unsigned<const T>::value, ""); in test_is_unsigned()
21 static_assert( std::is_unsigned<volatile T>::value, ""); in test_is_unsigned()
22 static_assert( std::is_unsigned<const volatile T>::value, ""); in test_is_unsigned()
34 static_assert(!std::is_unsigned<T>::value, ""); in test_is_not_unsigned()
35 static_assert(!std::is_unsigned<const T>::value, ""); in test_is_not_unsigned()
36 static_assert(!std::is_unsigned<volatile T>::value, ""); in test_is_not_unsigned()
37 static_assert(!std::is_unsigned<const volatile T>::value, ""); in test_is_not_unsigned()
/external/libcxx/test/std/depr/depr.c.headers/
Dstdint_h.pass.cpp47 static_assert(std::is_unsigned<uint8_t>::value, in main()
52 static_assert(std::is_unsigned<uint16_t>::value, in main()
57 static_assert(std::is_unsigned<uint32_t>::value, in main()
62 static_assert(std::is_unsigned<uint64_t>::value, in main()
89 static_assert(std::is_unsigned<uint_least8_t>::value, in main()
94 static_assert(std::is_unsigned<uint_least16_t>::value, in main()
99 static_assert(std::is_unsigned<uint_least32_t>::value, in main()
104 static_assert(std::is_unsigned<uint_least64_t>::value, in main()
131 static_assert(std::is_unsigned<uint_fast8_t>::value, in main()
136 static_assert(std::is_unsigned<uint_fast16_t>::value, in main()
[all …]
/external/llvm-project/libcxx/test/std/depr/depr.c.headers/
Dstdint_h.pass.cpp48 static_assert(std::is_unsigned<uint8_t>::value, in main()
53 static_assert(std::is_unsigned<uint16_t>::value, in main()
58 static_assert(std::is_unsigned<uint32_t>::value, in main()
63 static_assert(std::is_unsigned<uint64_t>::value, in main()
90 static_assert(std::is_unsigned<uint_least8_t>::value, in main()
95 static_assert(std::is_unsigned<uint_least16_t>::value, in main()
100 static_assert(std::is_unsigned<uint_least32_t>::value, in main()
105 static_assert(std::is_unsigned<uint_least64_t>::value, in main()
132 static_assert(std::is_unsigned<uint_fast8_t>::value, in main()
137 static_assert(std::is_unsigned<uint_fast16_t>::value, in main()
[all …]
/external/angle/third_party/abseil-cpp/absl/numeric/
Dbits.h57 typename std::enable_if<std::is_unsigned<T>::value, T>::type
64 typename std::enable_if<std::is_unsigned<T>::value, T>::type
76 typename std::enable_if<std::is_unsigned<T>::value, int>::type
83 typename std::enable_if<std::is_unsigned<T>::value, int>::type
91 typename std::enable_if<std::is_unsigned<T>::value, int>::type
98 typename std::enable_if<std::is_unsigned<T>::value, int>::type
106 typename std::enable_if<std::is_unsigned<T>::value, int>::type
125 constexpr inline typename std::enable_if<std::is_unsigned<T>::value, bool>::type
134 typename std::enable_if<std::is_unsigned<T>::value, T>::type
143 typename std::enable_if<std::is_unsigned<T>::value, T>::type
[all …]
/external/libcxx/test/std/language.support/cstdint/cstdint.syn/
Dcstdint.pass.cpp48 static_assert(std::is_unsigned<std::uint8_t>::value, in main()
53 static_assert(std::is_unsigned<std::uint16_t>::value, in main()
58 static_assert(std::is_unsigned<std::uint32_t>::value, in main()
63 static_assert(std::is_unsigned<std::uint64_t>::value, in main()
90 static_assert(std::is_unsigned<std::uint_least8_t>::value, in main()
95 static_assert(std::is_unsigned<std::uint_least16_t>::value, in main()
100 static_assert(std::is_unsigned<std::uint_least32_t>::value, in main()
105 static_assert(std::is_unsigned<std::uint_least64_t>::value, in main()
132 static_assert(std::is_unsigned<std::uint_fast8_t>::value, in main()
137 static_assert(std::is_unsigned<std::uint_fast16_t>::value, in main()
[all …]
/external/llvm-project/libcxx/test/std/language.support/cstdint/cstdint.syn/
Dcstdint.pass.cpp49 static_assert(std::is_unsigned<std::uint8_t>::value, in main()
54 static_assert(std::is_unsigned<std::uint16_t>::value, in main()
59 static_assert(std::is_unsigned<std::uint32_t>::value, in main()
64 static_assert(std::is_unsigned<std::uint64_t>::value, in main()
91 static_assert(std::is_unsigned<std::uint_least8_t>::value, in main()
96 static_assert(std::is_unsigned<std::uint_least16_t>::value, in main()
101 static_assert(std::is_unsigned<std::uint_least32_t>::value, in main()
106 static_assert(std::is_unsigned<std::uint_least64_t>::value, in main()
133 static_assert(std::is_unsigned<std::uint_fast8_t>::value, in main()
138 static_assert(std::is_unsigned<std::uint_fast16_t>::value, in main()
[all …]
/external/pdfium/third_party/base/
Dbits.h61 typename std::enable_if<std::is_unsigned<T>::value && sizeof(T) <= 4,
73 typename std::enable_if<std::is_unsigned<T>::value && sizeof(T) == 8,
85 typename std::enable_if<std::is_unsigned<T>::value && sizeof(T) <= 4,
96 typename std::enable_if<std::is_unsigned<T>::value && sizeof(T) == 8,
126 typename std::enable_if<std::is_unsigned<T>::value && sizeof(T) <= 8,
139 typename std::enable_if<std::is_unsigned<T>::value && sizeof(T) <= 8,
/external/libchrome/base/
Dbits.h59 typename std::enable_if<std::is_unsigned<T>::value && sizeof(T) <= 4,
71 typename std::enable_if<std::is_unsigned<T>::value && sizeof(T) == 8,
83 typename std::enable_if<std::is_unsigned<T>::value && sizeof(T) <= 4,
94 typename std::enable_if<std::is_unsigned<T>::value && sizeof(T) == 8,
124 typename std::enable_if<std::is_unsigned<T>::value && sizeof(T) <= 8,
137 typename std::enable_if<std::is_unsigned<T>::value && sizeof(T) <= 8,
/external/tensorflow/tensorflow/python/framework/
Ddtypes_test.py225 self.assertEqual(dtypes.as_dtype("int8").is_unsigned, False)
226 self.assertEqual(dtypes.as_dtype("int16").is_unsigned, False)
227 self.assertEqual(dtypes.as_dtype("int32").is_unsigned, False)
228 self.assertEqual(dtypes.as_dtype("int64").is_unsigned, False)
229 self.assertEqual(dtypes.as_dtype("uint8").is_unsigned, True)
230 self.assertEqual(dtypes.as_dtype("uint16").is_unsigned, True)
231 self.assertEqual(dtypes.as_dtype("float32").is_unsigned, False)
232 self.assertEqual(dtypes.as_dtype("float64").is_unsigned, False)
233 self.assertEqual(dtypes.as_dtype("bool").is_unsigned, False)
234 self.assertEqual(dtypes.as_dtype("string").is_unsigned, False)
[all …]
/external/webrtc/rtc_base/numerics/
Dmod_ops.h66 static_assert(std::is_unsigned<T>::value, in ForwardDiff()
75 static_assert(std::is_unsigned<T>::value, in ForwardDiff()
111 static_assert(std::is_unsigned<T>::value, in ReverseDiff()
120 static_assert(std::is_unsigned<T>::value, in ReverseDiff()
135 static_assert(std::is_unsigned<T>::value, in MinDiff()
Dsequence_number_util.h32 static_assert(std::is_unsigned<T>::value, in AheadOrAt()
42 static_assert(std::is_unsigned<T>::value, in AheadOrAt()
62 static_assert(std::is_unsigned<T>::value, in AheadOf()
90 std::is_unsigned<T>::value &&
Dsafe_compare.h92 std::is_unsigned<T2>::value &&
103 typename std::enable_if<std::is_unsigned<T1>::value &&
116 std::is_unsigned<T2>::value &&
127 typename std::enable_if<std::is_unsigned<T1>::value &&
/external/libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/
Dtest_min_max.pass.cpp28 const bool is_unsigned = std::is_unsigned<T>::value; in check_limits() local
49 if (!is_unsigned) { in check_limits()
/external/llvm-project/libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/
Dtest_min_max.pass.cpp27 const bool is_unsigned = std::is_unsigned<T>::value; in check_limits() local
48 if (!is_unsigned) { in check_limits()
/external/angle/third_party/abseil-cpp/absl/numeric/internal/
Dbits.h76 static_assert(std::is_unsigned<T>::value, "T must be unsigned"); in RotateRight()
87 static_assert(std::is_unsigned<T>::value, "T must be unsigned"); in RotateLeft()
125 static_assert(std::is_unsigned<T>::value, "T must be unsigned"); in Popcount()
235 static_assert(std::is_unsigned<T>::value, "T must be unsigned"); in CountLeadingZeroes()
318 static_assert(std::is_unsigned<T>::value, "T must be unsigned"); in CountTrailingZeroes()
336 typename std::enable_if<std::is_unsigned<T>::value, T>::type
343 typename std::enable_if<std::is_unsigned<T>::value, T>::type
/external/tensorflow/tensorflow/compiler/mlir/xla/
Dtype_to_shape.cc64 bool is_unsigned = integer_type.isUnsigned(); in TypeToPrimitiveType() local
69 return is_unsigned ? PrimitiveType::U8 : PrimitiveType::S8; in TypeToPrimitiveType()
71 return is_unsigned ? PrimitiveType::U16 : PrimitiveType::S16; in TypeToPrimitiveType()
73 return is_unsigned ? PrimitiveType::U32 : PrimitiveType::S32; in TypeToPrimitiveType()
75 return is_unsigned ? PrimitiveType::U64 : PrimitiveType::S64; in TypeToPrimitiveType()
/external/flatbuffers/include/flatbuffers/
Dstl_emulation.h140 template <typename T> using is_unsigned = std::is_unsigned<T>; variable
153 template <typename T> using is_unsigned = std::tr1::is_unsigned<T>; variable
157 static_assert(is_unsigned<T>::value, "Specialization not implemented!");
177 template <typename T> struct is_unsigned : public std::is_unsigned<T> {};
/external/skqp/include/private/
DSkTFitsIn.h63 (std::is_signed<S>::value && std::is_unsigned<D>::value && sizeof(S) <= sizeof(D)) ? in SkTFitsIn()
67 (std::is_signed<D>::value && std::is_unsigned<S>::value && sizeof(D) <= sizeof(S)) ? in SkTFitsIn()
/external/llvm-project/llvm/include/llvm/Support/
DCheckedArithmetic.h85 std::enable_if_t<std::is_unsigned<T>::value, llvm::Optional<T>>
94 std::enable_if_t<std::is_unsigned<T>::value, llvm::Optional<T>>
103 std::enable_if_t<std::is_unsigned<T>::value, llvm::Optional<T>>
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DCheckedArithmetic.h85 typename std::enable_if<std::is_unsigned<T>::value, llvm::Optional<T>>::type
94 typename std::enable_if<std::is_unsigned<T>::value, llvm::Optional<T>>::type
103 typename std::enable_if<std::is_unsigned<T>::value, llvm::Optional<T>>::type
/external/llvm-project/llvm/include/llvm/ADT/
DBitfields.h120 template <typename T, unsigned Bits, bool = std::is_unsigned<T>::value>
122 static_assert(std::is_unsigned<T>::value, "T is unsigned");
157 static_assert(std::is_unsigned<StorageType>::value,
242 std::is_unsigned<IntegerType>::value,
/external/skia/include/private/
DSkTFitsIn.h78 (std::is_signed<S>::value && std::is_unsigned<D>::value && sizeof(S) <= sizeof(D)) ?
82 (std::is_signed<D>::value && std::is_unsigned<S>::value && sizeof(D) <= sizeof(S)) ?
/external/webrtc/third_party/abseil-cpp/absl/random/internal/
Dpool_urbg.h36 static_assert(std::is_unsigned<result_type>::value,
82 static_assert(std::is_unsigned<result_type>::value,
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/internal/
Dpool_urbg.h36 static_assert(std::is_unsigned<result_type>::value,
82 static_assert(std::is_unsigned<result_type>::value,

12345678