Home
last modified time | relevance | path

Searched refs:max_time (Results 1 – 25 of 32) sorted by relevance

12

/external/chromium_org/media/base/
Dclock.cc45 void Clock::SetTime(base::TimeDelta current_time, base::TimeDelta max_time) { in SetTime() argument
46 DCHECK(current_time <= max_time); in SetTime()
50 max_time_ = ClampToValidTimeRange(max_time); in SetTime()
72 void Clock::SetMaxTime(base::TimeDelta max_time) { in SetMaxTime() argument
73 DCHECK(max_time != kNoTimestamp()); in SetMaxTime()
76 max_time_ = ClampToValidTimeRange(max_time); in SetMaxTime()
Dclock.h60 void SetTime(base::TimeDelta current_time, base::TimeDelta max_time);
63 void SetMaxTime(base::TimeDelta max_time);
Dpipeline.h261 void OnAudioTimeUpdate(base::TimeDelta time, base::TimeDelta max_time);
264 void OnVideoTimeUpdate(base::TimeDelta max_time);
Dpipeline.cc331 void Pipeline::OnAudioTimeUpdate(TimeDelta time, TimeDelta max_time) { in OnAudioTimeUpdate() argument
332 DCHECK_LE(time.InMicroseconds(), max_time.InMicroseconds()); in OnAudioTimeUpdate()
346 clock_->SetTime(time, max_time); in OnAudioTimeUpdate()
350 void Pipeline::OnVideoTimeUpdate(TimeDelta max_time) { in OnVideoTimeUpdate() argument
363 clock_->SetMaxTime(max_time); in OnVideoTimeUpdate()
/external/chromium_org/chrome/browser/extensions/api/dns/
Dmock_host_resolver_creator.cc36 base::TimeDelta max_time = base::TimeDelta::FromSeconds(5); in CreateMockHostResolver() local
37 resolver_event_.TimedWait(max_time); in CreateMockHostResolver()
60 base::TimeDelta max_time = base::TimeDelta::FromSeconds(5); in DeleteMockHostResolver() local
61 ASSERT_TRUE(resolver_event_.TimedWait(max_time)); in DeleteMockHostResolver()
/external/chromium_org/base/synchronization/
Dcondition_variable_win.cc63 virtual void TimedWait(const TimeDelta& max_time) = 0;
78 virtual void TimedWait(const TimeDelta& max_time) OVERRIDE;
97 void WinVistaCondVar::TimedWait(const TimeDelta& max_time) { in TimedWait() argument
99 DWORD timeout = static_cast<DWORD>(max_time.InMilliseconds()); in TimedWait()
133 virtual void TimedWait(const TimeDelta& max_time) OVERRIDE;
244 void WinXPCondVar::TimedWait(const TimeDelta& max_time) { in TimedWait() argument
258 WaitForSingleObject(handle, static_cast<DWORD>(max_time.InMilliseconds())); in TimedWait()
657 void ConditionVariable::TimedWait(const TimeDelta& max_time) { in TimedWait() argument
658 impl_->TimedWait(max_time); in TimedWait()
Dwaitable_event_win.cc58 bool WaitableEvent::TimedWait(const TimeDelta& max_time) { in TimedWait() argument
60 DCHECK(max_time >= TimeDelta::FromMicroseconds(0)); in TimedWait()
64 double timeout = ceil(max_time.InMillisecondsF()); in TimedWait()
Dcondition_variable_posix.cc59 void ConditionVariable::TimedWait(const TimeDelta& max_time) { in TimedWait() argument
61 int64 usecs = max_time.InMicroseconds(); in TimedWait()
Dwaitable_event_posix.cc160 bool WaitableEvent::TimedWait(const TimeDelta& max_time) { in TimedWait() argument
162 const TimeTicks end_time(TimeTicks::Now() + max_time); in TimedWait()
163 const bool finite_time = max_time.ToInternalValue() >= 0; in TimedWait()
Dcondition_variable.h93 void TimedWait(const TimeDelta& max_time);
Dwaitable_event.h81 bool TimedWait(const TimeDelta& max_time);
/external/chromium/base/synchronization/
Dwaitable_event_win.cc57 bool WaitableEvent::TimedWait(const TimeDelta& max_time) { in TimedWait() argument
58 DCHECK(max_time >= TimeDelta::FromMicroseconds(0)); in TimedWait()
62 double timeout = ceil(max_time.InMillisecondsF()); in TimedWait()
Dcondition_variable_posix.cc42 void ConditionVariable::TimedWait(const TimeDelta& max_time) { in TimedWait() argument
43 int64 usecs = max_time.InMicroseconds(); in TimedWait()
Dwaitable_event_posix.cc156 bool WaitableEvent::TimedWait(const TimeDelta& max_time) { in TimedWait() argument
157 const Time end_time(Time::Now() + max_time); in TimedWait()
158 const bool finite_time = max_time.ToInternalValue() >= 0; in TimedWait()
Dcondition_variable_win.cc52 void ConditionVariable::TimedWait(const TimeDelta& max_time) { in TimedWait() argument
65 WaitForSingleObject(handle, static_cast<DWORD>(max_time.InMilliseconds())); in TimedWait()
Dcondition_variable.h95 void TimedWait(const TimeDelta& max_time);
Dwaitable_event.h83 bool TimedWait(const TimeDelta& max_time);
/external/chromium_org/content/renderer/media/
Dwebsourcebuffer_impl.cc18 base::TimeDelta max_time = base::TimeDelta::FromInternalValue(kint64max - 1); in DoubleToTimeDelta() local
19 double max_time_in_seconds = max_time.InSecondsF(); in DoubleToTimeDelta()
22 return max_time; in DoubleToTimeDelta()
/external/chromium/chrome/browser/chromeos/cros/
Dcros_library_loader.cc22 static const base::TimeDelta max_time = base::TimeDelta::FromSeconds(1); in addLibcrosTimeHistogram() local
28 max_time, in addLibcrosTimeHistogram()
/external/chromium_org/chrome/test/chromedriver/server/
Dserver.py37 max_time = time.time() + 10
39 if time.time() > max_time:
/external/bluetooth/bluedroid/stack/gap/
Dgap_api.c464 UINT16 max_time, tGAP_CALLBACK *p_results_cb) in GAP_StartPeriodicInquiry() argument
479 max_time <= min_time || in GAP_StartPeriodicInquiry()
480 max_time < GAP_PER_INQ_MIN_MAX_PERIOD) in GAP_StartPeriodicInquiry()
491 btm_status = BTM_SetPeriodicInquiryMode(p_inq_parms, max_time, min_time, in GAP_StartPeriodicInquiry()
/external/chromium_org/media/filters/
Daudio_renderer_impl.cc528 base::TimeDelta max_time = kNoTimestamp(); in Render() local
622 max_time = algorithm_->GetTime(); in Render()
623 audio_time_buffered_ = max_time; in Render()
631 if (current_time != kNoTimestamp() && max_time != kNoTimestamp()) in Render()
632 time_cb_.Run(current_time, max_time); in Render()
/external/chromium_org/chrome/browser/history/
Dweb_history_service.cc274 const std::string& max_time, in CreateDeletion() argument
281 deletion->SetString("max_timestamp_usec", max_time); in CreateDeletion()
/external/icu4c/tools/tzcode/
Dzic.c201 static zic_t max_time; variable
828 max_time = -(min_time + 1); in setboundaries()
1234 z.z_untiltime < max_time &&
1236 zones[nzones - 1].z_untiltime < max_time &&
1321 if (dayoff > max_time / SECSPERDAY) {
2326 jtime == max_time)
2767 if (t1 == max_time && t2 > 0)
2768 return max_time;
2796 return max_time;
2861 if (dayoff > max_time / SECSPERDAY)
[all …]
/external/chromium_org/third_party/icu/source/tools/tzcode/
Dzic.c201 static zic_t max_time; variable
828 max_time = -(min_time + 1); in setboundaries()
1234 z.z_untiltime < max_time &&
1236 zones[nzones - 1].z_untiltime < max_time &&
1321 if (dayoff > max_time / SECSPERDAY) {
2320 jtime == max_time)
2761 if (t1 == max_time && t2 > 0)
2762 return max_time;
2790 return max_time;
2855 if (dayoff > max_time / SECSPERDAY)
[all …]

12