Home
last modified time | relevance | path

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

/external/libchrome/base/time/
Dpr_time_unittest.cc90 PRTime parsed_time = 0; in TEST_F() local
91 PRStatus result = PR_ParseTimeString(time_buf, PR_FALSE, &parsed_time); in TEST_F()
93 EXPECT_EQ(current_time64, parsed_time); in TEST_F()
97 PRTime parsed_time = 0; in TEST_F() local
99 PR_FALSE, &parsed_time); in TEST_F()
101 EXPECT_EQ(comparison_time_pdt, parsed_time); in TEST_F()
105 PRTime parsed_time = 0; in TEST_F() local
107 &parsed_time); in TEST_F()
109 EXPECT_EQ(comparison_time_local_, parsed_time); in TEST_F()
113 PRTime parsed_time = 0; in TEST_F() local
[all …]
Dtime_unittest.cc319 Time parsed_time; in TEST_F() local
320 EXPECT_TRUE(Time::FromString(time_buf, &parsed_time)); in TEST_F()
321 EXPECT_EQ(current_time, parsed_time.ToTimeT()); in TEST_F()
349 Time parsed_time; in TEST_F() local
350 EXPECT_TRUE(Time::FromString("Mon, 15 Oct 2007 19:45:00 GMT", &parsed_time)); in TEST_F()
351 EXPECT_EQ(comparison_time_pdt_, parsed_time); in TEST_F()
355 Time parsed_time; in TEST_F() local
356 EXPECT_TRUE(Time::FromString("15 Oct 07 12:45:00", &parsed_time)); in TEST_F()
357 EXPECT_EQ(comparison_time_local_, parsed_time); in TEST_F()
361 Time parsed_time; in TEST_F() local
[all …]
Dtime.cc313 Time* parsed_time) { in FromStringInternal() argument
314 DCHECK((time_string != nullptr) && (parsed_time != nullptr)); in FromStringInternal()
327 *parsed_time = Time(result_time); in FromStringInternal()
Dtime.h649 Time* parsed_time) WARN_UNUSED_RESULT { in FromString() argument
650 return FromStringInternal(time_string, true, parsed_time); in FromString()
653 Time* parsed_time) WARN_UNUSED_RESULT { in FromUTCString() argument
654 return FromStringInternal(time_string, false, parsed_time); in FromUTCString()
705 Time* parsed_time) WARN_UNUSED_RESULT;