OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SrcLimits
(Results
1 - 5
of
5
) sorted by null
/external/libchrome/base/numerics/
safe_numerics_unittest.cc
50
typedef numeric_limits<Src>
SrcLimits
;
51
static_assert(
SrcLimits
::is_specialized, "Source must be numeric.");
55
if (
SrcLimits
::digits <= DstLimits::digits &&
57
return
SrcLimits
::max();
58
Src max =
SrcLimits
::max() / 2 + (
SrcLimits
::is_integer ? 1 : 0);
339
typedef numeric_limits<Src>
SrcLimits
;
342
static_assert((DstLimits::is_iec559 &&
SrcLimits
::is_integer) ||
344
(!(DstLimits::is_integer &&
SrcLimits
::is_iec559) &&
346
((
SrcLimits
::is_signed == DstLimits::is_signed &
[
all
...]
safe_conversions_impl.h
137
typedef typename std::numeric_limits<Src>
SrcLimits
;
146
SrcLimits
::digits < DstLimits::digits &&
SrcLimits
::is_iec559 &&
148
? (DstLimits::digits -
SrcLimits
::digits)
/external/libweave/third_party/chromium/base/numerics/
safe_numerics_unittest.cc
46
typedef numeric_limits<Src>
SrcLimits
;
47
static_assert(
SrcLimits
::is_specialized, "Source must be numeric.");
51
if (
SrcLimits
::digits <= DstLimits::digits &&
53
return
SrcLimits
::max();
54
Src max =
SrcLimits
::max() / 2 + (
SrcLimits
::is_integer ? 1 : 0);
335
typedef numeric_limits<Src>
SrcLimits
;
338
static_assert((DstLimits::is_iec559 &&
SrcLimits
::is_integer) ||
340
(!(DstLimits::is_integer &&
SrcLimits
::is_iec559) &&
342
((
SrcLimits
::is_signed == DstLimits::is_signed &
[
all
...]
safe_conversions_impl.h
135
typedef typename std::numeric_limits<Src>
SrcLimits
;
144
SrcLimits
::digits < DstLimits::digits &&
SrcLimits
::is_iec559 &&
146
? (DstLimits::digits -
SrcLimits
::digits)
/external/webrtc/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 57 milliseconds