Home
last modified time | relevance | path

Searched refs:is_integral (Results 1 – 25 of 119) sorted by relevance

12345

/third_party/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/numerics/
Dclamped_math_impl.h29 typename std::enable_if<std::is_integral<T>::value && std::is_signed<T>::value>::type * =
41 typename std::enable_if<std::is_integral<T>::value && !std::is_signed<T>::value>::type * =
54 template <typename T, typename std::enable_if<std::is_integral<T>::value>::type * = nullptr>
82 typename std::enable_if<std::is_integral<T>::value && std::is_integral<U>::value>::type>
109 typename std::enable_if<std::is_integral<T>::value && std::is_integral<U>::value>::type>
137 typename std::enable_if<std::is_integral<T>::value && std::is_integral<U>::value>::type>
161 typename std::enable_if<std::is_integral<T>::value && std::is_integral<U>::value>::type>
184 typename std::enable_if<std::is_integral<T>::value && std::is_integral<U>::value>::type>
205 typename std::enable_if<std::is_integral<T>::value && std::is_integral<U>::value>::type>
233 typename std::enable_if<std::is_integral<T>::value && std::is_integral<U>::value>::type>
[all …]
Dchecked_math_impl.h30 static_assert(std::is_integral<T>::value, "Type must be integral"); in CheckedAddImpl()
55 typename std::enable_if<std::is_integral<T>::value && std::is_integral<U>::value>::type>
100 static_assert(std::is_integral<T>::value, "Type must be integral");
124 typename std::enable_if<std::is_integral<T>::value && std::is_integral<U>::value>::type>
169 static_assert(std::is_integral<T>::value, "Type must be integral");
196 typename std::enable_if<std::is_integral<T>::value && std::is_integral<U>::value>::type>
248 typename std::enable_if<std::is_integral<T>::value && std::is_integral<U>::value>::type>
293 typename std::enable_if<std::is_integral<T>::value && std::is_integral<U>::value>::type>
332 typename std::enable_if<std::is_integral<T>::value && std::is_integral<U>::value>::type>
368 typename std::enable_if<std::is_integral<T>::value && std::is_integral<U>::value>::type>
[all …]
Dsafe_conversions.h66 typename std::enable_if<std::is_integral<Dst>::value && std::is_integral<Src>::value &&
85 typename std::enable_if<std::is_integral<Dst>::value && std::is_integral<Src>::value &&
156 : (std::is_integral<Src>::value || !constraint.IsUnderflowFlagSet()
179 typename std::enable_if<std::is_integral<Src>::value && std::is_integral<Dst>::value &&
190 typename std::enable_if<std::is_integral<Src>::value && std::is_integral<Dst>::value &&
377 typename = std::enable_if_t<std::is_integral<Dst>::value && std::is_floating_point<Src>::value>>
385 typename = std::enable_if_t<std::is_integral<Dst>::value && std::is_floating_point<Src>::value>>
393 typename = std::enable_if_t<std::is_integral<Dst>::value && std::is_floating_point<Src>::value>>
Dsafe_math_shared_impl.h134 bool IsInteger = std::is_integral<Numeric>::value,
155 template <typename T, typename std::enable_if<std::is_integral<T>::value>::type * = nullptr>
169 template <typename T, typename std::enable_if<std::is_integral<T>::value>::type * = nullptr>
175 template <typename T, typename std::enable_if<std::is_integral<T>::value>::type * = nullptr>
Dsafe_conversions_arm_impl.h26 std::is_signed<Src>::value && std::is_integral<Dst>::value &&
27 std::is_integral<Src>::value &&
/third_party/gn/src/base/numerics/
Dclamped_math_impl.h25 typename std::enable_if<std::is_integral<T>::value &&
36 typename std::enable_if<std::is_integral<T>::value &&
50 typename std::enable_if<std::is_integral<T>::value>::type* = nullptr>
77 typename std::enable_if<std::is_integral<T>::value &&
78 std::is_integral<U>::value>::type> {
103 typename std::enable_if<std::is_integral<T>::value &&
104 std::is_integral<U>::value>::type> {
130 typename std::enable_if<std::is_integral<T>::value &&
131 std::is_integral<U>::value>::type> {
154 typename std::enable_if<std::is_integral<T>::value &&
[all …]
Dchecked_math_impl.h25 static_assert(std::is_integral<T>::value, "Type must be integral"); in CheckedAddImpl()
47 typename std::enable_if<std::is_integral<T>::value &&
48 std::is_integral<U>::value>::type> {
85 static_assert(std::is_integral<T>::value, "Type must be integral");
107 typename std::enable_if<std::is_integral<T>::value &&
108 std::is_integral<U>::value>::type> {
145 static_assert(std::is_integral<T>::value, "Type must be integral");
169 typename std::enable_if<std::is_integral<T>::value &&
170 std::is_integral<U>::value>::type> {
210 typename std::enable_if<std::is_integral<T>::value &&
[all …]
Dsafe_conversions.h50 std::is_integral<Dst>::value && std::is_integral<Src>::value &&
68 std::is_integral<Dst>::value && std::is_integral<Src>::value &&
140 : (std::is_integral<Src>::value || !constraint.IsUnderflowFlagSet()
161 typename std::enable_if<std::is_integral<Src>::value &&
162 std::is_integral<Dst>::value>::type> {
Dsafe_math_shared_impl.h113 bool IsInteger = std::is_integral<Numeric>::value,
133 typename std::enable_if<std::is_integral<T>::value>::type* = nullptr>
148 typename std::enable_if<std::is_integral<T>::value>::type* = nullptr>
154 typename std::enable_if<std::is_integral<T>::value>::type* = nullptr>
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dscalar_analysis.h192 typename std::enable_if<std::is_integral<T>::value, int>::type = 0>
199 typename std::enable_if<std::is_integral<T>::value, int>::type = 0>
205 typename std::enable_if<std::is_integral<T>::value, int>::type = 0>
210 typename std::enable_if<std::is_integral<T>::value, int>::type = 0>
227 typename std::enable_if<std::is_integral<T>::value, int>::type>
245 typename std::enable_if<std::is_integral<T>::value, int>::type>
259 typename std::enable_if<std::is_integral<T>::value, int>::type>
269 typename std::enable_if<std::is_integral<T>::value, int>::type>
275 typename std::enable_if<std::is_integral<T>::value, int>::type>
282 typename std::enable_if<std::is_integral<T>::value, int>::type>
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dscalar_analysis.h192 typename std::enable_if<std::is_integral<T>::value, int>::type = 0>
199 typename std::enable_if<std::is_integral<T>::value, int>::type = 0>
205 typename std::enable_if<std::is_integral<T>::value, int>::type = 0>
210 typename std::enable_if<std::is_integral<T>::value, int>::type = 0>
227 typename std::enable_if<std::is_integral<T>::value, int>::type>
245 typename std::enable_if<std::is_integral<T>::value, int>::type>
259 typename std::enable_if<std::is_integral<T>::value, int>::type>
269 typename std::enable_if<std::is_integral<T>::value, int>::type>
275 typename std::enable_if<std::is_integral<T>::value, int>::type>
282 typename std::enable_if<std::is_integral<T>::value, int>::type>
[all …]
/third_party/spirv-tools/source/opt/
Dscalar_analysis.h192 typename std::enable_if<std::is_integral<T>::value, int>::type = 0>
199 typename std::enable_if<std::is_integral<T>::value, int>::type = 0>
205 typename std::enable_if<std::is_integral<T>::value, int>::type = 0>
210 typename std::enable_if<std::is_integral<T>::value, int>::type = 0>
227 typename std::enable_if<std::is_integral<T>::value, int>::type>
245 typename std::enable_if<std::is_integral<T>::value, int>::type>
259 typename std::enable_if<std::is_integral<T>::value, int>::type>
269 typename std::enable_if<std::is_integral<T>::value, int>::type>
275 typename std::enable_if<std::is_integral<T>::value, int>::type>
282 typename std::enable_if<std::is_integral<T>::value, int>::type>
[all …]
/third_party/mesa3d/src/compiler/nir/
Dnir_range_analysis.c49 return (void *)(uintptr_t)(r.range | r.is_integral << 8 | r.is_finite << 9 | in pack_data()
60 .is_integral = (v & 0x00100) != 0, in unpack_data()
127 r.is_integral = true; in analyze_constant()
136 r.is_integral = false; in analyze_constant()
591 r.is_integral = left.is_integral && right.is_integral; in analyze_expression()
616 r.is_integral = true; in analyze_expression()
653 r.is_integral = left.is_integral && right.is_integral; in analyze_expression()
680 r.is_integral = r.is_integral && is_not_negative(r.range); in analyze_expression()
695 r.is_integral = left.is_integral && right.is_integral; in analyze_expression()
781 r.is_integral = left.is_integral && right.is_integral; in analyze_expression()
[all …]
/third_party/node/deps/v8/src/base/
Dsafe_conversions.h67 std::is_integral<Dst>::value && std::is_integral<Src>::value &&
84 std::is_integral<Dst>::value && std::is_integral<Src>::value &&
155 : (std::is_integral<Src>::value || !constraint.IsUnderflowFlagSet()
175 typename std::enable_if<std::is_integral<Src>::value &&
176 std::is_integral<Dst>::value &&
187 typename std::enable_if<std::is_integral<Src>::value &&
188 std::is_integral<Dst>::value &&
366 typename = std::enable_if_t<std::is_integral<Dst>::value &&
372 typename = std::enable_if_t<std::is_integral<Dst>::value &&
378 typename = std::enable_if_t<std::is_integral<Dst>::value &&
Dsafe_conversions_arm_impl.h29 std::is_signed<Src>::value && std::is_integral<Dst>::value &&
30 std::is_integral<Src>::value &&
Dmacros.h327 STATIC_ASSERT(std::is_integral<T>::value); in RoundDown()
334 STATIC_ASSERT(std::is_integral<T>::value); in RoundDown()
343 STATIC_ASSERT(std::is_integral<T>::value); in RoundUp()
348 STATIC_ASSERT(std::is_integral<T>::value); in RoundUp()
/third_party/node/deps/v8/src/numbers/
Dinteger-literal.h29 static_assert(std::is_integral<T>::value, "Integral type required"); in IsRepresentableAs()
38 static_assert(std::is_integral<T>::value, "Integral type required"); in To()
47 static_assert(std::is_integral<T>::value, "Integral type required"); in TryTo()
68 static_assert(std::is_integral<T>::value, "Integral type required"); in IntegerLiteral()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Duniform_helper.h103 std::is_integral<IntType>,
134 std::is_integral<IntType>,
156 std::is_integral<IntType>,
204 absl::enable_if_t<std::is_integral<IntType>::value, bool>
213 typename std::conditional<std::is_integral<NumType>::value,
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/
Dbitutils.h39 static_assert(std::is_integral<T>::value, "Integer type required");
98 static_assert(std::is_integral<T>::value,
113 static_assert(std::is_integral<T>::value, "Integer type required");
128 static_assert(std::is_integral<T>::value, "Integer type required");
/third_party/skia/third_party/externals/spirv-tools/source/util/
Dbitutils.h39 static_assert(std::is_integral<T>::value, "Integer type required");
98 static_assert(std::is_integral<T>::value,
113 static_assert(std::is_integral<T>::value, "Integer type required");
128 static_assert(std::is_integral<T>::value, "Integer type required");
/third_party/spirv-tools/source/util/
Dbitutils.h39 static_assert(std::is_integral<T>::value, "Integer type required");
98 static_assert(std::is_integral<T>::value,
113 static_assert(std::is_integral<T>::value, "Integer type required");
128 static_assert(std::is_integral<T>::value, "Integer type required");
/third_party/skia/third_party/externals/dawn/src/common/
DTypedInteger.h57 template <typename Tag, typename T, typename = std::enable_if_t<std::is_integral<T>::value>>
67 static_assert(std::is_integral<T>::value, "TypedInteger must be integral");
79 std::is_integral<I>::value &&
251 constexpr std::enable_if_t<std::is_integral<T>::value, T> Add(T lhs, T rhs) { in Add()
256 constexpr std::enable_if_t<std::is_integral<T>::value, T> Sub(T lhs, T rhs) { in Sub()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_add_synonym.cpp216 auto is_integral = (synonym_type->AsVector() && in MakeSynonymousInstruction() local
222 opcode = is_integral ? SpvOpISub : SpvOpFSub; in MakeSynonymousInstruction()
225 opcode = is_integral ? SpvOpIMul : SpvOpFMul; in MakeSynonymousInstruction()
228 opcode = is_integral ? SpvOpIAdd : SpvOpFAdd; in MakeSynonymousInstruction()
/third_party/spirv-tools/source/fuzz/
Dtransformation_add_synonym.cpp216 auto is_integral = (synonym_type->AsVector() && in MakeSynonymousInstruction() local
222 opcode = is_integral ? SpvOpISub : SpvOpFSub; in MakeSynonymousInstruction()
225 opcode = is_integral ? SpvOpIMul : SpvOpFMul; in MakeSynonymousInstruction()
228 opcode = is_integral ? SpvOpIAdd : SpvOpFAdd; in MakeSynonymousInstruction()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_add_synonym.cpp216 auto is_integral = (synonym_type->AsVector() && in MakeSynonymousInstruction() local
222 opcode = is_integral ? SpvOpISub : SpvOpFSub; in MakeSynonymousInstruction()
225 opcode = is_integral ? SpvOpIMul : SpvOpFMul; in MakeSynonymousInstruction()
228 opcode = is_integral ? SpvOpIAdd : SpvOpFAdd; in MakeSynonymousInstruction()

12345