/external/chromium_org/net/quic/congestion_control/ |
H A D | 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 148 QuicTime current_time = clock_->ApproximateNow(); local [all...] |
H A D | hybrid_slow_start.cc | 54 QuicTime current_time = clock_->ApproximateNow(); local 63 if (current_time.Subtract(last_time_).ToMicroseconds() <= 65 last_time_ = current_time; 66 if (current_time.Subtract(round_start_).ToMicroseconds() >=
|
/external/chromium_org/remoting/base/ |
H A D | 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) { argument 38 DCHECK(current_time >= current_time_for_test_); 40 current_time_for_test_ = current_time; 43 void RateCounter::EvictOldDataPoints(base::Time current_time) { argument 45 base::Time window_start = current_time - time_window_;
|
H A D | 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/ceres-solver/internal/ceres/ |
H A D | 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/chrome/browser/instant/ |
H A D | 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);
|
H A D | promo_counter.cc | 47 bool PromoCounter::ShouldShow(base::Time current_time) { argument 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) { argument 85 if (initial_show_int == 0 || initial_show_ > current_time) { 92 MaxSessionsEncountered(current_time); 99 void PromoCounter::MaxSessionsEncountered(base::Time current_time) { argument 102 (current_time - initial_show_).InHours(), 1, 108 void PromoCounter::MaxTimeLapsed(base::Time current_time) { argument [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
H A D | 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/ |
H A D | 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/content/browser/android/ |
H A D | 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);
|
H A D | overscroll_glow.cc | 101 void OverscrollGlow::OnOverscrolled(base::TimeTicks current_time, argument 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) { argument 156 edge_effects_[i]->Release(current_time); 161 Animate(base::TimeTicks current_time) argument 200 Pull(base::TimeTicks current_time, gfx::Vector2dF overscroll_delta) argument 225 Absorb(base::TimeTicks current_time, gfx::Vector2dF velocity, gfx::Vector2dF overscroll, gfx::Vector2dF old_overscroll) argument 249 ReleaseAxis(Axis axis, base::TimeTicks current_time) argument [all...] |
H A D | 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);
|
/external/chromium_org/chrome_frame/turndown_prompt/ |
H A D | reshow_state.cc | 25 bool ReshowState::HasReshowDeltaExpired(const base::Time& current_time) const { 32 return current_time - last_shown_time >= reshow_delta_;
|
H A D | reshow_state.h | 17 bool HasReshowDeltaExpired(const base::Time& current_time) const;
|
/external/chromium/net/ftp/ |
H A D | ftp_directory_listing_parser_ls.h | 23 const base::Time& current_time,
|
H A D | ftp_directory_listing_parser_netware.h | 24 const base::Time& current_time,
|
H A D | 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); 40 ParseListing(const string16& text, const std::string& encoding, const base::Time& current_time, std::vector<FtpDirectoryListingEntry>* entries, FtpServerType* server_type) argument 80 DecodeAndParse(const std::string& text, const base::Time& current_time, std::vector<FtpDirectoryListingEntry>* entries, FtpServerType* server_type) argument 115 ParseFtpDirectoryListing(const std::string& text, const base::Time& current_time, std::vector<FtpDirectoryListingEntry>* entries) argument
|
H A D | ftp_directory_listing_parser.h | 39 const base::Time& current_time,
|
/external/chromium_org/net/ftp/ |
H A D | ftp_directory_listing_parser_ls.h | 24 const base::Time& current_time,
|
H A D | ftp_directory_listing_parser_netware.h | 24 const base::Time& current_time,
|
H A D | 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); 44 ParseListing(const base::string16& text, const base::string16& newline_separator, const std::string& encoding, const base::Time& current_time, std::vector<FtpDirectoryListingEntry>* entries, FtpServerType* server_type) argument 94 DecodeAndParse(const std::string& text, const base::Time& current_time, std::vector<FtpDirectoryListingEntry>* entries, FtpServerType* server_type) argument 136 ParseFtpDirectoryListing(const std::string& text, const base::Time& current_time, std::vector<FtpDirectoryListingEntry>* entries) argument
|
/external/chromium_org/chrome/browser/net/ |
H A D | evicted_domain_cookie_counter.h | 54 bool is_expired(const base::Time& current_time) const { 55 return !expiry_time.is_null() && current_time >= expiry_time; 114 void GarbageCollect(const base::Time& current_time); 120 const base::Time& current_time); 126 const base::Time& current_time);
|
/external/chromium_org/net/quic/crypto/ |
H A D | strike_register_test.cc | 145 SlowStrikeRegister(unsigned max_entries, uint32 current_time, argument 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, windo [all...] |
/external/chromium_org/media/base/ |
H A D | clock.cc | 45 void Clock::SetTime(base::TimeDelta current_time, base::TimeDelta max_time) { argument 46 DCHECK(current_time <= max_time); 47 DCHECK(current_time != kNoTimestamp()); 49 UpdateReferencePoints(current_time); 121 void Clock::UpdateReferencePoints(base::TimeDelta current_time) { argument 122 media_time_ = ClampToValidTimeRange(current_time);
|
/external/chromium_org/chrome/test/functional/ |
H A D | memory.py | 96 current_time = time.asctime(time.localtime(time.time())) 99 self.MEASUREMENT_LOG_MESSAGE_TEMPLATE % (current_time, usage, pid)) 126 current_time = time.asctime(time.localtime(time.time())) 129 self.MEASUREMENT_LOG_MESSAGE_TEMPLATE % (current_time, usage, pid))
|