Searched refs:parsed_time (Results 1 – 4 of 4) sorted by relevance
65 PRTime parsed_time = 0; in TEST_F() local66 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() local74 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() local82 &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[all …]
101 bool Time::FromString(const wchar_t* time_string, Time* parsed_time) { in FromString() argument102 DCHECK((time_string != NULL) && (parsed_time != NULL)); in FromString()112 *parsed_time = Time(result_time); in FromString()
316 static bool FromString(const wchar_t* time_string, Time* parsed_time);
786 Time parsed_time; in TEST() local788 parsed_time = CookieMonster::ParseCookieTime(tests[i].str); in TEST()790 EXPECT_FALSE(!parsed_time.is_null()) << tests[i].str; in TEST()793 EXPECT_TRUE(!parsed_time.is_null()) << tests[i].str; in TEST()794 EXPECT_EQ(tests[i].epoch, parsed_time.ToTimeT()) << tests[i].str; in TEST()