Searched refs:current_time (Results 1 - 25 of 151) sorted by relevance

1234567

/external/chromium_org/net/quic/congestion_control/
H A Dinter_arrival_state_machine.cc43 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 Dhybrid_slow_start.cc54 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 Drate_counter.cc23 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 Drate_counter.h34 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 Dwall_time.cc83 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 Dpromo_counter.h38 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 Dpromo_counter.cc47 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 Dratetracker.cc48 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 Dratetracker.cc48 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 Doverscroll_glow.h46 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 Doverscroll_glow.cc101 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 Dedge_effect.h38 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 Dreshow_state.cc25 bool ReshowState::HasReshowDeltaExpired(const base::Time& current_time) const {
32 return current_time - last_shown_time >= reshow_delta_;
H A Dreshow_state.h17 bool HasReshowDeltaExpired(const base::Time& current_time) const;
/external/chromium/net/ftp/
H A Dftp_directory_listing_parser_ls.h23 const base::Time& current_time,
H A Dftp_directory_listing_parser_netware.h24 const base::Time& current_time,
H A Dftp_directory_listing_parser.cc42 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 Dftp_directory_listing_parser.h39 const base::Time& current_time,
/external/chromium_org/net/ftp/
H A Dftp_directory_listing_parser_ls.h24 const base::Time& current_time,
H A Dftp_directory_listing_parser_netware.h24 const base::Time& current_time,
H A Dftp_directory_listing_parser.cc47 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 Devicted_domain_cookie_counter.h54 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 Dstrike_register_test.cc145 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 Dclock.cc45 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 Dmemory.py96 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))

Completed in 1236 milliseconds

1234567