/external/webrtc/api/units/ |
D | data_size_unittest.cc | 22 constexpr DataSize kDataSizeZero = DataSize::Zero(); in TEST() 23 constexpr DataSize kDataSizeInf = DataSize::Infinity(); in TEST() 29 constexpr DataSize kDataSize = DataSize::Bytes(kValue); in TEST() 37 EXPECT_EQ(DataSize::Bytes(kValue).bytes(), kValue); in TEST() 42 EXPECT_TRUE(DataSize::Zero().IsZero()); in TEST() 43 EXPECT_FALSE(DataSize::Bytes(kValue).IsZero()); in TEST() 45 EXPECT_TRUE(DataSize::Infinity().IsInfinite()); in TEST() 46 EXPECT_FALSE(DataSize::Zero().IsInfinite()); in TEST() 47 EXPECT_FALSE(DataSize::Bytes(kValue).IsInfinite()); in TEST() 49 EXPECT_FALSE(DataSize::Infinity().IsFinite()); in TEST() [all …]
|
D | data_size.h | 25 class DataSize final : public rtc_units_impl::RelativeUnit<DataSize> { 28 static constexpr DataSize Bytes(T value) { in Bytes() 32 static constexpr DataSize Infinity() { return PlusInfinity(); } in Infinity() 34 DataSize() = delete; 46 friend class rtc_units_impl::UnitBase<DataSize>; 51 std::string ToString(DataSize value); 52 inline std::string ToLogString(DataSize value) { in ToLogString() 59 DataSize value) {
|
D | data_rate.h | 81 inline constexpr int64_t Microbits(const DataSize& size) { in Microbits() 98 inline constexpr DataRate operator/(const DataSize size, 102 inline constexpr TimeDelta operator/(const DataSize size, const DataRate rate) { 105 inline constexpr DataSize operator*(const DataRate rate, 108 return DataSize::Bytes((microbits + 4000000) / 8000000); 110 inline constexpr DataSize operator*(const TimeDelta duration, 115 inline constexpr DataSize operator/(const DataRate rate, 120 return DataSize::Bytes(data_rate_impl::MillibytePerSec(rate) / millihertz); 122 inline constexpr Frequency operator/(const DataRate rate, const DataSize size) { 126 inline constexpr DataRate operator*(const DataSize size, [all …]
|
/external/webrtc/modules/pacing/ |
D | pacing_controller.h | 62 DataSize size) = 0; 101 void SetCongestionWindow(DataSize congestion_window_size); 102 void UpdateOutstandingData(DataSize outstanding_data); 114 void SetTransportOverhead(DataSize overhead_per_packet); 122 DataSize QueueSizeData() const; 125 DataSize CurrentBufferLevel() const; 160 void UpdateBudgetWithSentData(DataSize size); 162 DataSize PaddingToAdd(DataSize recommended_probe_size, 163 DataSize data_sent) const; 170 DataSize packet_size, [all …]
|
D | pacing_controller.cc | 115 transport_overhead_per_packet_(DataSize::Zero()), in PacingController() 120 media_debt_(DataSize::Zero()), in PacingController() 121 padding_debt_(DataSize::Zero()), in PacingController() 131 congestion_window_size_(DataSize::PlusInfinity()), in PacingController() 132 outstanding_data_(DataSize::Zero()), in PacingController() 171 void PacingController::SetCongestionWindow(DataSize congestion_window_size) { in SetCongestionWindow() 180 void PacingController::UpdateOutstandingData(DataSize outstanding_data) { in UpdateOutstandingData() 250 void PacingController::SetTransportOverhead(DataSize overhead_per_packet) { in SetTransportOverhead() 268 DataSize PacingController::QueueSizeData() const { in QueueSizeData() 272 DataSize PacingController::CurrentBufferLevel() const { in CurrentBufferLevel() [all …]
|
D | bitrate_prober_unittest.cc | 32 const DataSize kProbeSize = DataSize::Bytes(1000); in TEST() 83 const DataSize kProbeSize = DataSize::Bytes(1000); in TEST() 104 const DataSize kProbeSize = DataSize::Bytes(1000); in TEST() 134 const DataSize kProbeSize = DataSize::Bytes(1000); in TEST() 166 prober.OnIncomingPacket(DataSize::Bytes(100)); in TEST() 189 const DataSize kPacketSize = DataSize::Bytes(1000); in TEST() 206 const DataSize kPacketSize = DataSize::Bytes(1000); in TEST() 207 const DataSize kExpectedDataSent = kBitrate * TimeDelta::Millis(15); in TEST() 212 DataSize data_sent = DataSize::Zero(); in TEST() 226 const DataSize kPacketSize = DataSize::Bytes(1000); in TEST() [all …]
|
D | round_robin_packet_queue.h | 48 DataSize Size() const; 60 void SetTransportOverhead(DataSize overhead_per_packet); 106 StreamPrioKey(int priority, DataSize size) in StreamPrioKey() 116 const DataSize size; 125 DataSize size; 140 DataSize PacketSize(const QueuedPacket& packet) const; 148 DataSize transport_overhead_per_packet_; 154 DataSize size_; 155 DataSize max_size_;
|
D | round_robin_packet_queue.cc | 22 static constexpr DataSize kMaxLeadingSize = DataSize::Bytes(1400); 106 RoundRobinPacketQueue::Stream::Stream() : size(DataSize::Zero()), ssrc(0) {} in Stream() 120 : transport_overhead_per_packet_(DataSize::Zero()), in RoundRobinPacketQueue() 124 size_(DataSize::Zero()), in RoundRobinPacketQueue() 166 size_ = DataSize::Zero(); in Pop() 194 DataSize packet_size = PacketSize(queued_packet); in Pop() 232 DataSize RoundRobinPacketQueue::Size() const { in Size() 297 size_ += DataSize::Bytes(packet.RtpPacket()->headers_size()) + in SetIncludeOverhead() 303 void RoundRobinPacketQueue::SetTransportOverhead(DataSize overhead_per_packet) { in SetTransportOverhead() 306 DataSize previous_overhead = transport_overhead_per_packet_; in SetTransportOverhead() [all …]
|
D | task_queue_paced_sender.h | 75 void SetCongestionWindow(DataSize congestion_window_size) override; 76 void UpdateOutstandingData(DataSize outstanding_data) override; 88 void SetTransportOverhead(DataSize overhead_per_packet) override; 94 DataSize QueueSizeData() const override; 112 queue_size(DataSize::Zero()), in Stats() 115 DataSize queue_size;
|
/external/webrtc/api/test/network_emulation/ |
D | network_emulation_interfaces.h | 66 DataSize bytes_received = DataSize::Zero(); 70 DataSize bytes_dropped = DataSize::Zero(); 72 DataSize first_received_packet_size = DataSize::Zero(); 91 DataSize bytes_sent = DataSize::Zero(); 93 DataSize first_sent_packet_size = DataSize::Zero(); 120 DataSize BytesReceived() const { in BytesReceived() 121 DataSize bytes_received = DataSize::Zero(); in BytesReceived() 138 DataSize BytesDropped() const { in BytesDropped() 139 DataSize bytes_dropped = DataSize::Zero(); in BytesDropped() 146 DataSize FirstReceivedPacketSize() const { in FirstReceivedPacketSize() [all …]
|
/external/webrtc/api/transport/ |
D | network_types.h | 107 DataSize size = DataSize::Zero(); 109 DataSize prior_unacked_data = DataSize::Zero(); 120 DataSize data_in_flight = DataSize::Zero(); 126 DataSize size = DataSize::Zero(); 173 DataSize data_in_flight = DataSize::Zero(); 174 DataSize prior_in_flight = DataSize::Zero(); 203 DataSize data_window = DataSize::Infinity(); 206 DataSize pad_window = DataSize::Zero(); 235 absl::optional<DataSize> congestion_window; 247 absl::optional<DataSize> pacer_queue;
|
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
D | eblc_table.h | 36 kHeaderLength = kNumSizes + DataSize::kULONG, 89 DataSize::kULONG + 93 DataSize::kULONG, 104 DataSize::kULONG, 105 kIndexSubTable4_codeOffsetPairLength = 2 * DataSize::kUSHORT, 107 kIndexSubTable4_codeOffsetPair_offset = DataSize::kUSHORT, 113 DataSize::kULONG, 117 DataSize::kULONG, 121 kCodeOffsetPairLength = 2 * DataSize::kUSHORT, 123 kCodeOffsetPair_offset = DataSize::kUSHORT,
|
D | ebsc_table.h | 31 kNumSizes = DataSize::kFixed, 32 kHeaderLength = kNumSizes + DataSize::kULONG, 40 kBitmapScaleTable_ppemY = kBitmapScaleTable_ppemX + DataSize::kBYTE, 42 DataSize::kBYTE, 44 DataSize::kBYTE, 46 DataSize::kBYTE,
|
/external/webrtc/test/network/ |
D | cross_traffic.h | 33 DataSize min_packet_size = DataSize::Bytes(200); 62 DataSize pending_size_ RTC_GUARDED_BY(sequence_checker_) = DataSize::Zero(); 67 DataSize min_packet_size = DataSize::Bytes(200); 153 DataSize packet_size = DataSize::Bytes(1200); 154 DataSize send_limit = DataSize::PlusInfinity(); 189 DataSize total_sent_ = DataSize::Zero();
|
/external/webrtc/rtc_base/experiments/ |
D | field_trial_units_unittest.cc | 25 FieldTrialOptional<DataSize> max_buffer = 26 FieldTrialOptional<DataSize>("b", absl::nullopt); 43 EXPECT_EQ(*exp.max_buffer.GetOptional(), DataSize::Bytes(5)); in TEST() 49 EXPECT_EQ(*exp.max_buffer.GetOptional(), DataSize::Bytes(5)); in TEST() 60 EXPECT_EQ(*exp.max_buffer.GetOptional(), DataSize::Bytes(8)); in TEST() 70 FieldTrialConstrained<DataSize> size( in TEST() 71 "s", DataSize::Bytes(30), DataSize::Bytes(10), DataSize::Bytes(100)); in TEST()
|
D | field_trial_units.cc | 63 absl::optional<DataSize> ParseTypedParameter<DataSize>(std::string str) { in ParseTypedParameter() 67 return DataSize::Bytes(result->value); in ParseTypedParameter() 93 absl::optional<absl::optional<DataSize>> 94 ParseTypedParameter<absl::optional<DataSize>>(std::string str) { in ParseTypedParameter() 95 return ParseOptionalParameter<DataSize>(str); in ParseTypedParameter() 104 template class FieldTrialParameter<DataSize>; 108 template class FieldTrialConstrained<DataSize>; 112 template class FieldTrialOptional<DataSize>;
|
D | field_trial_units.h | 23 absl::optional<DataSize> ParseTypedParameter<DataSize>(std::string str); 28 extern template class FieldTrialParameter<DataSize>; 32 extern template class FieldTrialConstrained<DataSize>; 36 extern template class FieldTrialOptional<DataSize>;
|
/external/webrtc/modules/congestion_controller/goog_cc/ |
D | probe_bitrate_estimator.h | 43 DataSize size_last_send = DataSize::Zero(); 44 DataSize size_first_receive = DataSize::Zero(); 45 DataSize size_total = DataSize::Zero();
|
D | congestion_window_pushback_controller_unittest.cc | 40 cwnd_controller_->SetDataWindow(DataSize::Bytes(50000)); in TEST_F() 46 cwnd_controller_->SetDataWindow(DataSize::Bytes(50000)); in TEST_F() 53 cwnd_controller_->SetDataWindow(DataSize::Bytes(200000)); in TEST_F() 62 cwnd_controller_->SetDataWindow(DataSize::Bytes(50000)); in TEST_F() 68 cwnd_controller_->SetDataWindow(DataSize::Bytes(20000)); in TEST_F() 97 cwnd_controller_->SetDataWindow(DataSize::Bytes(50000)); in TEST_F()
|
/external/sfntly/cpp/src/sfntly/table/truetype/ |
D | glyph_table.cc | 374 NumberOfContours() * DataSize::kUSHORT); in Initialize() 376 (NumberOfContours() + 1) * DataSize::kUSHORT; in Initialize() 377 flags_offset_ = instructions_offset_ + instruction_size_ * DataSize::kBYTE; in Initialize() 383 x_coordinates_offset_ = flags_offset_ + flag_byte_count_ * DataSize::kBYTE; in Initialize() 385 DataSize::kBYTE; in Initialize() 393 5 * DataSize::kSHORT + in Initialize() 394 (NumberOfContours() * DataSize::kUSHORT) + in Initialize() 395 DataSize::kUSHORT + in Initialize() 396 (instruction_size_ * DataSize::kBYTE) + in Initialize() 397 (flag_byte_count_ * DataSize::kBYTE) + in Initialize() [all …]
|
/external/llvm-project/llvm/lib/DebugInfo/PDB/DIA/ |
D | DIAInjectedSource.cpp | 52 DWORD DataSize; in getCode() local 53 if (S_OK != SourceFile->get_source(0, &DataSize, nullptr)) in getCode() 56 std::vector<uint8_t> Buffer(DataSize); in getCode() 57 if (S_OK != SourceFile->get_source(DataSize, &DataSize, Buffer.data())) in getCode() 59 assert(Buffer.size() == DataSize); in getCode()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/DIA/ |
D | DIAInjectedSource.cpp | 52 DWORD DataSize; in getCode() local 53 if (S_OK != SourceFile->get_source(0, &DataSize, nullptr)) in getCode() 56 std::vector<uint8_t> Buffer(DataSize); in getCode() 57 if (S_OK != SourceFile->get_source(DataSize, &DataSize, Buffer.data())) in getCode() 59 assert(Buffer.size() == DataSize); in getCode()
|
/external/sfntly/cpp/src/test/ |
D | font_data_test.cc | 49 * DataSize::kUSHORT, 51 DataSize::kUSHORT, 52 kLowerByteArrayForSearchingLength * DataSize::kUSHORT, 53 DataSize::kUSHORT }, 57 * DataSize::kUSHORT, 59 2 * DataSize::kUSHORT, 60 DataSize::kUSHORT, 61 2 * DataSize::kUSHORT }, 65 * DataSize::kUSHORT, 66 kLowerByteArrayForSearchingLength * DataSize::kUSHORT, [all …]
|
/external/webrtc/test/pc/e2e/analyzer/video/ |
D | video_quality_metrics_reporter.h | 50 DataSize bytes_sent = DataSize::Zero(); 51 DataSize header_bytes_sent = DataSize::Zero(); 52 DataSize retransmitted_bytes_sent = DataSize::Zero();
|
/external/compiler-rt/lib/profile/ |
D | InstrProfilingMerge.c | 27 uint64_t DataSize = __llvm_profile_get_data_size(__llvm_profile_begin_data(), in lprofGetLoadModuleSignature() local 35 return (NamesSize << 40) + (CounterSize << 30) + (DataSize << 20) + in lprofGetLoadModuleSignature() 36 (NumVnodes << 10) + (DataSize > 0 ? FirstD->NameRef : 0); in lprofGetLoadModuleSignature() 48 SrcDataEnd = SrcDataStart + Header->DataSize; in __llvm_profile_check_compatibility() 56 Header->DataSize != in __llvm_profile_check_compatibility() 67 Header->DataSize * sizeof(__llvm_profile_data) + in __llvm_profile_check_compatibility() 95 SrcDataEnd = SrcDataStart + Header->DataSize; in __llvm_profile_merge_from_buffer()
|