Home
last modified time | relevance | path

Searched refs:NowSeconds (Results 1 – 20 of 20) sorted by relevance

/external/webrtc/webrtc/base/
Drtccertificate_unittests.cc47 uint64_t NowSeconds() const { in NowSeconds() function in rtc::RTCCertificateTest
93 uint64_t now = NowSeconds(); in TEST_F()
101 uint64_t now = NowSeconds(); in TEST_F()
109 uint64_t now = NowSeconds(); in TEST_F()
/external/tensorflow/tensorflow/core/platform/cloud/
Dgcs_throttle.cc23 : last_updated_secs_(env_time->NowSeconds()), in GcsThrottle()
47 last_updated_secs_ = env_time_->NowSeconds(); in SetConfig()
52 int64 now = env_time_->NowSeconds(); in UpdateState()
Dram_file_block_cache.cc30 return env_->NowSeconds() - block->timestamp <= max_staleness_; in BlockNotStale()
53 new_entry->timestamp = env_->NowSeconds(); in Lookup()
112 block->timestamp = env_->NowSeconds(); in MaybeFetch()
245 uint64 now = env_->NowSeconds(); in Prune()
Dgoogle_auth_provider_test.cc33 uint64 NowSeconds() override { return now; } in NowSeconds() function in tensorflow::__anon9386e59b0111::FakeEnv
102 oauth_client->return_expiration_timestamp = env.NowSeconds() + 3600; in TEST_F()
139 oauth_client->return_expiration_timestamp = env.NowSeconds() + 3600; in TEST_F()
Dexpiring_lru_cache.h128 if (env_->NowSeconds() - it->second.timestamp > max_age_) { in LookupLocked()
141 Entry entry{env_->NowSeconds(), value, lru_list_.begin()}; in InsertLocked()
Dgoogle_auth_provider.cc142 const uint64 now_sec = env_->NowSeconds(); in GetToken()
231 const uint64 request_timestamp_sec = env_->NowSeconds(); in GetTokenFromGce()
Dram_file_block_cache_test.cc428 uint64 now = Env::Default()->NowSeconds(); in TEST()
455 uint64 start = Env::Default()->NowSeconds(); in TEST()
458 } while (cache.CacheSize() == 24 && Env::Default()->NowSeconds() - start < 3); in TEST()
467 start = Env::Default()->NowSeconds(); in TEST()
470 } while (cache.CacheSize() == 8 && Env::Default()->NowSeconds() - start < 3); in TEST()
Dnow_seconds_env.h31 uint64 NowSeconds() override { in NowSeconds() function
Doauth_client.cc207 const uint64 request_timestamp_sec = env_->NowSeconds(); in GetTokenFromServiceAccountJson()
251 const uint64 request_timestamp_sec = env_->NowSeconds(); in GetTokenFromRefreshTokenJson()
Doauth_client_test.cc45 uint64 NowSeconds() override { return now; } in NowSeconds() function in tensorflow::__anon4f4d8d220111::FakeEnv
Dcurl_http_request.cc568 const auto now = that->env_->NowSeconds(); in ProgressCallback()
Dcurl_http_request_test.cc32 uint64 NowSeconds() override { return now_; } in NowSeconds() function in tensorflow::__anonc34726800111::FakeEnv
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_response_cache.cc86 if (req->expires_seconds > Env::Default()->NowSeconds()) { in LookupOrCompute()
107 req->expires_seconds = Env::Default()->NowSeconds() + expire_time_seconds_; in LookupOrCompute()
152 int64 now = Env::Default()->NowSeconds(); in MaybeCleanup()
/external/tensorflow/tensorflow/core/platform/
Denv_time.h52 virtual uint64 NowSeconds() { return NowNanos() / kSecondsToNanos; } in NowSeconds() function
Denv.h260 virtual uint64 NowSeconds() { return envTime->NowSeconds(); } in NowSeconds() function
/external/tensorflow/tensorflow/contrib/cloud/kernels/
Dgcs_config_ops.cc133 const uint64 now_sec = env_->NowSeconds(); in GetToken()
/external/tensorflow/tensorflow/c/
Denv.cc160 return ::tensorflow::Env::Default()->NowSeconds(); in TF_NowSeconds()
/external/tensorflow/tensorflow/core/summary/
Dsummary_file_writer_test.cc36 uint64 NowSeconds() override { return current_millis_ * 1000; } in NowSeconds() function in tensorflow::__anonba2a3b2f0111::FakeClockEnv
Dsummary_db_writer_test.cc43 uint64 NowSeconds() override { return current_millis_ * 1000; } in NowSeconds() function in tensorflow::__anon4ff30c150111::FakeClockEnv
/external/tensorflow/tensorflow/core/kernels/data/
Dcache_dataset_ops.cc377 "Created at: ", dataset()->env_->NowSeconds()))); in EnsureLockFileExists()