/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/webrtc/modules/audio_coding/neteq/tools/ |
D | input_audio_file_unittest.cc | 26 input[i] = rtc::checked_cast<int16_t>(i); in TEST() 45 input[i] = rtc::checked_cast<int16_t>(i); in TEST()
|
D | fake_decode_from_file.cc | 160 rtc::checked_cast<uint32_t>(samples)); in PrepareEncoded() 162 &encoded[8], rtc::checked_cast<uint32_t>(original_payload_size_bytes)); in PrepareEncoded()
|
/external/webrtc/modules/audio_coding/audio_network_adaptor/ |
D | bitrate_controller_unittest.cc | 203 int current_bitrate = rtc::checked_cast<int>( in TEST() 218 rtc::checked_cast<int>(overhead_bytes_per_packet * 8 * 1000 / 20 - in TEST() 232 rtc::checked_cast<int>(overhead_bytes_per_packet * 8 * 1000 / 20 - in TEST() 242 rtc::checked_cast<int>(overhead_bytes_per_packet * 8 * 1000 / 20 - in TEST()
|
/external/webrtc/modules/audio_coding/neteq/ |
D | neteq_impl_unittest.cc | 461 return rtc::checked_cast<int>(encoded_len); in TEST_F() 565 .WillRepeatedly(Return(rtc::checked_cast<int>(kPayloadLengthSamples))); in TEST_F() 574 Return(rtc::checked_cast<int>(kPayloadLengthSamples)))); in TEST_F() 626 Return(rtc::checked_cast<int>(kPayloadLengthSamples)))); in TEST_F() 933 .WillRepeatedly(Return(rtc::checked_cast<int>(kPayloadLengthSamples))); in TEST_F() 937 .WillRepeatedly(Return(rtc::checked_cast<int>(kPayloadLengthSamples))); in TEST_F() 946 Return(rtc::checked_cast<int>(kPayloadLengthSamples)))); in TEST_F() 953 Return(rtc::checked_cast<int>(kPayloadLengthSamples)))); in TEST_F() 960 Return(rtc::checked_cast<int>(kPayloadLengthSamples)))); in TEST_F() 967 Return(rtc::checked_cast<int>(kPayloadLengthSamples)))); in TEST_F() [all …]
|
D | sync_buffer_unittest.cc | 61 new_data[channel][i] = rtc::checked_cast<int16_t>(i); in TEST() 101 new_data[channel][i] = rtc::checked_cast<int16_t>(1000 + i); in TEST() 134 new_data[channel][i] = rtc::checked_cast<int16_t>(i); in TEST()
|
D | audio_vector_unittest.cc | 27 array_[i] = rtc::checked_cast<int16_t>(i); in SetUp() 253 int insert_position = rtc::checked_cast<int>(array_length()); in TEST_F() 283 rtc::checked_cast<int>(array_length() + 10); // Too large. in TEST_F() 339 int insert_position = rtc::checked_cast<int>(array_length() - 2); in TEST_F()
|
D | expand_unittest.cc | 128 EXPECT_EQ(rtc::checked_cast<int>(sum_output_len_samples), in TEST_F() 168 EXPECT_EQ(rtc::checked_cast<int>(sum_output_len_samples), in TEST_F()
|
/external/libbrillo/brillo/streams/ |
D | openssl_stream_bio.cc | 52 return base::checked_cast<int>(written); in stream_write() 69 return base::checked_cast<int>(read); in stream_read()
|
/external/webrtc/modules/audio_coding/acm2/ |
D | acm_receiver_unittest.cc | 99 timestamp_ += rtc::checked_cast<uint32_t>(frame.samples_per_channel_); in InsertOnePacketOfSilence() 157 const int payload_type = rtc::checked_cast<int>(i); in TEST_F() 190 const size_t samples_per_ms = rtc::checked_cast<size_t>( in RunVerifyAudioFrame() 214 expected_output_ts += rtc::checked_cast<uint32_t>(10 * samples_per_ms); in RunVerifyAudioFrame() 348 const int payload_type = rtc::checked_cast<int>(i); in TEST_F()
|
/external/webrtc/rtc_base/system/ |
D | file_wrapper.cc | 84 return fseek(file_, rtc::checked_cast<long>(offset), SEEK_CUR) == 0; in SeekRelative() 89 return fseek(file_, rtc::checked_cast<long>(position), SEEK_SET) == 0; in SeekTo()
|
/external/webrtc/rtc_base/ |
D | openssl_utility_unittest.cc | 178 d2i_X509(nullptr, &cert, checked_cast<long>(cert_len)); // NOLINT in CreateSSLWithPeerCertificate() 184 checked_cast<long>(arraysize(kFakeSSLPrivateKey))); // NOLINT in CreateSSLWithPeerCertificate()
|
D | openssl_stream_adapter.cc | 211 return checked_cast<int>(read); in stream_read() 228 return checked_cast<int>(written); in stream_write() 236 return stream_write(b, str, checked_cast<int>(strlen(str))); in stream_puts() 569 int code = SSL_write(ssl_, data, checked_cast<int>(data_len)); in Write() 635 const int code = SSL_read(ssl_, data, checked_cast<int>(data_len)); in Read()
|
/external/webrtc/modules/audio_coding/codecs/ |
D | legacy_encoded_audio_frame_unittest.cc | 156 expected_timestamp += rtc::checked_cast<uint32_t>( in TEST_P() 158 expected_byte_offset += rtc::checked_cast<uint32_t>(length_bytes); in TEST_P()
|
/external/webrtc/pc/ |
D | srtp_transport.cc | 132 int len = rtc::checked_cast<int>(packet->size()); in SendRtpPacket() 189 int len = rtc::checked_cast<int>(packet->size()); in SendRtcpPacket() 212 int len = rtc::checked_cast<int>(packet.size()); in OnRtpPacketReceived() 244 int len = rtc::checked_cast<int>(packet.size()); in OnRtcpPacketReceived()
|
/external/pdfium/core/fxge/android/ |
D | cfpf_skiafont.cpp | 158 FT_ULong ulSize = pdfium::base::checked_cast<FT_ULong>(pBuffer.size()); in GetFontData() 161 return pdfium::base::checked_cast<uint32_t>(ulSize); in GetFontData()
|
/external/webrtc/logging/rtc_event_log/ |
D | rtc_event_log_parser.cc | 355 header.markerBit = rtc::checked_cast<bool>(proto.marker()); in StoreRtpPackets() 356 header.payloadType = rtc::checked_cast<uint8_t>(proto.payload_type()); in StoreRtpPackets() 358 rtc::checked_cast<uint16_t>(proto.sequence_number()); in StoreRtpPackets() 359 header.timestamp = rtc::checked_cast<uint32_t>(proto.rtp_timestamp()); in StoreRtpPackets() 360 header.ssrc = rtc::checked_cast<uint32_t>(proto.ssrc()); in StoreRtpPackets() 362 header.paddingLength = rtc::checked_cast<size_t>(proto.padding_size()); in StoreRtpPackets() 363 header.headerLength = rtc::checked_cast<size_t>(proto.header_size()); in StoreRtpPackets() 368 rtc::checked_cast<uint16_t>(proto.transport_sequence_number()); in StoreRtpPackets() 373 rtc::checked_cast<int32_t>(proto.transmission_time_offset()); in StoreRtpPackets() 378 rtc::checked_cast<uint32_t>(proto.absolute_send_time()); in StoreRtpPackets() [all …]
|
/external/webrtc/api/audio_codecs/L16/ |
D | audio_decoder_L16.cc | 26 config.num_channels = rtc::checked_cast<int>(format.num_channels); in SdpToConfig()
|
/external/zlib/google/ |
D | zip_reader.cc | 264 remaining_capacity, base::checked_cast<uint64_t>(num_bytes_read)); in ExtractCurrentEntry() 267 if (remaining_capacity == base::checked_cast<uint64_t>(num_bytes_read)) { in ExtractCurrentEntry() 363 static_cast<size_t>(std::min(base::checked_cast<int64_t>(max_read_bytes), in ExtractCurrentEntryToString()
|
/external/angle/third_party/zlib/google/ |
D | zip_reader.cc | 264 remaining_capacity, base::checked_cast<uint64_t>(num_bytes_read)); in ExtractCurrentEntry() 267 if (remaining_capacity == base::checked_cast<uint64_t>(num_bytes_read)) { in ExtractCurrentEntry() 363 static_cast<size_t>(std::min(base::checked_cast<int64_t>(max_read_bytes), in ExtractCurrentEntryToString()
|
/external/v4l2_codec2/common/ |
D | V4L2Device.cpp | 1452 bytesPerLine = base::checked_cast<int>(format.fmt.pix_mp.plane_fmt[0].bytesperline); in allocatedSizeFromV4L2Format() 1454 sizeimage += base::checked_cast<int>(format.fmt.pix_mp.plane_fmt[i].sizeimage); in allocatedSizeFromV4L2Format() 1456 visibleSize.set(base::checked_cast<int>(format.fmt.pix_mp.width), in allocatedSizeFromV4L2Format() 1457 base::checked_cast<int>(format.fmt.pix_mp.height)); in allocatedSizeFromV4L2Format() 1466 bytesPerLine = base::checked_cast<int>(format.fmt.pix.bytesperline); in allocatedSizeFromV4L2Format() 1467 sizeimage = base::checked_cast<int>(format.fmt.pix.sizeimage); in allocatedSizeFromV4L2Format() 1468 visibleSize.set(base::checked_cast<int>(format.fmt.pix.width), in allocatedSizeFromV4L2Format() 1469 base::checked_cast<int>(format.fmt.pix.height)); in allocatedSizeFromV4L2Format() 1709 if (frameSize.discrete.width >= base::checked_cast<uint32_t>(maxResolution->width) && in getSupportedResolution() 1710 frameSize.discrete.height >= base::checked_cast<uint32_t>(maxResolution->height)) { in getSupportedResolution() [all …]
|
/external/pdfium/core/fxcrt/ |
D | cfx_readonlymemorystream.cpp | 25 return pdfium::base::checked_cast<FX_FILESIZE>(m_span.size()); in GetSize()
|
/external/webrtc/modules/audio_coding/neteq/test/ |
D | neteq_pcmu_quality_test.cc | 68 return rtc::checked_cast<int>(info.encoded_bytes); in EncodeBlock()
|
D | neteq_ilbc_quality_test.cc | 69 return rtc::checked_cast<int>(info.encoded_bytes); in EncodeBlock()
|