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

123456

/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_org/content/browser/android/
H A Dedge_effect_base.h32 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;
H A Doverscroll_glow.h54 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);
H A Dedge_effect.h31 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;
H A Dedge_effect_l.h34 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;
H A Dedge_effect_l.cc100 void EdgeEffectL::Pull(base::TimeTicks current_time, argument
104 if (state_ == STATE_PULL_DECAY && current_time - start_time_ < duration_) {
112 start_time_ = current_time;
135 void EdgeEffectL::Release(base::TimeTicks current_time) { argument
148 start_time_ = current_time;
152 void EdgeEffectL::Absorb(base::TimeTicks current_time, float velocity) { argument
157 start_time_ = current_time;
177 bool EdgeEffectL::Update(base::TimeTicks current_time) { argument
181 const double dt = (current_time - start_time_).InMilliseconds();
193 start_time_ = current_time;
[all...]
H A Doverscroll_glow.cc105 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) { argument
156 if (edge_effects_[i]->Update(current_time)) {
225 void OverscrollGlow::Pull(base::TimeTicks current_time, argument
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, argument
104 OnOverscrolled(cc::Layer* overscrolling_layer, base::TimeTicks current_time, gfx::Vector2dF accumulated_overscroll, gfx::Vector2dF overscroll_delta, gfx::Vector2dF velocity, gfx::Vector2dF displacement) argument
287 Release(base::TimeTicks current_time) argument
[all...]
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/common/
H A Dfps.h47 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/third_party/webrtc/base/
H A Dratetracker.cc31 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/chrome/installer/util/
H A Dgoogle_update_experiment_util.cc37 base::string16 BuildExperimentDateString(const base::Time& current_time) { argument
49 current_time.UTCExplode(&then);
H A Dgoogle_update_experiment_util.h30 // |current_time| plus one year.
31 base::string16 BuildExperimentDateString(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
H A Dftp_directory_listing_parser.h41 const base::Time& current_time,
/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;
115 void GarbageCollect(const base::Time& current_time);
121 const base::Time& current_time);
127 const base::Time& current_time);
H A Devicted_domain_cookie_counter.cc102 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) { argument
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)) // Reinstatemen
174 StoreEvictedCookie( const EvictedCookieKey& key, const net::CanonicalCookie& cookie, const Time& current_time) argument
194 ProcessNewCookie( const EvictedCookieKey& key, const net::CanonicalCookie& cc, const Time& current_time) argument
[all...]
/external/chromium_org/net/quic/congestion_control/
H A Dhybrid_slow_start.cc78 QuicTime current_time = clock_->ApproximateNow(); local
92 if (current_time.Subtract(last_close_ack_pair_time_).ToMicroseconds() <=
94 last_close_ack_pair_time_ = current_time;
95 if (current_time.Subtract(round_start_).ToMicroseconds() >=
102 last_close_ack_pair_time_ = round_start_ = current_time;
H A Dcubic.cc109 QuicTime current_time = clock_->ApproximateNow(); local
113 (current_time.Subtract(last_update_time_) <= MaxCubicTimeInterval())) {
118 last_update_time_ = current_time;
123 epoch_ = current_time; // Start of epoch.
141 (current_time.Add(delay_min).Subtract(epoch_).ToMicroseconds() << 10) /
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/test/
H A Dstream_generator.cc26 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_);
24 StreamGenerator(uint16_t start_seq_num, uint32_t start_timestamp, int64_t current_time) argument
32 Init(uint16_t start_seq_num, uint32_t start_timestamp, int64_t current_time) argument
42 GenerateFrame(FrameType type, int num_media_packets, int num_empty_packets, int64_t current_time) argument
H A Dstream_generator.h33 int64_t current_time);
36 int64_t current_time);
41 int64_t current_time);
/external/chromium_org/net/quic/crypto/
H A Dstrike_register_test.cc196 SlowStrikeRegister(unsigned max_entries, uint32 current_time, argument
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
298 uint32 current_time = 10000, window = 200; local
349 uint32 current_time = 10000, window = 200; local
[all...]
/external/chromium_org/ui/gfx/animation/
H A Danimation_container.cc65 TimeTicks current_time = gfx::FrameTime::Now(); local
67 last_tick_time_ = current_time;
77 (*i)->Step(current_time);

Completed in 373 milliseconds

123456