Home
last modified time | relevance | path

Searched refs:now_ (Results 1 – 14 of 14) sorted by relevance

/external/libchrome/base/task/sequence_manager/
Dlazy_now.cc12 LazyNow::LazyNow(TimeTicks now) : tick_clock_(nullptr), now_(now) {} in LazyNow()
15 : tick_clock_(tick_clock), now_() { in LazyNow()
20 : tick_clock_(move_from.tick_clock_), now_(move_from.now_) { in LazyNow()
22 move_from.now_ = nullopt; in LazyNow()
28 if (!now_) { in Now()
30 now_ = tick_clock_->NowTicks(); in Now()
32 return *now_; in Now()
Dtime_domain_unittest.cc36 TestTimeDomain() : now_(TimeTicks() + TimeDelta::FromSeconds(1)) {} in TestTimeDomain()
45 LazyNow CreateLazyNow() const override { return LazyNow(now_); } in CreateLazyNow()
46 TimeTicks Now() const override { return now_; } in Now()
64 void SetNow(TimeTicks now) { now_ = now; } in SetNow()
67 TimeTicks now_; member in base::sequence_manager::TestTimeDomain
Dlazy_now.h33 Optional<TimeTicks> now_; variable
/external/libchrome/base/test/
Dsimple_test_clock.cc15 return now_; in Now()
20 now_ += delta; in Advance()
25 now_ = now; in SetNow()
Dsimple_test_clock.h36 Time now_; variable
Dtest_mock_time_task_runner.cc207 : now_(start_time), in TestMockTimeTaskRunner()
270 return now_; in Now()
421 now_ += later_ticks - now_ticks_; in ForwardClocksUntilTickTime()
Dtest_mock_time_task_runner.h270 Time now_; variable
/external/tensorflow/tensorflow/core/platform/cloud/
Dnow_seconds_env.h33 return now_; in NowSeconds()
39 now_ = now; in SetNowSeconds()
46 uint64 now_ = 1; variable
Dcurl_http_request_test.cc32 uint64 NowSeconds() override { return now_; } in NowSeconds()
33 uint64 now_ = 10000; member in tensorflow::__anondfa211b70111::FakeEnv
167 env_->now_ = std::get<0>(tick); in curl_easy_perform()
/external/grpc-grpc/src/core/lib/iomgr/
Dexec_ctx.h183 now_ = GRPC_MILLIS_INF_FUTURE; in SetNowIomgrShutdown()
191 now_ = new_val; in TestOnlySetNow()
231 grpc_millis now_ = 0; variable
Dexec_ctx.cc147 now_ = timespec_to_millis_round_down(gpr_now(GPR_CLOCK_MONOTONIC)); in Now()
150 return now_; in Now()
/external/libbrillo/brillo/
Dbackoff_entry_unittest.cc19 now_(TimeTicks()) { in TestBackoffEntry()
27 TimeTicks ImplGetTimeNow() const override { return now_; } in ImplGetTimeNow()
30 now_ = now; in set_now()
34 TimeTicks now_; member in brillo::TestBackoffEntry
/external/webrtc/talk/media/base/
Drtpdataengine_unittest.cc43 FakeTiming() : now_(0.0) {} in FakeTiming()
46 return now_; in TimerNow()
50 now_ = now; in set_now()
54 double now_; member in FakeTiming
/external/tensorflow/tensorflow/core/summary/
Dsummary_db_writer.cc233 : db_(db), txn_(txn), graph_(graph), now_(now), graph_id_(graph_id) {} in GraphWriter()
347 insert.BindDouble(3, DoubleTime(now_)); in SaveGraph()
369 const uint64 now_; member in tensorflow::__anon4b43ab2d0111::GraphWriter