/external/chromium/chrome/common/ |
H A D | thumbnail_score_unittest.cc | 10 base::Time now = base::Time::Now(); local 12 ThumbnailScore nothing_good(0.5, false, false, now); 13 ThumbnailScore not_at_top(0.5, false, true, now); 14 ThumbnailScore bad_clipping(0.5, true, false, now); 15 ThumbnailScore life_is_awesome(0.5, true, true, now); 29 base::Time now = base::Time::Now(); local 30 base::Time last_year = now - base::TimeDelta::FromDays(365); 33 ThumbnailScore newie_but_crappie(0.9, true, true, now); 40 base::Time now = base::Time::Now(); local 42 ThumbnailScore no_redirects(0.5, true, true, now); [all...] |
/external/chromium_org/chrome/common/ |
H A D | thumbnail_score_unittest.cc | 10 base::Time now = base::Time::Now(); local 12 ThumbnailScore nothing_good(0.5, false, false, now); 13 ThumbnailScore not_at_top(0.5, false, true, now); 14 ThumbnailScore bad_clipping(0.5, true, false, now); 15 ThumbnailScore life_is_awesome(0.5, true, true, now); 29 base::Time now = base::Time::Now(); local 30 base::Time last_year = now - base::TimeDelta::FromDays(365); 33 ThumbnailScore newie_but_crappie(0.9, true, true, now); 40 base::Time now = base::Time::Now(); local 42 ThumbnailScore no_redirects(0.5, true, true, now); [all...] |
/external/chromium_org/content/browser/download/ |
H A D | rate_estimator_unittest.cc | 14 base::TimeTicks now; local 15 RateEstimator estimator(TimeDelta::FromSeconds(1), 10u, now); 16 EXPECT_EQ(0u, estimator.GetCountPerSecond(now)); 18 estimator.Increment(50u, now); 19 EXPECT_EQ(50u, estimator.GetCountPerSecond(now)); 21 now += TimeDelta::FromMilliseconds(800); 22 estimator.Increment(50, now); 23 EXPECT_EQ(100u, estimator.GetCountPerSecond(now)); 26 now += TimeDelta::FromSeconds(3); 27 EXPECT_EQ(25u, estimator.GetCountPerSecond(now)); [all...] |
/external/chromium_org/net/quic/ |
H A D | quic_clock_test.cc | 16 QuicTime now = clock.ApproximateNow(); local 19 EXPECT_LE(start, now); 20 EXPECT_LE(now, end); 27 QuicWallTime now = clock.WallNow(); local 30 // If end > start, then we can check now is between start and end. 32 EXPECT_LE(static_cast<uint64>(start.ToTimeT()), now.ToUNIXSeconds()); 33 EXPECT_LE(now.ToUNIXSeconds(), static_cast<uint64>(end.ToTimeT()));
|
/external/chromium_org/remoting/base/ |
H A D | rate_counter_unittest.cc | 17 base::Time now = base::Time::Now(); local 19 now += base::TimeDelta::FromSeconds(1); 20 rate_counter.SetCurrentTimeForTest(now); 49 base::Time now = base::Time::Now(); local 51 now += base::TimeDelta::FromSeconds(1); 52 rate_counter.SetCurrentTimeForTest(now); 71 base::Time now = base::Time::Now(); local 73 now += base::TimeDelta::FromSeconds(1); 74 rate_counter.SetCurrentTimeForTest(now);
|
/external/llvm/unittests/Support/ |
H A D | TimeValueTest.cpp | 18 sys::TimeValue now = sys::TimeValue::now(); local 20 EXPECT_TRUE(abs(static_cast<long>(now_t - now.toEpochTime())) < 2);
|
/external/qemu/telephony/ |
H A D | test1.c | 23 SysTime now = sys_time_ms(); local 26 printf( "tick %d/%d a %.2fs\n", counter, MAX_COUNTER, now/1000. ); 28 sys_timer_set( timer, now + 2000, timer_func, timer );
|
/external/blktrace/btt/ |
H A D | trace.c | 25 time_t now = time(NULL); local 30 if (verbose && ((now - last_vtrace) > 0)) { 34 last_vtrace = now;
|
/external/chromium_org/base/test/ |
H A D | simple_test_clock.cc | 23 void SimpleTestClock::SetNow(Time now) { argument 25 now_ = now;
|
/external/chromium_org/chrome/browser/chromeos/power/ |
H A D | user_activity_notifier.cc | 33 base::TimeTicks now = base::TimeTicks::Now(); local 37 (now - last_notify_time_).InSeconds() >= kNotifyIntervalSec) { 53 last_notify_time_ = now;
|
H A D | video_activity_notifier.cc | 29 base::TimeTicks now = base::TimeTicks::Now(); local 31 (now - last_notify_time_).InSeconds() >= kNotifyIntervalSec) { 34 last_notify_time_ = now;
|
/external/chromium_org/chrome/browser/net/ |
H A D | timed_cache.cc | 22 base::TimeTicks now = base::TimeTicks::Now(); local 26 if (now - eldest->second < max_duration_)
|
/external/chromium_org/content/browser/renderer_host/ |
H A D | smooth_scroll_calculator.cc | 16 base::TimeTicks now, base::TimeDelta desired_interval) { 20 double time_delta = (now - last_tick_time_).InMillisecondsF(); 24 last_tick_time_ = now; 15 GetScrollDelta( base::TimeTicks now, base::TimeDelta desired_interval) argument
|
/external/chromium_org/net/cert/ |
H A D | x509_util_openssl_unittest.cc | 14 base::Time now = base::Time::Now(); local 15 EXPECT_TRUE(x509_util::IsSupportedValidityRange(now, now)); 17 now, now - base::TimeDelta::FromSeconds(1))); 32 EXPECT_FALSE(x509_util::IsSupportedValidityRange(too_old, now)); 34 EXPECT_FALSE(x509_util::IsSupportedValidityRange(now, too_late)); 43 base::Time now = base::Time::Now(); local 50 now, 51 now [all...] |
H A D | x509_util_unittest.cc | 23 const base::Time now = base::Time::Now(); local 35 now - five_days, now + five_days)); 39 now - base::TimeDelta::FromDays(3), now + five_days));
|
/external/chromium_org/net/tools/quic/ |
H A D | quic_epoll_clock_test.cc | 45 QuicWallTime now = clock.WallNow(); local 48 // If end > start, then we can check now is between start and end. 50 EXPECT_LE(static_cast<uint64>(start.ToTimeT()), now.ToUNIXSeconds()); 51 EXPECT_LE(now.ToUNIXSeconds(), static_cast<uint64>(end.ToTimeT()));
|
/external/chromium_org/third_party/WebKit/Source/modules/performance/ |
H A D | WorkerPerformance.cpp | 49 double WorkerPerformance::now() const function in class:WebCore::WorkerPerformance
|
/external/ipsec-tools/src/racoon/ |
H A D | throttle.c | 99 time_t now; local 104 now = time(NULL); 111 if (te->penalty < now) { 146 remaining = te->penalty - now; 152 te->penalty = now + new;
|
/external/jmdns/src/javax/jmdns/impl/ |
H A D | DNSListener.java | 22 * @param now 27 void updateRecord(DNSCache dnsCache, long now, DNSEntry record); argument
|
/external/qemu/distrib/sdl-1.2.15/src/timer/nds/ |
H A D | SDL_systimer.c | 49 Uint32 now; local 50 now=timers2ms(TIMER0_DATA, TIMER1_DATA); 51 while((Uint32)timers2ms(TIMER0_DATA, TIMER1_DATA)<now+ms);
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
H A D | TimestampTest.java | 39 private Date now = new Date(); field in class:TimestampTest 53 new Timestamp(now, null); 64 Timestamp one = new Timestamp(now, cpath); 65 Timestamp two = new Timestamp(now, cpath); 79 assertSame(new Timestamp(now, cpath).getSignerCertPath(), cpath); 83 Timestamp t = new Timestamp(now, cpath); 84 assertEquals(now, t.getTimestamp()); 85 assertNotSame(now, t.getTimestamp()); 92 new Timestamp(now, cpath).toString();
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
H A D | CodeSigner_ImplTest.java | 39 private Date now = new Date(); field in class:CodeSigner_ImplTest 41 private Timestamp ts = new Timestamp(now, cpath);
|
H A D | Timestamp_ImplTest.java | 40 private Date now = new Date(); field in class:Timestamp_ImplTest 47 assertTrue(new Timestamp(now, cpath).hashCode() == (now.hashCode() ^ cpath
|
/external/chromium/base/synchronization/ |
H A D | condition_variable_posix.cc | 46 struct timeval now; local 47 gettimeofday(&now, NULL); 50 abstime.tv_sec = now.tv_sec + (usecs / Time::kMicrosecondsPerSecond); 51 abstime.tv_nsec = (now.tv_usec + (usecs % Time::kMicrosecondsPerSecond)) * 55 DCHECK_GE(abstime.tv_sec, now.tv_sec); // Overflow paranoia
|
/external/chromium/chrome/browser/history/ |
H A D | history_unittest_base.cc | 24 int64 now = base::Time::Now().ToInternalValue(); local 26 sql_time.push_back(StringPrintf("%" PRId64, now)); // last_visit_time 27 sql_time.push_back(StringPrintf("%" PRId64, now)); // visit_time 28 sql_time.push_back(StringPrintf("%" PRId64, now)); // time_slot
|