Lines Matching refs:t
41 Seconds t(5); in TEST() local
42 EXPECT_EQ(t.toRawNanoseconds(), 5 * kOneSecondInNanoseconds); in TEST()
46 Seconds t(UINT64_MAX / kOneSecondInNanoseconds + 1); in TEST() local
47 EXPECT_EQ(t.toRawNanoseconds(), UINT64_MAX); in TEST()
51 Seconds t(5); in TEST() local
52 EXPECT_EQ(t.getMilliseconds(), 5 * kOneSecondInMilliseconds); in TEST()
56 Seconds t(UINT64_MAX / kOneSecondInMilliseconds + 1); in TEST() local
57 EXPECT_EQ(t.getMilliseconds(), UINT64_MAX); in TEST()
62 Milliseconds t; in TEST() local
63 EXPECT_EQ(t.getMilliseconds(), 0); in TEST()
67 Milliseconds t(5); in TEST() local
68 EXPECT_EQ(t.getMilliseconds(), 5); in TEST()
78 Milliseconds t(5); in TEST() local
79 EXPECT_EQ(t.getMicroseconds(), 5 * kOneMillisecondInMicroseconds); in TEST()
83 Milliseconds t(UINT64_MAX / kOneMillisecondInMicroseconds + 1); in TEST() local
84 EXPECT_EQ(t.getMicroseconds(), UINT64_MAX); in TEST()
88 Milliseconds t(5); in TEST() local
89 EXPECT_EQ(t.toRawNanoseconds(), 5 * kOneMillisecondInNanoseconds); in TEST()
93 Milliseconds t(UINT64_MAX / kOneMillisecondInNanoseconds + 1); in TEST() local
94 EXPECT_EQ(t.toRawNanoseconds(), UINT64_MAX); in TEST()
105 Microseconds t(5); in TEST() local
106 EXPECT_EQ(t.getMicroseconds(), 5); in TEST()
116 Microseconds t(5); in TEST() local
117 EXPECT_EQ(t.toRawNanoseconds(), 5 * kOneMicrosecondInNanoseconds); in TEST()
121 Milliseconds t(UINT64_MAX / kOneMicrosecondInNanoseconds + 1); in TEST() local
122 EXPECT_EQ(t.toRawNanoseconds(), UINT64_MAX); in TEST()
126 Microseconds t(5120); in TEST() local
127 EXPECT_EQ(t.getMilliseconds(), 5); in TEST()
132 Nanoseconds t; in TEST() local
133 EXPECT_EQ(t.toRawNanoseconds(), 0); in TEST()
137 Nanoseconds t(5); in TEST() local
138 EXPECT_EQ(t.toRawNanoseconds(), 5); in TEST()
172 Nanoseconds t = Seconds(5) + Nanoseconds(6); in TEST() local
173 EXPECT_EQ(t.toRawNanoseconds(), 5 * kOneSecondInNanoseconds + 6); in TEST()
177 Nanoseconds t = Seconds(5) + Nanoseconds(UINT64_MAX); in TEST() local
178 EXPECT_EQ(t.toRawNanoseconds(), 5 * kOneSecondInNanoseconds - 1); in TEST()
182 Nanoseconds t = Nanoseconds(6) + Nanoseconds(5); in TEST() local
183 EXPECT_EQ(t.toRawNanoseconds(), 11); in TEST()
187 Nanoseconds t = Nanoseconds(6) + Nanoseconds(UINT64_MAX); in TEST() local
188 EXPECT_EQ(t.toRawNanoseconds(), 5); in TEST()
192 Nanoseconds t = Nanoseconds(11) - Nanoseconds(5); in TEST() local
193 EXPECT_EQ(t.toRawNanoseconds(), 6); in TEST()
197 Nanoseconds t = Nanoseconds(5) - Nanoseconds(11); in TEST() local
198 EXPECT_EQ(t.toRawNanoseconds(), UINT64_MAX - 5); in TEST()