Home
last modified time | relevance | path

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

/external/chromium/base/
Dpr_time_unittest.cc65 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 …]
Dtime.cc101 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()
Dtime.h316 static bool FromString(const wchar_t* time_string, Time* parsed_time);
/external/chromium_org/base/time/
Dpr_time_unittest.cc66 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 …]
Dtime_unittest.cc177 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 …]
Dtime.cc175 Time* parsed_time) { in FromStringInternal() argument
176 DCHECK((time_string != NULL) && (parsed_time != NULL)); in FromStringInternal()
189 *parsed_time = Time(result_time); in FromStringInternal()
Dtime.h375 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/
Dcookie_util_unittest.cc101 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/
Dtime_util.cc45 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/
Dsyslog_parser.cc96 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/
Dprint-stale-test-expectations-entries56parsed_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/
Dcookie_monster_unittest.cc786 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()