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

1 2 3 4 5 6 7

  /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...]
hybrid_slow_start.cc 56 QuicTime current_time = clock_->ApproximateNow(); local
65 if (current_time.Subtract(last_time_).ToMicroseconds() <=
67 last_time_ = current_time;
68 if (current_time.Subtract(round_start_).ToMicroseconds() >=
  /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/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/chrome/browser/instant/
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);
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...]
  /external/chromium/net/ftp/
ftp_directory_listing_parser_ls.h 23 const base::Time& current_time,
ftp_directory_listing_parser_netware.h 24 const base::Time& current_time,
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.h 39 const base::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/chrome/installer/util/
google_update_experiment_util.h 31 // |current_time| plus one year.
32 string16 BuildExperimentDateString(const base::Time& current_time);
google_update_experiment_util.cc 37 string16 BuildExperimentDateString(const base::Time& current_time) {
49 current_time.UTCExplode(&then);
  /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/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/content/browser/android/
overscroll_glow.h 50 base::TimeTicks current_time,
56 bool Animate(base::TimeTicks current_time);
81 void Pull(base::TimeTicks current_time,
83 void Absorb(base::TimeTicks current_time,
87 void Release(base::TimeTicks current_time);
88 void ReleaseAxis(Axis axis, base::TimeTicks current_time);
overscroll_glow.cc 110 base::TimeTicks current_time,
138 Release(current_time);
150 ReleaseAxis(AXIS_X, current_time);
152 ReleaseAxis(AXIS_Y, current_time);
154 Absorb(current_time, velocity, overscroll, old_overscroll_);
159 ReleaseAxis(AXIS_X, current_time);
162 ReleaseAxis(AXIS_Y, current_time);
164 Pull(current_time, overscroll - old_overscroll_);
174 bool OverscrollGlow::Animate(base::TimeTicks current_time) {
186 if (edge_effects_[i]->Update(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);
  /external/chromium_org/net/ftp/
ftp_directory_listing_parser_ls.h 24 const base::Time& current_time,
ftp_directory_listing_parser_netware.h 24 const base::Time& current_time,
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);
  /external/chromium_org/chrome/browser/net/
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/
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/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);

Completed in 354 milliseconds

1 2 3 4 5 6 7