/external/cronet/base/time/ |
D | pr_time_unittest.cc | 89 PRTime parsed_time = 0; in TEST_F() local 90 PRStatus result = PR_ParseTimeString(time_buf, PR_FALSE, &parsed_time); in TEST_F() 92 EXPECT_EQ(current_time64, parsed_time); in TEST_F() 96 PRTime parsed_time = 0; in TEST_F() local 98 PR_FALSE, &parsed_time); in TEST_F() 100 EXPECT_EQ(comparison_time_pdt, parsed_time); in TEST_F() 104 PRTime parsed_time = 0; in TEST_F() local 106 &parsed_time); in TEST_F() 108 EXPECT_EQ(comparison_time_local_, parsed_time); in TEST_F() 112 PRTime parsed_time = 0; in TEST_F() local [all …]
|
D | time_unittest.cc | 523 Time parsed_time; in TEST_F() local 524 EXPECT_TRUE(Time::FromString(time_buf, &parsed_time)); in TEST_F() 525 EXPECT_EQ(current_time, parsed_time.ToTimeT()); in TEST_F() 553 Time parsed_time; in TEST_F() local 554 EXPECT_TRUE(Time::FromString("Mon, 15 Oct 2007 19:45:00 GMT", &parsed_time)); in TEST_F() 555 EXPECT_EQ(comparison_time_pdt_, parsed_time); in TEST_F() 559 Time parsed_time; in TEST_F() local 560 EXPECT_TRUE(Time::FromString("15 Oct 07 12:45:00", &parsed_time)); in TEST_F() 561 EXPECT_EQ(comparison_time_local_, parsed_time); in TEST_F() 565 Time parsed_time; in TEST_F() local [all …]
|
D | time.cc | 252 Time* parsed_time) { in FromStringInternal() argument 254 DCHECK(parsed_time); in FromStringInternal() 266 *parsed_time = UnixEpoch() + Microseconds(result_time); in FromStringInternal()
|
D | time.h | 779 Time* parsed_time) { in FromString() argument 780 return FromStringInternal(time_string, true, parsed_time); in FromString() 783 Time* parsed_time) { in FromUTCString() argument 784 return FromStringInternal(time_string, false, parsed_time); in FromUTCString() 858 Time* parsed_time);
|
/external/libchrome/base/time/ |
D | pr_time_unittest.cc | 90 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 …]
|
D | time_unittest.cc | 319 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 …]
|
D | time.cc | 313 Time* parsed_time) { in FromStringInternal() argument 314 DCHECK((time_string != nullptr) && (parsed_time != nullptr)); in FromStringInternal() 327 *parsed_time = Time(result_time); in FromStringInternal()
|
D | time.h | 647 Time* parsed_time) WARN_UNUSED_RESULT { in FromString() argument 648 return FromStringInternal(time_string, true, parsed_time); in FromString() 651 Time* parsed_time) WARN_UNUSED_RESULT { in FromUTCString() argument 652 return FromStringInternal(time_string, false, parsed_time); in FromUTCString() 703 Time* parsed_time) WARN_UNUSED_RESULT;
|
/external/cronet/testing/libfuzzer/fuzzers/ |
D | prtime_fuzzer.cc | 12 PRTime parsed_time; variable 23 PR_ParseTimeString(str.c_str(), selector & 1, &parsed_time); in LLVMFuzzerTestOneInput()
|
/external/cronet/net/cookies/ |
D | cookie_util_unittest.cc | 389 base::Time parsed_time; in TEST() local 391 parsed_time = cookie_util::ParseCookieExpirationTime(test.str); in TEST() 393 EXPECT_TRUE(parsed_time.is_null()) << test.str; in TEST() 396 EXPECT_TRUE(!parsed_time.is_null()) << test.str; in TEST() 397 EXPECT_EQ(test.epoch, parsed_time.ToDoubleT()) << test.str; in TEST() 414 base::Time parsed_time = cookie_util::ParseCookieExpirationTime(test); in TEST() local 415 EXPECT_FALSE(parsed_time.is_null()); in TEST() 420 EXPECT_LT(almost_jan_2038, parsed_time); in TEST() 444 base::Time parsed_time = cookie_util::ParseCookieExpirationTime(test); in TEST() local 445 EXPECT_FALSE(parsed_time.is_null()) << test; in TEST() [all …]
|