/external/libchrome/mojo/public/cpp/system/ |
D | message_pipe.cc | 27 base::checked_cast<uint32_t>(num_bytes), handles, in WriteMessageRaw() 28 base::checked_cast<uint32_t>(num_handles), in WriteMessageRaw() 34 DCHECK_GE(buffer_size, base::checked_cast<uint32_t>(num_bytes)); in WriteMessageRaw()
|
/external/libchrome/mojo/public/cpp/base/ |
D | file_unittest.cc | 24 base::checked_cast<int>(test_content.size())); in TEST() 34 base::checked_cast<int>(test_content.size()))); in TEST() 47 base::checked_cast<int>(test_content.size())); in TEST()
|
/external/pdfium/fxbarcode/datamatrix/ |
D | BC_HighLevelEncoder.cpp | 120 if (pdfium::base::checked_cast<int32_t>(codewords.GetLength()) < capacity) { in encodeHighLevel() 123 while (pdfium::base::checked_cast<int32_t>(codewords.GetLength()) < in encodeHighLevel() 126 PAD, pdfium::base::checked_cast<int32_t>(codewords.GetLength()) + 1)); in encodeHighLevel() 133 if (startpos >= pdfium::base::checked_cast<int32_t>(msg.GetLength())) { in lookAheadTest() 156 pdfium::base::checked_cast<int32_t>(msg.GetLength())) { in lookAheadTest() 258 pdfium::base::checked_cast<int32_t>(msg.GetLength()); in lookAheadTest()
|
/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/v4l2_codec2/vda/ |
D | v4l2_device.cc | 293 base::checked_cast<uint32_t>(max_resolution->width()) && in GetSupportedResolution() 295 base::checked_cast<uint32_t>(max_resolution->height())) { in GetSupportedResolution() 301 base::checked_cast<uint32_t>(min_resolution->width()) && in GetSupportedResolution() 303 base::checked_cast<uint32_t>(min_resolution->height()))) { in GetSupportedResolution()
|
D | vp8_bool_decoder.cc | 185 return base::checked_cast<uint8_t>(range_); in GetRange()
|
/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()
|
/external/pdfium/core/fxge/android/ |
D | cfpf_skiafont.cpp | 176 FT_ULong ulSize = pdfium::base::checked_cast<FT_ULong>(dwSize); in GetFontData() 179 return pdfium::base::checked_cast<uint32_t>(ulSize); in GetFontData()
|
/external/pdfium/fpdfsdk/ |
D | fpdfppo.cpp | 97 pdfium::base::checked_cast<uint16_t>(atoi(cbMidRange.c_str())); in ParserPageRangeString() 102 uint16_t nStartPageNum = pdfium::base::checked_cast<uint16_t>( in ParserPageRangeString() 112 uint16_t nEndPageNum = pdfium::base::checked_cast<uint16_t>( in ParserPageRangeString()
|
/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/v8/src/base/ |
D | safe_conversions.h | 30 inline Dst checked_cast(Src value) { in checked_cast() function
|
/external/libchrome/ipc/ |
D | ipc_message_utils.h | 377 WriteParam(m, base::checked_cast<int>(p.size())); 411 WriteParam(m, base::checked_cast<int>(p.size())); 439 WriteParam(m, base::checked_cast<int>(p.size())); 470 WriteParam(m, base::checked_cast<int>(p.size())); 801 WriteParam(m, base::checked_cast<int>(p->size())); 841 WriteParam(m, base::checked_cast<int>(p.size())); 874 WriteParam(m, base::checked_cast<int>(p.size()));
|
/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/libchrome/base/metrics/ |
D | histogram_delta_serialization.cc | 62 Pickle pickle(it->data(), checked_cast<int>(it->size())); in DeserializeAndAddSamples()
|
/external/pdfium/third_party/base/ |
D | stl_util.h | 45 return pdfium::base::checked_cast<ResultType>(collection.size()); in CollectionSize()
|
/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/pdfium/fxjs/xfa/ |
D | cjx_list.cpp | 97 pdfium::base::checked_cast<int32_t>(GetXFAList()->GetLength())); in length()
|
/external/libchrome/base/numerics/ |
D | safe_conversions.h | 104 constexpr Dst checked_cast(Src value) { 329 using internal::checked_cast;
|
/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/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/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()
|