Home
last modified time | relevance | path

Searched refs:ToTimeT (Results 1 – 8 of 8) sorted by relevance

/external/libchrome/base/time/
Dtime_unittest.cc86 time_t now_t_2 = our_time_2.ToTimeT(); in TEST_F()
89 EXPECT_EQ(10, Time().FromTimeT(10).ToTimeT()); in TEST_F()
93 EXPECT_EQ(0, Time().ToTimeT()); in TEST_F()
130 EXPECT_EQ(0, zero_time.ToTimeT()); in TEST_F()
183 EXPECT_EQ(current_time, parsed_time.ToTimeT()); in TEST_F()
271 EXPECT_EQ(0, parsed_time.ToTimeT()); in TEST_F()
274 EXPECT_EQ(0, parsed_time.ToTimeT()); in TEST_F()
283 EXPECT_EQ(1, parsed_time.ToTimeT()); in TEST_F()
286 EXPECT_EQ(1, parsed_time.ToTimeT()); in TEST_F()
295 EXPECT_EQ(2, parsed_time.ToTimeT()); in TEST_F()
[all …]
Dtime.cc152 time_t Time::ToTimeT() const { in ToTimeT() function in base::Time
Dtime.h451 time_t ToTimeT() const;
/external/libweave/third_party/chromium/base/time/
Dtime_unittest.cc86 time_t now_t_2 = our_time_2.ToTimeT(); in TEST_F()
89 EXPECT_EQ(10, Time().FromTimeT(10).ToTimeT()); in TEST_F()
93 EXPECT_EQ(0, Time().ToTimeT()); in TEST_F()
130 EXPECT_EQ(0, zero_time.ToTimeT()); in TEST_F()
315 EXPECT_EQ(std::numeric_limits<time_t>::max(), t.ToTimeT()); in TEST_F()
352 EXPECT_EQ(std::numeric_limits<time_t>::max(), t.ToTimeT()); in TEST_F()
374 EXPECT_EQ(1381633200, t.ToTimeT()); in TEST_F()
Dtime.cc149 time_t Time::ToTimeT() const { in ToTimeT() function in base::Time
Dtime.h451 time_t ToTimeT() const;
/external/libweave/src/
Daccess_black_list_manager_impl.cc71 entry->SetInteger(kExpiration, e.second.ToTimeT()); in Save()
/external/libweave/src/privet/
Dauth_manager.cc36 return std::max(time.ToTimeT(), kJ2000ToTimeT) - kJ2000ToTimeT; in ToJ2000Time()