Home
last modified time | relevance | path

Searched refs:ToInternalValue (Results 1 – 25 of 77) sorted by relevance

1234

/external/chromium/chrome/browser/sessions/
Dtab_restore_service_browsertest.cc142 EXPECT_EQ(time_factory_->TimeNow().ToInternalValue(), in TEST_F()
143 tab->timestamp.ToInternalValue()); in TEST_F()
163 EXPECT_EQ(time_factory_->TimeNow().ToInternalValue(), in TEST_F()
164 tab->timestamp.ToInternalValue()); in TEST_F()
197 EXPECT_EQ(time_factory_->TimeNow().ToInternalValue(), in TEST_F()
198 tab->timestamp.ToInternalValue()); in TEST_F()
263 EXPECT_EQ(time_factory_->TimeNow().ToInternalValue(), in TEST_F()
264 restored_tab->timestamp.ToInternalValue()); in TEST_F()
301 EXPECT_EQ(0, window->timestamp.ToInternalValue()); in TEST_F()
305 EXPECT_EQ(0, window->tabs[0].timestamp.ToInternalValue()); in TEST_F()
[all …]
/external/chromium/base/
Dplatform_file_unittest.cc273 EXPECT_LE(info.last_accessed.ToInternalValue(), now.ToInternalValue()); in TEST()
274 EXPECT_LE(info.last_modified.ToInternalValue(), now.ToInternalValue()); in TEST()
275 EXPECT_LE(info.creation_time.ToInternalValue(), now.ToInternalValue()); in TEST()
309 EXPECT_EQ(info.last_accessed.ToInternalValue(), in TEST()
310 new_last_accessed.ToInternalValue()); in TEST()
311 EXPECT_EQ(info.last_modified.ToInternalValue(), in TEST()
312 new_last_modified.ToInternalValue()); in TEST()
315 EXPECT_EQ(info.creation_time.ToInternalValue(), in TEST()
316 creation_time.ToInternalValue()); in TEST()
Dtime.h68 int64 ToInternalValue() const { in ToInternalValue() function
321 int64 ToInternalValue() const { in ToInternalValue() function
484 int64 ToInternalValue() const { in ToInternalValue() function
Dtime_unittest.cc52 EXPECT_EQ(0, Time::FromTimeT(0).ToInternalValue()); in TEST()
225 EXPECT_EQ(GG_INT64_C(11644473600000000), t.ToInternalValue()); in TEST()
/external/chromium/chrome/common/
Dtime_format.cc259 if (delta.ToInternalValue() < 0) { in FormatTimeImpl()
272 if (delta.ToInternalValue() < Time::kMicrosecondsPerMinute) { in FormatTimeImpl()
273 number = static_cast<int>(delta.ToInternalValue() / in FormatTimeImpl()
278 } else if (delta.ToInternalValue() < Time::kMicrosecondsPerHour) { in FormatTimeImpl()
279 number = static_cast<int>(delta.ToInternalValue() / in FormatTimeImpl()
284 } else if (delta.ToInternalValue() < Time::kMicrosecondsPerDay) { in FormatTimeImpl()
285 number = static_cast<int>(delta.ToInternalValue() / in FormatTimeImpl()
291 number = static_cast<int>(delta.ToInternalValue() / in FormatTimeImpl()
/external/chromium/chrome/browser/history/
Dtext_database_unittest.cc259 EXPECT_EQ(kTime1, first_time_searched.ToInternalValue()); in TEST_F()
271 EXPECT_EQ(options.begin_time.ToInternalValue(), in TEST_F()
272 first_time_searched.ToInternalValue()); in TEST_F()
286 EXPECT_EQ(options.begin_time.ToInternalValue(), in TEST_F()
287 first_time_searched.ToInternalValue()); in TEST_F()
317 EXPECT_EQ(kTime2, first_time_searched.ToInternalValue()); in TEST_F()
Dvisit_database.cc121 statement.BindInt64(1, visit->visit_time.ToInternalValue()); in AddVisit()
221 statement.BindInt64(1, visit.visit_time.ToInternalValue()); in UpdateVisitRow()
260 int64 end = end_time.ToInternalValue(); in GetAllVisitsInRange()
261 statement.BindInt64(0, begin_time.ToInternalValue()); in GetAllVisitsInRange()
287 int64 end = end_time.ToInternalValue(); in GetVisitsInRangeForTransition()
288 statement.BindInt64(0, begin_time.ToInternalValue()); in GetVisitsInRangeForTransition()
318 int64 end = end_time.ToInternalValue(); in GetVisibleVisitsInRange()
319 statement.BindInt64(0, begin_time.ToInternalValue()); in GetVisibleVisitsInRange()
Dtext_database.cc238 add_to_info.BindInt64(1, time.ToInternalValue()); in AddPageData()
257 select_ids.BindInt64(0, time.ToInternalValue()); in DeletePageData()
321 0 : options.begin_time.ToInternalValue(); in GetTextMatches()
323 std::numeric_limits<int64>::max() : options.end_time.ToInternalValue(); in GetTextMatches()
Dvisitsegment_database.cc202 select.BindInt64(0, t.ToInternalValue()); in IncreaseSegmentVisitCount()
222 insert.BindInt64(1, t.ToInternalValue()); in IncreaseSegmentVisitCount()
251 statement.BindInt64(0, ts.ToInternalValue()); in QuerySegmentUsage()
325 statement.BindInt64(0, older_than.LocalMidnight().ToInternalValue()); in DeleteSegmentData()
Dhistory_unittest_base.cc24 int64 now = base::Time::Now().ToInternalValue(); in ExecuteSQLScript()
Durl_database.cc145 statement.BindInt64(3, info.last_visit().ToInternalValue()); in UpdateURLRow()
183 statement.BindInt64(4, info.last_visit().ToInternalValue()); in AddURLInternal()
273 0, AutocompleteAgeThreshold().ToInternalValue()); in InitURLEnumeratorForSignificant()
Dhistory_unittest.cc349 EXPECT_EQ(0, downloads[0].start_time.ToInternalValue()); in TEST_F()
351 EXPECT_EQ(month_ago_lossy.ToInternalValue(), in TEST_F()
352 downloads[1].start_time.ToInternalValue()); in TEST_F()
354 EXPECT_EQ(month_ago_lossy.ToInternalValue(), in TEST_F()
355 downloads[2].start_time.ToInternalValue()); in TEST_F()
Dtop_sites_database.cc181 statement.BindInt64(6, score.time_at_snapshot.ToInternalValue()); in UpdatePageThumbnail()
213 statement.BindInt64(8, score.time_at_snapshot.ToInternalValue()); in AddPageThumbnail()
/external/chromium/chrome/browser/bookmarks/
Dbookmark_codec.cc95 base::Int64ToString(node->date_added().ToInternalValue())); in EncodeNode()
105 ToInternalValue())); in EncodeNode()
213 date_added_string = base::Int64ToString(Time::Now().ToInternalValue()); in DecodeNode()
224 if (date_added.ToInternalValue() < in DecodeNode()
226 date_added = base::Time::FromInternalValue(date_added.ToInternalValue() + in DecodeNode()
256 last_modified_date = base::Int64ToString(Time::Now().ToInternalValue()); in DecodeNode()
/external/chromium/chrome/browser/net/
Dsqlite_persistent_cookie_store.cc488 add_smt.BindInt64(0, po->cc().CreationDate().ToInternalValue());
493 add_smt.BindInt64(5, po->cc().ExpiryDate().ToInternalValue());
496 add_smt.BindInt64(8, po->cc().LastAccessDate().ToInternalValue());
504 po->cc().LastAccessDate().ToInternalValue());
506 po->cc().CreationDate().ToInternalValue());
516 del_smt.BindInt64(0, po->cc().CreationDate().ToInternalValue());
Dload_timing_observer.cc32 if (time_ticks.ToInternalValue() - last_sync_ticks > in TimeTicksToTime()
38 last_sync_ticks = time_ticks.ToInternalValue(); in TimeTicksToTime()
40 return Time::FromInternalValue(time_ticks.ToInternalValue() + in TimeTicksToTime()
/external/chromium/net/base/
Dcookie_monster_store_test.cc120 int64 creation_time = cookie.CreationDate().ToInternalValue(); in AddCookie()
127 int64 creation_time = cookie.CreationDate().ToInternalValue(); in UpdateCookieAccessTime()
134 int64 creation_time = cookie.CreationDate().ToInternalValue(); in DeleteCookie()
Dnet_log_unittest.h51 << "Actual time: " << entry.time.ToInternalValue() in LogContainsEventHelper()
52 << ". Expected time: " << expected_time.ToInternalValue() in LogContainsEventHelper()
/external/chromium/chrome/browser/
Doom_priority_manager.cc67 TimeDelta::FromMinutes(BUCKET_INTERVAL_MINUTES).ToInternalValue(); in CompareRendererStats()
77 if (abs((first.last_selected - second.last_selected).ToInternalValue()) < in CompareRendererStats()
/external/chromium/net/disk_cache/
Ddisk_cache_perftest.cc149 int seed = static_cast<int>(Time::Now().ToInternalValue()); in TEST_F()
176 int seed = static_cast<int>(Time::Now().ToInternalValue()); in TEST_F()
227 int seed = static_cast<int>(Time::Now().ToInternalValue()); in TEST_F()
/external/chromium/net/http/
Dhttp_response_info.cc210 pickle->WriteInt64(request_time.ToInternalValue()); in Persist()
211 pickle->WriteInt64(response_time.ToInternalValue()); in Persist()
/external/chromium/chrome/browser/ui/webui/
Dforeign_session_handler.cc214 static_cast<double>(tab.timestamp.ToInternalValue())); in SessionTabToValue()
236 static_cast<double>(window.timestamp.ToInternalValue())); in SessionWindowToValue()
/external/chromium/net/proxy/
Dinit_proxy_resolver.cc153 if (wait_delay_.ToInternalValue() == 0) in DoWait()
164 if (wait_delay_.ToInternalValue() != 0) { in DoWaitComplete()
/external/chromium/chrome/browser/sync/glue/
Dtyped_url_model_associator_unittest.cc190 EXPECT_EQ(removed_visits[c].visit_time.ToInternalValue(), in TEST_F()
222 EXPECT_EQ(new_visits[c].ToInternalValue(), in TEST_F()
/external/chromium/chrome/browser/instant/
Dpromo_counter.cc88 initial_show_.ToInternalValue()); in Init()

1234