Home
last modified time | relevance | path

Searched refs:FromMicroseconds (Results 1 – 25 of 176) sorted by relevance

12345678

/external/chromium_org/media/filters/
Daudio_file_reader_unittest.cc85 base::TimeDelta::FromMicroseconds(1011520), 44608, 44608); in TEST_F()
90 base::TimeDelta::FromMicroseconds(350001), 15435, 15435); in TEST_F()
95 base::TimeDelta::FromMicroseconds(288414), 12719, 12719); in TEST_F()
100 base::TimeDelta::FromMicroseconds(288414), 12719, 12719); in TEST_F()
105 base::TimeDelta::FromMicroseconds(288414), 12719, 12719); in TEST_F()
110 base::TimeDelta::FromMicroseconds(288414), 12719, 12719); in TEST_F()
116 base::TimeDelta::FromMicroseconds(313470), 13824, 12719); in TEST_F()
121 base::TimeDelta::FromMicroseconds(312001), 13759, 13312); in TEST_F()
135 base::TimeDelta::FromMicroseconds(100001), 4410, 4410); in TEST_F()
/external/chromium_org/v8/test/cctest/
Dtest-semaphore.cc48 bool result = semaphore_->WaitFor(TimeDelta::FromMicroseconds(1)); in Run()
76 bool result = semaphore.WaitFor(TimeDelta::FromMicroseconds(1)); in TEST()
87 ok = semaphore.WaitFor(TimeDelta::FromMicroseconds(0)); in TEST()
89 ok = semaphore.WaitFor(TimeDelta::FromMicroseconds(100)); in TEST()
91 ok = semaphore.WaitFor(TimeDelta::FromMicroseconds(1000)); in TEST()
96 ok = semaphore.WaitFor(TimeDelta::FromMicroseconds(0)); in TEST()
99 ok = semaphore.WaitFor(TimeDelta::FromMicroseconds(100)); in TEST()
102 ok = semaphore.WaitFor(TimeDelta::FromMicroseconds(1000)); in TEST()
/external/chromium_org/net/quic/
Dquic_connection_helper_test.cc57 QuicTime::Delta delta = QuicTime::Delta::FromMicroseconds(1); in TEST_F()
62 EXPECT_EQ(base::TimeDelta::FromMicroseconds(delta.ToMicroseconds()), in TEST_F()
74 QuicTime::Delta delta = QuicTime::Delta::FromMicroseconds(1); in TEST_F()
80 EXPECT_EQ(base::TimeDelta::FromMicroseconds(delta.ToMicroseconds()), in TEST_F()
92 QuicTime::Delta delta = QuicTime::Delta::FromMicroseconds(1); in TEST_F()
95 QuicTime::Delta new_delta = QuicTime::Delta::FromMicroseconds(3); in TEST_F()
100 EXPECT_EQ(base::TimeDelta::FromMicroseconds(delta.ToMicroseconds()), in TEST_F()
119 QuicTime::Delta delta = QuicTime::Delta::FromMicroseconds(3); in TEST_F()
122 QuicTime::Delta new_delta = QuicTime::Delta::FromMicroseconds(1); in TEST_F()
Dquic_time_test.cc26 QuicTime::Delta::FromMicroseconds(1000)); in TEST()
30 QuicTime::Delta::FromMicroseconds(1000000)); in TEST()
32 EXPECT_EQ(1, QuicTime::Delta::FromMicroseconds(1000).ToMilliseconds()); in TEST()
35 EXPECT_EQ(1, QuicTime::Delta::FromMicroseconds(1000).ToMilliseconds()); in TEST()
41 EXPECT_EQ(QuicTime::Delta::FromMicroseconds(2000), in TEST()
46 EXPECT_EQ(QuicTime::Delta::FromMicroseconds(1000), in TEST()
66 QuicTime::Delta::FromMicroseconds(1)).IsInitialized()); in TEST_F()
102 QuicTime time = QuicTime::Zero().Add(QuicTime::Delta::FromMicroseconds(1000)); in TEST_F()
Dquic_time.cc20 return QuicTime::Delta::FromMicroseconds(0); in Zero()
25 return QuicTime::Delta::FromMicroseconds(kQuicInfiniteTimeUs); in Infinite()
39 QuicTime::Delta QuicTime::Delta::FromMicroseconds(int64 us) { in FromMicroseconds() function in net::QuicTime::Delta
40 return QuicTime::Delta(base::TimeDelta::FromMicroseconds(us)); in FromMicroseconds()
56 return QuicTime::Delta::FromMicroseconds(ToMicroseconds() + in Add()
61 return QuicTime::Delta::FromMicroseconds(ToMicroseconds() - in Subtract()
/external/chromium_org/media/base/android/
Dmedia_codec_bridge_unittest.cc108 return base::TimeDelta::FromMicroseconds(-1); in InfiniteTimeOut()
144 input_pts += base::TimeDelta::FromMicroseconds(33000); in DecodeMediaFrame()
175 base::TimeDelta::FromMicroseconds(++input_pts)); in TEST()
180 base::TimeDelta::FromMicroseconds(++input_pts)); in TEST()
275 base::TimeDelta::FromMicroseconds(10000000), in TEST()
276 base::TimeDelta::FromMicroseconds(9900000)); in TEST()
283 base::TimeDelta::FromMicroseconds(5000000), in TEST()
284 base::TimeDelta::FromMicroseconds(4900000)); in TEST()
/external/chromium_org/mojo/system/
Dwaiter_list_unittest.cc55 base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); in TEST()
98 base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); in TEST()
140 base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); in TEST()
164 base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); in TEST()
180 base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); in TEST()
200 base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); in TEST()
216 base::TimeDelta::FromMicroseconds(1 * kEpsilonMicros)); in TEST()
228 base::TimeDelta::FromMicroseconds(1 * kEpsilonMicros)); in TEST()
237 base::TimeDelta::FromMicroseconds(1 * kEpsilonMicros)); in TEST()
248 base::TimeDelta::FromMicroseconds(1 * kEpsilonMicros)); in TEST()
Dwaiter_unittest.cc55 base::TimeDelta::FromMicroseconds(kPollTimeMicros)); in WaitUntilDone()
121 base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); in TEST()
134 base::TimeDelta::FromMicroseconds(5 * kEpsilonMicros)); in TEST()
179 base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); in TEST()
192 base::TimeDelta::FromMicroseconds(5 * kEpsilonMicros)); in TEST()
260 base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); in TEST()
271 base::TimeDelta::FromMicroseconds(1 * kEpsilonMicros)); in TEST()
274 base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); in TEST()
Dsimple_dispatcher_unittest.cc302 base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); in TEST()
323 base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); in TEST()
344 base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); in TEST()
365 base::TimeDelta::FromMicroseconds(1 * kEpsilonMicros)); in TEST()
398 base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); in TEST()
429 base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); in TEST()
465 base::TimeDelta::FromMicroseconds(1 * kEpsilonMicros)); in TEST()
468 base::TimeDelta::FromMicroseconds(1 * kEpsilonMicros)); in TEST()
503 base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); in TEST()
/external/chromium_org/cc/output/
Dbegin_frame_args.cc13 interval(base::TimeDelta::FromMicroseconds(-1)) { in BeginFrameArgs()
59 return base::TimeDelta::FromMicroseconds(-16666 / 3); in DefaultDeadlineAdjustment()
63 return base::TimeDelta::FromMicroseconds(16666); in DefaultInterval()
67 return base::TimeDelta::FromMicroseconds(4444); in DefaultRetroactiveBeginFramePeriod()
/external/chromium_org/ui/events/ozone/evdev/
Dtouch_event_converter_unittest.cc154 EXPECT_EQ(base::TimeDelta::FromMicroseconds(0), event->time_stamp()); in TEST_F()
201 EXPECT_EQ(base::TimeDelta::FromMicroseconds(0), event->time_stamp()); in TEST_F()
215 EXPECT_EQ(base::TimeDelta::FromMicroseconds(0), event->time_stamp()); in TEST_F()
252 EXPECT_EQ(base::TimeDelta::FromMicroseconds(0), event->time_stamp()); in TEST_F()
303 EXPECT_EQ(base::TimeDelta::FromMicroseconds(0), ev0->time_stamp()); in TEST_F()
312 EXPECT_EQ(base::TimeDelta::FromMicroseconds(0), ev1->time_stamp()); in TEST_F()
329 EXPECT_EQ(base::TimeDelta::FromMicroseconds(0), ev1->time_stamp()); in TEST_F()
348 EXPECT_EQ(base::TimeDelta::FromMicroseconds(0), ev0->time_stamp()); in TEST_F()
367 EXPECT_EQ(base::TimeDelta::FromMicroseconds(0), ev0->time_stamp()); in TEST_F()
375 EXPECT_EQ(base::TimeDelta::FromMicroseconds(0), ev1->time_stamp()); in TEST_F()
[all …]
/external/chromium_org/net/tools/quic/
Dquic_epoll_connection_helper_test.cc62 QuicTime::Delta delta = QuicTime::Delta::FromMicroseconds(1); in TEST_F()
75 QuicTime::Delta delta = QuicTime::Delta::FromMicroseconds(1); in TEST_F()
90 QuicTime::Delta delta = QuicTime::Delta::FromMicroseconds(1); in TEST_F()
93 QuicTime::Delta new_delta = QuicTime::Delta::FromMicroseconds(3); in TEST_F()
Dquic_epoll_clock.cc20 QuicTime::Delta::FromMicroseconds(epoll_server_->ApproximateNowInUsec())); in ApproximateNow()
25 QuicTime::Delta::FromMicroseconds(epoll_server_->NowInUsec())); in Now()
/external/chromium_org/net/quic/congestion_control/
Dchannel_estimator_test.cc126 received_delta = received_delta.Add(QuicTime::Delta::FromMicroseconds(10)); in TEST_F()
136 QuicTime::Delta::FromMicroseconds( in TEST_F()
166 received_delta = received_delta.Add(QuicTime::Delta::FromMicroseconds(50)); in TEST_F()
176 QuicTime::Delta::FromMicroseconds( in TEST_F()
206 received_delta = received_delta.Add(QuicTime::Delta::FromMicroseconds(100)); in TEST_F()
216 QuicTime::Delta::FromMicroseconds( in TEST_F()
Dtcp_cubic_sender.cc212 return QuicTime::Delta::FromMicroseconds( in RetransmissionDelay()
300 mean_deviation_ = QuicTime::Delta::FromMicroseconds( in AckAccounting()
303 mean_deviation_ = QuicTime::Delta::FromMicroseconds( in AckAccounting()
306 smoothed_rtt_ = QuicTime::Delta::FromMicroseconds( in AckAccounting()
/external/chromium_org/media/base/
Dbuffers.h35 return base::TimeDelta::FromMicroseconds(kint64min); in kNoTimestamp()
40 return base::TimeDelta::FromMicroseconds(kint64max); in kInfiniteDuration()
Ddata_buffer_unittest.cc66 const base::TimeDelta kTimestampA = base::TimeDelta::FromMicroseconds(1337); in TEST()
67 const base::TimeDelta kTimestampB = base::TimeDelta::FromMicroseconds(1234); in TEST()
81 const base::TimeDelta kDurationA = base::TimeDelta::FromMicroseconds(1337); in TEST()
82 const base::TimeDelta kDurationB = base::TimeDelta::FromMicroseconds(1234); in TEST()
Daudio_converter.cc71 input_frame_duration_ = base::TimeDelta::FromMicroseconds( in AudioConverter()
74 output_frame_duration_ = base::TimeDelta::FromMicroseconds( in AudioConverter()
188 buffer_delay += base::TimeDelta::FromMicroseconds( in SourceCallback()
192 buffer_delay += base::TimeDelta::FromMicroseconds( in SourceCallback()
Daudio_timestamp_helper_unittest.cc28 base::TimeDelta::FromMicroseconds(target_in_microseconds)); in FramesToTarget()
73 helper_.SetBaseTimestamp(base::TimeDelta::FromMicroseconds(100)); in TEST_F()
/external/chromium_org/cc/input/
Dtop_controls_manager_unittest.cc138 time = base::TimeDelta::FromMicroseconds(100) + time; in TEST()
168 time = base::TimeDelta::FromMicroseconds(100) + time; in TEST()
194 time = base::TimeDelta::FromMicroseconds(100) + time; in TEST()
220 time = base::TimeDelta::FromMicroseconds(100) + time; in TEST()
250 time = base::TimeDelta::FromMicroseconds(100) + time; in TEST()
280 time = base::TimeDelta::FromMicroseconds(100) + time; in TEST()
343 time = base::TimeDelta::FromMicroseconds(100) + time; in TEST()
364 time = base::TimeDelta::FromMicroseconds(100) + time; in TEST()
/external/chromium_org/components/translate/common/
Dtranslate_metrics.cc85 base::TimeDelta::FromMicroseconds(time_in_msec * 1000.0)); in ReportTimeToBeReady()
91 base::TimeDelta::FromMicroseconds(time_in_msec * 1000.0)); in ReportTimeToLoad()
97 base::TimeDelta::FromMicroseconds(time_in_msec * 1000.0)); in ReportTimeToTranslate()
/external/chromium/base/
Dtime_unittest.cc178 TimeDelta::FromMicroseconds(2000)); in TEST()
186 EXPECT_EQ(13, TimeDelta::FromMicroseconds(13).InMicroseconds()); in TEST()
199 result = TimeDelta::FromMicroseconds(1).ToTimeSpec(); in TEST()
203 result = TimeDelta::FromMicroseconds( in TEST()
/external/chromium_org/ui/gfx/animation/
Dlinear_animation.cc21 return TimeDelta::FromMicroseconds(timer_interval); in CalculateInterval()
50 base::TimeDelta time_delta = base::TimeDelta::FromMicroseconds( in SetCurrentValue()
/external/chromium_org/media/webm/
Dwebm_audio_client.cc73 base::TimeDelta::FromMicroseconds( in InitializeConfig()
75 base::TimeDelta::FromMicroseconds( in InitializeConfig()
/external/chromium_org/content/renderer/media/
Dwebsourcebuffer_impl.cc24 return base::TimeDelta::FromMicroseconds( in DoubleToTimeDelta()
62 base::TimeDelta time_offset = base::TimeDelta::FromMicroseconds( in setTimestampOffset()

12345678