Home
last modified time | relevance | path

Searched refs:delay (Results 1 – 25 of 794) sorted by relevance

12345678910>>...32

/external/nist-sip/java/gov/nist/javax/sip/header/
DTimeStamp.java61 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/chromium_org/sync/engine/
Dbackoff_delay_provider_unittest.cc21 scoped_ptr<BackoffDelayProvider> delay(BackoffDelayProvider::FromDefaults()); in TEST_F() local
23 delay->GetDelay(TimeDelta::FromSeconds(0))); in TEST_F()
25 delay->GetDelay(TimeDelta::FromSeconds(1))); in TEST_F()
27 delay->GetDelay(TimeDelta::FromSeconds(50))); in TEST_F()
29 delay->GetDelay(TimeDelta::FromSeconds(10))); in TEST_F()
31 delay->GetDelay(TimeDelta::FromSeconds(kMaxBackoffSeconds))); in TEST_F()
33 delay->GetDelay(TimeDelta::FromSeconds(kMaxBackoffSeconds + 1))); in TEST_F()
37 scoped_ptr<BackoffDelayProvider> delay(BackoffDelayProvider::FromDefaults()); in TEST_F() local
41 delay->GetInitialDelay(state).InSeconds()); in TEST_F()
46 delay->GetInitialDelay(state).InSeconds()); in TEST_F()
[all …]
/external/qemu/android/
Dshaper.c398 netdelay_lookup_session( NetDelay delay, Session info ) in netdelay_lookup_session() argument
400 Session* pnode = &delay->sessions; in netdelay_lookup_session()
424 netdelay_expires( NetDelay delay ) in netdelay_expires() argument
431 for (session = delay->sessions; session != NULL; session = session->next) in netdelay_expires()
441 delay->send_func( packet->data, packet->size, packet->opaque ); in netdelay_expires()
455 timer_mod( delay->timer, rearm_time ); in netdelay_expires()
462 NetDelay delay = g_malloc(sizeof(*delay)); in netdelay_create() local
464 delay->sessions = NULL; in netdelay_create()
465 delay->num_sessions = 0; in netdelay_create()
466 delay->timer = timer_new( SHAPER_CLOCK, SCALE_MS, in netdelay_create()
[all …]
/external/chromium_org/components/domain_reliability/
Ddispatcher_unittest.cc30 TimeDelta delay = TimeDelta::FromSeconds(1); in TEST_F() local
33 dispatcher_.ScheduleTask(callback.callback(), 2 * delay, 3 * delay); in TEST_F()
34 time_.Advance(delay); in TEST_F()
40 TimeDelta delay = TimeDelta::FromSeconds(1); in TEST_F() local
43 dispatcher_.ScheduleTask(callback.callback(), 2 * delay, 3 * delay); in TEST_F()
44 time_.Advance(2 * delay); in TEST_F()
48 time_.Advance(delay); in TEST_F()
52 TimeDelta delay = TimeDelta::FromSeconds(1); in TEST_F() local
55 dispatcher_.ScheduleTask(callback.callback(), 2 * delay, 3 * delay); in TEST_F()
56 time_.Advance(2 * delay); in TEST_F()
[all …]
/external/aac/libAACenc/src/
Dspreading.cpp99 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/chromium_org/base/debug/
Dtrace_event_synthetic_delay_unittest.cc35 TraceEventSyntheticDelay* delay = TraceEventSyntheticDelay::Lookup(name); in ConfigureDelay() local
36 delay->SetClock(this); in ConfigureDelay()
37 delay->SetTargetDuration( in ConfigureDelay()
39 return delay; in ConfigureDelay()
69 TraceEventSyntheticDelay* delay = ConfigureDelay("test.Delay"); in TEST_F() local
70 delay->SetMode(TraceEventSyntheticDelay::STATIC); in TEST_F()
75 TraceEventSyntheticDelay* delay = ConfigureDelay("test.Delay"); in TEST_F() local
76 delay->SetMode(TraceEventSyntheticDelay::ONE_SHOT); in TEST_F()
80 delay->SetTargetDuration( in TEST_F()
86 TraceEventSyntheticDelay* delay = ConfigureDelay("test.Delay"); in TEST_F() local
[all …]
/external/chromium_org/base/
Ddeferred_sequenced_task_runner.cc31 TimeDelta delay) { in PostDelayedTask() argument
35 return target_task_runner_->PostDelayedTask(from_here, task, delay); in PostDelayedTask()
38 QueueDeferredTask(from_here, task, delay, false /* is_non_nestable */); in PostDelayedTask()
49 TimeDelta delay) { in PostNonNestableDelayedTask() argument
55 delay); in PostNonNestableDelayedTask()
57 QueueDeferredTask(from_here, task, delay, true /* is_non_nestable */); in PostNonNestableDelayedTask()
64 TimeDelta delay, in QueueDeferredTask() argument
69 deferred_task.delay = delay; in QueueDeferredTask()
86 task.delay); in Start()
90 task.delay); in Start()
/external/chromium_org/extensions/common/
Done_shot_event.cc23 const base::TimeDelta& delay) in TaskInfo()
24 : from_here(from_here), runner(runner), task(task), delay(delay) { in TaskInfo()
30 base::TimeDelta delay; member
57 const base::TimeDelta& delay) const { in PostDelayed()
58 PostImpl(from_here, task, base::MessageLoopProxy::current(), delay); in PostDelayed()
75 if (task.delay != base::TimeDelta()) in Signal()
76 task.runner->PostDelayedTask(task.from_here, task.task, task.delay); in Signal()
85 const base::TimeDelta& delay) const { in PostImpl()
89 if (delay != base::TimeDelta()) in PostImpl()
90 runner->PostDelayedTask(from_here, task, delay); in PostImpl()
[all …]
/external/chromium_org/chrome/browser/sync_file_system/
Dsync_process_runner.cc59 int64 delay = kSyncDelayInMilliseconds; in Schedule() local
67 delay = kSyncDelayFastInMilliseconds; in Schedule()
69 delay = kSyncDelayInMilliseconds; in Schedule()
73 delay = kSyncDelaySlowInMilliseconds; in Schedule()
75 delay = last_delay_ * 2; in Schedule()
76 if (delay >= kSyncDelayMaxInMilliseconds) in Schedule()
77 delay = kSyncDelayMaxInMilliseconds; in Schedule()
82 delay = kSyncDelayMaxInMilliseconds; in Schedule()
85 ScheduleInternal(delay); in Schedule()
143 void SyncProcessRunner::ScheduleInternal(int64 delay) { in ScheduleInternal() argument
[all …]
/external/chromium_org/cc/base/
Ddelayed_unique_notifier_unittest.cc21 const base::TimeDelta& delay) in TestNotifier() argument
22 : DelayedUniqueNotifier(task_runner, closure, delay) {} in TestNotifier()
59 base::TimeDelta delay = base::TimeDelta::FromInternalValue(0); in TEST_F() local
63 delay); in TEST_F()
76 EXPECT_EQ(base::TimeTicks() + delay, tasks[0].GetTimeToRun()); in TEST_F()
87 EXPECT_EQ(base::TimeTicks() + delay, tasks[0].GetTimeToRun()); in TEST_F()
94 base::TimeDelta delay = base::TimeDelta::FromInternalValue(20); in TEST_F() local
98 delay); in TEST_F()
112 EXPECT_EQ(base::TimeTicks() + delay, tasks[0].GetTimeToRun()); in TEST_F()
123 base::TimeTicks scheduled_run_time = notifier.Now() + delay; in TEST_F()
[all …]
/external/chromium_org/components/policy/core/common/
Dasync_policy_loader.cc44 TimeDelta delay; in Reload() local
47 if (!force && !IsSafeToReload(now, &delay)) { in Reload()
48 ScheduleNextReload(delay); in Reload()
55 if (!force && !IsSafeToReload(now, &delay)) { in Reload()
56 ScheduleNextReload(delay); in Reload()
103 void AsyncPolicyLoader::ScheduleNextReload(TimeDelta delay) { in ScheduleNextReload() argument
110 delay); in ScheduleNextReload()
113 bool AsyncPolicyLoader::IsSafeToReload(const Time& now, TimeDelta* delay) { in IsSafeToReload() argument
124 *delay = kSettleInterval; in IsSafeToReload()
131 *delay = kSettleInterval - age; in IsSafeToReload()
/external/chromium_org/base/timer/
Dmock_timer_unittest.cc18 base::TimeDelta delay = base::TimeDelta::FromSeconds(2); in TEST() local
19 timer.Start(FROM_HERE, delay, in TEST()
22 EXPECT_EQ(delay, timer.GetCurrentDelay()); in TEST()
32 base::TimeDelta delay = base::TimeDelta::FromSeconds(2); in TEST() local
33 timer.Start(FROM_HERE, delay, in TEST()
47 base::TimeDelta delay = base::TimeDelta::FromSeconds(2); in TEST() local
48 timer.Start(FROM_HERE, delay, in TEST()
72 base::TimeDelta delay = base::TimeDelta::FromSeconds(2); in TEST() local
74 timer.Start(FROM_HERE, delay, in TEST()
Dtimer.cc71 TimeDelta delay, in Timer() argument
76 delay_(delay), in Timer()
97 TimeDelta delay, in Start() argument
99 SetTaskInfo(posted_from, delay, user_task); in Start()
137 TimeDelta delay, in SetTaskInfo() argument
140 delay_ = delay; in SetTaskInfo()
144 void Timer::PostNewScheduledTask(TimeDelta delay) { in PostNewScheduledTask() argument
148 if (delay > TimeDelta::FromMicroseconds(0)) { in PostNewScheduledTask()
151 delay); in PostNewScheduledTask()
152 scheduled_run_time_ = desired_run_time_ = TimeTicks::Now() + delay; in PostNewScheduledTask()
Dtimer.h78 TimeDelta delay,
93 TimeDelta delay,
111 TimeDelta delay,
123 void PostNewScheduledTask(TimeDelta delay);
200 TimeDelta delay, in Start() argument
203 Timer::Start(posted_from, delay, in Start()
235 TimeDelta delay, in DelayTimer() argument
238 : Timer(posted_from, delay, in DelayTimer()
/external/lldb/test/
Dbench-history7 lldb startup delay (create fresh target) benchmark: Avg: 0.104274 (Laps: 30, Total Elapsed Time: 3.…
8 lldb startup delay (set first breakpoint) benchmark: Avg: 0.102216 (Laps: 30, Total Elapsed Time: 3…
16 lldb startup delay (create fresh target) benchmark: Avg: 0.105384 (Laps: 30, Total Elapsed Time: 3.…
17 lldb startup delay (set first breakpoint) benchmark: Avg: 0.102334 (Laps: 30, Total Elapsed Time: 3…
23 lldb startup delay (create fresh target) benchmark: Avg: 0.103826 (Laps: 30, Total Elapsed Time: 3.…
24 lldb startup delay (set first breakpoint) benchmark: Avg: 0.102312 (Laps: 30, Total Elapsed Time: 3…
35 lldb startup delay (create fresh target) benchmark: Avg: 0.103774 (Laps: 30, Total Elapsed Time: 3.…
36 lldb startup delay (set first breakpoint) benchmark: Avg: 0.102230 (Laps: 30, Total Elapsed Time: 3…
37 lldb startup delay (run to breakpoint) benchmark: Avg: 0.448635 (Laps: 30, Total Elapsed Time: 13.4…
45 lldb startup delay (create fresh target) benchmark: Avg: 0.103625 (Laps: 30, Total Elapsed Time: 3.…
[all …]
/external/chromium_org/ui/views/
Dmetrics_aura.cc31 static DWORD delay = 0; in GetMenuShowDelay() local
32 if (!delay && !SystemParametersInfo(SPI_GETMENUSHOWDELAY, 0, &delay, 0)) in GetMenuShowDelay()
33 delay = kDefaultMenuShowDelay; in GetMenuShowDelay()
34 return delay; in GetMenuShowDelay()
/external/chromium_org/content/browser/renderer_host/input/
Dtimeout_monitor.cc19 void TimeoutMonitor::Start(TimeDelta delay) { in Start() argument
24 Time requested_end_time = Time::Now() + delay; in Start()
31 if (timeout_timer_.IsRunning() && timeout_timer_.GetCurrentDelay() <= delay) { in Start()
43 timeout_timer_.Start(FROM_HERE, delay, this, &TimeoutMonitor::CheckTimedOut); in Start()
46 void TimeoutMonitor::Restart(TimeDelta delay) { in Restart() argument
49 Start(delay); in Restart()
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/
Ddownsample_fast_mips.c21 int delay) { in WebRtcSpl_DownsampleFast_mips() argument
26 int 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/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/
Dremote_bitrate_estimators_test.cc108 DelayFilter delay(this); in TEST_P() local
109 delay.SetDelay(1000); in TEST_P()
114 DelayFilter delay(this); in TEST_P() local
117 delay.SetDelay(i); in TEST_P()
124 DelayFilter delay(this); in TEST_P() local
128 delay.SetDelay(10.0f * i); in TEST_P()
131 delay.SetDelay(0.0f); in TEST_P()
136 DelayFilter delay(this); in TEST_P() local
139 delay.SetDelay((10 * i) % 500); in TEST_P()
141 delay.SetDelay(1.0f); in TEST_P()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/loader/
DNavigationScheduler.cpp59 ScheduledNavigation(double delay, bool lockBackForwardList, bool isLocationChange) in ScheduledNavigation() argument
60 : m_delay(delay) in ScheduledNavigation()
74 double delay() const { return m_delay; } in delay() function in WebCore::ScheduledNavigation
99 …ScheduledURLNavigation(double delay, Document* originDocument, const String& url, const Referrer& … in ScheduledURLNavigation() argument
100 : ScheduledNavigation(delay, lockBackForwardList, isLocationChange) in ScheduledURLNavigation()
128 …ScheduledRedirect(double delay, Document* originDocument, const String& url, bool lockBackForwardL… in ScheduledRedirect() argument
129 : ScheduledURLNavigation(delay, originDocument, url, Referrer(), lockBackForwardList, false) in ScheduledRedirect()
260 void NavigationScheduler::scheduleRedirect(double delay, const String& url) in scheduleRedirect() argument
264 if (delay < 0 || delay > INT_MAX / 1000) in scheduleRedirect()
270 if (!m_redirect || delay <= m_redirect->delay()) in scheduleRedirect()
[all …]
/external/chromium_org/base/message_loop/
Dincoming_task_queue.cc23 TimeDelta delay, in AddToIncomingQueue() argument
27 from_here, task, CalculateDelayedRuntime(delay), nestable); in AddToIncomingQueue()
76 TimeTicks IncomingTaskQueue::CalculateDelayedRuntime(TimeDelta delay) { in CalculateDelayedRuntime() argument
78 if (delay > TimeDelta()) { in CalculateDelayedRuntime()
79 delayed_run_time = TimeTicks::Now() + delay; in CalculateDelayedRuntime()
88 bool needs_high_res_timers = delay.InMilliseconds() < in CalculateDelayedRuntime()
100 DCHECK_EQ(delay.InMilliseconds(), 0) << "delay should not be negative"; in CalculateDelayedRuntime()
/external/iptables/extensions/
Dlibxt_LED.c61 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/smack/src/org/jivesoftware/smackx/forward/
DForwarded.java44 private DelayInfo delay; field in Forwarded
53 public Forwarded(DelayInfo delay, Packet fwdPacket) { in Forwarded() argument
54 this.delay = delay; in Forwarded()
74 if (delay != null) in toXML()
75 buf.append(delay.toXML()); in toXML()
97 return delay; in getDelayInfo()
/external/chromium_org/media/audio/alsa/
Dalsa_input.cc123 base::TimeDelta delay = buffer_duration_ + buffer_duration_ / 2; in Start() local
124 next_read_time_ = base::TimeTicks::Now() + delay; in Start()
128 delay); in Start()
158 snd_pcm_sframes_t delay = -1; in GetCurrentDelay() local
160 int error = wrapper_->PcmDelay(device_handle_, &delay); in GetCurrentDelay()
166 if (delay < 0) in GetCurrentDelay()
167 delay = wrapper_->PcmAvailUpdate(device_handle_); in GetCurrentDelay()
169 return delay; in GetCurrentDelay()
226 base::TimeDelta delay = next_read_time_ - base::TimeTicks::Now(); in ReadAudio() local
227 if (delay < base::TimeDelta()) { in ReadAudio()
[all …]
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
Daudio_decoder_unittest.cc102 int delay = 0, int channel_diff_tolerance = 0) { in EncodeDecodeTest() argument
128 CompareInputOutput(processed_samples, tolerance, delay); in EncodeDecodeTest()
131 EXPECT_LE(MseInputOutput(processed_samples, delay), mse); in EncodeDecodeTest()
138 int delay) const { in CompareInputOutput()
140 for (unsigned int n = 0; n < num_samples - delay; ++n) { in CompareInputOutput()
141 ASSERT_NEAR(input_[n], decoded_[channels_ * n + delay], tolerance) << in CompareInputOutput()
161 virtual double MseInputOutput(size_t num_samples, int delay) const { in MseInputOutput()
165 for (unsigned int n = 0; n < num_samples - delay; ++n) { in MseInputOutput()
166 squared_sum += (input_[n] - decoded_[channels_ * n + delay]) * in MseInputOutput()
167 (input_[n] - decoded_[channels_ * n + delay]); in MseInputOutput()
[all …]

12345678910>>...32