OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Promotion
(Results
1 - 10
of
10
) sorted by null
/external/v8/src/base/
safe_math.h
203
typedef typename ArithmeticPromotion<T>::type
Promotion
; \
207
if (IsIntegerArithmeticSafe<
Promotion
, T, T>::value) \
208
return CheckedNumeric<
Promotion
>( \
212
T result = Checked##NAME(static_cast<
Promotion
>(lhs.ValueUnsafe()), \
213
static_cast<
Promotion
>(rhs.ValueUnsafe()), \
215
return CheckedNumeric<
Promotion
>( \
230
typedef typename ArithmeticPromotion<T, Src>::type
Promotion
; \
231
if (IsIntegerArithmeticSafe<
Promotion
, T, Src>::value) \
232
return CheckedNumeric<
Promotion
>( \
235
return CheckedNumeric<
Promotion
>::cast(lhs)
[
all
...]
safe_math_impl.h
55
// Integer
promotion
templates used by the portable checked integer arithmetic.
478
// The following template specializations implement that
promotion
logic.
487
ArithmeticPromotionCategory
Promotion
=
/external/libchrome/base/numerics/
safe_math_arm_impl.h
35
using
Promotion
= typename FastIntegerArithmeticPromotion<T, U>::type;
36
Promotion
presult;
38
presult = static_cast<
Promotion
>(x) * static_cast<
Promotion
>(y);
113
using
Promotion
= typename FastIntegerArithmeticPromotion<T, U>::type;
114
return saturated_cast<V>(static_cast<
Promotion
>(x) *
115
static_cast<
Promotion
>(y));
checked_math_impl.h
58
using
Promotion
=
65
if (BASE_NUMERICS_UNLIKELY(!IsValueInRangeForNumericType<
Promotion
>(x) ||
66
!IsValueInRangeForNumericType<
Promotion
>(y))) {
70
Promotion
presult = {};
72
if (IsIntegerArithmeticSafe<
Promotion
, T, U>::value) {
73
presult = static_cast<
Promotion
>(x) + static_cast<
Promotion
>(y);
75
is_valid = CheckedAddImpl(static_cast<
Promotion
>(x),
76
static_cast<
Promotion
>(y), &presult);
118
using
Promotion
[
all
...]
safe_conversions_impl.h
358
using
Promotion
= decltype(Src() + Dst());
360
static_cast<
Promotion
>(value) >=
361
static_cast<
Promotion
>(DstLimits::lowest()),
362
static_cast<
Promotion
>(value) <=
363
static_cast<
Promotion
>(DstLimits::max()));
379
using
Promotion
= decltype(Src() + Dst());
383
static_cast<
Promotion
>(SrcLimits::max()) <=
384
static_cast<
Promotion
>(DstLimits::max()) ||
385
static_cast<
Promotion
>(value) <=
386
static_cast<
Promotion
>(DstLimits::max()))
[
all
...]
/external/pdfium/third_party/base/numerics/
safe_math_impl.h
87
using
Promotion
= typename BigEnoughPromotion<T, U>::type;
88
Promotion
presult;
91
bool is_valid = IsValueInRangeForNumericType<
Promotion
>(x) &&
92
IsValueInRangeForNumericType<
Promotion
>(y);
94
if (IsIntegerArithmeticSafe<
Promotion
, T, U>::value) {
95
presult = static_cast<
Promotion
>(x) + static_cast<
Promotion
>(y);
97
is_valid &= CheckedAddImpl(static_cast<
Promotion
>(x),
98
static_cast<
Promotion
>(y), &presult);
138
using
Promotion
= typename BigEnoughPromotion<T, U>::type
[
all
...]
safe_conversions_impl.h
309
using
Promotion
= decltype(Src() + Dst());
311
static_cast<
Promotion
>(value) >=
312
static_cast<
Promotion
>(DstLimits::lowest()),
313
static_cast<
Promotion
>(value) <=
314
static_cast<
Promotion
>(DstLimits::max()));
330
using
Promotion
= decltype(Src() + Dst());
334
static_cast<
Promotion
>(SrcLimits::max()) <=
335
static_cast<
Promotion
>(DstLimits::max()) ||
336
static_cast<
Promotion
>(value) <=
337
static_cast<
Promotion
>(DstLimits::max()))
[
all
...]
/external/grpc-grpc-java/buildscripts/
sonatype-upload.sh
23
* Build
Promotion
> Staging Profiles
/external/llvm/lib/Target/AArch64/
AArch64PromoteConstant.cpp
189
/// Do the constant
promotion
indicated by the Updates records, keeping track
527
auto &
Promotion
= PromotionCache[C];
528
ensurePromotedGV(F, *C,
Promotion
);
529
insertDefinitions(F, *
Promotion
.GV, InsertPts);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
AArch64PromoteConstant.cpp
200
/// Do the constant
promotion
indicated by the Updates records, keeping track
534
auto &
Promotion
= PromotionCache[C];
535
ensurePromotedGV(F, *C,
Promotion
);
536
insertDefinitions(F, *
Promotion
.GV, InsertPts);
Completed in 967 milliseconds