Searched refs:Subtract (Results 1 - 25 of 125) 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/cc/base/
H A Dsimple_enclosed_region_unittest.cc414 TEST(SimpleEnclosedRegionTest, Subtract) {
418 // Empty Subtract anything = empty.
419 r.Subtract(gfx::Rect(4, 5, 6, 7));
424 r.Subtract(gfx::Rect(10, 10, 10, 10));
428 r.Subtract(gfx::Rect(9, 9, 12, 12));
434 r.Subtract(gfx::Rect(18, 10, 10, 10));
438 r.Subtract(gfx::Rect(18, 8, 10, 14));
442 r.Subtract(gfx::Rect(10, 18, 10, 10));
446 r.Subtract(gfx::Rect(8, 18, 14, 10));
450 r.Subtract(gf
[all...]
H A Dsimple_enclosed_region.h57 void Subtract(const gfx::Rect& sub_rect);
58 void Subtract(const SimpleEnclosedRegion& sub_region) { function in class:cc::SimpleEnclosedRegion
59 Subtract(sub_region.rect_);
100 result.Subtract(b);
H A Dregion.h48 void Subtract(const gfx::Rect& rect);
49 void Subtract(const Region& region);
50 void Subtract(const SimpleEnclosedRegion& region);
104 result.Subtract(b);
110 result.Subtract(b);
H A Dregion.cc77 void Region::Subtract(const gfx::Rect& rect) { function in class:cc::Region
81 void Region::Subtract(const Region& region) { function in class:cc::Region
85 void Region::Subtract(const SimpleEnclosedRegion& region) { function in class:cc::Region
/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.cc48 std::abs(smoothed_rtt_.Subtract(latest_rtt_).ToMicroseconds())));
58 rtt_sample = send_delta.Subtract(ack_delay);
88 kBeta * std::abs(smoothed_rtt_.Subtract(rtt_sample).ToMicroseconds()));
120 if (recent_min_rtt_.time < now.Subtract(recent_min_rtt_window_)) {
125 now.Subtract(recent_min_rtt_window_.Multiply(kHalfWindow))) {
129 now.Subtract(recent_min_rtt_window_.Multiply(kQuarterWindow))) {
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 Dpacing_sender.cc97 sent_time.Add(delay).Subtract(alarm_granularity_));
144 << next_packet_send_time_.Subtract(now).ToMicroseconds();
146 return next_packet_send_time_.Subtract(now);
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/ui/gfx/geometry/
H A Dvector2d.cc22 void Vector2d::Subtract(const Vector2d& other) { function in class:gfx::Vector2d
H A Dvector2d.h38 // Subtract the components of the |other| vector from the current vector.
39 void Subtract(const Vector2d& other);
42 void operator-=(const Vector2d& other) { Subtract(other); }
/external/chromium_org/cc/trees/
H A Docclusion.cc73 unoccluded_rect_in_target_surface.Subtract(
75 unoccluded_rect_in_target_surface.Subtract(
/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/net/quic/
H A Dquic_alarm.cc35 if (std::abs(deadline.Subtract(deadline_).ToMicroseconds()) <
H A Dquic_sustained_bandwidth_recorder.cc44 if (estimate_time.Subtract(start_time_) >= srtt.Multiply(3)) {
H A Dquic_time.h59 Delta Subtract(const Delta& delta) const;
100 QuicTime Subtract(const Delta& delta) const;
102 Delta Subtract(const QuicTime& other) const;
145 // Subtract returns a new QuicWallTime that represents the time of |this|
147 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)));
/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);

Completed in 448 milliseconds

12345