Home
last modified time | relevance | path

Searched refs:history_ (Results 1 – 12 of 12) sorted by relevance

/external/webrtc/logging/rtc_event_log/encoder/
Drtc_event_log_encoder_unittest.cc83 std::deque<std::unique_ptr<RtcEvent>> history_; member in webrtc::RtcEventLogEncoderTest
98 ASSERT_TRUE(history_.empty()) << "Function should be called once per test."; in TestRtcEventAudioNetworkAdaptation()
101 history_.push_back(event->Copy()); in TestRtcEventAudioNetworkAdaptation()
104 std::string encoded = encoder_->EncodeBatch(history_.begin(), history_.end()); in TestRtcEventAudioNetworkAdaptation()
179 history_.push_back(event->Copy()); in TestRtpPackets()
184 std::string encoded = encoder_->EncodeBatch(history_.begin(), history_.end()); in TestRtpPackets()
208 history_.push_back(events[i]->Copy()); in TEST_P()
211 std::string encoded = encoder_->EncodeBatch(history_.begin(), history_.end()); in TEST_P()
229 history_.push_back(events[i]->Copy()); in TEST_P()
232 std::string encoded = encoder_->EncodeBatch(history_.begin(), history_.end()); in TEST_P()
[all …]
/external/webrtc/modules/congestion_controller/rtp/
Dtransport_feedback_adapter.cc102 while (!history_.empty() && in AddPacket()
103 creation_time - history_.begin()->second.creation_time > in AddPacket()
106 if (history_.begin()->second.sent.sequence_number > last_ack_seq_num_) in AddPacket()
107 in_flight_.RemoveInFlightPacketBytes(history_.begin()->second); in AddPacket()
108 history_.erase(history_.begin()); in AddPacket()
110 history_.insert(std::make_pair(packet.sent.sequence_number, packet)); in AddPacket()
120 auto it = history_.find(unwrapped_seq_num); in ProcessSentPacket()
121 if (it != history_.end()) { in ProcessSentPacket()
170 auto it = history_.find(last_ack_seq_num_); in ProcessTransportFeedback()
171 if (it != history_.end()) { in ProcessTransportFeedback()
[all …]
Dtransport_feedback_demuxer.cc46 history_.insert( in AddPacket()
50 while (history_.size() > kMaxPacketsInHistory) { in AddPacket()
51 history_.erase(history_.begin()); in AddPacket()
63 auto it = history_.find(seq_num); in OnTransportFeedback()
64 if (it != history_.end()) { in OnTransportFeedback()
69 history_.erase(it); in OnTransportFeedback()
Dtransport_feedback_demuxer.h37 std::map<int64_t, StreamFeedbackObserver::StreamPacketInfo> history_
Dtransport_feedback_adapter.h86 std::map<int64_t, PacketFeedback> history_; variable
/external/webrtc/rtc_base/numerics/
Dmoving_average.cc19 MovingAverage::MovingAverage(size_t window_size) : history_(window_size, 0) { in MovingAverage()
27 size_t index = count_ % history_.size(); in AddSample()
28 if (count_ > history_.size()) in AddSample()
29 sum_ -= history_[index]; in AddSample()
31 history_[index] = sample; in AddSample()
58 return std::min(count_, history_.size()); in Size()
Dmoving_average.h62 std::vector<int> history_; variable
/external/webrtc/modules/video_coding/
Dcodec_timer.cc41 history_.emplace(decode_time_ms, now_ms); in AddTiming()
44 while (!history_.empty() && in AddTiming()
45 now_ms - history_.front().sample_time_ms > kTimeLimitMs) { in AddTiming()
46 filter_.Erase(history_.front().decode_time_ms); in AddTiming()
47 history_.pop(); in AddTiming()
Dcodec_timer.h42 std::queue<Sample> history_; variable
/external/marisa-trie/lib/marisa/grimoire/trie/
Dstate.h24 : key_buf_(), history_(), node_id_(0), query_pos_(0), in State()
60 return history_; in history()
67 return history_; in history()
92 history_.resize(0); in predictive_search_init()
93 history_.reserve(4); in predictive_search_init()
102 Vector<History> history_; variable
/external/webrtc/logging/rtc_event_log/
Drtc_event_log_impl.cc156 if (history_.size() >= kMaxEventsInHistory) { in ScheduleOutput()
192 event->IsConfigEvent() ? config_history_ : history_; in LogToMemory()
228 event_encoder_->EncodeBatch(history_.begin(), history_.end()); in LogEventsFromMemoryToOutput()
229 history_.clear(); in LogEventsFromMemoryToOutput()
Drtc_event_log_impl.h70 std::deque<std::unique_ptr<RtcEvent>> history_ RTC_GUARDED_BY(*task_queue_);