Home
last modified time | relevance | path

Searched refs:delta_b (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/rtc_base/units/
Dunit_base_unittest.cc198 const TestUnit delta_b = TestUnit::FromKilo(kValueB); in TEST() local
199 EXPECT_EQ((delta_a + delta_b).ToKilo(), kValueA + kValueB); in TEST()
200 EXPECT_EQ((delta_a - delta_b).ToKilo(), kValueA - kValueB); in TEST()
211 EXPECT_EQ((delta_b / 10).ToKilo(), kValueB / 10); in TEST()
212 EXPECT_EQ(delta_b / delta_a, static_cast<double>(kValueB) / kValueA); in TEST()
/external/webrtc/api/units/
Dtimestamp_unittest.cc139 const TimeDelta delta_b = TimeDelta::Millis(kValueB); in TEST() local
146 mutable_time += delta_b; in TEST()
147 EXPECT_EQ(mutable_time, time_a + delta_b); in TEST()
148 mutable_time -= delta_b; in TEST()
Dtime_delta_unittest.cc182 const TimeDelta delta_b = TimeDelta::Millis(kValueB); in TEST() local
183 EXPECT_EQ((delta_a + delta_b).ms(), kValueA + kValueB); in TEST()
184 EXPECT_EQ((delta_a - delta_b).ms(), kValueA - kValueB); in TEST()
194 EXPECT_EQ((delta_b / 10).ms(), kValueB / 10); in TEST()
195 EXPECT_EQ(delta_b / delta_a, static_cast<double>(kValueB) / kValueA); in TEST()
/external/freetype/src/pshinter/
Dpshalgo.c789 FT_Fixed delta_a, delta_b;
795 delta_b = FT_PIX_ROUND( center ) - center;
800 delta_b = FT_PIX_FLOOR( center ) + 32 - center;
817 if ( FT_ABS( side_delta ) < FT_ABS( delta_b ) )
820 pos += delta_b;
824 pos += delta_b;