OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SrcLimits
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/base/numerics/
safe_numerics_unittest.cc
308
typedef numeric_limits<Src>
SrcLimits
;
311
COMPILE_ASSERT((DstLimits::is_iec559 &&
SrcLimits
::is_integer) ||
313
(!(DstLimits::is_integer &&
SrcLimits
::is_iec559) &&
315
((
SrcLimits
::is_signed == DstLimits::is_signed &&
321
const CheckedNumeric<Dst> checked_dst =
SrcLimits
::max();
327
TEST_EXPECTED_VALIDITY(RANGE_VALID,
SrcLimits
::max() * checked_dst);
330
TEST_EXPECTED_VALIDITY(RANGE_OVERFLOW,
SrcLimits
::max() * checked_dst);
337
TEST_EXPECTED_RANGE(RANGE_VALID,
SrcLimits
::max());
339
if (
SrcLimits
::is_iec559) {
340
TEST_EXPECTED_RANGE(RANGE_VALID,
SrcLimits
::max() * static_cast<Src>(-1))
[
all
...]
/external/chromium_org/third_party/webrtc/base/
safe_conversions_impl.h
49
typedef std::numeric_limits<Src>
SrcLimits
;
54
static const size_t kSrcMaxExponent =
SrcLimits
::is_iec559 ?
55
SrcLimits
::max_exponent :
70
typedef std::numeric_limits<Src>
SrcLimits
;
162
typedef std::numeric_limits<Src>
SrcLimits
;
165
static const size_t kSrcMaxExponent =
SrcLimits
::is_iec559 ?
166
SrcLimits
::max_exponent :
Completed in 97 milliseconds