/external/webrtc/webrtc/modules/audio_processing/transient/ |
H A D | transient_suppressor_unittest.cc | 30 for (int time_ms = 0; time_ms < 3990; time_ms += ts::kChunkSizeMs) { 44 for (int time_ms = 0; time_ms < 990; time_ms += ts::kChunkSizeMs) { 61 for (int time_ms = 0; time_ms < 1000; time_ms += ts::kChunkSizeMs) { 73 for (int time_ms [all...] |
/external/v8/src/ |
H A D | date.h | 56 // Computes floor(time_ms / kMsPerDay). 57 static int DaysFromTime(int64_t time_ms) { argument 58 if (time_ms < 0) time_ms -= (kMsPerDay - 1); 59 return static_cast<int>(time_ms / kMsPerDay); 63 // Computes modulo(time_ms, kMsPerDay) given that 64 // days = floor(time_ms / kMsPerDay). 65 static int TimeInDay(int64_t time_ms, int days) { argument 66 return static_cast<int>(time_ms - days * kMsPerDay); 92 const char* LocalTimezone(int64_t time_ms) { argument 100 TimezoneOffset(int64_t time_ms) argument 107 ToLocal(int64_t time_ms) argument 113 ToUTC(int64_t time_ms) argument 164 EquivalentTime(int64_t time_ms) argument 206 double time_ms = static_cast<double>(time_sec * 1000); local [all...] |
H A D | date.cc | 178 void DateCache::BreakDownTime(int64_t time_ms, int* year, int* month, int* day, 181 int const days = DaysFromTime(time_ms); 182 int const time_in_day_ms = TimeInDay(time_ms, days); 212 int DateCache::DaylightSavingsOffsetInMs(int64_t time_ms) { argument 213 int time_sec = (time_ms >= 0 && time_ms <= kMaxEpochTimeInMs) 214 ? static_cast<int>(time_ms / 1000) 215 : static_cast<int>(EquivalentTime(time_ms) / 1000); 148 DCHECK(month < 12); static const int year_delta = 399999; static const int base_day = 365 * (1970 + year_delta) + (1970 + year_delta) / 4 - (1970 + year_delta) / 100 + (1970 + year_delta) / 400; int year1 = year + year_delta; int day_from_year = 365 * year1 + year1 / 4 - year1 / 100 + year1 / 400 - base_day; if ((year % 4 != 0) || (year % 100 == 0 && year % 400 != 0)) { return day_from_year + day_from_month[month]; } return day_from_year + day_from_month_leap[month]; } void DateCache::BreakDownTime(int64_t time_ms, int* year, int* month, int* day, int* weekday, int* hour, int* min, int* sec, int* ms) { int const days = DaysFromTime(time_ms); int const time_in_day_ms = TimeInDay(time_ms, days); YearMonthDayFromDays(days, year, month, day); *weekday = Weekday(days); *hour = time_in_day_ms / (60 * 60 * 1000); *min = (time_in_day_ms / (60 * 1000)) % 60; *sec = (time_in_day_ms / 1000) % 60; *ms = time_in_day_ms % 1000; } void DateCache::ExtendTheAfterSegment(int time_sec, int offset_ms) { if (after_->offset_ms == offset_ms && after_->start_sec <= time_sec + kDefaultDSTDeltaInSec && time_sec <= after_->end_sec) argument
|
/external/v8/src/heap/ |
H A D | memory-reducer.cc | 30 double time_ms = heap->MonotonicallyIncreasingTimeInMs(); local 31 heap->tracer()->SampleAllocation(time_ms, heap->NewSpaceAllocationCounter(), 33 double js_call_rate = memory_reducer_->SampleAndGetJsCallsPerMs(time_ms); 43 event.time_ms = time_ms; 55 double MemoryReducer::SampleAndGetJsCallsPerMs(double time_ms) { argument 58 double time_delta_ms = time_ms - js_calls_sample_time_ms_; 60 js_calls_sample_time_ms_ = time_ms; 95 ScheduleTimer(event.time_ms, state_.next_gc_start_ms - event.time_ms); 196 ScheduleTimer(double time_ms, double delay_ms) argument [all...] |
H A D | memory-reducer.h | 103 double time_ms; member in struct:v8::internal::MemoryReducer::Event 122 void ScheduleTimer(double time_ms, double delay_ms); 152 double SampleAndGetJsCallsPerMs(double time_ms);
|
/external/webrtc/webrtc/modules/bitrate_controller/ |
H A D | bitrate_controller_unittest.cc | 105 int64_t time_ms = 1001; local 112 bandwidth_observer_->OnReceivedRtcpReceiverReport(report_blocks, 50, time_ms); 114 time_ms += 2000; 121 bandwidth_observer_->OnReceivedRtcpReceiverReport(report_blocks, 50, time_ms); 125 time_ms += 1000; 129 bandwidth_observer_->OnReceivedRtcpReceiverReport(report_blocks, 50, time_ms); 133 time_ms += 1000; 137 bandwidth_observer_->OnReceivedRtcpReceiverReport(report_blocks, 50, time_ms); 139 time_ms += 1000; 143 bandwidth_observer_->OnReceivedRtcpReceiverReport(report_blocks, 50, time_ms); 177 int64_t time_ms = 1; local 280 int64_t time_ms = 1001; local [all...] |
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/ |
H A D | packet.h | 34 // when the Packet object is deleted. The |time_ms| is an extra time 39 double time_ms, 51 double time_ms, 58 Packet(uint8_t* packet_memory, size_t allocated_bytes, double time_ms); 63 double time_ms); 98 double time_ms() const { return time_ms_; } function in class:webrtc::test::Packet
|
H A D | packet.cc | 23 double time_ms, 31 time_ms_(time_ms) { 38 double time_ms, 46 time_ms_(time_ms) { 50 Packet::Packet(uint8_t* packet_memory, size_t allocated_bytes, double time_ms) argument 57 time_ms_(time_ms) { 65 double time_ms) 72 time_ms_(time_ms) { 21 Packet(uint8_t* packet_memory, size_t allocated_bytes, double time_ms, const RtpHeaderParser& parser) argument 35 Packet(uint8_t* packet_memory, size_t allocated_bytes, size_t virtual_packet_length_bytes, double time_ms, const RtpHeaderParser& parser) argument 62 Packet(uint8_t* packet_memory, size_t allocated_bytes, size_t virtual_packet_length_bytes, double time_ms) argument
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/ |
H A D | bwe_test_baselinefile.h | 26 virtual void Estimate(int64_t time_ms, uint32_t estimate_bps) = 0;
|
H A D | packet_sender.h | 74 void RunFor(int64_t time_ms, Packets* in_out) override; 89 void ProcessFeedbackAndGeneratePackets(int64_t time_ms, 110 void RunFor(int64_t time_ms, Packets* in_out) override; 145 void RunFor(int64_t time_ms, Packets* in_out) override; 155 time_ms(packet.send_time_ms()) {} 158 : sequence_number(seq_num), time_ms(now_ms) {} 166 int64_t time_ms; // Time of when the packet left the sender, or when the member in struct:webrtc::testing::bwe::TcpSender::InFlight
|
H A D | packet_sender.cc | 97 void VideoSender::RunFor(int64_t time_ms, Packets* in_out) { argument 99 in_out, clock_.TimeInMilliseconds() + time_ms, source_->flow_id()); 100 ProcessFeedbackAndGeneratePackets(time_ms, &feedbacks, in_out); 104 int64_t time_ms, 109 int64_t time_to_run_ms = std::min<int64_t>(time_ms, 100); 114 std::max<int64_t>(std::min(time_ms, time_until_feedback_ms), 0); 136 time_ms -= time_to_run_ms; 137 } while (time_ms > 0); 176 void PacedVideoSender::RunFor(int64_t time_ms, Packets* in_out) { argument 177 int64_t end_time_ms = clock_.TimeInMilliseconds() + time_ms; 103 ProcessFeedbackAndGeneratePackets( int64_t time_ms, std::list<FeedbackPacket*>* feedbacks, Packets* packets) argument 347 RunFor(int64_t time_ms, Packets* in_out) argument [all...] |
H A D | bwe_test_baselinefile.cc | 67 virtual void Estimate(int64_t time_ms, uint32_t estimate_bps) { argument 71 if (reader_->Read(&read_ms) && read_ms == time_ms && 75 static_cast<uint32_t>(time_ms), estimate_bps, read_bps); 112 virtual void Estimate(int64_t time_ms, uint32_t estimate_bps) { argument 113 verifier_->Estimate(time_ms, estimate_bps); 114 output_content_.push_back(static_cast<uint32_t>(time_ms));
|
H A D | metric_recorder.h | 49 time_ms(0), 54 time_ms = now_ms; 60 int64_t time_ms; member in struct:webrtc::testing::bwe::PlotInformation 79 int64_t time_ms, 85 void UpdateTimeMs(int64_t time_ms);
|
H A D | packet_receiver.h | 42 void RunFor(int64_t time_ms, Packets* in_out) override;
|
H A D | bwe_test_framework.h | 207 // Run simulation for |time_ms| milliseconds, consuming packets from, and 209 // |send_time_us_|. The simulation time |time_ms| is optional to use. 210 virtual void RunFor(int64_t time_ms, Packets* in_out) = 0; 247 virtual void RunFor(int64_t time_ms, Packets* in_out); 267 virtual void RunFor(int64_t time_ms, Packets* in_out); 283 virtual void RunFor(int64_t time_ms, Packets* in_out); 299 virtual void RunFor(int64_t time_ms, Packets* in_out); 320 virtual void RunFor(int64_t time_ms, Packets* in_out); 341 virtual void RunFor(int64_t time_ms, Packets* in_out); 368 virtual void RunFor(int64_t time_ms, Packet [all...] |
/external/webrtc/webrtc/modules/remote_bitrate_estimator/tools/ |
H A D | bwe_rtp_play.cc | 66 first_rtp_time_ms = packet.time_ms; 67 packet.time_ms = packet.time_ms - first_rtp_time_ms; 91 packet.time_ms = packet.time_ms - first_rtp_time_ms; 92 next_rtp_time_ms = packet.time_ms;
|
H A D | rtp_to_text.cc | 46 ss << static_cast<int64_t>(packet.time_ms) * 1000000; 55 packet.time_ms,
|
/external/webrtc/webrtc/voice_engine/test/auto_test/fakes/ |
H A D | loudest_filter.h | 40 void RemoveTimeoutStreams(uint32_t time_ms);
|
H A D | loudest_filter.cc | 17 void LoudestFilter::RemoveTimeoutStreams(uint32_t time_ms) { argument 20 if (rtc::TimeDiff(time_ms, it->second.last_time_ms) >
|
/external/webrtc/webrtc/modules/audio_coding/codecs/tools/ |
H A D | audio_codec_speed_test.cc | 101 float time_ms; local 108 time_ms = EncodeABlock(&in_data_[data_pointer_], &bit_stream_[0], 110 encoding_time_ms_ += time_ms; 111 time_ms = DecodeABlock(&bit_stream_[0], encoded_bytes_, &out_data_[0]); 112 decoding_time_ms_ += time_ms;
|
/external/v8/test/unittests/heap/ |
H A D | memory-reducer-unittest.cc | 31 MemoryReducer::Event MarkCompactEvent(double time_ms, argument 35 event.time_ms = time_ms; 41 MemoryReducer::Event MarkCompactEventGarbageLeft(double time_ms) { argument 42 return MarkCompactEvent(time_ms, true); 46 MemoryReducer::Event MarkCompactEventNoGarbageLeft(double time_ms) { argument 47 return MarkCompactEvent(time_ms, false); 51 MemoryReducer::Event TimerEvent(double time_ms, argument 56 event.time_ms = time_ms; 63 TimerEventLowAllocationRate(double time_ms) argument 68 TimerEventHighAllocationRate(double time_ms) argument 73 TimerEventPendingGC(double time_ms) argument 77 PossibleGarbageEvent(double time_ms) argument [all...] |
/external/webrtc/webrtc/test/ |
H A D | rtp_file_reader.h | 31 uint32_t time_ms; member in struct:webrtc::test::RtpPacket
|
H A D | rtp_file_writer_unittest.cc | 35 packet.time_ms = i; 55 EXPECT_EQ(static_cast<uint32_t>(i), packet.time_ms);
|
/external/webrtc/webrtc/modules/video_coding/test/ |
H A D | stream_generator.h | 33 // |time_ms| denotes the timestamp you want to put on the frame, and the unit 34 // is millisecond. GenerateFrame will translate |time_ms| into a 90kHz 39 int64_t time_ms);
|
/external/webrtc/webrtc/modules/desktop_capture/ |
H A D | desktop_frame.h | 55 void set_capture_time_ms(int64_t time_ms) { capture_time_ms_ = time_ms; } argument
|