/external/chromium/base/ |
D | pr_time_unittest.cc | 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 [all …]
|
D | time.cc | 101 bool Time::FromString(const wchar_t* time_string, Time* parsed_time) { in FromString() argument 102 DCHECK((time_string != NULL) && (parsed_time != NULL)); in FromString() 112 *parsed_time = Time(result_time); in FromString()
|
D | time.h | 316 static bool FromString(const wchar_t* time_string, Time* parsed_time);
|
/external/chromium_org/base/time/ |
D | pr_time_unittest.cc | 66 PRTime parsed_time = 0; in TEST_F() local 67 PRStatus result = PR_ParseTimeString(time_buf, PR_FALSE, &parsed_time); in TEST_F() 69 EXPECT_EQ(current_time64, parsed_time); in TEST_F() 73 PRTime parsed_time = 0; in TEST_F() local 75 PR_FALSE, &parsed_time); in TEST_F() 77 EXPECT_EQ(parsed_time, comparison_time_pdt); in TEST_F() 81 PRTime parsed_time = 0; in TEST_F() local 83 &parsed_time); in TEST_F() 85 EXPECT_EQ(parsed_time, comparison_time_local_); in TEST_F() 89 PRTime parsed_time = 0; in TEST_F() local [all …]
|
D | time_unittest.cc | 177 Time parsed_time; in TEST_F() local 178 EXPECT_TRUE(Time::FromString(time_buf, &parsed_time)); in TEST_F() 179 EXPECT_EQ(current_time, parsed_time.ToTimeT()); in TEST_F() 207 Time parsed_time; in TEST_F() local 208 EXPECT_TRUE(Time::FromString("Mon, 15 Oct 2007 19:45:00 GMT", &parsed_time)); in TEST_F() 209 EXPECT_EQ(comparison_time_pdt_, parsed_time); in TEST_F() 213 Time parsed_time; in TEST_F() local 214 EXPECT_TRUE(Time::FromString("15 Oct 07 12:45:00", &parsed_time)); in TEST_F() 215 EXPECT_EQ(comparison_time_local_, parsed_time); in TEST_F() 219 Time parsed_time; in TEST_F() local [all …]
|
D | time.cc | 175 Time* parsed_time) { in FromStringInternal() argument 176 DCHECK((time_string != NULL) && (parsed_time != NULL)); in FromStringInternal() 189 *parsed_time = Time(result_time); in FromStringInternal()
|
D | time.h | 375 static bool FromString(const char* time_string, Time* parsed_time) { in FromString() argument 376 return FromStringInternal(time_string, true, parsed_time); in FromString() 378 static bool FromUTCString(const char* time_string, Time* parsed_time) { in FromUTCString() argument 379 return FromStringInternal(time_string, false, parsed_time); in FromUTCString() 473 Time* parsed_time);
|
/external/chromium_org/net/cookies/ |
D | cookie_util_unittest.cc | 101 base::Time parsed_time; in TEST() local 103 parsed_time = net::cookie_util::ParseCookieTime(tests[i].str); in TEST() 105 EXPECT_FALSE(!parsed_time.is_null()) << tests[i].str; in TEST() 108 EXPECT_TRUE(!parsed_time.is_null()) << tests[i].str; in TEST() 109 EXPECT_EQ(tests[i].epoch, parsed_time.ToTimeT()) << tests[i].str; in TEST()
|
/external/chromium_org/google_apis/drive/ |
D | time_util.cc | 45 base::Time* parsed_time) { in GetTimeFromString() argument 135 *parsed_time = base::Time::FromUTCExploded(exploded); in GetTimeFromString() 137 *parsed_time -= base::TimeDelta::FromMinutes(offset_to_utc_in_minutes); in GetTimeFromString() 139 *parsed_time = base::Time::FromLocalExploded(exploded); in GetTimeFromString()
|
/external/chromium_org/chrome/browser/extensions/api/log_private/ |
D | syslog_parser.cc | 96 base::Time parsed_time; in ParseTime() local 97 if (!base::Time::FromString(buffer.c_str(), &parsed_time)) { in ParseTime() 104 *output = parsed_time.ToJsTime() + in ParseTime()
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
D | print-stale-test-expectations-entries | 56 … parsed_time = datetime.datetime.strptime(last_updated.split(".")[0]+"UTC", "%Y-%m-%dT%H:%M:%S%Z") 57 time_delta = datetime.datetime.now() - parsed_time
|
/external/chromium/net/base/ |
D | cookie_monster_unittest.cc | 786 Time parsed_time; in TEST() local 788 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()
|