Home
last modified time | relevance | path

Searched refs:InDays (Results 1 – 25 of 159) sorted by relevance

1234567

/dports/www/chromium-legacy/chromium-88.0.4324.182/media/filters/
H A Daudio_clock_unittest.cc34 int FrontTimestampInDays() { return clock_->front_timestamp().InDays(); } in FrontTimestampInDays()
53 return total.InDays(); in ContiguousAudioDataBufferedInDays()
311 EXPECT_EQ(2485, huge.InDays()); // Just to give some context on how big... in TEST_F()
319 EXPECT_EQ(huge.InDays(), FrontTimestampInDays()); in TEST_F()
320 EXPECT_EQ(huge.InDays(), ContiguousAudioDataBufferedInDays()); in TEST_F()
323 EXPECT_EQ((huge * 2).InDays(), FrontTimestampInDays()); in TEST_F()
324 EXPECT_EQ(huge.InDays(), ContiguousAudioDataBufferedInDays()); in TEST_F()
327 EXPECT_EQ((huge * 3).InDays(), FrontTimestampInDays()); in TEST_F()
328 EXPECT_EQ(huge.InDays(), ContiguousAudioDataBufferedInDays()); in TEST_F()
333 EXPECT_EQ((huge * 3).InDays(), FrontTimestampInDays()); in TEST_F()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/media/filters/
H A Daudio_clock_unittest.cc34 int FrontTimestampInDays() { return clock_->front_timestamp().InDays(); } in FrontTimestampInDays()
53 return total.InDays(); in ContiguousAudioDataBufferedInDays()
311 EXPECT_EQ(2485, huge.InDays()); // Just to give some context on how big... in TEST_F()
319 EXPECT_EQ(huge.InDays(), FrontTimestampInDays()); in TEST_F()
320 EXPECT_EQ(huge.InDays(), ContiguousAudioDataBufferedInDays()); in TEST_F()
323 EXPECT_EQ((huge * 2).InDays(), FrontTimestampInDays()); in TEST_F()
324 EXPECT_EQ(huge.InDays(), ContiguousAudioDataBufferedInDays()); in TEST_F()
327 EXPECT_EQ((huge * 3).InDays(), FrontTimestampInDays()); in TEST_F()
328 EXPECT_EQ(huge.InDays(), ContiguousAudioDataBufferedInDays()); in TEST_F()
333 EXPECT_EQ((huge * 3).InDays(), FrontTimestampInDays()); in TEST_F()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/notifications/scheduler/internal/
H A Dscheduler_config.cc79 kDefaultNotificationExpiration.InDays()))); in CreateFromFinch()
82 kImpressionExpirationConfig, kDefaultImpressionExpiration.InDays()))); in CreateFromFinch()
85 kSuppressionDurationConfig, kDefaultSuppressionDuration.InDays()))); in CreateFromFinch()
90 kDismissDurationConfig, kDefaultDismissDuration.InDays()))); in CreateFromFinch()
H A Dscheduler_config_unittest.cc38 EXPECT_EQ(config->notification_expiration.InDays(), 33); in TEST()
39 EXPECT_EQ(config->impression_expiration.InDays(), 22); in TEST()
40 EXPECT_EQ(config->suppression_duration.InDays(), 11); in TEST()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/views/relaunch_notification/
H A Drelaunch_recommended_timer.cc26 elapsed.InDays()); in GetWindowTitle()
34 base::TimeDelta::FromDays(elapsed.InDays() + 1) - elapsed; in ScheduleNextTitleRefresh()
H A Drelaunch_required_timer.cc63 if (rounded_offset.InDays() >= 2) { in GetWindowTitle()
64 amount = rounded_offset.InDays(); in GetWindowTitle()
H A Drelaunch_required_timer_internal.cc32 (deadline_offset + base::TimeDelta::FromHours(12)).InDays()); in ComputeDeadlineDelta()
68 delta = base::TimeDelta::FromDays(rounded_offset.InDays() - 1); in ComputeNextRefreshDelta()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/updates/
H A Dupdate_notification_config_unittest.cc39 EXPECT_EQ(config->init_interval.InDays(), 7); in TEST()
40 EXPECT_EQ(config->max_interval.InDays(), 123); in TEST()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/search/
H A Dntp_features_unittest.cc22 EXPECT_EQ(7, base::TimeDelta(base::Time::Now() - age_threshold).InDays()); in TEST()
32 EXPECT_EQ(180, base::TimeDelta(base::Time::Now() - age_threshold).InDays()); in TEST()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/browsing_data/
H A Dbrowsing_data_media_license_helper_unittest.cc312 EXPECT_EQ(10, (Now() - info.last_modified_time).InDays()); in TEST_F()
318 EXPECT_EQ(0, (Now() - info.last_modified_time).InDays()); in TEST_F()
324 EXPECT_EQ(20, (Now() - info.last_modified_time).InDays()); in TEST_F()
349 EXPECT_EQ(20, (Now() - info.last_modified_time).InDays()); in TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/policy/core/common/cloud/
H A Dcloud_policy_service.cc133 age.InDays(), 1, 1000, 100); in OnStoreLoaded()
136 age.InDays(), 1, 1000, 100); in OnStoreLoaded()
139 "Enterprise.PolicyUpdatePeriod.MachineLevelUser", age.InDays(), 1, in OnStoreLoaded()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chromeos/services/device_sync/
H A Dsync_scheduler_impl.cc26 if (time_delta.InDays() > 0) in TimeDeltaToString()
27 return base::StringPrintf("%d days", time_delta.InDays()); in TimeDeltaToString()
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/feature_engagement/internal/
H A Dsystem_time_provider.cc17 return base::saturated_cast<uint32_t>(delta.InDays()); in GetCurrentDay()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/feature_engagement/internal/
H A Dsystem_time_provider.cc17 return base::saturated_cast<uint32_t>(delta.InDays()); in GetCurrentDay()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/base/l10n/
H A Dtime_format.cc120 const int days = (delta + half_day).InDays(); in DetailedWithMonthAndYear()
123 const int days = (delta + half_hour).InDays(); in DetailedWithMonthAndYear()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/test/
H A Drun_all_unittests.cc33 << "ERROR: This build is more than " << kMaxAge.InDays() in VerifyBuildIsTimely()
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/test/
H A Drun_all_unittests.cc33 << "ERROR: This build is more than " << kMaxAge.InDays() in VerifyBuildIsTimely()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/base/l10n/
H A Dtime_format.cc122 const int days = (delta + kHalfDay).InDays(); in DetailedWithMonthAndYear()
125 const int days = (delta + kHalfHour).InDays(); in DetailedWithMonthAndYear()
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/ntp_snippets/remote/
H A Drequest_throttler_unittest.cc64 int now_day = (base::Time::Now() - base::Time::UnixEpoch()).InDays(); in TEST_F()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/ntp_snippets/remote/
H A Drequest_throttler_unittest.cc64 int now_day = (base::Time::Now() - base::Time::UnixEpoch()).InDays(); in TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/feed/core/v2/
H A Drequest_throttler.cc30 : time_value.LocalMidnight().since_origin().InDays(); in DaysSinceOrigin()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/feed/core/v2/
H A Drequest_throttler.cc30 : time_value.LocalMidnight().since_origin().InDays(); in DaysSinceOrigin()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/ssl_errors/
H A Derror_info.cc73 (base::Time::Now() - cert->valid_expiry()).InDays() + 1; in CreateError()
83 (cert->valid_start() - base::Time::Now()).InDays()); in CreateError()
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/ssl_errors/
H A Derror_info.cc74 (base::Time::Now() - cert->valid_expiry()).InDays() + 1; in CreateError()
84 (cert->valid_start() - base::Time::Now()).InDays()); in CreateError()
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/omnibox/browser/
H A Domnibox_field_trial_unittest.cc368 EXPECT_EQ(7, base::TimeDelta(base::Time::Now() - age_threshold).InDays()); in TEST_F()
379 base::TimeDelta(base::Time::Now() - age_threshold).InDays()); in TEST_F()
389 base::TimeDelta(base::Time::Now() - age_threshold).InDays()); in TEST_F()

1234567