HomeSort by relevance Sort by last modified time
    Searched full:current_time (Results 1 - 25 of 288) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/remoting/base/
rate_counter.cc 23 base::Time current_time = CurrentTime(); local
24 EvictOldDataPoints(current_time);
26 data_points_.push(std::make_pair(current_time, value));
36 void RateCounter::SetCurrentTimeForTest(base::Time current_time) {
38 DCHECK(current_time >= current_time_for_test_);
40 current_time_for_test_ = current_time;
43 void RateCounter::EvictOldDataPoints(base::Time current_time) {
45 base::Time window_start = current_time - time_window_;
rate_counter.h 34 void SetCurrentTimeForTest(base::Time current_time);
40 // Removes data points more than |time_window| older than |current_time|.
41 void EvictOldDataPoints(base::Time current_time);
  /external/chromium_org/net/quic/congestion_control/
inter_arrival_state_machine.cc 43 QuicTime current_time = clock_->ApproximateNow(); local
44 if (current_time.Subtract(last_increase_event_) < smoothed_rtt_) {
48 last_increase_event_ = current_time;
81 QuicTime current_time = clock_->ApproximateNow(); local
82 if (current_time.Subtract(last_decrease_event_) < smoothed_rtt_) {
86 last_decrease_event_ = current_time;
132 QuicTime current_time = clock_->ApproximateNow(); local
133 if (current_time.Subtract(last_loss_event_) < smoothed_rtt_) {
137 last_loss_event_ = current_time;
139 if (current_time.Subtract(last_delay_event_)
148 QuicTime current_time = clock_->ApproximateNow(); local
    [all...]
  /external/chromium_org/content/browser/android/
overscroll_glow.cc 101 void OverscrollGlow::OnOverscrolled(base::TimeTicks current_time,
126 Release(current_time);
133 ReleaseAxis(AXIS_X, current_time);
135 ReleaseAxis(AXIS_Y, current_time);
137 Absorb(current_time, velocity, overscroll, old_overscroll_);
142 ReleaseAxis(AXIS_X, current_time);
145 ReleaseAxis(AXIS_Y, current_time);
147 Pull(current_time, overscroll - old_overscroll_);
154 void OverscrollGlow::Release(base::TimeTicks current_time) {
156 edge_effects_[i]->Release(current_time);
    [all...]
edge_effect.h 38 void Pull(base::TimeTicks current_time, float delta_distance);
39 void Absorb(base::TimeTicks current_time, float velocity);
40 bool Update(base::TimeTicks current_time);
41 void Release(base::TimeTicks current_time);
overscroll_glow.h 46 void OnOverscrolled(base::TimeTicks current_time,
53 void Release(base::TimeTicks current_time);
56 bool Animate(base::TimeTicks current_time);
84 void Pull(base::TimeTicks current_time,
86 void Absorb(base::TimeTicks current_time,
91 void ReleaseAxis(Axis axis, base::TimeTicks current_time);
  /external/chromium/chrome/browser/instant/
promo_counter.cc 47 bool PromoCounter::ShouldShow(base::Time current_time) {
50 Init(current_time);
53 if (show_ && (current_time - initial_show_).InDays() >= max_days_)
54 MaxTimeLapsed(current_time);
69 void PromoCounter::Init(base::Time current_time) {
85 if (initial_show_int == 0 || initial_show_ > current_time) {
92 MaxSessionsEncountered(current_time);
99 void PromoCounter::MaxSessionsEncountered(base::Time current_time) {
102 (current_time - initial_show_).InHours(), 1,
108 void PromoCounter::MaxTimeLapsed(base::Time current_time) {
    [all...]
promo_counter.h 38 bool ShouldShow(base::Time current_time);
46 void Init(base::Time current_time);
49 void MaxSessionsEncountered(base::Time current_time);
52 void MaxTimeLapsed(base::Time current_time);
  /external/chromium_org/chrome_frame/turndown_prompt/
reshow_state.cc 25 bool ReshowState::HasReshowDeltaExpired(const base::Time& current_time) const {
32 return current_time - last_shown_time >= reshow_delta_;
reshow_state.h 17 bool HasReshowDeltaExpired(const base::Time& current_time) const;
  /external/chromium_org/net/quic/crypto/
strike_register_test.cc 145 SlowStrikeRegister(unsigned max_entries, uint32 current_time,
149 creation_time_(current_time),
150 horizon_(ExternalTimeToInternal(current_time + window_secs)) {
155 const uint32 current_time = ExternalTimeToInternal(current_time_external); local
170 if ((current_time > window_secs_ &&
171 nonce_time < (current_time - window_secs_)) ||
172 nonce_time > (current_time + window_secs_)) {
247 uint32 current_time = 10000, window = 200; local
249 new StrikeRegister(max_entries, current_time, window, kOrbit,
252 new SlowStrikeRegister(max_entries, current_time, window, kOrbit))
    [all...]
  /external/chromium_org/chrome/browser/net/
evicted_domain_cookie_counter.cc 102 Time current_time(cookie_counter_delegate_->CurrentTime());
105 StoreEvictedCookie(key, cookie, current_time);
107 ProcessNewCookie(key, cookie, current_time);
128 void EvictedDomainCookieCounter::GarbageCollect(const Time& current_time) {
144 if (it->second->is_expired(current_time)) {
172 const Time& current_time) {
176 new EvictedCookie(current_time, cookie.ExpiryDate(), is_google);
186 GarbageCollect(current_time);
192 const Time& current_time) {
195 if (!it->second->is_expired(current_time)) // Reinstatement
    [all...]
  /external/chromium/net/ftp/
ftp_directory_listing_parser.cc 42 const base::Time& current_time,
51 if (ParseFtpDirectoryListingLs(lines, current_time, entries)) {
69 if (ParseFtpDirectoryListingNetware(lines, current_time, entries)) {
81 const base::Time& current_time,
97 current_time,
116 const base::Time& current_time,
119 int rv = DecodeAndParse(text, current_time, entries, &server_type);
ftp_directory_listing_parser_ls.h 23 const base::Time& current_time,
ftp_directory_listing_parser_netware.h 24 const base::Time& current_time,
  /external/chromium_org/net/ftp/
ftp_directory_listing_parser.cc 47 const base::Time& current_time,
58 base::Bind(&ParseFtpDirectoryListingLs, lines, current_time, entries),
71 lines, current_time, entries),
95 const base::Time& current_time,
115 current_time,
137 const base::Time& current_time,
140 int rv = DecodeAndParse(text, current_time, entries, &server_type);
ftp_directory_listing_parser_ls.h 24 const base::Time& current_time,
ftp_directory_listing_parser_netware.h 24 const base::Time& current_time,
  /external/chromium/chrome/browser/net/
load_timing_observer_unittest.cc 32 base::TimeTicks current_time; member in namespace:__anon4696
38 observer.OnAddEntry(type, current_time, source, NetLog::PHASE_BEGIN, params);
45 observer.OnAddEntry(type, current_time, source, NetLog::PHASE_END, params);
239 current_time += TimeDelta::FromSeconds(1);
250 current_time += TimeDelta::FromSeconds(1);
255 current_time += TimeDelta::FromSeconds(2);
257 current_time += TimeDelta::FromSeconds(3);
269 current_time += TimeDelta::FromSeconds(1);
277 current_time += TimeDelta::FromSeconds(2);
280 current_time += TimeDelta::FromSeconds(3)
    [all...]
  /external/chromium_org/media/base/
clock.cc 45 void Clock::SetTime(base::TimeDelta current_time, base::TimeDelta max_time) {
46 DCHECK(current_time <= max_time);
47 DCHECK(current_time != kNoTimestamp());
49 UpdateReferencePoints(current_time);
121 void Clock::UpdateReferencePoints(base::TimeDelta current_time) {
122 media_time_ = ClampToValidTimeRange(current_time);
  /external/chromium/net/base/
cert_verifier_unittest.cc 42 base::Time current_time = base::Time::Now(); local
43 time_service->set_current_time(current_time);
80 base::Time current_time = base::Time::Now(); local
81 time_service->set_current_time(current_time);
117 base::Time current_time = base::Time::Now(); local
118 time_service->set_current_time(current_time);
154 current_time += base::TimeDelta::FromMinutes(60);
155 time_service->set_current_time(current_time);
171 base::Time current_time = base::Time::Now(); local
172 time_service->set_current_time(current_time);
    [all...]
  /external/ceres-solver/internal/ceres/
wall_time.cc 83 const double current_time = WallTimeInSeconds(); local
84 const double relative_time_delta = current_time - last_event_time_;
85 const double absolute_time_delta = current_time - start_time_;
86 last_event_time_ = current_time;
  /external/chromium/third_party/libjingle/source/talk/base/
ratetracker.cc 48 uint32 current_time = Time(); local
50 int delta = talk_base::TimeDiff(current_time, last_units_second_time_);
60 last_units_second_time_ = current_time - fraction_time;
65 last_units_second_time_ = current_time;
  /external/chromium_org/third_party/libjingle/source/talk/base/
ratetracker.cc 48 uint32 current_time = Time(); local
50 int delta = talk_base::TimeDiff(current_time, last_units_second_time_);
60 last_units_second_time_ = current_time - fraction_time;
65 last_units_second_time_ = current_time;
  /external/chromium/chrome/browser/sync/notifier/
chrome_system_resources_unittest.cc 76 // Make sure current_time() doesn't crash or leak.
78 invalidation::Time current_time = local
79 chrome_system_resources_.current_time();
80 VLOG(1) << "current_time returned: " << current_time.ToInternalValue();

Completed in 1899 milliseconds

1 2 3 4 5 6 7 8 91011>>