Lines Matching refs:parsed_time
65 PRTime parsed_time = 0; in TEST_F() local
66 PRStatus result = PR_ParseTimeString(time_buf, PR_FALSE, &parsed_time); in TEST_F()
68 EXPECT_EQ(current_time64, parsed_time); in TEST_F()
72 PRTime parsed_time = 0; in TEST_F() local
74 PR_FALSE, &parsed_time); in TEST_F()
76 EXPECT_EQ(parsed_time, comparison_time_pdt); in TEST_F()
80 PRTime parsed_time = 0; in TEST_F() local
82 &parsed_time); in TEST_F()
84 EXPECT_EQ(parsed_time, comparison_time_local_); in TEST_F()
88 PRTime parsed_time = 0; in TEST_F() local
90 &parsed_time); in TEST_F()
92 EXPECT_EQ(parsed_time, comparison_time_pdt); in TEST_F()
96 PRTime parsed_time = 0; in TEST_F() local
98 PR_FALSE, &parsed_time); in TEST_F()
100 EXPECT_EQ(parsed_time, comparison_time_pdt); in TEST_F()
104 PRTime parsed_time = 0; in TEST_F() local
106 PR_FALSE, &parsed_time); in TEST_F()
108 EXPECT_EQ(parsed_time, comparison_time_local_); in TEST_F()
112 PRTime parsed_time = 0; in TEST_F() local
114 &parsed_time); in TEST_F()
116 EXPECT_EQ(parsed_time, comparison_time_local_); in TEST_F()
120 PRTime parsed_time = 0; in TEST_F() local
122 &parsed_time); in TEST_F()
124 EXPECT_EQ(parsed_time, comparison_time_local_); in TEST_F()
128 PRTime parsed_time = 0; in TEST_F() local
130 PR_FALSE, &parsed_time); in TEST_F()
132 EXPECT_EQ(parsed_time, comparison_time_pdt); in TEST_F()
137 Time parsed_time; in TEST_F() local
138 bool result = Time::FromString(L"15/10/07 12:45", &parsed_time); in TEST_F()
141 time_t computed_time = parsed_time.ToTimeT(); in TEST_F()
149 Time parsed_time; in TEST_F() local
151 &parsed_time); in TEST_F()
154 time_t computed_time = parsed_time.ToTimeT(); in TEST_F()
161 Time parsed_time; in TEST_F() local
165 &parsed_time)); in TEST_F()
166 EXPECT_EQ(0, parsed_time.ToTimeT()); in TEST_F()
168 &parsed_time)); in TEST_F()
169 EXPECT_EQ(0, parsed_time.ToTimeT()); in TEST_F()
173 Time parsed_time; in TEST_F() local
177 &parsed_time)); in TEST_F()
178 EXPECT_EQ(1, parsed_time.ToTimeT()); in TEST_F()
180 &parsed_time)); in TEST_F()
181 EXPECT_EQ(1, parsed_time.ToTimeT()); in TEST_F()
185 Time parsed_time; in TEST_F() local
189 &parsed_time)); in TEST_F()
190 EXPECT_EQ(2, parsed_time.ToTimeT()); in TEST_F()
192 &parsed_time)); in TEST_F()
193 EXPECT_EQ(2, parsed_time.ToTimeT()); in TEST_F()
197 Time parsed_time; in TEST_F() local
201 &parsed_time)); in TEST_F()
202 EXPECT_EQ(-1, parsed_time.ToTimeT()); in TEST_F()
204 &parsed_time)); in TEST_F()
205 EXPECT_EQ(-1, parsed_time.ToTimeT()); in TEST_F()
212 Time parsed_time; in TEST_F() local
215 &parsed_time)); in TEST_F()
216 EXPECT_NE(-1, parsed_time.ToTimeT()); in TEST_F()
220 Time parsed_time; in TEST_F() local
224 &parsed_time)); in TEST_F()
225 EXPECT_EQ(-2, parsed_time.ToTimeT()); in TEST_F()
227 &parsed_time)); in TEST_F()
228 EXPECT_EQ(-2, parsed_time.ToTimeT()); in TEST_F()
232 Time parsed_time; in TEST_F() local
236 &parsed_time)); in TEST_F()
237 EXPECT_EQ(-299999999, parsed_time.ToTimeT()); in TEST_F()
239 &parsed_time)); in TEST_F()
240 EXPECT_EQ(-299999999, parsed_time.ToTimeT()); in TEST_F()
242 &parsed_time)); in TEST_F()
243 EXPECT_EQ(-300003599, parsed_time.ToTimeT()); in TEST_F()
247 Time parsed_time; in TEST_F() local
248 EXPECT_FALSE(Time::FromString(L"", &parsed_time)); in TEST_F()
254 PRTime parsed_time = 0; in TEST_F() local
260 PR_FALSE, &parsed_time); in TEST_F()
265 PRTime parsed_time = 0; in TEST_F() local
267 PR_FALSE, &parsed_time); in TEST_F()
269 EXPECT_EQ(comparison_time_pdt, parsed_time); in TEST_F()
273 PRTime parsed_time = 0; in TEST_F() local
275 PR_FALSE, &parsed_time); in TEST_F()
277 EXPECT_EQ(comparison_time_pdt, parsed_time); in TEST_F()