Duration 635 base/message_loop/message_loop.cc tracked_objects::Duration duration = Duration 15 base/profiler/tracked_time.cc Duration::Duration() : ms_(0) {} Duration 16 base/profiler/tracked_time.cc Duration::Duration(int32 duration) : ms_(duration) {} Duration 18 base/profiler/tracked_time.cc Duration& Duration::operator+=(const Duration& other) { Duration 23 base/profiler/tracked_time.cc Duration Duration::operator+(const Duration& other) const { Duration 24 base/profiler/tracked_time.cc return Duration(ms_ + other.ms_); Duration 27 base/profiler/tracked_time.cc bool Duration::operator==(const Duration& other) const { Duration 31 base/profiler/tracked_time.cc bool Duration::operator!=(const Duration& other) const { Duration 35 base/profiler/tracked_time.cc bool Duration::operator>(const Duration& other) const { Duration 40 base/profiler/tracked_time.cc Duration Duration::FromMilliseconds(int ms) { return Duration(ms); } Duration 42 base/profiler/tracked_time.cc int32 Duration::InMilliseconds() const { return ms_; } Duration 65 base/profiler/tracked_time.cc Duration TrackedTime::operator-(const TrackedTime& other) const { Duration 66 base/profiler/tracked_time.cc return Duration(ms_ - other.ms_); Duration 69 base/profiler/tracked_time.cc TrackedTime TrackedTime::operator+(const Duration& other) const { Duration 26 base/profiler/tracked_time.h class BASE_EXPORT Duration { // Similar to base::TimeDelta. Duration 28 base/profiler/tracked_time.h Duration(); Duration 30 base/profiler/tracked_time.h Duration& operator+=(const Duration& other); Duration 31 base/profiler/tracked_time.h Duration operator+(const Duration& other) const; Duration 33 base/profiler/tracked_time.h bool operator==(const Duration& other) const; Duration 34 base/profiler/tracked_time.h bool operator!=(const Duration& other) const; Duration 35 base/profiler/tracked_time.h bool operator>(const Duration& other) const; Duration 37 base/profiler/tracked_time.h static Duration FromMilliseconds(int ms); Duration 43 base/profiler/tracked_time.h explicit Duration(int32 duration); Duration 55 base/profiler/tracked_time.h Duration operator-(const TrackedTime& other) const; Duration 56 base/profiler/tracked_time.h TrackedTime operator+(const Duration& other) const; Duration 62 base/profiler/tracked_time.h friend class Duration; Duration 21 base/profiler/tracked_time_unittest.cc Duration::FromMilliseconds(kSomeMilliseconds); Duration 39 base/profiler/tracked_time_unittest.cc Duration first = Duration::FromMilliseconds(kFirstMilliseconds); Duration 40 base/profiler/tracked_time_unittest.cc Duration second = Duration::FromMilliseconds(kSecondMilliseconds); Duration 45 base/profiler/tracked_time_unittest.cc Duration sum = first + second; Duration 64 base/profiler/tracked_time_unittest.cc Duration before = now - TrackedTime(ticks_before); Duration 66 base/profiler/tracked_time_unittest.cc Duration after = now - TrackedTime(ticks_after); Duration 104 base/profiler/tracked_time_unittest.cc Duration before = now - TrackedTime(ticks_before); Duration 106 base/profiler/tracked_time_unittest.cc Duration after = now - TrackedTime(ticks_after); Duration 351 base/tracked_objects_unittest.cc Duration::FromMilliseconds(5); Duration 352 base/tracked_objects_unittest.cc const TrackedTime kEndOfRun = TrackedTime() + Duration::FromMilliseconds(7); Duration 387 base/tracked_objects_unittest.cc Duration::FromMilliseconds(5); Duration 388 base/tracked_objects_unittest.cc const TrackedTime kEndOfRun = TrackedTime() + Duration::FromMilliseconds(7); Duration 417 base/tracked_objects_unittest.cc Duration::FromMilliseconds(5); Duration 418 base/tracked_objects_unittest.cc const TrackedTime kEndOfRun = TrackedTime() + Duration::FromMilliseconds(7); Duration 440 base/tracked_objects_unittest.cc const TrackedTime kTimePosted = TrackedTime() + Duration::FromMilliseconds(1); Duration 442 base/tracked_objects_unittest.cc Duration::FromMilliseconds(5); Duration 443 base/tracked_objects_unittest.cc const TrackedTime kEndOfRun = TrackedTime() + Duration::FromMilliseconds(7); Duration 504 base/tracked_objects_unittest.cc Duration::FromMilliseconds(5); Duration 505 base/tracked_objects_unittest.cc const TrackedTime kEndOfRun = TrackedTime() + Duration::FromMilliseconds(7); Duration 540 base/tracked_objects_unittest.cc Duration::FromMilliseconds(5); Duration 541 base/tracked_objects_unittest.cc const TrackedTime kEndOfRun = TrackedTime() + Duration::FromMilliseconds(7); Duration 153 cc/animation/animation.cc iterations_ * curve_->Duration() <= (monotonic_time - Duration 185 cc/animation/animation.cc if (curve_->Duration() <= 0) Duration 189 cc/animation/animation.cc if (trimmed < curve_->Duration()) Duration 193 cc/animation/animation.cc if (iterations_ >= 0 && trimmed >= curve_->Duration() * iterations_) { Duration 196 cc/animation/animation.cc return curve_->Duration(); Duration 200 cc/animation/animation.cc int iteration = static_cast<int>(trimmed / curve_->Duration()); Duration 204 cc/animation/animation.cc trimmed = fmod(trimmed, curve_->Duration()); Duration 208 cc/animation/animation.cc return curve_->Duration() - trimmed; Duration 33 cc/animation/animation_curve.h virtual double Duration() const = 0; Duration 126 cc/animation/keyframed_animation_curve.h virtual double Duration() const OVERRIDE; Duration 152 cc/animation/keyframed_animation_curve.h virtual double Duration() const OVERRIDE; Duration 179 cc/animation/keyframed_animation_curve.h virtual double Duration() const OVERRIDE; Duration 211 cc/animation/keyframed_animation_curve.h virtual double Duration() const OVERRIDE; Duration 595 cc/animation/layer_animation_controller_unittest.cc Animation::ScrollOffset)->curve()->Duration(); Duration 599 cc/animation/layer_animation_controller_unittest.cc controller->GetAnimation(Animation::ScrollOffset)->curve()->Duration()); Duration 673 cc/animation/layer_animation_controller_unittest.cc Animation::ScrollOffset)->curve()->Duration(); Duration 677 cc/animation/layer_animation_controller_unittest.cc controller->GetAnimation(Animation::ScrollOffset)->curve()->Duration()); Duration 733 cc/animation/layer_animation_controller_unittest.cc double duration = curve->Duration(); Duration 28 cc/animation/scroll_offset_animation_curve.h virtual double Duration() const OVERRIDE; Duration 14 cc/animation/scroll_offset_animation_curve_unittest.cc TEST(ScrollOffsetAnimationCurveTest, Duration) { Duration 22 cc/animation/scroll_offset_animation_curve_unittest.cc EXPECT_DOUBLE_EQ(0.0, curve->Duration()); Duration 26 cc/animation/scroll_offset_animation_curve_unittest.cc EXPECT_DOUBLE_EQ(0.1, curve->Duration()); Duration 30 cc/animation/scroll_offset_animation_curve_unittest.cc EXPECT_DOUBLE_EQ(0.15, curve->Duration()); Duration 34 cc/animation/scroll_offset_animation_curve_unittest.cc EXPECT_DOUBLE_EQ(0.2, curve->Duration()); Duration 38 cc/animation/scroll_offset_animation_curve_unittest.cc EXPECT_DOUBLE_EQ(0.05, curve->Duration()); Duration 42 cc/animation/scroll_offset_animation_curve_unittest.cc EXPECT_DOUBLE_EQ(3.0, curve->Duration()); Duration 46 cc/animation/scroll_offset_animation_curve_unittest.cc EXPECT_DOUBLE_EQ(0.15, curve->Duration()); Duration 50 cc/animation/scroll_offset_animation_curve_unittest.cc EXPECT_DOUBLE_EQ(2.0, curve->Duration()); Duration 54 cc/animation/scroll_offset_animation_curve_unittest.cc EXPECT_DOUBLE_EQ(0.05, curve->Duration()); Duration 66 cc/animation/scroll_offset_animation_curve_unittest.cc double duration = curve->Duration(); Duration 67 cc/animation/scroll_offset_animation_curve_unittest.cc EXPECT_GT(curve->Duration(), 0); Duration 68 cc/animation/scroll_offset_animation_curve_unittest.cc EXPECT_LT(curve->Duration(), 0.1); Duration 71 cc/animation/scroll_offset_animation_curve_unittest.cc EXPECT_EQ(duration, curve->Duration()); Duration 94 cc/animation/scroll_offset_animation_curve_unittest.cc double duration = curve->Duration(); Duration 99 cc/animation/scroll_offset_animation_curve_unittest.cc EXPECT_EQ(duration, clone->Duration()); Duration 20 cc/animation/timing_function.h virtual double Duration() const OVERRIDE; Duration 29 cc/test/animation_test_common.h virtual double Duration() const OVERRIDE; Duration 42 cc/test/animation_test_common.h virtual double Duration() const OVERRIDE; Duration 61 cc/test/animation_test_common.h virtual double Duration() const OVERRIDE; Duration 521 cc/trees/layer_tree_host_unittest_animation.cc float end_opacity = curve->GetValue(curve->Duration()); Duration 524 cc/trees/layer_tree_host_unittest_animation.cc double time = curve->Duration() * 0.25; Duration 108 media/base/clock.cc SetTime(Duration(), Duration()); Duration 81 media/base/clock.h base::TimeDelta Duration() const; Duration 42 media/base/clock_unittest.cc EXPECT_EQ(kDuration, clock_.Duration()); Duration 158 media/base/clock_unittest.cc clock_.SetTime(kFirstTime, clock_.Duration()); Duration 160 media/base/clock_unittest.cc clock_.SetTime(kSecondTime, clock_.Duration()); Duration 175 media/base/clock_unittest.cc clock_.SetTime(kUpdatedTime, clock_.Duration()); Duration 232 media/base/clock_unittest.cc clock_.SetMaxTime(clock_.Duration()); Duration 79 media/base/data_buffer_unittest.cc TEST(DataBufferTest, Duration) { Duration 52 media/base/decoder_buffer_queue.h base::TimeDelta Duration(); Duration 48 media/base/decoder_buffer_queue_unittest.cc EXPECT_EQ(1, queue.Duration().InSeconds()); Duration 52 media/base/decoder_buffer_queue_unittest.cc EXPECT_EQ(0, queue.Duration().InSeconds()); Duration 55 media/base/decoder_buffer_queue_unittest.cc TEST(DecoderBufferQueueTest, Duration) { Duration 57 media/base/decoder_buffer_queue_unittest.cc EXPECT_EQ(0, queue.Duration().InSeconds()); Duration 60 media/base/decoder_buffer_queue_unittest.cc EXPECT_EQ(0, queue.Duration().InSeconds()); Duration 63 media/base/decoder_buffer_queue_unittest.cc EXPECT_EQ(1, queue.Duration().InSeconds()); Duration 66 media/base/decoder_buffer_queue_unittest.cc EXPECT_EQ(2, queue.Duration().InSeconds()); Duration 69 media/base/decoder_buffer_queue_unittest.cc EXPECT_EQ(4, queue.Duration().InSeconds()); Duration 72 media/base/decoder_buffer_queue_unittest.cc EXPECT_EQ(3, queue.Duration().InSeconds()); Duration 75 media/base/decoder_buffer_queue_unittest.cc EXPECT_EQ(2, queue.Duration().InSeconds()); Duration 78 media/base/decoder_buffer_queue_unittest.cc EXPECT_EQ(0, queue.Duration().InSeconds()); Duration 81 media/base/decoder_buffer_queue_unittest.cc EXPECT_EQ(0, queue.Duration().InSeconds()); Duration 88 media/base/decoder_buffer_queue_unittest.cc EXPECT_EQ(2, queue.Duration().InSeconds()); Duration 92 media/base/decoder_buffer_queue_unittest.cc EXPECT_EQ(2, queue.Duration().InSeconds()); Duration 97 media/base/decoder_buffer_queue_unittest.cc EXPECT_EQ(0, queue.Duration().InSeconds()); Duration 102 media/base/decoder_buffer_queue_unittest.cc EXPECT_EQ(0, queue.Duration().InSeconds()); Duration 107 media/base/decoder_buffer_queue_unittest.cc EXPECT_EQ(0, queue.Duration().InSeconds()); Duration 112 media/base/decoder_buffer_queue_unittest.cc EXPECT_EQ(0, queue.Duration().InSeconds()); Duration 116 media/base/decoder_buffer_queue_unittest.cc EXPECT_EQ(3, queue.Duration().InSeconds()); Duration 124 media/base/decoder_buffer_queue_unittest.cc EXPECT_EQ(4, queue.Duration().InSeconds()); Duration 127 media/base/decoder_buffer_queue_unittest.cc EXPECT_EQ(4, queue.Duration().InSeconds()); Duration 130 media/base/decoder_buffer_queue_unittest.cc EXPECT_EQ(6, queue.Duration().InSeconds()); Duration 133 media/base/decoder_buffer_queue_unittest.cc EXPECT_EQ(2, queue.Duration().InSeconds()); Duration 136 media/base/decoder_buffer_queue_unittest.cc EXPECT_EQ(0, queue.Duration().InSeconds()); Duration 139 media/base/decoder_buffer_queue_unittest.cc EXPECT_EQ(0, queue.Duration().InSeconds()); Duration 142 media/base/decoder_buffer_queue_unittest.cc EXPECT_EQ(0, queue.Duration().InSeconds()); Duration 169 media/base/pipeline.cc if (clock_->Duration() == TimeDelta() || total_bytes_ == 0) Duration 175 media/base/pipeline.cc end = std::min(end, clock_->Duration()); Duration 184 media/base/pipeline.cc return clock_->Duration(); Duration 394 media/base/pipeline.cc double time_offset_in_ms = clock_->Duration().InMilliseconds() * Duration 400 media/base/pipeline.cc TimeDelta epsilon = clock_->Duration() / 100; Duration 403 media/base/pipeline.cc if (time_offset + epsilon > clock_->Duration()) Duration 404 media/base/pipeline.cc return clock_->Duration(); Duration 489 media/base/pipeline.cc clock_->SetMaxTime(clock_->Duration()); Duration 856 media/base/pipeline.cc clock_->SetMaxTime(clock_->Duration()); Duration 918 media/base/pipeline.cc clock_->SetMaxTime(clock_->Duration()); Duration 550 media/ffmpeg/ffmpeg_unittest.cc TEST_P(FFmpegTest, Duration) { Duration 326 media/filters/ffmpeg_demuxer.cc return buffer_queue_.IsEmpty() || buffer_queue_.Duration() < kCapacity; Duration 24 ui/compositor/float_animation_curve_adapter.h virtual double Duration() const OVERRIDE; Duration 28 ui/compositor/transform_animation_curve_adapter.h virtual double Duration() const OVERRIDE; Duration 57 ui/compositor/transform_animation_curve_adapter.h virtual double Duration() const OVERRIDE; Duration 42 webkit/renderer/compositor_bindings/web_scroll_offset_animation_curve_impl.cc return curve_->Duration();