/external/v8/src/ |
D | date.h | 57 static int DaysFromTime(int64_t time_ms) { in DaysFromTime() argument 58 if (time_ms < 0) time_ms -= (kMsPerDay - 1); in DaysFromTime() 59 return static_cast<int>(time_ms / kMsPerDay); in DaysFromTime() 65 static int TimeInDay(int64_t time_ms, int days) { in TimeInDay() argument 66 return static_cast<int>(time_ms - days * kMsPerDay); in TimeInDay() 92 const char* LocalTimezone(int64_t time_ms) { in LocalTimezone() argument 93 if (time_ms < 0 || time_ms > kMaxEpochTimeInMs) { in LocalTimezone() 94 time_ms = EquivalentTime(time_ms); in LocalTimezone() 96 return base::OS::LocalTimezone(static_cast<double>(time_ms), tz_cache_); in LocalTimezone() 100 int TimezoneOffset(int64_t time_ms) { in TimezoneOffset() argument [all …]
|
D | date.cc | 178 void DateCache::BreakDownTime(int64_t time_ms, int* year, int* month, int* day, in BreakDownTime() argument 181 int const days = DaysFromTime(time_ms); in BreakDownTime() 182 int const time_in_day_ms = TimeInDay(time_ms, days); in BreakDownTime() 212 int DateCache::DaylightSavingsOffsetInMs(int64_t time_ms) { in DaylightSavingsOffsetInMs() argument 213 int time_sec = (time_ms >= 0 && time_ms <= kMaxEpochTimeInMs) in DaylightSavingsOffsetInMs() 214 ? static_cast<int>(time_ms / 1000) in DaylightSavingsOffsetInMs() 215 : static_cast<int>(EquivalentTime(time_ms) / 1000); in DaylightSavingsOffsetInMs()
|
/external/webrtc/webrtc/modules/bitrate_controller/ |
D | bitrate_controller_unittest.cc | 105 int64_t time_ms = 1001; in TEST_F() local 112 bandwidth_observer_->OnReceivedRtcpReceiverReport(report_blocks, 50, time_ms); in TEST_F() 114 time_ms += 2000; in TEST_F() 121 bandwidth_observer_->OnReceivedRtcpReceiverReport(report_blocks, 50, time_ms); in TEST_F() 125 time_ms += 1000; in TEST_F() 129 bandwidth_observer_->OnReceivedRtcpReceiverReport(report_blocks, 50, time_ms); in TEST_F() 133 time_ms += 1000; in TEST_F() 137 bandwidth_observer_->OnReceivedRtcpReceiverReport(report_blocks, 50, time_ms); in TEST_F() 139 time_ms += 1000; in TEST_F() 143 bandwidth_observer_->OnReceivedRtcpReceiverReport(report_blocks, 50, time_ms); in TEST_F() [all …]
|
/external/webrtc/webrtc/modules/audio_processing/transient/ |
D | transient_suppressor_unittest.cc | 30 for (int time_ms = 0; time_ms < 3990; time_ms += ts::kChunkSizeMs) { in TEST() local 44 for (int time_ms = 0; time_ms < 990; time_ms += ts::kChunkSizeMs) { in TEST() local 61 for (int time_ms = 0; time_ms < 1000; time_ms += ts::kChunkSizeMs) { in TEST() local 73 for (int time_ms = 0; time_ms < 3990; time_ms += ts::kChunkSizeMs) { in TEST() local 78 for (int time_ms = 0; time_ms < 1000; time_ms += ts::kChunkSizeMs) { in TEST() local
|
/external/v8/src/heap/ |
D | memory-reducer.cc | 31 double time_ms = heap->MonotonicallyIncreasingTimeInMs(); in RunInternal() local 32 heap->tracer()->SampleAllocation(time_ms, heap->NewSpaceAllocationCounter(), in RunInternal() 43 event.time_ms = time_ms; in RunInternal() 86 ScheduleTimer(event.time_ms, state_.next_gc_start_ms - event.time_ms); in NotifyTimer() 90 state_.next_gc_start_ms - event.time_ms); in NotifyTimer() 102 ScheduleTimer(event.time_ms, state_.next_gc_start_ms - event.time_ms); in NotifyMarkCompact() 119 ScheduleTimer(event.time_ms, state_.next_gc_start_ms - event.time_ms); in NotifyPossibleGarbage() 126 event.time_ms > state.last_gc_time_ms + kWatchdogDelayMs; in WatchdogGC() 147 return State(kWait, 0, event.time_ms + kLongDelayMs, in Step() 148 event.type == kMarkCompact ? event.time_ms in Step() [all …]
|
D | gc-tracer.cc | 709 const BytesAndDuration& initial, double time_ms) { in AverageSpeed() argument 711 [time_ms](BytesAndDuration a, BytesAndDuration b) { in AverageSpeed() 712 if (time_ms != 0 && a.second >= time_ms) return a; in AverageSpeed() 795 double time_ms) const { in NewSpaceAllocationThroughputInBytesPerMillisecond() 799 MakeBytesAndDuration(bytes, durations), time_ms); in NewSpaceAllocationThroughputInBytesPerMillisecond() 803 double time_ms) const { in OldGenerationAllocationThroughputInBytesPerMillisecond() 807 MakeBytesAndDuration(bytes, durations), time_ms); in OldGenerationAllocationThroughputInBytesPerMillisecond() 811 double time_ms) const { in AllocationThroughputInBytesPerMillisecond() 812 return NewSpaceAllocationThroughputInBytesPerMillisecond(time_ms) + in AllocationThroughputInBytesPerMillisecond() 813 OldGenerationAllocationThroughputInBytesPerMillisecond(time_ms); in AllocationThroughputInBytesPerMillisecond()
|
D | gc-tracer.h | 289 double time_ms = 0) const; 295 double time_ms = 0) const; 300 double AllocationThroughputInBytesPerMillisecond(double time_ms) const; 358 const BytesAndDuration& initial, double time_ms);
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/ |
D | packet_sender.cc | 97 void VideoSender::RunFor(int64_t time_ms, Packets* in_out) { in RunFor() argument 99 in_out, clock_.TimeInMilliseconds() + time_ms, source_->flow_id()); in RunFor() 100 ProcessFeedbackAndGeneratePackets(time_ms, &feedbacks, in_out); in RunFor() 104 int64_t time_ms, in ProcessFeedbackAndGeneratePackets() argument 109 int64_t time_to_run_ms = std::min<int64_t>(time_ms, 100); in ProcessFeedbackAndGeneratePackets() 114 std::max<int64_t>(std::min(time_ms, time_until_feedback_ms), 0); in ProcessFeedbackAndGeneratePackets() 136 time_ms -= time_to_run_ms; in ProcessFeedbackAndGeneratePackets() 137 } while (time_ms > 0); in ProcessFeedbackAndGeneratePackets() 176 void PacedVideoSender::RunFor(int64_t time_ms, Packets* in_out) { in RunFor() argument 177 int64_t end_time_ms = clock_.TimeInMilliseconds() + time_ms; in RunFor() [all …]
|
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()) {} in InFlight() 158 : sequence_number(seq_num), time_ms(now_ms) {} in InFlight() 166 int64_t time_ms; // Time of when the packet left the sender, or when the member
|
D | bwe_test_baselinefile.cc | 67 virtual void Estimate(int64_t time_ms, uint32_t estimate_bps) { in Estimate() argument 71 if (reader_->Read(&read_ms) && read_ms == time_ms && in Estimate() 75 static_cast<uint32_t>(time_ms), estimate_bps, read_bps); in Estimate() 112 virtual void Estimate(int64_t time_ms, uint32_t estimate_bps) { in Estimate() argument 113 verifier_->Estimate(time_ms, estimate_bps); in Estimate() 114 output_content_.push_back(static_cast<uint32_t>(time_ms)); in Estimate()
|
D | metric_recorder.h | 49 time_ms(0), in PlotInformation() 54 time_ms = now_ms; in Update() 60 int64_t time_ms; member 79 int64_t time_ms, 85 void UpdateTimeMs(int64_t time_ms);
|
D | bwe_test_framework.h | 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, Packets* in_out); 400 virtual void RunFor(int64_t time_ms, Packets* in_out);
|
D | metric_recorder.cc | 136 plot_information_[metric].time_ms, in PlotDynamics() 145 int64_t time_ms, in PlotLine() argument 147 BWE_TEST_LOGGING_PLOT_WITH_NAME(windows_id, prefix, time_ms, in PlotLine() 151 void MetricRecorder::UpdateTimeMs(int64_t time_ms) { in UpdateTimeMs() argument 152 now_ms_ = std::max(now_ms_, time_ms); in UpdateTimeMs() 230 (arrival_time_ms - plot_information_[kThroughput].time_ms)) / in PushThroughputBytes() 238 (arrival_time_ms - plot_information_[kThroughput].time_ms)) / in PushThroughputBytes()
|
/external/v8/src/builtins/ |
D | builtins-date.cc | 154 int64_t time_ms = static_cast<int64_t>(time_val); in ToDateString() local 155 int64_t local_time_ms = date_cache->ToLocal(time_ms); in ToDateString() 159 int timezone_offset = -date_cache->TimezoneOffset(time_ms); in ToDateString() 162 const char* local_timezone = date_cache->LocalTimezone(time_ms); in ToDateString() 369 int64_t const time_ms = static_cast<int64_t>(time_val); in BUILTIN() local 370 int64_t local_time_ms = isolate->date_cache()->ToLocal(time_ms); in BUILTIN() 390 int64_t const time_ms = static_cast<int64_t>(date->value()->Number()); in BUILTIN() local 391 int64_t local_time_ms = isolate->date_cache()->ToLocal(time_ms); in BUILTIN() 423 int64_t const time_ms = static_cast<int64_t>(time_val); in BUILTIN() local 424 int64_t local_time_ms = isolate->date_cache()->ToLocal(time_ms); in BUILTIN() [all …]
|
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/ |
D | packet.cc | 23 double time_ms, in Packet() argument 31 time_ms_(time_ms) { in Packet() 38 double time_ms, in Packet() argument 46 time_ms_(time_ms) { in Packet() 50 Packet::Packet(uint8_t* packet_memory, size_t allocated_bytes, double time_ms) in Packet() argument 57 time_ms_(time_ms) { in Packet() 65 double time_ms) in Packet() argument 72 time_ms_(time_ms) { in Packet()
|
D | packet.h | 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_; } in time_ms() function
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/tools/ |
D | bwe_rtp_play.cc | 66 first_rtp_time_ms = packet.time_ms; in main() 67 packet.time_ms = packet.time_ms - first_rtp_time_ms; in main() 91 packet.time_ms = packet.time_ms - first_rtp_time_ms; in main() 92 next_rtp_time_ms = packet.time_ms; in main()
|
D | rtp_to_text.cc | 46 ss << static_cast<int64_t>(packet.time_ms) * 1000000; in main() 55 packet.time_ms, in main()
|
/external/perf_data_converter/src/quipper/ |
D | perf_stat_parser.cc | 31 uint64_t time_ms = 0; in ParsePerfStatOutputToProto() local 57 !SecondsStringToMillisecondsUint64(first_token, &time_ms)) { in ParsePerfStatOutputToProto() 58 time_ms = 0; in ParsePerfStatOutputToProto() 61 if (time_ms != 0) { in ParsePerfStatOutputToProto() 63 proto->mutable_line(i)->set_time_ms(time_ms); in ParsePerfStatOutputToProto()
|
D | perf_recorder_test.cc | 116 EXPECT_GE(stat.line(0).time_ms(), 200); in TEST_F() 153 EXPECT_GE(stat.line(0).time_ms(), 200); in TEST_F() 159 EXPECT_GE(stat.line(1).time_ms(), 200); in TEST_F() 165 EXPECT_GE(stat.line(2).time_ms(), 200); in TEST_F() 171 EXPECT_GE(stat.line(3).time_ms(), 200); in TEST_F()
|
D | perf_stat_parser_test.cc | 101 EXPECT_EQ(2001, line1.time_ms()); in TEST() 106 EXPECT_EQ(2001, line2.time_ms()); in TEST() 111 EXPECT_EQ(2001, line3.time_ms()); in TEST() 116 EXPECT_EQ(2001, line4.time_ms()); in TEST()
|
/external/webrtc/webrtc/modules/audio_coding/codecs/tools/ |
D | audio_codec_speed_test.cc | 101 float time_ms; in EncodeDecode() local 108 time_ms = EncodeABlock(&in_data_[data_pointer_], &bit_stream_[0], in EncodeDecode() 110 encoding_time_ms_ += time_ms; in EncodeDecode() 111 time_ms = DecodeABlock(&bit_stream_[0], encoded_bytes_, &out_data_[0]); in EncodeDecode() 112 decoding_time_ms_ += time_ms; in EncodeDecode()
|
/external/webrtc/third_party/gtest-parallel/ |
D | gtest-parallel | 130 def print_test_status(self, last_finished_test, time_ms): argument 133 last_finished_test, time_ms)) 141 (exit_code, time_ms) = [int(x) for x in arg.split(' ', 1)] 144 self.print_test_status(test, time_ms) 152 % (self.finished_tests, self.total_tests, test, exit_code, time_ms)) 400 for (time_ms, test_binary, test) in ts: 401 print "%8s %s" % ("%dms" % time_ms, test)
|
/external/webrtc/webrtc/modules/audio_coding/acm2/ |
D | audio_coding_module_impl.cc | 662 int AudioCodingModuleImpl::SetMinimumPlayoutDelay(int time_ms) { in SetMinimumPlayoutDelay() argument 663 if ((time_ms < 0) || (time_ms > 10000)) { in SetMinimumPlayoutDelay() 668 return receiver_.SetMinimumDelay(time_ms); in SetMinimumPlayoutDelay() 671 int AudioCodingModuleImpl::SetMaximumPlayoutDelay(int time_ms) { in SetMaximumPlayoutDelay() argument 672 if ((time_ms < 0) || (time_ms > 10000)) { in SetMaximumPlayoutDelay() 677 return receiver_.SetMaximumDelay(time_ms); in SetMaximumPlayoutDelay()
|
/external/webrtc/webrtc/voice_engine/test/auto_test/fakes/ |
D | loudest_filter.cc | 17 void LoudestFilter::RemoveTimeoutStreams(uint32_t time_ms) { in RemoveTimeoutStreams() argument 20 if (rtc::TimeDiff(time_ms, it->second.last_time_ms) > in RemoveTimeoutStreams()
|