Searched refs:Subtract (Results 1 - 25 of 115) sorted by relevance

12345

/external/chromium_org/net/quic/test_tools/
H A Dmock_clock.cc29 now_.Subtract(QuicTime::Zero()).ToSeconds());
35 now_.Subtract(QuicTime::Zero()).ToMicroseconds());
/external/chromium_org/net/tools/quic/
H A Dquic_epoll_clock_test.cc20 clock.ApproximateNow().Subtract(QuicTime::Zero()).ToMicroseconds());
24 clock.ApproximateNow().Subtract(QuicTime::Zero()).ToMicroseconds());
33 clock.Now().Subtract(QuicTime::Zero()).ToMicroseconds());
37 clock.Now().Subtract(QuicTime::Zero()).ToMicroseconds());
/external/chromium_org/net/quic/congestion_control/
H A Dleaky_bucket.cc28 QuicTime::Delta time_since_last_update = now.Subtract(time_last_updated_);
35 return send_delay.Subtract(time_since_last_update);
44 QuicTime::Delta elapsed_time = now.Subtract(time_last_updated_);
H A Drtt_stats.cc46 rtt_sample = send_delta.Subtract(ack_delay);
76 kBeta * std::abs(smoothed_rtt_.Subtract(rtt_sample).ToMicroseconds()));
108 if (recent_min_rtt_.time < now.Subtract(recent_min_rtt_window_)) {
113 now.Subtract(recent_min_rtt_window_.Multiply(kHalfWindow))) {
117 now.Subtract(recent_min_rtt_window_.Multiply(kQuarterWindow))) {
H A Dpacing_sender.cc80 sent_time.Add(delay).Subtract(alarm_granularity_));
117 << next_packet_send_time_.Subtract(now).ToMicroseconds();
119 return next_packet_send_time_.Subtract(now);
H A Dhybrid_slow_start.cc92 if (current_time.Subtract(last_close_ack_pair_time_).ToMicroseconds() <=
95 if (current_time.Subtract(round_start_).ToMicroseconds() >=
H A Dtime_loss_algorithm_test.cc64 loss_algorithm_.GetLossTimeout().Subtract(clock_.Now()));
82 loss_algorithm_.GetLossTimeout().Subtract(clock_.Now()));
130 loss_algorithm_.GetLossTimeout().Subtract(clock_.Now()));
H A Dcubic.cc113 (current_time.Subtract(last_update_time_) <= MaxCubicTimeInterval())) {
141 (current_time.Add(delay_min).Subtract(epoch_).ToMicroseconds() << 10) /
/external/chromium_org/cc/base/
H A Dregion.h45 void Subtract(const gfx::Rect& rect);
46 void Subtract(const Region& region);
99 result.Subtract(b);
105 result.Subtract(b);
/external/chromium_org/ui/gfx/geometry/
H A Dvector2d.cc22 void Vector2d::Subtract(const Vector2d& other) { function in class:gfx::Vector2d
H A Dvector2d.h37 // Subtract the components of the |other| vector from the current vector.
38 void Subtract(const Vector2d& other);
41 void operator-=(const Vector2d& other) { Subtract(other); }
H A Dvector2d_f.h35 // Subtract the components of the |other| vector from the current vector.
36 void Subtract(const Vector2dF& other);
39 void operator-=(const Vector2dF& other) { Subtract(other); }
H A Dvector3d_f.h41 // Subtract the components of the |other| vector from the current vector.
42 void Subtract(const Vector3dF& other);
45 void operator-=(const Vector3dF& other) { Subtract(other); }
/external/chromium_org/third_party/WebKit/Source/wtf/dtoa/
H A Ddiy-fp.h53 void Subtract(const DiyFp& other) { function in class:WTF::double_conversion::DiyFp
64 result.Subtract(b);
/external/chromium_org/v8/src/
H A Ddiy-fp.h27 void Subtract(const DiyFp& other) { function in class:v8::internal::DiyFp
38 result.Subtract(b);
/external/chromium_org/base/test/
H A Dstatistics_delta_reader.cc40 named_samples->Subtract(*named_original_samples);
/external/chromium_org/net/quic/
H A Dquic_time.cc60 QuicTime::Delta QuicTime::Delta::Subtract(const Delta& delta) const { function in class:net::QuicTime::Delta
113 QuicTime QuicTime::Subtract(const Delta& delta) const { function in class:net::QuicTime
117 QuicTime::Delta QuicTime::Subtract(const QuicTime& other) const { function in class:net::QuicTime
170 QuicWallTime QuicWallTime::Subtract(QuicTime::Delta delta) const { function in class:net::QuicWallTime
H A Dquic_time.h59 Delta Subtract(const Delta& delta) const;
97 QuicTime Subtract(const Delta& delta) const;
99 Delta Subtract(const QuicTime& other) const;
142 // Subtract returns a new QuicWallTime that represents the time of |this|
144 QuicWallTime Subtract(QuicTime::Delta delta) const;
H A Dquic_time_test.cc45 TEST(QuicTimeDeltaTest, Subtract) {
47 QuicTime::Delta::FromMilliseconds(2).Subtract(
90 QuicTime::Delta diff = time_2.Subtract(time_1);
97 TEST_F(QuicTimeTest, Subtract) {
103 EXPECT_EQ(QuicTime::Delta::FromMilliseconds(1), time_2.Subtract(time_1));
110 time.Subtract(QuicTime::Delta::FromMilliseconds(1)));
H A Dquic_bandwidth_test.cc43 TEST_F(QuicBandwidthTest, Subtract) {
47 EXPECT_EQ(7000, bandwidht_2.Subtract(bandwidht_1).ToBitsPerSecond());
/external/chromium_org/remoting/codec/
H A Dvideo_decoder_vpx.cc161 difference.Subtract(desktop_shape_);
162 updated_region_.Subtract(difference);
262 updated_region_.Subtract(source_rect);
294 updated_region_.Subtract(ScaleRect(clip_area, view_size, screen_size_));
322 updated_region_.Subtract(scaled_clip_area);
323 transparent_region_.Subtract(scaled_clip_area);
342 transparent_region_.Subtract(*new_desktop_shape);
347 difference.Subtract(desktop_shape_);
/external/chromium_org/v8/test/cctest/
H A Dtest-diy-fp.cc40 TEST(Subtract) {
47 diy_fp1.Subtract(diy_fp2);
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dapi_schema_graph_test.py83 APISchemaGraph(API_SCHEMA).Subtract(APISchemaGraph({})))
136 APISchemaGraph(API_SCHEMA).Subtract(APISchemaGraph(API_SCHEMA))
141 difference = APISchemaGraph(API_SCHEMA).Subtract(APISchemaGraph({
205 difference = APISchemaGraph(API_SCHEMA).Subtract(APISchemaGraph({
262 difference = APISchemaGraph(API_SCHEMA).Subtract(APISchemaGraph({
/external/chromium_org/base/metrics/
H A Dhistogram_snapshot_manager.cc91 snapshot->Subtract(*already_logged);
111 logged_samples->Subtract(*logged_samples);
/external/chromium_org/third_party/webrtc/modules/desktop_capture/
H A Ddesktop_region.h123 void Subtract(const DesktopRegion& region);
126 void Subtract(const DesktopRect& rect);

Completed in 704 milliseconds

12345