/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/libbrillo/brillo/streams/ |
D | fake_stream.cc | 25 base::TimeDelta delay = delay_until - now; in CalculateDelay() local 26 if (delay < zero_delay) in CalculateDelay() 27 delay = zero_delay; in CalculateDelay() 28 return delay; in CalculateDelay() 37 Stream::AccessMode* mode, base::TimeDelta* delay) { in GetMinDelayAndMode() argument 52 *delay = std::min(read_delay, write_delay); in GetMinDelayAndMode() 61 void FakeStream::AddReadPacketData(base::TimeDelta delay, in AddReadPacketData() argument 65 AddReadPacketData(delay, brillo::Blob{byte_ptr, byte_ptr + size}); in AddReadPacketData() 68 void FakeStream::AddReadPacketData(base::TimeDelta delay, brillo::Blob data) { in AddReadPacketData() argument 71 packet.delay_before = delay; in AddReadPacketData() [all …]
|
D | fake_stream.h | 45 void AddReadPacketData(base::TimeDelta delay, const void* data, size_t size); 46 void AddReadPacketData(base::TimeDelta delay, brillo::Blob data); 47 void AddReadPacketString(base::TimeDelta delay, const std::string& data); 50 void QueueReadError(base::TimeDelta delay); 51 void QueueReadErrorWithMessage(base::TimeDelta delay, 62 void ExpectWritePacketSize(base::TimeDelta delay, size_t data_size); 63 void ExpectWritePacketData(base::TimeDelta delay, 66 void ExpectWritePacketData(base::TimeDelta delay, brillo::Blob data); 67 void ExpectWritePacketString(base::TimeDelta delay, const std::string& data); 70 void QueueWriteError(base::TimeDelta delay); [all …]
|
/external/libchrome/base/trace_event/ |
D | trace_event_synthetic_delay_unittest.cc | 36 TraceEventSyntheticDelay* delay = TraceEventSyntheticDelay::Lookup(name); in ConfigureDelay() local 37 delay->SetClock(this); in ConfigureDelay() 38 delay->SetTargetDuration( in ConfigureDelay() 40 return delay; in ConfigureDelay() 70 TraceEventSyntheticDelay* delay = ConfigureDelay("test.Delay"); in TEST_F() local 71 delay->SetMode(TraceEventSyntheticDelay::STATIC); in TEST_F() 76 TraceEventSyntheticDelay* delay = ConfigureDelay("test.Delay"); in TEST_F() local 77 delay->SetMode(TraceEventSyntheticDelay::ONE_SHOT); in TEST_F() 81 delay->SetTargetDuration( in TEST_F() 87 TraceEventSyntheticDelay* delay = ConfigureDelay("test.Delay"); in TEST_F() local [all …]
|
/external/aac/libAACenc/src/ |
D | spreading.cpp | 99 FIXP_DBL delay; in FDKaacEnc_SpreadingMax() local 102 delay = pbSpreadEnergy[0]; in FDKaacEnc_SpreadingMax() 104 delay = fixMax(pbSpreadEnergy[i], fMult(maskHighFactor[i], delay)); in FDKaacEnc_SpreadingMax() 105 pbSpreadEnergy[i] = delay; in FDKaacEnc_SpreadingMax() 109 delay = pbSpreadEnergy[pbCnt-1]; in FDKaacEnc_SpreadingMax() 111 delay = fixMax(pbSpreadEnergy[i], fMult(maskLowFactor[i],delay)); in FDKaacEnc_SpreadingMax() 112 pbSpreadEnergy[i] = delay; in FDKaacEnc_SpreadingMax()
|
/external/autotest/client/cros/ |
D | power_strip.py | 17 def reboot(self, outlet, delay=0): argument 18 self.command('reboot', outlet, delay) 20 def off(self, outlet, delay=0): argument 21 self.command('off', outlet, delay) 23 def on(self, outlet, delay=0): argument 24 self.command('on', outlet, delay) 26 def command(self, command, outlet=1, delay=0): argument 27 if delay == 0: 30 threading.Timer(delay, self._do_command, (command, outlet)).start()
|
/external/tcpdump/tests/ |
D | rstp-v.out | 2 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 5 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 8 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 11 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 14 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 17 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 20 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 23 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 26 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 29 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s [all …]
|
D | stp-v.out | 2 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 5 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 8 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 11 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 14 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 17 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 20 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 23 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 26 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 29 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s [all …]
|
D | rpvst-v.out | 12 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 15 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 18 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 21 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 24 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 27 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 30 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 33 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 36 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 42 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s [all …]
|
/external/libchrome/base/message_loop/ |
D | incoming_task_queue.cc | 56 TimeDelta delay, in AddToIncomingQueue() argument 59 delay.InSeconds() > kTaskDelayWarningThresholdInSeconds) in AddToIncomingQueue() 60 << "Requesting super-long task delay period of " << delay.InSeconds() in AddToIncomingQueue() 65 from_here, task, CalculateDelayedRuntime(delay), nestable); in AddToIncomingQueue() 71 if (delay > TimeDelta() && in AddToIncomingQueue() 72 delay.InMilliseconds() < (2 * Time::kMinLowResolutionThresholdMs)) { in AddToIncomingQueue() 129 TimeTicks IncomingTaskQueue::CalculateDelayedRuntime(TimeDelta delay) { in CalculateDelayedRuntime() argument 131 if (delay > TimeDelta()) in CalculateDelayedRuntime() 132 delayed_run_time = TimeTicks::Now() + delay; in CalculateDelayedRuntime() 134 DCHECK_EQ(delay.InMilliseconds(), 0) << "delay should not be negative"; in CalculateDelayedRuntime()
|
/external/chromium-trace/catapult/third_party/Paste/paste/debug/ |
D | debugapp.py | 32 def __init__(self, chunk_size = 4096, delay = 1, progress = True): argument 34 self.delay = delay 53 if self.delay: 54 time.sleep(self.delay) 72 def make_slow_app(global_conf, chunk_size=4096, delay=1, progress=True): argument 76 delay=int(delay),
|
/external/libchrome/base/timer/ |
D | mock_timer_unittest.cc | 19 base::TimeDelta delay = base::TimeDelta::FromSeconds(2); in TEST() local 20 timer.Start(FROM_HERE, delay, in TEST() 23 EXPECT_EQ(delay, timer.GetCurrentDelay()); in TEST() 33 base::TimeDelta delay = base::TimeDelta::FromSeconds(2); in TEST() local 34 timer.Start(FROM_HERE, delay, in TEST() 48 base::TimeDelta delay = base::TimeDelta::FromSeconds(2); in TEST() local 49 timer.Start(FROM_HERE, delay, in TEST() 73 base::TimeDelta delay = base::TimeDelta::FromSeconds(2); in TEST() local 75 timer.Start(FROM_HERE, delay, in TEST()
|
D | timer.cc | 71 TimeDelta delay, in Timer() argument 76 delay_(delay), in Timer() 103 TimeDelta delay, in Start() argument 105 SetTaskInfo(posted_from, delay, user_task); in Start() 143 TimeDelta delay, in SetTaskInfo() argument 146 delay_ = delay; in SetTaskInfo() 150 void Timer::PostNewScheduledTask(TimeDelta delay) { in PostNewScheduledTask() argument 154 if (delay > TimeDelta::FromMicroseconds(0)) { in PostNewScheduledTask() 157 delay); in PostNewScheduledTask() 158 scheduled_run_time_ = desired_run_time_ = TimeTicks::Now() + delay; in PostNewScheduledTask()
|
D | timer.h | 79 TimeDelta delay, 99 TimeDelta delay, 117 TimeDelta delay, 135 void PostNewScheduledTask(TimeDelta delay); 221 TimeDelta delay, in Start() argument 224 Timer::Start(posted_from, delay, in Start() 258 TimeDelta delay, in DelayTimer() argument 262 delay, in DelayTimer()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | ICUServiceThreadTest.java | 130 private final long delay; field in ICUServiceThreadTest.TestThread 133 public TestThread(String name, ICUService service, long delay, TestLog log) { in TestThread() argument 136 this.delay = delay; in TestThread() 149 if (delay > 0) { in run() 150 Thread.sleep(delay); in run() 205 RegisterFactoryThread(String name, ICUService service, long delay, TestLog log) { in RegisterFactoryThread() argument 206 super("REG " + name, service, delay, log); in RegisterFactoryThread() 220 UnregisterFactoryThread(String name, ICUService service, long delay, TestLog log) { in UnregisterFactoryThread() argument 221 super("UNREG " + name, service, delay, log); in UnregisterFactoryThread() 244 …UnregisterFactoryListThread(String name, ICUService service, long delay, Factory[] factories, Test… in UnregisterFactoryListThread() argument [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | ICUServiceThreadTest.java | 134 private final long delay; field in ICUServiceThreadTest.TestThread 137 public TestThread(String name, ICUService service, long delay, TestLog log) { in TestThread() argument 140 this.delay = delay; in TestThread() 153 if (delay > 0) { in run() 154 Thread.sleep(delay); in run() 209 RegisterFactoryThread(String name, ICUService service, long delay, TestLog log) { in RegisterFactoryThread() argument 210 super("REG " + name, service, delay, log); in RegisterFactoryThread() 224 UnregisterFactoryThread(String name, ICUService service, long delay, TestLog log) { in UnregisterFactoryThread() argument 225 super("UNREG " + name, service, delay, log); in UnregisterFactoryThread() 248 …UnregisterFactoryListThread(String name, ICUService service, long delay, Factory[] factories, Test… in UnregisterFactoryListThread() argument [all …]
|
/external/libchrome/components/timers/ |
D | alarm_timer_chromeos.cc | 107 void Reset(base::TimeDelta delay); 128 void ResetImpl(base::TimeDelta delay, int reset_sequence_number); 182 void AlarmTimer::Delegate::Reset(base::TimeDelta delay) { in Reset() argument 197 if (delay <= base::TimeDelta::FromMicroseconds(0)) { in Reset() 201 delay = base::TimeDelta::FromMicroseconds(0); in Reset() 210 ResetImpl(delay, origin_reset_sequence_number_); in Reset() 214 base::Bind(&Delegate::ResetImpl, scoped_refptr<Delegate>(this), delay, in Reset() 266 void AlarmTimer::Delegate::ResetImpl(base::TimeDelta delay, in ResetImpl() argument 291 alarm_time.it_value.tv_sec = delay.InSeconds(); in ResetImpl() 293 (delay.InMicroseconds() % base::Time::kMicrosecondsPerSecond) * in ResetImpl() [all …]
|
/external/webrtc/webrtc/common_audio/signal_processing/ |
D | downsample_fast_mips.c | 21 size_t delay) { in WebRtcSpl_DownsampleFast_mips() argument 26 size_t endpos = delay + factor * (data_out_length - 1) + 1; in WebRtcSpl_DownsampleFast_mips() 31 int16_t* p_data_in_0 = (int16_t*)&data_in[delay]; in WebRtcSpl_DownsampleFast_mips() 101 [delay] "r" (delay), [factor] "r" (factor) in WebRtcSpl_DownsampleFast_mips() 164 [delay] "r" (delay), [factor] "r" (factor) in WebRtcSpl_DownsampleFast_mips()
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | audio_decoder_unittest.cc | 50 int delay) { in CompareInputOutput() argument 53 for (unsigned int n = 0; n < num_samples - delay; ++n) { in CompareInputOutput() 54 ASSERT_NEAR(input[n], output[channels * n + delay], tolerance) in CompareInputOutput() 81 int delay) { in MseInputOutput() argument 82 assert(delay < static_cast<int>(num_samples)); in MseInputOutput() 88 for (unsigned int n = 0; n < num_samples - delay; ++n) { in MseInputOutput() 89 squared_sum += (input[n] - output[channels * n + delay]) * in MseInputOutput() 90 (input[n] - output[channels * n + delay]); in MseInputOutput() 92 return squared_sum / (num_samples - delay); in MseInputOutput() 177 int delay = 0, int channel_diff_tolerance = 0) { in EncodeDecodeTest() argument [all …]
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | WrappingScheduledExecutorService.java | 41 public final ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { in schedule() argument 42 return delegate.schedule(wrapTask(command), delay, unit); in schedule() 46 public final <V> ScheduledFuture<V> schedule(Callable<V> task, long delay, TimeUnit unit) { in schedule() argument 47 return delegate.schedule(wrapTask(task), delay, unit); in schedule() 58 Runnable command, long initialDelay, long delay, TimeUnit unit) { in scheduleWithFixedDelay() argument 59 return delegate.scheduleWithFixedDelay(wrapTask(command), initialDelay, delay, unit); in scheduleWithFixedDelay()
|
/external/iptables/extensions/ |
D | libxt_LED.c | 61 led->delay = -1; in LED_parse() 62 else if (!xtables_strtoui(cb->arg, NULL, &led->delay, 0, UINT32_MAX)) in LED_parse() 88 if (led->delay == -1) in LED_print() 91 printf(" led-delay:%dms", led->delay); in LED_print() 112 if (led->delay > 0) in LED_save() 113 printf(" --led-delay %d", led->delay); in LED_save() 114 else if (led->delay == -1) in LED_save()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | WrappingScheduledExecutorServiceTest.java | 112 void assertLastMethodCalled(String method, long delay, TimeUnit unit) { in assertLastMethodCalled() argument 114 assertEquals(delay, lastDelay); in assertLastMethodCalled() 118 void assertLastMethodCalled(String method, long initialDelay, long delay, TimeUnit unit) { in assertLastMethodCalled() argument 121 assertEquals(delay, lastDelay); in assertLastMethodCalled() 125 @Override public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { in schedule() argument 128 lastDelay = delay; in schedule() 134 Callable<V> callable, long delay, TimeUnit unit) { in schedule() argument 137 lastDelay = delay; in schedule() 153 Runnable command, long initialDelay, long delay, TimeUnit unit) { in scheduleWithFixedDelay() argument 157 lastDelay = delay; in scheduleWithFixedDelay()
|
D | JSR166TestCase.java | 487 static void delay(long millis) throws InterruptedException { in delay() method in JSR166TestCase 532 delay(millis); in assertThreadStaysAlive() 553 delay(millis); in assertThreadsStayAlive() 713 delay(millis); in sleep() 974 delay(SHORT_DELAY_MS); 980 delay(SHORT_DELAY_MS); 986 delay(SMALL_DELAY_MS); 993 delay(SMALL_DELAY_MS); 1000 delay(SMALL_DELAY_MS); 1007 delay(MEDIUM_DELAY_MS); [all …]
|
/external/libchrome/base/test/ |
D | test_pending_task.cc | 17 TimeDelta delay, in TestPendingTask() argument 22 delay(delay), in TestPendingTask() 26 return post_time + delay; in GetTimeToRun() 41 state->SetInteger("delay", delay.ToInternalValue()); in AsValueInto() 50 state->SetInteger("delay", delay.ToInternalValue()); in AsValueInto()
|
/external/libchrome/base/threading/ |
D | worker_pool.cc | 47 TimeDelta delay) override; 58 base::TimeDelta delay); 75 TimeDelta delay) { in PostDelayedTask() argument 76 return PostDelayedTaskAssertZeroDelay(from_here, task, delay); in PostDelayedTask() 86 base::TimeDelta delay) { in PostDelayedTaskAssertZeroDelay() argument 87 DCHECK_EQ(delay.InMillisecondsRoundedUp(), 0) in PostDelayedTaskAssertZeroDelay()
|