/external/libbrillo/brillo/streams/ |
D | openssl_stream_bio.cc | 29 return base::checked_cast<int>(written); in stream_write() 46 return base::checked_cast<int>(read); in stream_read()
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | expand_unittest.cc | 126 EXPECT_EQ(rtc::checked_cast<int>(sum_output_len_samples / in TEST_F() 167 EXPECT_EQ(rtc::checked_cast<int>(sum_output_len_samples / in TEST_F()
|
D | neteq_impl.cc | 168 rtc::checked_cast<int>(*samples_per_channel * 100); in GetAudio() 722 rtc::checked_cast<int>((1000 * packet_length_samples) / fs_hz_)); in InsertPacketInternal() 984 -(samples_left + rtc::checked_cast<int>(output_size_samples_))); in GetDecision() 1009 if (samples_left >= rtc::checked_cast<int>(output_size_samples_) && in GetDecision() 1322 while (*decoded_length < rtc::checked_cast<int>(output_size_samples_)) { in DecodeCng() 1371 decode_length = rtc::checked_cast<int>(decoder_frame_length_); in DecodeLoop() 1897 packet_duration = rtc::checked_cast<int>(decoder_frame_length_); in ExtractPackets() 1916 packet_duration = rtc::checked_cast<int>(decoder_frame_length_); in ExtractPackets() 1935 } while (extracted_samples < rtc::checked_cast<int>(required_samples) && in ExtractPackets()
|
D | time_stretch.cc | 201 rtc::checked_cast<int32_t>(peak_index) * (right_side >> right_scale); in SpeechDetection()
|
D | expand.cc | 216 (31 - WebRtcSpl_NormW32(rtc::checked_cast<int32_t>(max_lag_))) - 5; in Process() 311 std::min(expand_duration_samples_, rtc::checked_cast<size_t>(fs_hz_ * 2)); in Process() 320 rtc::checked_cast<int>(expand_duration_samples_) / (fs_hz_ / 1000)); in SetParametersForNormalAfterExpand()
|
D | statistics_calculator.cc | 221 const int ms_per_packet = rtc::checked_cast<int>( in GetNetworkStatistics()
|
/external/pdfium/core/src/fxge/android/ |
D | fpf_skiafont.cpp | 172 FT_ULong ulSize = pdfium::base::checked_cast<FT_ULong>(dwSize); in GetFontData() 176 return pdfium::base::checked_cast<FX_DWORD>(ulSize); in GetFontData()
|
/external/webrtc/webrtc/base/ |
D | opensslstreamadapter.cc | 242 return checked_cast<int>(read); in stream_read() 260 return checked_cast<int>(written); in stream_write() 268 return stream_write(b, str, checked_cast<int>(strlen(str))); in stream_puts() 530 int code = SSL_write(ssl_, data, checked_cast<int>(data_len)); in Write() 591 int code = SSL_read(ssl_, data, checked_cast<int>(data_len)); in Read()
|
D | safe_conversions.h | 34 inline Dst checked_cast(Src value) { in checked_cast() function
|
D | openssladapter.cc | 152 return socket_write(b, str, rtc::checked_cast<int>(strlen(str))); in socket_puts() 491 int code = SSL_write(ssl_, pv, checked_cast<int>(cb)); in Send() 558 int code = SSL_read(ssl_, pv, checked_cast<int>(cb)); in Recv() 923 checked_cast<long>(cert_buffer_len)); in ConfigureTrustedRootCertificates()
|
/external/pdfium/third_party/base/numerics/ |
D | safe_conversions.h | 28 inline Dst checked_cast(Src value) { in checked_cast() function
|
/external/v8/src/base/ |
D | safe_conversions.h | 30 inline Dst checked_cast(Src value) { in checked_cast() function
|
/external/webrtc/webrtc/modules/audio_coding/neteq/test/ |
D | neteq_pcmu_quality_test.cc | 75 return rtc::checked_cast<int>(info.encoded_bytes); in EncodeBlock()
|
D | neteq_ilbc_quality_test.cc | 75 return rtc::checked_cast<int>(info.encoded_bytes); in EncodeBlock()
|
/external/pdfium/core/include/fxcrt/ |
D | fx_system.h | 163 #define FXSYS_strlen(ptr) pdfium::base::checked_cast<FX_STRSIZE>(strlen(ptr)) 164 #define FXSYS_wcslen(ptr) pdfium::base::checked_cast<FX_STRSIZE>(wcslen(ptr))
|
/external/webrtc/webrtc/modules/audio_processing/ |
D | audio_processing_performance_unittest.cc | 310 const int denominator = rtc::checked_cast<int>(api_call_durations_.size()) - in GetDurationStandardDeviation() 313 ? rtc::checked_cast<int64_t>(sqrt(variance / denominator)) in GetDurationStandardDeviation() 323 const int denominator = rtc::checked_cast<int>(api_call_durations_.size()) - in GetDurationAverage()
|
/external/libchrome/base/numerics/ |
D | safe_conversions.h | 48 inline Dst checked_cast(Src value) { in checked_cast() function
|
/external/libweave/third_party/chromium/base/numerics/ |
D | safe_conversions.h | 48 inline Dst checked_cast(Src value) { in checked_cast() function
|
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/ |
D | neteq_rtpplay.cc | 519 int64_t start_time_ms = rtc::checked_cast<int64_t>(packet->time_ms()); in main() 598 next_input_time_ms = rtc::checked_cast<int64_t>(packet->time_ms()); in main() 621 sample_rate_hz = rtc::checked_cast<int>( in main()
|
/external/clang/test/CXX/drs/ |
D | dr2xx.cpp | 97 template<typename T, typename U> T checked_cast(U from) { U::error; } in checked_cast() function 98 template<typename T, typename U> T checked_cast(U *from); 100 void foo(int *arg) { checked_cast<const C *>(arg); } in foo()
|
/external/webrtc/talk/media/sctp/ |
D | sctpdataengine.cc | 648 rtc::checked_cast<socklen_t>(sizeof(spa)), SCTP_SENDV_SPA, 0); in SendData() 1015 resetp->srs_number_streams = rtc::checked_cast<uint16_t>(num_streams); in SendQueuedStreamResets() 1024 rtc::checked_cast<socklen_t>(reset_stream_buf.size())); in SendQueuedStreamResets()
|
/external/libchrome/base/files/ |
D | important_file_writer.cc | 100 const int data_length = checked_cast<int32_t>(data.length()); in WriteFileAtomically()
|
/external/libchrome/base/time/ |
D | time_mac.cc | 69 return base::checked_cast<int64_t>(result.ValueOrDie()); in ComputeCurrentTicks()
|
/external/pdfium/core/src/fpdfapi/fpdf_parser/ |
D | fpdf_parser_parser.cpp | 1103 pdfium::base::checked_cast<FX_DWORD, int32_t>(startnum); in LoadCrossRefV5() 1105 pdfium::base::checked_cast<FX_DWORD, int32_t>(arrIndex[i].second); in LoadCrossRefV5() 1117 pdfium::base::checked_cast<FX_DWORD, int32_t>(m_V5Type.GetSize()); in LoadCrossRefV5() 3598 FX_SAFE_DWORD safeSize = pdfium::base::checked_cast<FX_DWORD>(offset); in IsDataAvail() 4671 FX_SAFE_DWORD safeLoc = pdfium::base::checked_cast<FX_DWORD>(nStreamLen); in ReadPageHintTable() 4676 pdfium::base::checked_cast<FX_FILESIZE>(safeLoc.ValueOrDie()); in ReadPageHintTable() 4679 pdfium::base::checked_cast<FX_FILESIZE>(dwFirstObjLoc); in ReadPageHintTable() 4710 required_bits *= pdfium::base::checked_cast<FX_DWORD>(nPages); in ReadPageHintTable() 4723 required_bits *= pdfium::base::checked_cast<FX_DWORD>(nPages); in ReadPageHintTable() 4767 required_bits *= pdfium::base::checked_cast<FX_DWORD>(nPages); in ReadPageHintTable() [all …]
|
/external/webrtc/webrtc/common_audio/ |
D | audio_converter.cc | 22 using rtc::checked_cast;
|