/external/libbrillo/brillo/message_loops/ |
D | fake_message_loop_unittest.cc | 52 TimeDelta::FromSeconds(1)); in TEST_F() 54 TimeDelta::FromSeconds(4)); in TEST_F() 56 TimeDelta::FromSeconds(3)); in TEST_F() 58 TimeDelta::FromSeconds(2)); in TEST_F() 68 loop_->PostDelayedTask(Bind(&base::DoNothing), TimeDelta::FromSeconds(1)); in TEST_F() 69 loop_->PostDelayedTask(Bind(&base::DoNothing), TimeDelta::FromSeconds(2)); in TEST_F() 77 EXPECT_EQ(start + TimeDelta::FromSeconds(1), clock_.Now()); in TEST_F() 81 clock_.SetNow(start + TimeDelta::FromSeconds(3)); in TEST_F() 84 EXPECT_EQ(start + TimeDelta::FromSeconds(3), clock_.Now()); in TEST_F() 102 TimeDelta::FromSeconds(10))); in TEST_F() [all …]
|
D | message_loop_unittest.cc | 104 TimeDelta::FromSeconds(10), in TYPED_TEST()
|
/external/libchrome/base/timer/ |
D | mock_timer_unittest.cc | 19 base::TimeDelta delay = base::TimeDelta::FromSeconds(2); in TEST() 33 base::TimeDelta delay = base::TimeDelta::FromSeconds(2); in TEST() 48 base::TimeDelta delay = base::TimeDelta::FromSeconds(2); in TEST() 73 base::TimeDelta delay = base::TimeDelta::FromSeconds(2); in TEST()
|
/external/libbrillo/brillo/streams/ |
D | fake_stream_unittest.cc | 181 stream_->AddReadPacketString(base::TimeDelta::FromSeconds(1), "baz"); in TEST_F() 196 clock_.Advance(base::TimeDelta::FromSeconds(1)); in TEST_F() 206 stream_->QueueReadErrorWithMessage(base::TimeDelta::FromSeconds(1), in TEST_F() 224 clock_.Advance(base::TimeDelta::FromSeconds(1)); in TEST_F() 261 auto one_sec_delay = base::TimeDelta::FromSeconds(1); in TEST_F() 277 auto one_sec_delay = base::TimeDelta::FromSeconds(1); in TEST_F() 426 auto one_sec_delay = base::TimeDelta::FromSeconds(1); in TEST_F() 442 auto one_sec_delay = base::TimeDelta::FromSeconds(1); in TEST_F() 474 auto one_sec_delay = base::TimeDelta::FromSeconds(1); in TEST_F() 475 auto two_sec_delay = base::TimeDelta::FromSeconds(2); in TEST_F()
|
D | tls_stream.cc | 213 const base::TimeDelta kTimeout = base::TimeDelta::FromSeconds(2); in Close()
|
/external/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/ |
D | DurationTest.cs | 43 Assert.AreEqual(TimeSpan.FromSeconds(1), new Duration { Seconds = 1 }.ToTimeSpan()); in ToTimeSpan() 44 Assert.AreEqual(TimeSpan.FromSeconds(-1), new Duration { Seconds = -1 }.ToTimeSpan()); in ToTimeSpan() 95 … Assert.AreEqual(new Duration { Seconds = 1 }, Duration.FromTimeSpan(TimeSpan.FromSeconds(1))); in FromTimeSpan()
|
/external/libchrome/base/time/ |
D | time_unittest.cc | 194 EXPECT_TRUE((a - b) < TimeDelta::FromSeconds(1)); in TEST_F() 204 EXPECT_TRUE((a - b) < TimeDelta::FromSeconds(1)); in TEST_F() 782 static_assert(TimeDelta::FromMinutes(2) == TimeDelta::FromSeconds(120), ""); in TEST() 783 static_assert(TimeDelta::FromSeconds(2) == TimeDelta::FromMilliseconds(2000), in TEST() 795 EXPECT_EQ(13, TimeDelta::FromSeconds(13).InSeconds()); in TEST() 796 EXPECT_EQ(13.0, TimeDelta::FromSeconds(13).InSecondsF()); in TEST() 809 struct timespec result = TimeDelta::FromSeconds(0).ToTimeSpec(); in TEST() 813 result = TimeDelta::FromSeconds(1).ToTimeSpec(); in TEST() 915 t = TimeDelta::FromSeconds(max_int / Time::kMicrosecondsPerSecond + 1); in TEST() 924 t = TimeDelta::FromSeconds(-max_int / Time::kMicrosecondsPerSecond - 1); in TEST() [all …]
|
D | time.h | 113 static constexpr TimeDelta FromSeconds(int64_t secs); 632 constexpr TimeDelta TimeDelta::FromSeconds(int64_t secs) { in FromSeconds() function
|
D | time.cc | 144 return Time(kTimeTToMicrosecondsOffset) + TimeDelta::FromSeconds(tt); in FromTimeT()
|
/external/libchrome/base/threading/ |
D | thread_collision_warner_unittest.cc | 193 base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(5)); in TEST() 250 base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(2)); in TEST() 319 base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(2)); in TEST()
|
D | worker_pool_posix.cc | 177 TimeDelta::FromSeconds(idle_seconds_before_exit_)); in WaitForTask()
|
D | platform_thread_posix.cc | 174 duration -= TimeDelta::FromSeconds(sleep_time.tv_sec); in Sleep()
|
/external/libchrome/base/synchronization/ |
D | spin_wait.h | 34 SPIN_FOR_TIMEDELTA_OR_UNTIL_TRUE(base::TimeDelta::FromSeconds(1), \
|
D | waitable_event_posix.cc | 155 bool result = TimedWait(TimeDelta::FromSeconds(-1)); in Wait()
|
D | condition_variable_unittest.cc | 242 EXPECT_TRUE(duration <= TimeDelta::FromSeconds(kDiscontinuitySeconds)); in TEST_F()
|
/external/libchrome/base/metrics/ |
D | histogram_macros.h | 124 base::TimeDelta::FromSeconds(10), 50) 192 base::TimeDelta::FromSeconds(10), 50)
|
/external/protobuf/python/google/protobuf/internal/ |
D | well_known_types_test.py | 168 message.FromSeconds(1) 173 message.FromSeconds(-1) 219 message.FromSeconds(1) 223 message.FromSeconds(-1)
|
D | well_known_types.py | 221 def FromSeconds(self, seconds): member in Timestamp 336 def FromSeconds(self, seconds): member in Duration
|
/external/libchrome/base/ |
D | lazy_instance_unittest.cc | 33 base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(1)); in SlowConstructor()
|
D | sync_socket_posix.cc | 155 base::TimeDelta::FromSeconds(1).InMicroseconds()); in ReceiveWithTimeout()
|
/external/libmojo/mojo/message_pump/ |
D | message_pump_mojo_unittest.cc | 157 base::TimeTicks::Now() - base::TimeDelta::FromSeconds(1)); in TEST()
|
/external/libchrome/base/files/ |
D | file_unittest.cc | 338 base::Time now = base::Time::Now() + base::TimeDelta::FromSeconds(2); 358 info.last_accessed + base::TimeDelta::FromSeconds(234);
|
/external/v8/src/base/platform/ |
D | time.h | 54 static TimeDelta FromSeconds(int64_t seconds);
|
/external/libchrome/base/process/ |
D | process_metrics_unittest.cc | 482 PlatformThread::Sleep(TimeDelta::FromSeconds(1)); in MULTIPROCESS_TEST_MAIN()
|
/external/libbrillo/brillo/http/ |
D | http_transport_curl_unittest.cc | 281 FROM_HERE, run_loop.QuitClosure(), base::TimeDelta::FromSeconds(1)); in TEST_F()
|