/external/libcxx/include/ |
D | chrono | 25 duration_cast(const duration<Rep, Period>& fd); 38 // duration 41 class duration 43 static_assert(!__is_duration<Rep>::value, "A duration representation can not be a duration"); 44 …static_assert(__is_ratio<Period>::value, "Second template parameter of duration must be a std::rat… 45 static_assert(Period::num > 0, "duration period must be positive"); 50 constexpr duration() = default; 52 constexpr explicit duration(const Rep2& r, 62 constexpr duration(const duration<Rep2, Period2>& d, 75 constexpr duration operator+() const; [all …]
|
/external/libcxx/test/utilities/time/time.duration/time.duration.arithmetic/ |
D | Android.mk | 17 test_makefile := external/libcxx/test/utilities/time/time.duration/time.duration.arithmetic/Android… 19 test_name := utilities/time/time.duration/time.duration.arithmetic/op_times= 23 test_name := utilities/time/time.duration/time.duration.arithmetic/op_+ 27 test_name := utilities/time/time.duration/time.duration.arithmetic/op_- 31 test_name := utilities/time/time.duration/time.duration.arithmetic/op_-- 35 test_name := utilities/time/time.duration/time.duration.arithmetic/op_++ 39 test_name := utilities/time/time.duration/time.duration.arithmetic/op_++int 43 test_name := utilities/time/time.duration/time.duration.arithmetic/op_+= 47 test_name := utilities/time/time.duration/time.duration.arithmetic/op_-= 51 test_name := utilities/time/time.duration/time.duration.arithmetic/op_mod=rep [all …]
|
/external/chromium_org/cc/test/ |
D | animation_test_common.cc | 27 double duration, in AddOpacityTransition() argument 37 if (duration > 0.0) in AddOpacityTransition() 40 duration, end_opacity, scoped_ptr<TimingFunction>())); in AddOpacityTransition() 57 double duration, in AddAnimatedTransform() argument 63 if (duration > 0.0) { in AddAnimatedTransform() 69 duration, operations, scoped_ptr<TimingFunction>())); in AddAnimatedTransform() 86 double duration, in AddAnimatedTransform() argument 90 if (duration > 0.0) { in AddAnimatedTransform() 96 return AddAnimatedTransform(target, duration, start_operations, operations); in AddAnimatedTransform() 101 double duration, in AddAnimatedFilter() argument [all …]
|
D | animation_test_common.h | 26 explicit FakeFloatAnimationCurve(double duration); 39 explicit FakeTransformTransition(double duration); 59 FakeFloatTransition(double duration, float from, float to); 123 double duration, 129 double duration, 134 double duration, 139 double duration, 145 double duration, 151 double duration, 156 double duration, [all …]
|
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/ |
D | dtmfsender_unittest.cc | 77 DtmfInfo(int code, int duration, int gap) in DtmfInfo() 79 duration(duration), in DtmfInfo() 82 int duration; member 98 int code, int duration) OVERRIDE { in InsertDtmf() argument 108 << " duration=" << duration in InsertDtmf() 110 dtmf_info_queue_.push_back(DtmfInfo(code, duration, gap)); in InsertDtmf() 158 void GetDtmfInfoFromString(const std::string& tones, int duration, in GetDtmfInfoFromString() argument 163 int extra_delay = -1 * (inter_tone_gap + duration); in GetDtmfInfoFromString() 173 dtmfs->push_back(FakeDtmfProvider::DtmfInfo(code, duration, in GetDtmfInfoFromString() 174 duration + inter_tone_gap + extra_delay)); in GetDtmfInfoFromString() [all …]
|
/external/libcxx/test/utilities/time/time.duration/time.duration.nonmember/ |
D | Android.mk | 17 test_makefile := external/libcxx/test/utilities/time/time.duration/time.duration.nonmember/Android.… 19 test_name := utilities/time/time.duration/time.duration.nonmember/op_times_rep 23 test_name := utilities/time/time.duration/time.duration.nonmember/op_mod_rep 27 test_name := utilities/time/time.duration/time.duration.nonmember/op_+ 31 test_name := utilities/time/time.duration/time.duration.nonmember/op_- 35 test_name := utilities/time/time.duration/time.duration.nonmember/op_divide_rep 39 test_name := utilities/time/time.duration/time.duration.nonmember/op_mod_duration 43 test_name := utilities/time/time.duration/time.duration.nonmember/op_divide_duration
|
D | op_-.pass.cpp | 37 std::chrono::duration<int, std::ratio<2, 3> > s1(3); in main() 38 std::chrono::duration<int, std::ratio<3, 5> > s2(5); in main() 39 std::chrono::duration<int, std::ratio<1, 15> > r = s1 - s2; in main() 43 std::chrono::duration<int, std::ratio<2, 3> > s1(3); in main() 44 std::chrono::duration<double, std::ratio<3, 5> > s2(5); in main() 45 std::chrono::duration<double, std::ratio<1, 15> > r = s1 - s2; in main() 62 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(3); in main() 63 constexpr std::chrono::duration<int, std::ratio<3, 5> > s2(5); in main() 64 constexpr std::chrono::duration<int, std::ratio<1, 15> > r = s1 - s2; in main() 68 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(3); in main() [all …]
|
D | op_+.pass.cpp | 36 std::chrono::duration<int, std::ratio<2, 3> > s1(3); in main() 37 std::chrono::duration<int, std::ratio<3, 5> > s2(5); in main() 38 std::chrono::duration<int, std::ratio<1, 15> > r = s1 + s2; in main() 42 std::chrono::duration<int, std::ratio<2, 3> > s1(3); in main() 43 std::chrono::duration<double, std::ratio<3, 5> > s2(5); in main() 44 std::chrono::duration<double, std::ratio<1, 15> > r = s1 + s2; in main() 61 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(3); in main() 62 constexpr std::chrono::duration<int, std::ratio<3, 5> > s2(5); in main() 63 constexpr std::chrono::duration<int, std::ratio<1, 15> > r = s1 + s2; in main() 67 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(3); in main() [all …]
|
/external/libcxx/test/utilities/time/time.duration/time.duration.cons/ |
D | Android.mk | 17 test_makefile := external/libcxx/test/utilities/time/time.duration/time.duration.cons/Android.mk 19 test_name := utilities/time/time.duration/time.duration.cons/default 23 test_name := utilities/time/time.duration/time.duration.cons/convert_inexact 27 test_name := utilities/time/time.duration/time.duration.cons/rep02 31 test_name := utilities/time/time.duration/time.duration.cons/convert_exact 35 test_name := utilities/time/time.duration/time.duration.cons/convert_overflow 39 test_name := utilities/time/time.duration/time.duration.cons/convert_int_to_float 43 test_name := utilities/time/time.duration/time.duration.cons/rep
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
D | dtmf_buffer_unittest.cc | 32 static uint32_t MakeDtmfPayload(int event, bool end, int volume, int duration) { in MakeDtmfPayload() argument 42 payload |= (duration & 0xFFFF); in MakeDtmfPayload() 49 return (a.duration == b.duration in EqualEvents() 66 int duration = 4711; in TEST() local 68 uint32_t payload = MakeDtmfPayload(event_no, end_bit, volume, duration); in TEST() 74 EXPECT_EQ(duration, event.duration); in TEST() 94 int duration = 4711; in TEST() local 96 DtmfEvent event(timestamp, event_no, volume, duration, end_bit); in TEST() 112 EXPECT_TRUE(buffer.GetEvent(timestamp + duration / 2, &out_event)); in TEST() 118 EXPECT_TRUE(buffer.GetEvent(timestamp + duration + 10, &out_event)); in TEST() [all …]
|
/external/glide/library/src/main/java/com/bumptech/glide/request/ |
D | DrawableCrossFadeViewAnimation.java | 16 private int duration; field in DrawableCrossFadeViewAnimation 28 private int duration; field in DrawableCrossFadeViewAnimation.DrawableCrossFadeFactory 35 public DrawableCrossFadeFactory(int duration) { in DrawableCrossFadeFactory() argument 36 this(getDefaultAnimation(), duration); in DrawableCrossFadeFactory() 39 public DrawableCrossFadeFactory(Context context, int defaultAnimationId, int duration) { in DrawableCrossFadeFactory() argument 42 this.duration = duration; in DrawableCrossFadeFactory() 45 public DrawableCrossFadeFactory(Animation defaultAnimation, int duration) { in DrawableCrossFadeFactory() argument 47 this.duration = duration; in DrawableCrossFadeFactory() 60 animation = new DrawableCrossFadeViewAnimation(defaultAnimation, duration); in build() 67 public DrawableCrossFadeViewAnimation(Animation defaultAnimation, int duration) { in DrawableCrossFadeViewAnimation() argument [all …]
|
/external/libcxx/test/utilities/time/time.traits/time.traits.specializations/ |
D | duration.pass.cpp | 30 test<std::chrono::duration<int, std::ratio<1, 100> >, in main() 31 std::chrono::duration<long, std::ratio<1, 1000> >, in main() 32 std::chrono::duration<long, std::ratio<1, 1000> > >(); in main() 33 test<std::chrono::duration<long, std::ratio<1, 100> >, in main() 34 std::chrono::duration<int, std::ratio<1, 1000> >, in main() 35 std::chrono::duration<long, std::ratio<1, 1000> > >(); in main() 36 test<std::chrono::duration<char, std::ratio<1, 30> >, in main() 37 std::chrono::duration<short, std::ratio<1, 1000> >, in main() 38 std::chrono::duration<int, std::ratio<1, 3000> > >(); in main() 39 test<std::chrono::duration<double, std::ratio<21, 1> >, in main() [all …]
|
D | time_point.pass.cpp | 34 test<std::chrono::duration<int, std::ratio<1, 100> >, in main() 35 std::chrono::duration<long, std::ratio<1, 1000> >, in main() 36 std::chrono::duration<long, std::ratio<1, 1000> > >(); in main() 37 test<std::chrono::duration<long, std::ratio<1, 100> >, in main() 38 std::chrono::duration<int, std::ratio<1, 1000> >, in main() 39 std::chrono::duration<long, std::ratio<1, 1000> > >(); in main() 40 test<std::chrono::duration<char, std::ratio<1, 30> >, in main() 41 std::chrono::duration<short, std::ratio<1, 1000> >, in main() 42 std::chrono::duration<int, std::ratio<1, 3000> > >(); in main() 43 test<std::chrono::duration<double, std::ratio<21, 1> >, in main() [all …]
|
/external/chromium-trace/trace-viewer/src/tracing/trace_model/ |
D | slice_group_test.js | 27 assertEquals(2, sliceB.duration); 40 assertEquals(0.5, group.slices[0].duration); 43 assertEquals(2, group.slices[1].duration); 59 assertEquals(1, m.slices[0].duration); 63 assertEquals(2, m.slices[1].duration); 79 assertEquals(1, m.slices[0].duration); 83 assertEquals(3, m.slices[1].duration); 99 assertEquals(1, m.slices[0].duration); 103 assertEquals(1, m.slices[1].duration); 107 assertEquals(2, m.slices[2].duration); [all …]
|
/external/chromium_org/ui/compositor/ |
D | layer_animation_element.cc | 32 Pause(AnimatableProperties properties, base::TimeDelta duration) in Pause() argument 33 : LayerAnimationElement(properties, duration) { in Pause() 53 TransformTransition(const gfx::Transform& target, base::TimeDelta duration) in TransformTransition() argument 54 : LayerAnimationElement(TRANSFORM, duration), in TransformTransition() 88 base::TimeDelta duration) in InterpolatedTransformTransition() argument 89 : LayerAnimationElement(TRANSFORM, duration), in InterpolatedTransformTransition() 120 BoundsTransition(const gfx::Rect& target, base::TimeDelta duration) in BoundsTransition() argument 121 : LayerAnimationElement(BOUNDS, duration), in BoundsTransition() 154 OpacityTransition(float target, base::TimeDelta duration) in OpacityTransition() argument 155 : LayerAnimationElement(OPACITY, duration), in OpacityTransition() [all …]
|
/external/chromium-trace/trace-viewer/src/tracing/ |
D | test_utils.js | 17 function newAsyncSlice(start, duration, startThread, endThread) { argument 18 return newAsyncSliceNamed('a', start, duration, startThread, endThread); 21 function newAsyncSliceNamed(name, start, duration, startThread, endThread) { argument 23 s.duration = duration; 27 subSlice.duration = duration; 48 function newSlice(start, duration) { argument 49 return newSliceNamed('a', start, duration); 52 function newSliceNamed(name, start, duration) { argument 53 var s = new tracing.trace_model.Slice('', name, 0, start, {}, duration); 57 function newSliceCategory(category, name, start, duration) { argument [all …]
|
/external/chromium_org/content/browser/appcache/ |
D | appcache_histograms.cc | 109 const base::TimeDelta& duration) { in AddTaskQueueTimeSample() argument 110 UMA_HISTOGRAM_TIMES("appcache.TaskQueueTime", duration); in AddTaskQueueTimeSample() 114 const base::TimeDelta& duration) { in AddTaskRunTimeSample() argument 115 UMA_HISTOGRAM_TIMES("appcache.TaskRunTime", duration); in AddTaskRunTimeSample() 119 const base::TimeDelta& duration) { in AddCompletionQueueTimeSample() argument 120 UMA_HISTOGRAM_TIMES("appcache.CompletionQueueTime", duration); in AddCompletionQueueTimeSample() 124 const base::TimeDelta& duration) { in AddCompletionRunTimeSample() argument 125 UMA_HISTOGRAM_TIMES("appcache.CompletionRunTime", duration); in AddCompletionRunTimeSample() 129 const base::TimeDelta& duration) { in AddNetworkJobStartDelaySample() argument 130 UMA_HISTOGRAM_TIMES("appcache.JobStartDelay.Network", duration); in AddNetworkJobStartDelaySample() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
D | KeyframeEffectModelTest.cpp | 44 const double duration = 1.0; variable 105 …r<WillBeHeapVector<RefPtrWillBeMember<Interpolation> > > values = effect->sample(0, 0.6, duration); in TEST() 117 expectDoubleValue(5.0, effect->sample(0, 0.6, duration)->at(0)); in TEST() 126 expectDoubleValue(3.0 * 0.4 + 5.0 * 0.6, effect->sample(0, 0.6, duration)->at(0)); in TEST() 136 … expectDoubleValue((7.0 + 3.0) * 0.4 + (7.0 + 5.0) * 0.6, effect->sample(0, 0.6, duration)->at(0)); in TEST() 146 expectDoubleValue(3.8579516, effect->sample(0, 0.6, duration)->at(0)); in TEST() 147 expectDoubleValue(3.8582394, effect->sample(0, 0.6, duration * 100)->at(0)); in TEST() 157 expectDoubleValue(4.3363357, effect->sample(0, 0.6, duration)->at(0)); in TEST() 158 expectDoubleValue(4.3362322, effect->sample(0, 0.6, duration * 1000)->at(0)); in TEST() 167 expectDoubleValue(5.0, effect->sample(0, 1.6, duration)->at(0)); in TEST() [all …]
|
D | InterpolationEffectTest.cpp | 12 const double duration = 1.0; variable 37 …terpolation> > > activeInterpolations = interpolationEffect->getActiveInterpolations(-2, duration); in TEST_F() 40 activeInterpolations = interpolationEffect->getActiveInterpolations(-0.5, duration); in TEST_F() 44 activeInterpolations = interpolationEffect->getActiveInterpolations(0.5, duration); in TEST_F() 48 activeInterpolations = interpolationEffect->getActiveInterpolations(1.5, duration); in TEST_F() 52 activeInterpolations = interpolationEffect->getActiveInterpolations(3, duration); in TEST_F() 66 …rpolation> > > activeInterpolations = interpolationEffect->getActiveInterpolations(-0.5, duration); in TEST_F() 69 activeInterpolations = interpolationEffect->getActiveInterpolations(0, duration); in TEST_F() 73 activeInterpolations = interpolationEffect->getActiveInterpolations(0.5, duration); in TEST_F() 78 activeInterpolations = interpolationEffect->getActiveInterpolations(1, duration); in TEST_F() [all …]
|
/external/chromium_org/third_party/polymer/components-chromium/paper-menu-button/ |
D | paper-menu-button-transition-extracted.js | 9 duration: 500, property 38 duration: this.duration * offset property 52 delay: this.duration * offset, 53 duration: this.duration * (1 - offset), property 62 var itemDuration = this.duration * (1 - itemDelay) / items.length; 69 delay: this.duration * itemDelay + itemDuration * i, 70 duration: itemDuration, property 81 duration: this.duration property
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | Lerp.java | 21 public static float lerp(float start, float target, float duration, float timeSinceStart) in lerp() argument 24 if (timeSinceStart > 0.0f && timeSinceStart < duration) in lerp() 27 final float percent = timeSinceStart / duration; in lerp() 30 else if (timeSinceStart >= duration) in lerp() 37 public static float ease(float start, float target, float duration, float timeSinceStart) in ease() argument 40 if (timeSinceStart > 0.0f && timeSinceStart < duration) in ease() 43 final float percent = timeSinceStart / (duration / 2.0f); in ease() 55 else if (timeSinceStart >= duration) in ease()
|
/external/libcxx/test/utilities/time/time.duration/time.duration.special/ |
D | Android.mk | 17 test_makefile := external/libcxx/test/utilities/time/time.duration/time.duration.special/Android.mk 19 test_name := utilities/time/time.duration/time.duration.special/zero 23 test_name := utilities/time/time.duration/time.duration.special/min 27 test_name := utilities/time/time.duration/time.duration.special/max
|
/external/libcxx/test/utilities/time/time.duration/time.duration.literals/ |
D | Android.mk | 17 test_makefile := external/libcxx/test/utilities/time/time.duration/time.duration.literals/Android.mk 19 test_name := utilities/time/time.duration/time.duration.literals/literals2 23 test_name := utilities/time/time.duration/time.duration.literals/literals1 27 test_name := utilities/time/time.duration/time.duration.literals/literals
|
/external/chromium_org/ash/wm/ |
D | session_state_animator_impl.cc | 65 base::TimeDelta duration, in StartSlowCloseAnimationForWindow() argument 73 duration)); in StartSlowCloseAnimationForWindow() 82 base::TimeDelta duration, in StartUndoSlowCloseAnimationForWindow() argument 90 duration)); in StartUndoSlowCloseAnimationForWindow() 99 base::TimeDelta duration, in StartFastCloseAnimationForWindow() argument 107 GetFastCloseTransform(), duration))); in StartFastCloseAnimationForWindow() 109 ui::LayerAnimationElement::CreateOpacityElement(0.0, duration)); in StartFastCloseAnimationForWindow() 118 base::TimeDelta duration, in StartPartialFadeAnimation() argument 125 target_opacity, duration)); in StartPartialFadeAnimation() 134 base::TimeDelta duration, in StartOpacityAnimationForWindow() argument [all …]
|
/external/clang/test/SemaCXX/ |
D | cxx1y-user-defined-literals.cpp | 10 struct duration {}; struct 11 duration operator""ns(unsigned long long); 12 duration operator""us(unsigned long long); 13 duration operator""ms(unsigned long long); 14 duration operator""s(unsigned long long); 15 duration operator""min(unsigned long long); 16 duration operator""h(unsigned long long); 33 duration a = 1ns, b = 1us, c = 1ms, d = 1s, e = 1min, f = 1h;
|