/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/test/ |
D | TestCoroutineContextTest.kt | 23 val delay = 1000L in <lambda>() constant 27 suspendedDelayedAction(delay) { in <lambda>() 32 advanceTimeBy(delay / 2) in <lambda>() 35 advanceTimeBy(delay / 2) in <lambda>() 41 val delay = 1000L in <lambda>() constant 45 suspendedDelayedAction(delay) { in <lambda>() 50 advanceTimeTo(delay / 2) in <lambda>() 53 advanceTimeTo(delay) in <lambda>() 59 val delay = 1000L in <lambda>() constant 63 suspendedDelayedAction(delay) { in <lambda>() [all …]
|
/external/aac/libAACdec/src/ |
D | FDK_delay.cpp | 109 INT FDK_Delay_Create(FDK_SignalDelay* data, const USHORT delay, in FDK_Delay_Create() argument 114 if (delay > 0) { in FDK_Delay_Create() 116 (PCM_DEC*)FDKcalloc(num_channels * delay, sizeof(PCM_DEC)); in FDK_Delay_Create() 124 data->delay = delay; in FDK_Delay_Create() 133 if (data->delay > 0) { in FDK_Delay_Apply() 138 if (frame_length >= data->delay) { in FDK_Delay_Apply() 139 FDKmemcpy(tmp, &time_buffer[frame_length - data->delay], in FDK_Delay_Apply() 140 data->delay * sizeof(PCM_DEC)); in FDK_Delay_Apply() 141 FDKmemmove(&time_buffer[data->delay], &time_buffer[0], in FDK_Delay_Apply() 142 (frame_length - data->delay) * sizeof(PCM_DEC)); in FDK_Delay_Apply() [all …]
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
D | TimeStamp.java | 61 protected int delay = -1; field in TimeStamp 72 delay = -1; in TimeStamp() 85 if (delay == -1 && delayFloat == -1) in getDelayAsString() 87 else if (delay != -1) in getDelayAsString() 88 return Integer.toString(delay); in getDelayAsString() 118 return delay != -1; in hasDelay() 125 delay = -1; in removeDelay() 148 return delayFloat == -1 ? Float.valueOf(delay).floatValue() : delayFloat; in getDelay() 162 public void setDelay(float delay) throws InvalidArgumentException { in setDelay() argument 163 if (delay < 0 && delay != -1) in setDelay() [all …]
|
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/apollo3evb/ |
D | command_responder.cc | 61 uint32_t delay = 60; in RespondToCommand() local 64 am_util_delay_ms(delay); in RespondToCommand() 66 am_util_delay_ms(delay); in RespondToCommand() 68 am_util_delay_ms(delay); in RespondToCommand() 70 am_util_delay_ms(delay); in RespondToCommand() 72 am_util_delay_ms(delay); in RespondToCommand() 74 am_util_delay_ms(delay); in RespondToCommand() 76 am_util_delay_ms(delay); in RespondToCommand() 78 am_util_delay_ms(delay); in RespondToCommand() 80 am_util_delay_ms(delay); in RespondToCommand() [all …]
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/operators/ |
D | SampleTest.kt | 20 delay(1500) in <lambda>() 22 delay(500) in <lambda>() 24 delay(250) in <lambda>() 26 delay(2000) in <lambda>() 40 delay(60) in <lambda>() 42 delay(60) in <lambda>() 56 delay(501) in <lambda>() 58 delay(100) in <lambda>() 60 delay(100) in <lambda>() 63 delay(301) in <lambda>() [all …]
|
D | DebounceTest.kt | 19 delay(1500) in <lambda>() 21 delay(500) in <lambda>() 23 delay(250) in <lambda>() 25 delay(2000) in <lambda>() 48 delay(1500) in <lambda>() 50 delay(500) in <lambda>() 52 delay(250) in <lambda>() 54 delay(2000) in <lambda>() 84 delay(99) in <lambda>() 89 delay(101) in <lambda>() [all …]
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/channels/ |
D | TickerChannelCommonTest.kt | 25 override fun invoke(delay: Long, initialDelay: Long) = in invoke() 26 ticker(delay, initialDelayMillis = initialDelay, mode = TickerMode.FIXED_PERIOD) in invoke() 30 override fun invoke(delay: Long, initialDelay: Long) = in invoke() 31 ticker(delay, initialDelayMillis = initialDelay, mode = TickerMode.FIXED_DELAY) in invoke() 34 abstract operator fun invoke(delay: Long, initialDelay: Long = 0): ReceiveChannel<Unit> in invoke() 40 val delayChannel = channelFactory(delay = 10000) in invoke() 44 delay(5000) in invoke() 46 delay(5100) in invoke() 50 delay(5100) in invoke() 58 val delayChannel = channelFactory(initialDelay = 750, delay = 1000) in <lambda>() [all …]
|
D | TickerChannelTest.kt | 18 delay(1500) in <lambda>() 20 delay(500) in <lambda>() 22 delay(520) in <lambda>() 35 delay(1500) in <lambda>() 37 delay(520) in <lambda>() 39 delay(500) in <lambda>() 41 delay(520) in <lambda>() 54 delay(500) in <lambda>() 56 delay(110) in <lambda>() 58 delay(110) in <lambda>() [all …]
|
/external/libbrillo/brillo/streams/ |
D | fake_stream.cc | 26 base::TimeDelta delay = delay_until - now; in CalculateDelay() local 27 if (delay < zero_delay) in CalculateDelay() 28 delay = zero_delay; in CalculateDelay() 29 return delay; in CalculateDelay() 38 Stream::AccessMode* mode, base::TimeDelta* delay) { in GetMinDelayAndMode() argument 53 *delay = std::min(read_delay, write_delay); in GetMinDelayAndMode() 62 void FakeStream::AddReadPacketData(base::TimeDelta delay, in AddReadPacketData() argument 66 AddReadPacketData(delay, brillo::Blob{byte_ptr, byte_ptr + size}); in AddReadPacketData() 69 void FakeStream::AddReadPacketData(base::TimeDelta delay, brillo::Blob data) { in AddReadPacketData() argument 72 packet.delay_before = delay; in AddReadPacketData() [all …]
|
/external/libchrome/base/timer/ |
D | timer.h | 97 TimeDelta delay, 101 TimeDelta delay, 124 TimeDelta delay, 132 TimeDelta delay, in Start() argument 135 Start(posted_from, delay, in Start() 183 void PostNewScheduledTask(TimeDelta delay); 259 TimeDelta delay, in RepeatingTimer() argument 261 : Timer(posted_from, delay, std::move(user_task), true) {} in RepeatingTimer() 263 TimeDelta delay, in RepeatingTimer() argument 266 : Timer(posted_from, delay, std::move(user_task), true, tick_clock) {} in RepeatingTimer() [all …]
|
/external/webrtc/docs/native-code/rtp-hdrext/playout-delay/ |
D | README.md | 5 **Formal name:** <http://www.webrtc.org/experiments/rtp-hdrext/playout-delay> 7 **SDP "a= name":** "playout-delay" ; this is also used in client/cloud signaling. 15 …delay and evaluates packet jitter. Besides this, an estimated delay for decode and render at the r… 17 …er to try and limit the amount of playout delay at the receiver in a certain range. A minimum and … 23 …delay in render impacts the end-user experience. These use cases prioritize reducing delay over an… 24 …delay impacts end-user experience (audio can speed up and slow down). In these cases the sender wo… 25 …delay adaptively to minimize latency and at the same time add some smoothing based on jitter preva… 28 ## MIN and MAX playout delay 30 …delay on a frame represents the amount of delay added to a frame the time it is captured at the se… 32 Playout delay = ExpectedRenderTime(frame) - ExpectedCaptureTime(frame) [all …]
|
/external/kotlinx.coroutines/kotlinx-coroutines-test/test/ |
D | TestRunBlockingTest.kt | 16 delay(SLOW) in <lambda>() 23 delay(SLOW) in <lambda>() 35 delay(SLOW) in <lambda>() 46 delay(SLOW) in <lambda>() 71 delay(SLOW) in <lambda>() 80 delay(0) in <lambda>() 110 delay(SLOW) in <lambda>() 121 delay(SLOW) in <lambda>() 135 delay(0) in <lambda>() 148 delay(SLOW + 1) in <lambda>() [all …]
|
/external/aac/libAACenc/src/ |
D | spreading.cpp | 110 FIXP_DBL delay; in FDKaacEnc_SpreadingMax() local 113 delay = pbSpreadEnergy[0]; in FDKaacEnc_SpreadingMax() 115 delay = fixMax(pbSpreadEnergy[i], fMult(maskHighFactor[i], delay)); in FDKaacEnc_SpreadingMax() 116 pbSpreadEnergy[i] = delay; in FDKaacEnc_SpreadingMax() 120 delay = pbSpreadEnergy[pbCnt - 1]; in FDKaacEnc_SpreadingMax() 122 delay = fixMax(pbSpreadEnergy[i], fMult(maskLowFactor[i], delay)); in FDKaacEnc_SpreadingMax() 123 pbSpreadEnergy[i] = delay; in FDKaacEnc_SpreadingMax()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/sharing/ |
D | SharingStartedTest.kt | 22 delay(100) in testEagerly() 39 delay(100) in testWhileSubscribed() 48 delay(100) in testWhileSubscribedExpireImmediately() 57 delay(50) // don't give it time to stop in testWhileSubscribedWithTimeout() 62 delay(100) in testWhileSubscribedWithTimeout() 71 delay(150) // don't give it time to reset cache in testWhileSubscribedExpiration() 84 delay(350) // don't give it time to stop in testWhileSubscribedStopAndExpiration() 89 delay(250) // don't give it time to reset cache in testWhileSubscribedStopAndExpiration() 95 delay(100) in testWhileSubscribedStopAndExpiration() 100 delay(100) in rampUpAndDown() [all …]
|
/external/webrtc/modules/audio_processing/aec3/ |
D | echo_path_delay_estimator.cc | 27 down_sampling_factor_(config.delay.down_sampling_factor), in EchoPathDelayEstimator() 32 config.delay.capture_alignment_mixing), in EchoPathDelayEstimator() 39 config.delay.num_filters, in EchoPathDelayEstimator() 41 config.delay.down_sampling_factor == 8 in EchoPathDelayEstimator() 44 config.delay.delay_estimate_smoothing, in EchoPathDelayEstimator() 45 config.delay.delay_candidate_detection_threshold), in EchoPathDelayEstimator() 48 config.delay.delay_selection_thresholds) { in EchoPathDelayEstimator() 84 clockdrift_detector_.Update((*aggregated_matched_filter_lag).delay); in EstimateDelay() 91 ? static_cast<int>(aggregated_matched_filter_lag->delay * in EstimateDelay() 98 aggregated_matched_filter_lag->delay *= down_sampling_factor_; in EstimateDelay() [all …]
|
D | render_delay_controller.cc | 70 static_cast<int>(estimated_delay.delay) - delay_headroom_samples, 0); in ComputeBufferDelay() 77 size_t current_delay_blocks = current_delay->delay; in ComputeBufferDelay() 85 new_delay.delay = new_delay_blocks; in ComputeBufferDelay() 98 static_cast<int>(config.delay.hysteresis_limit_blocks)), in RenderDelayControllerImpl() 99 delay_headroom_samples_(config.delay.delay_headroom_samples), in RenderDelayControllerImpl() 130 if (!delay_samples_ || delay_samples->delay != delay_samples_->delay) { in GetDelay() 135 delay_samples_->delay == delay_samples->delay in GetDelay() 139 delay_samples_->delay = delay_samples->delay; in GetDelay() 166 metrics_.Update(delay_samples_ ? absl::optional<size_t>(delay_samples_->delay) in GetDelay() 168 delay_ ? delay_->delay : 0, 0, delay_estimator_.Clockdrift()); in GetDelay() [all …]
|
D | render_delay_controller_unittest.cc | 38 size_t delay, in ProduceDebugText() argument 42 ss << ProduceDebugText(sample_rate_hz) << ", Delay: " << delay in ProduceDebugText() 62 config.delay.down_sampling_factor = down_sampling_factor; in TEST() 63 config.delay.num_filters = num_matched_filters; in TEST() 72 auto delay = delay_controller->GetDelay( in TEST() local 75 EXPECT_FALSE(delay->delay); in TEST() 95 config.delay.down_sampling_factor = down_sampling_factor; in TEST() 96 config.delay.num_filters = num_matched_filters; in TEST() 97 config.delay.capture_alignment_mixing.downmix = false; in TEST() 98 config.delay.capture_alignment_mixing.adaptive_selection = false; in TEST() [all …]
|
/external/mesa3d/src/freedreno/ir3/ |
D | ir3_delay.c | 197 unsigned delay = 0; in delay_calc_srcn() local 229 delay = MAX2(delay, d); in delay_calc_srcn() 232 delay = ir3_delayslots(assigner, consumer, srcn, soft); in delay_calc_srcn() 233 delay -= distance(block, assigner, delay, pred); in delay_calc_srcn() 236 return delay; in delay_calc_srcn() 270 unsigned delay = 0; in count_block_delay() local 274 delay++; in count_block_delay() 276 return delay; in count_block_delay() 315 unsigned delay = in delay_calc_array() local 318 max = MAX2(max, delay); in delay_calc_array() [all …]
|
/external/openscreen/discovery/mdns/ |
D | mdns_random_unittest.cc | 22 const Clock::duration delay = mdns_random.GetInitialQueryDelay(); in TEST() local 23 EXPECT_GE(delay, lower_bound); in TEST() 24 EXPECT_LE(delay, upper_bound); in TEST() 44 const Clock::duration delay = mdns_random.GetSharedRecordResponseDelay(); in TEST() local 45 EXPECT_GE(delay, lower_bound); in TEST() 46 EXPECT_LE(delay, upper_bound); in TEST() 55 const Clock::duration delay = mdns_random.GetTruncatedQueryResponseDelay(); in TEST() local 56 EXPECT_GE(delay, lower_bound); in TEST() 57 EXPECT_LE(delay, upper_bound); in TEST()
|
/external/grpc-grpc-java/benchmarks/src/test/java/io/grpc/benchmarks/driver/ |
D | LoadClientTest.java | 52 loadClient.delay(1); in testHistogramToStatsConversion() 53 loadClient.delay(10); in testHistogramToStatsConversion() 54 loadClient.delay(10); in testHistogramToStatsConversion() 55 loadClient.delay(100); in testHistogramToStatsConversion() 56 loadClient.delay(100); in testHistogramToStatsConversion() 57 loadClient.delay(100); in testHistogramToStatsConversion() 58 loadClient.delay(1000); in testHistogramToStatsConversion() 59 loadClient.delay(1000); in testHistogramToStatsConversion() 60 loadClient.delay(1000); in testHistogramToStatsConversion() 61 loadClient.delay(1000); in testHistogramToStatsConversion()
|
/external/libchrome/base/ |
D | deferred_sequenced_task_runner.cc | 39 TimeDelta delay) { in PostDelayedTask() argument 44 delay); in PostDelayedTask() 47 QueueDeferredTask(from_here, std::move(task), delay, in PostDelayedTask() 63 TimeDelta delay) { in PostNonNestableDelayedTask() argument 68 from_here, std::move(task), delay); in PostNonNestableDelayedTask() 70 QueueDeferredTask(from_here, std::move(task), delay, in PostNonNestableDelayedTask() 93 TimeDelta delay, in QueueDeferredTask() argument 104 deferred_task.delay = delay; in QueueDeferredTask() 120 task.posted_from, std::move(task.task), task.delay); in StartImpl() 123 std::move(task.task), task.delay); in StartImpl()
|
/external/libchrome/base/task_scheduler/ |
D | task.cc | 24 TimeDelta delay) in Task() argument 30 delay.is_zero() ? TimeTicks() : TimeTicks::Now() + delay, in Task() 35 (!delay.is_zero() && in Task() 40 delay(delay) { 55 delay(other.delay), in Task()
|
/external/universal-tween-engine/java/api/src/aurelienribon/tweenengine/ |
D | BaseTween.java | 25 protected float delay; field in BaseTween 52 delay = duration = repeatDelay = currentTime = deltaTime = 0; in reset() 108 public T delay(float delay) { in delay() argument 109 this.delay += delay; in delay() 151 public T repeat(int count, float delay) { in repeat() argument 154 repeatDelay = delay >= 0 ? delay : 0; in repeat() 168 public T repeatYoyo(int count, float delay) { in repeatYoyo() argument 171 repeatDelay = delay >= 0 ? delay : 0; in repeatYoyo() 240 return delay; in getDelay() 273 return delay + duration + (repeatDelay + duration) * repeatCnt; in getFullDuration() [all …]
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | ListeningScheduledExecutorService.java | 40 ListenableScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit); in schedule() argument 47 default ListenableScheduledFuture<?> schedule(Runnable command, Duration delay) { in schedule() argument 48 return schedule(command, toNanosSaturated(delay), TimeUnit.NANOSECONDS); in schedule() 53 <V> ListenableScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit); in schedule() argument 60 default <V> ListenableScheduledFuture<V> schedule(Callable<V> callable, Duration delay) { in schedule() argument 61 return schedule(callable, toNanosSaturated(delay), TimeUnit.NANOSECONDS); in schedule() 83 Runnable command, long initialDelay, long delay, TimeUnit unit); in scheduleWithFixedDelay() argument 91 Runnable command, Duration initialDelay, Duration delay) { in scheduleWithFixedDelay() argument 93 command, toNanosSaturated(initialDelay), toNanosSaturated(delay), TimeUnit.NANOSECONDS); in scheduleWithFixedDelay()
|
/external/libchrome/components/policy/core/common/ |
D | async_policy_loader.cc | 45 TimeDelta delay; in Reload() local 48 if (!force && !IsSafeToReload(now, &delay)) { in Reload() 49 ScheduleNextReload(delay); in Reload() 56 if (!force && !IsSafeToReload(now, &delay)) { in Reload() 57 ScheduleNextReload(delay); in Reload() 104 void AsyncPolicyLoader::ScheduleNextReload(TimeDelta delay) { in ScheduleNextReload() argument 111 delay); in ScheduleNextReload() 114 bool AsyncPolicyLoader::IsSafeToReload(const Time& now, TimeDelta* delay) { in IsSafeToReload() argument 123 *delay = kSettleInterval; in IsSafeToReload() 130 *delay = kSettleInterval - age; in IsSafeToReload()
|