/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/content/browser/android/ |
edge_effect_base.h | 32 virtual void Pull(base::TimeTicks current_time, 35 virtual void Absorb(base::TimeTicks current_time, float velocity) = 0; 36 virtual bool Update(base::TimeTicks current_time) = 0; 37 virtual void Release(base::TimeTicks current_time) = 0;
|
edge_effect.h | 31 virtual void Pull(base::TimeTicks current_time, 34 virtual void Absorb(base::TimeTicks current_time, float velocity) OVERRIDE; 35 virtual bool Update(base::TimeTicks current_time) OVERRIDE; 36 virtual void Release(base::TimeTicks current_time) OVERRIDE;
|
edge_effect_l.h | 34 virtual void Pull(base::TimeTicks current_time, 37 virtual void Absorb(base::TimeTicks current_time, float velocity) OVERRIDE; 38 virtual bool Update(base::TimeTicks current_time) OVERRIDE; 39 virtual void Release(base::TimeTicks current_time) OVERRIDE;
|
overscroll_glow.h | 54 base::TimeTicks current_time, 62 bool Animate(base::TimeTicks current_time); 81 void Pull(base::TimeTicks current_time, 84 void Absorb(base::TimeTicks current_time, 88 void Release(base::TimeTicks current_time);
|
overscroll_glow.cc | 105 base::TimeTicks current_time, 124 Release(current_time); 141 Absorb(current_time, velocity, x_overscroll_started, y_overscroll_started); 143 Pull(current_time, overscroll_delta, displacement); 149 bool OverscrollGlow::Animate(base::TimeTicks current_time) { 156 if (edge_effects_[i]->Update(current_time)) { 225 void OverscrollGlow::Pull(base::TimeTicks current_time, 258 current_time, std::abs(edge_pull[i]), edge_displacement[i]); 259 GetOppositeEdge(i)->Release(current_time); 263 void OverscrollGlow::Absorb(base::TimeTicks current_time, [all...] |
edge_effect_l.cc | 100 void EdgeEffectL::Pull(base::TimeTicks current_time, 104 if (state_ == STATE_PULL_DECAY && current_time - start_time_ < duration_) { 112 start_time_ = current_time; 135 void EdgeEffectL::Release(base::TimeTicks current_time) { 148 start_time_ = current_time; 152 void EdgeEffectL::Absorb(base::TimeTicks current_time, float velocity) { 157 start_time_ = current_time; 177 bool EdgeEffectL::Update(base::TimeTicks current_time) { 181 const double dt = (current_time - start_time_).InMilliseconds(); 193 start_time_ = current_time; [all...] |
edge_effect.cc | 155 void EdgeEffect::Pull(base::TimeTicks current_time, 158 if (state_ == STATE_PULL_DECAY && current_time - start_time_ < duration_) { 166 start_time_ = current_time; 199 void EdgeEffect::Release(base::TimeTicks current_time) { 216 start_time_ = current_time; 220 void EdgeEffect::Absorb(base::TimeTicks current_time, float velocity) { 224 start_time_ = current_time; 255 bool EdgeEffect::Update(base::TimeTicks current_time) { 259 const double dt = (current_time - start_time_).InMilliseconds(); 272 start_time_ = current_time; [all...] |
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/common/ |
fps.h | 47 double current_time = getseconds(); local 51 if (current_time < state->last_time + kFpsUpdateSecs) 54 *out_fps = state->frame_count / (current_time - state->last_time); 55 state->last_time = current_time;
|
/external/chromium_org/chrome/installer/util/ |
google_update_experiment_util.h | 30 // |current_time| plus one year. 31 base::string16 BuildExperimentDateString(const base::Time& current_time);
|
google_update_experiment_util.cc | 37 base::string16 BuildExperimentDateString(const base::Time& current_time) { 49 current_time.UTCExplode(&then);
|
/external/chromium_org/third_party/webrtc/base/ |
ratetracker.cc | 31 uint32 current_time = Time(); local 33 int delta = rtc::TimeDiff(current_time, last_units_second_time_); 43 last_units_second_time_ = current_time - fraction_time; 48 last_units_second_time_ = current_time;
|
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/test/ |
stream_generator.h | 33 int64_t current_time); 36 int64_t current_time); 41 int64_t current_time);
|
stream_generator.cc | 26 int64_t current_time) 30 start_time_(current_time) {} 34 int64_t current_time) { 38 start_time_ = current_time; 45 int64_t current_time) { 46 timestamp_ = 90 * (current_time - start_time_);
|
/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); 133 void EvictedDomainCookieCounter::GarbageCollect(const Time& current_time) { 149 if (it->second->is_expired(current_time)) { 177 const Time& current_time) { 181 new EvictedCookie(current_time, cookie.ExpiryDate(), is_google); 191 GarbageCollect(current_time); 197 const Time& current_time) { 200 if (!it->second->is_expired(current_time)) // Reinstatement [all...] |
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; 115 void GarbageCollect(const base::Time& current_time); 121 const base::Time& current_time); 127 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/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_org/net/quic/crypto/ |
strike_register_test.cc | 196 SlowStrikeRegister(unsigned max_entries, uint32 current_time, 200 creation_time_(current_time), 201 horizon_(ExternalTimeToInternal(current_time + window_secs) + 1) { 212 const uint32 current_time = ExternalTimeToInternal(current_time_external); local 229 if ((current_time > window_secs_ && 230 nonce_time < (current_time - window_secs_)) || 231 nonce_time > (current_time + window_secs_)) { 249 const uint32 current_time = ExternalTimeToInternal(current_time_external); local 250 if (horizon_ > current_time) { 253 return 1 + min(current_time - horizon_, window_secs_) 298 uint32 current_time = 10000, window = 200; local 349 uint32 current_time = 10000, window = 200; local [all...] |
/external/chromium_org/chrome/common/variations/ |
experiment_labels.cc | 24 // including a timestamp that is a year in the future from |current_time|. Since 29 const base::Time& current_time) { 40 label += installer::BuildExperimentDateString(current_time); 51 const base::Time current_time(base::Time::Now()); 66 current_time);
|
/external/chromium_org/third_party/sqlite/src/test/ |
keyword1.test | 41 current_time 87 current_time
|
/external/qemu/hw/timer/ |
i8254.c | 62 static void pit_irq_timer_update(PITChannelState *s, int64_t current_time); 89 static int pit_get_out1(PITChannelState *s, int64_t current_time) 94 d = muldiv64(current_time - s->count_load_time, PIT_FREQ, get_ticks_per_sec()); 120 int pit_get_out(PITState *pit, int channel, int64_t current_time) 123 return pit_get_out1(s, current_time); 128 int64_t current_time) 133 d = muldiv64(current_time - s->count_load_time, PIT_FREQ, get_ticks_per_sec()); 172 if (next_time <= current_time) 173 next_time = current_time + 1; 363 static void pit_irq_timer_update(PITChannelState *s, int64_t current_time) [all...] |