HomeSort by relevance Sort by last modified time
    Searched refs:saturated_cast (Results 1 - 9 of 9) sorted by null

  /external/pdfium/third_party/base/numerics/
safe_conversions.h 33 // saturated_cast<> is analogous to static_cast<> for numeric types, except
37 inline Dst saturated_cast(Src value) { function in namespace:pdfium::base
  /external/v8/src/base/
safe_conversions.h 35 // saturated_cast<> is analogous to static_cast<> for numeric types, except
39 inline Dst saturated_cast(Src value) { function in namespace:v8::base
  /external/webrtc/webrtc/base/
safe_conversions.h 39 // saturated_cast<> is analogous to static_cast<> for numeric types, except
43 inline Dst saturated_cast(Src value) { function in namespace:rtc
  /external/libchrome/base/numerics/
safe_numerics_unittest.cc 29 using base::saturated_cast;
656 EXPECT_EQ(saturated_cast<int>(small_negative),
658 EXPECT_EQ(saturated_cast<int>(small_positive),
660 EXPECT_EQ(saturated_cast<unsigned>(small_negative),
662 EXPECT_EQ(saturated_cast<int>(double_small),
664 EXPECT_EQ(saturated_cast<int>(double_large), numeric_limits<int>::max());
665 EXPECT_EQ(saturated_cast<float>(double_large), double_infinity);
666 EXPECT_EQ(saturated_cast<float>(-double_large), -double_infinity);
667 EXPECT_EQ(numeric_limits<int>::min(), saturated_cast<int>(double_small_int));
668 EXPECT_EQ(numeric_limits<int>::max(), saturated_cast<int>(double_large_int))
    [all...]
safe_conversions.h 70 // saturated_cast<> is analogous to static_cast<> for numeric types, except
77 inline Dst saturated_cast(Src value) { function in namespace:base
116 "- base::saturated_cast\n"
  /external/libweave/third_party/chromium/base/numerics/
safe_numerics_unittest.cc 25 using base::saturated_cast;
652 EXPECT_EQ(saturated_cast<int>(small_negative),
654 EXPECT_EQ(saturated_cast<int>(small_positive),
656 EXPECT_EQ(saturated_cast<unsigned>(small_negative),
658 EXPECT_EQ(saturated_cast<int>(double_small),
660 EXPECT_EQ(saturated_cast<int>(double_large), numeric_limits<int>::max());
661 EXPECT_EQ(saturated_cast<float>(double_large), double_infinity);
662 EXPECT_EQ(saturated_cast<float>(-double_large), -double_infinity);
663 EXPECT_EQ(numeric_limits<int>::min(), saturated_cast<int>(double_small_int));
664 EXPECT_EQ(numeric_limits<int>::max(), saturated_cast<int>(double_large_int))
    [all...]
safe_conversions.h 70 // saturated_cast<> is analogous to static_cast<> for numeric types, except
77 inline Dst saturated_cast(Src value) { function in namespace:base
116 "- base::saturated_cast\n"
  /external/webrtc/webrtc/modules/audio_coding/codecs/opus/
audio_encoder_opus.cc 151 rtc::saturated_cast<int16_t>(max_encoded_bytes), encoded);
  /external/libchrome/base/debug/
stack_trace_posix.cc 730 count_ = base::saturated_cast<size_t>(backtrace(trace_, arraysize(trace_)));

Completed in 1376 milliseconds