Home
last modified time | relevance | path

Searched refs:local_time (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/chrome/browser/network_time/
Dnavigation_time_helper.cc29 base::Time local_time = entry->GetTimestamp(); in GetNavigationTime() local
32 if (iter == time_cache_.end() || iter->second.local_time != local_time) { in GetNavigationTime()
35 base::Time navigation_time = GetNetworkTime(local_time); in GetNavigationTime()
39 NavigationTimeInfo(local_time, in GetNavigationTime()
42 iter->second = NavigationTimeInfo(local_time, navigation_time); in GetNavigationTime()
72 base::Time NavigationTimeHelper::GetNetworkTime(base::Time local_time) { in GetNetworkTime() argument
76 GetNetworkTime(local_time); in GetNetworkTime()
Dnavigation_time_helper.h34 virtual base::Time GetNetworkTime(base::Time local_time);
51 NavigationTimeInfo(base::Time local_time, base::Time network_time) in NavigationTimeInfo()
52 : local_time(local_time), network_time(network_time) {} in NavigationTimeInfo()
53 base::Time local_time; member
Dnetwork_time_service.cc72 const base::Time& local_time) { in GetNetworkTime() argument
73 if (!network_time_tracker_.get() || local_time.is_null() || in GetNetworkTime()
74 local_time.is_max()) in GetNetworkTime()
75 return local_time; in GetNetworkTime()
80 return local_time; in GetNetworkTime()
82 return local_time + (network_time_now - base::Time::Now()); in GetNetworkTime()
Dnetwork_time_tracker.cc87 NetworkTimeTracker::TimeMapping::TimeMapping(base::Time local_time, in TimeMapping() argument
89 : local_time(local_time), in TimeMapping()
111 if (!network_time_.is_null() || saved.local_time.is_null() || in InitFromSavedTime()
116 if (local_time_now < saved.local_time) { in InitFromSavedTime()
121 network_time_ = saved.network_time + (local_time_now - saved.local_time); in InitFromSavedTime()
Dnetwork_time_tracker.h43 TimeMapping(base::Time local_time, base::Time network_time);
44 base::Time local_time; member
Dnetwork_time_service.h29 base::Time GetNetworkTime(const base::Time& local_time);
/external/chromium_org/media/cdm/ppapi/
Dcdm_logging.cc102 struct tm local_time = {0}; in CdmLogMessage() local
104 localtime_s(&local_time, &t); in CdmLogMessage()
106 localtime_r(&t, &local_time); in CdmLogMessage()
108 struct tm* tm_time = &local_time; in CdmLogMessage()
/external/chromium_org/base/time/
Dpr_time_unittest.cc54 struct tm local_time = {0}; in TEST_F() local
57 localtime_s(&local_time, &current_time); in TEST_F()
58 asctime_s(time_buf, arraysize(time_buf), &local_time); in TEST_F()
60 localtime_r(&current_time, &local_time); in TEST_F()
61 asctime_r(&local_time, time_buf); in TEST_F()
Dtime_unittest.cc167 struct tm local_time = {0}; in TEST_F() local
170 localtime_s(&local_time, &current_time); in TEST_F()
171 asctime_s(time_buf, arraysize(time_buf), &local_time); in TEST_F()
173 localtime_r(&current_time, &local_time); in TEST_F()
174 asctime_r(&local_time, time_buf); in TEST_F()
/external/chromium/base/
Dpr_time_unittest.cc53 struct tm local_time = {0}; in TEST_F() local
56 localtime_s(&local_time, &current_time); in TEST_F()
57 asctime_s(time_buf, arraysize(time_buf), &local_time); in TEST_F()
59 localtime_r(&current_time, &local_time); in TEST_F()
60 asctime_r(&local_time, time_buf); in TEST_F()
Dlogging.cc666 struct tm local_time = {0}; in Init() local
668 localtime_s(&local_time, &t); in Init()
670 localtime_r(&t, &local_time); in Init()
672 struct tm* tm_time = &local_time; in Init()
/external/chromium_org/google_apis/drive/
Dtime_util_unittest.cc25 base::Time local_time = base::Time::FromLocalExploded(exploded); in TEST() local
34 EXPECT_EQ(local_time, test_time); in TEST()
/external/chromium_org/base/
Dlogging.cc695 struct tm local_time = {0}; in Init() local
697 localtime_s(&local_time, &t); in Init()
699 localtime_r(&t, &local_time); in Init()
701 struct tm* tm_time = &local_time; in Init()
/external/chromium_org/chrome_frame/
Dchrome_tab.cc125 SYSTEMTIME local_time; in AddCommonRGSReplacements() local
126 ::GetSystemTime(&local_time); in AddCommonRGSReplacements()
127 std::string hex(base::HexEncode(&local_time, sizeof(local_time))); in AddCommonRGSReplacements()
/external/chromium_org/chrome/browser/search_engines/
Dtemplate_url_service_sync_unittest.cc511 time_t local_time; in TEST_F() member
528 test_cases[i].local_time, true, test_cases[i].local_created_by_policy); in TEST_F()