Lines Matching refs:Int64MsToQ32x32
72 EXPECT_EQ(Int64MsToQ32x32(0), 0); in TEST()
75 EXPECT_EQ(Int64MsToQ32x32(1), kOneMsQ32x32); in TEST()
78 EXPECT_EQ(Int64MsToQ32x32(-1), -kOneMsQ32x32); in TEST()
81 EXPECT_EQ(Int64MsToQ32x32(1000), kOneSecQ32x32); in TEST()
84 EXPECT_EQ(Int64MsToQ32x32(-1000), -kOneSecQ32x32); in TEST()
137 const int64_t boundary_q32x32 = Int64MsToQ32x32(kBoundaryMs); in TEST()
142 EXPECT_EQ(Int64MsToQ32x32(kBoundaryMs + 1), kMaxQ32x32); // Clamped in TEST()
145 EXPECT_LE(Int64MsToQ32x32(kBoundaryMs - 1), kMaxQ32x32 - kOneMsQ32x32); in TEST()
148 EXPECT_EQ(Int64MsToQ32x32(kBoundaryMs + 1000), kMaxQ32x32); // Clamped in TEST()
151 EXPECT_LE(Int64MsToQ32x32(kBoundaryMs - 1000), kMaxQ32x32 - kOneSecQ32x32); in TEST()
209 EXPECT_EQ(Int64MsToQ32x32(kBoundaryMs), kBoundaryQ32x32); in TEST()
212 EXPECT_EQ(Q32x32ToInt64Ms(Int64MsToQ32x32(kBoundaryMs + 1)), kBoundaryMs + 1); in TEST()
215 EXPECT_EQ(Int64MsToQ32x32(kBoundaryMs - 1), kBoundaryQ32x32); // Clamped in TEST()
218 EXPECT_EQ(Int64MsToQ32x32(kBoundaryMs + 1000), in TEST()
222 EXPECT_EQ(Int64MsToQ32x32(kBoundaryMs - 1000), kBoundaryQ32x32); // Clamped in TEST()
250 int64_t transit_q32x32 = Int64MsToQ32x32(input_ms); in TEST()