/external/v8/test/unittests/base/platform/ |
D | semaphore-unittest.cc | 78 ASSERT_FALSE(semaphore_->WaitFor(TimeDelta::FromMicroseconds(1))); in Run() 120 EXPECT_FALSE(semaphore.WaitFor(TimeDelta::FromMicroseconds(1))); in TEST() 128 ASSERT_FALSE(semaphore.WaitFor(TimeDelta::FromMicroseconds(0))); in TEST() 129 ASSERT_FALSE(semaphore.WaitFor(TimeDelta::FromMicroseconds(100))); in TEST() 130 ASSERT_FALSE(semaphore.WaitFor(TimeDelta::FromMicroseconds(1000))); in TEST() 134 ASSERT_TRUE(semaphore.WaitFor(TimeDelta::FromMicroseconds(0))); in TEST() 136 ASSERT_TRUE(semaphore.WaitFor(TimeDelta::FromMicroseconds(100))); in TEST() 138 ASSERT_TRUE(semaphore.WaitFor(TimeDelta::FromMicroseconds(1000))); in TEST()
|
D | time-unittest.cc | 29 EXPECT_EQ(TimeDelta::FromMilliseconds(2), TimeDelta::FromMicroseconds(2000)); in TEST() 39 TimeDelta::FromMicroseconds(13).InMicroseconds()); in TEST()
|
D | condition-variable-unittest.cc | 22 EXPECT_FALSE(cv.WaitFor(&mutex, TimeDelta::FromMicroseconds(n))); in TEST() 25 EXPECT_FALSE(cv.WaitFor(&mutex, TimeDelta::FromMicroseconds(n))); in TEST()
|
/external/libweave/third_party/chromium/base/time/ |
D | time_unittest.cc | 171 t = Time::UnixEpoch() - TimeDelta::FromMicroseconds(1); in TEST_F() 183 t = Time::UnixEpoch() - TimeDelta::FromMicroseconds(1000); in TEST_F() 195 t = Time::UnixEpoch() - TimeDelta::FromMicroseconds(1001); in TEST_F() 244 t = Time::UnixEpoch() + TimeDelta::FromMicroseconds(1); in TEST_F() 256 t = Time::UnixEpoch() + TimeDelta::FromMicroseconds(1000); in TEST_F() 421 base::TimeDelta interval = base::TimeDelta::FromMicroseconds(1000); in TEST() 464 base::TimeDelta interval = base::TimeDelta::FromMicroseconds(4000); in TEST() 481 TimeDelta::FromMicroseconds(2000)); in TEST() 485 TimeDelta::FromMicroseconds(2500)); in TEST() 497 EXPECT_EQ(13, TimeDelta::FromMicroseconds(13).InMicroseconds()); in TEST() [all …]
|
D | time.h | 116 static TimeDelta FromMicroseconds(int64_t us); 322 return TimeDelta::FromMicroseconds(us_ - other.us_); 596 inline TimeDelta TimeDelta::FromMicroseconds(int64_t us) { in FromMicroseconds() function
|
/external/libchrome/base/time/ |
D | time_unittest.cc | 366 t = Time::UnixEpoch() - TimeDelta::FromMicroseconds(1); in TEST_F() 378 t = Time::UnixEpoch() - TimeDelta::FromMicroseconds(1000); in TEST_F() 390 t = Time::UnixEpoch() - TimeDelta::FromMicroseconds(1001); in TEST_F() 439 t = Time::UnixEpoch() + TimeDelta::FromMicroseconds(1); in TEST_F() 451 t = Time::UnixEpoch() + TimeDelta::FromMicroseconds(1000); in TEST_F() 671 base::TimeDelta interval = base::TimeDelta::FromMicroseconds(1000); in TEST() 714 base::TimeDelta interval = base::TimeDelta::FromMicroseconds(4000); in TEST() 731 TimeDelta::FromMicroseconds(2000)); in TEST() 735 TimeDelta::FromMicroseconds(2500)); in TEST() 747 EXPECT_EQ(13, TimeDelta::FromMicroseconds(13).InMicroseconds()); in TEST() [all …]
|
D | time.h | 116 static TimeDelta FromMicroseconds(int64_t us); 322 return TimeDelta::FromMicroseconds(us_ - other.us_); 622 inline TimeDelta TimeDelta::FromMicroseconds(int64_t us) { in FromMicroseconds() function
|
D | time_mac.cc | 41 base::TimeDelta::FromMicroseconds(boottime.tv_usec)); in ComputeCurrentTicks()
|
/external/libchrome/base/timer/ |
D | timer.cc | 125 if (delay_ > TimeDelta::FromMicroseconds(0)) in Reset() 154 if (delay > TimeDelta::FromMicroseconds(0)) { in PostNewScheduledTask()
|
/external/v8/src/base/platform/ |
D | time.h | 44 static TimeDelta FromMicroseconds(int64_t microseconds) { in FromMicroseconds() function 236 return TimeDelta::FromMicroseconds(us_ - other.us_); 347 return TimeDelta::FromMicroseconds(ticks_ - other.ticks_);
|
/external/libchrome/components/timers/ |
D | alarm_timer_chromeos.cc | 197 if (delay <= base::TimeDelta::FromMicroseconds(0)) { in Reset() 201 delay = base::TimeDelta::FromMicroseconds(0); in Reset() 400 if (base::Timer::GetCurrentDelay() > base::TimeDelta::FromMicroseconds(0)) { in Reset()
|
/external/libchrome/base/ |
D | sys_info.cc | 64 return base::TimeDelta::FromMicroseconds(uptime_in_microseconds); in Uptime()
|
/external/libchrome/base/files/ |
D | file_posix.cc | 147 TimeDelta::FromMicroseconds(last_modified_nsec / in FromStat() 152 TimeDelta::FromMicroseconds(last_accessed_nsec / in FromStat() 157 TimeDelta::FromMicroseconds(creation_time_nsec / in FromStat()
|
/external/libchrome/base/trace_event/ |
D | trace_sampling_thread.cc | 37 TimeDelta::FromMicroseconds(kSamplingFrequencyMicroseconds)); in ThreadMain()
|
D | trace_log.cc | 490 delay->SetTargetDuration(TimeDelta::FromMicroseconds( in UpdateSyntheticDelaysFromTraceConfig()
|
/external/libbrillo/brillo/ |
D | backoff_entry.cc | 163 base::TimeTicks() + base::TimeDelta::FromMicroseconds(release_time_us), in CalculateReleaseTime()
|
/external/libweave/src/ |
D | backoff_entry.cc | 162 base::TimeTicks() + base::TimeDelta::FromMicroseconds(release_time_us), in CalculateReleaseTime()
|
/external/libchrome/base/process/ |
D | internal_linux.cc | 184 return TimeDelta::FromMicroseconds( in ClockTicksToTimeDelta()
|
/external/v8/src/profiler/ |
D | cpu-profiler.cc | 392 sampling_interval_(base::TimeDelta::FromMicroseconds( in CpuProfiler() 406 sampling_interval_(base::TimeDelta::FromMicroseconds( in CpuProfiler()
|
/external/v8/test/cctest/ |
D | test-cpu-profiler.cc | 78 &generator, NULL, v8::base::TimeDelta::FromMicroseconds(100))); in TEST() 166 &generator, NULL, v8::base::TimeDelta::FromMicroseconds(100))); in TEST() 227 &generator, NULL, v8::base::TimeDelta::FromMicroseconds(100))); in TEST() 296 &generator, NULL, v8::base::TimeDelta::FromMicroseconds(100))); in TEST() 1117 &generator, NULL, v8::base::TimeDelta::FromMicroseconds(100))); in TEST()
|
/external/v8/src/ |
D | api.cc | 8050 base::TimeDelta::FromMicroseconds(us)); in SetSamplingInterval()
|