Home
last modified time | relevance | path

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

/external/webrtc/rtc_base/
Drtc_certificate_unittest.cc50 uint64_t NowSeconds() const { return TimeNanos() / kNumNanosecsPerSec; } in NowSeconds() function in rtc::RTCCertificateTest
91 uint64_t now = NowSeconds(); in TEST_F()
99 uint64_t now = NowSeconds(); in TEST_F()
107 uint64_t now = NowSeconds(); in TEST_F()
/external/tensorflow/tensorflow/core/platform/cloud/
Dram_file_block_cache.cc30 return env_->NowSeconds() - block->timestamp <= max_staleness_; in BlockNotStale()
56 new_entry->timestamp = env_->NowSeconds(); in Lookup()
117 block->timestamp = env_->NowSeconds(); in MaybeFetch()
255 uint64 now = env_->NowSeconds(); in Prune()
Dgoogle_auth_provider_test.cc38 uint64 NowSeconds() const override { return now; } in NowSeconds() function in tensorflow::__anon4c13b3790111::FakeEnv
105 oauth_client->return_expiration_timestamp = env.NowSeconds() + 3600; in TEST_F()
141 oauth_client->return_expiration_timestamp = env.NowSeconds() + 3600; in TEST_F()
Dexpiring_lru_cache.h129 if (env_->NowSeconds() - it->second.timestamp > max_age_) { in LookupLocked()
142 Entry entry{env_->NowSeconds(), value, lru_list_.begin()}; in InsertLocked()
Dgoogle_auth_provider.cc143 const uint64 now_sec = env_->NowSeconds(); in GetToken()
239 const uint64 request_timestamp_sec = env_->NowSeconds(); in GetTokenFromGce()
Dnow_seconds_env.h31 uint64 NowSeconds() const override { in NowSeconds() function
Dram_file_block_cache_test.cc434 uint64 now = Env::Default()->NowSeconds(); in TEST()
461 uint64 start = Env::Default()->NowSeconds(); in TEST()
464 } while (cache.CacheSize() == 24 && Env::Default()->NowSeconds() - start < 3); in TEST()
473 start = Env::Default()->NowSeconds(); in TEST()
476 } while (cache.CacheSize() == 8 && Env::Default()->NowSeconds() - start < 3); in TEST()
Dgcs_throttle.cc31 : EnvTime::NowSeconds()), in GcsThrottle()
Doauth_client.cc208 const uint64 request_timestamp_sec = env_->NowSeconds(); in GetTokenFromServiceAccountJson()
252 const uint64 request_timestamp_sec = env_->NowSeconds(); in GetTokenFromRefreshTokenJson()
Doauth_client_test.cc50 uint64 NowSeconds() const override { return now; } in NowSeconds() function in tensorflow::__anond1915d000111::FakeEnv
Dcurl_http_request.cc586 const auto now = that->env_->NowSeconds(); in ProgressCallback()
Dcurl_http_request_test.cc35 uint64 NowSeconds() const override { return now_; } in NowSeconds() function in tensorflow::__anon091d911e0111::FakeEnv
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/gcs/
Dram_file_block_cache_test.cc347 [&env]() { return env->NowSeconds(); }); in TEST()
365 [&env]() { return env->NowSeconds(); }); in TEST()
450 uint64 now = Env::Default()->NowSeconds(); in TEST()
454 [&env]() { return env->NowSeconds(); }); in TEST()
479 uint64 start = Env::Default()->NowSeconds(); in TEST()
482 } while (cache.CacheSize() == 24 && Env::Default()->NowSeconds() - start < 3); in TEST()
491 start = Env::Default()->NowSeconds(); in TEST()
494 } while (cache.CacheSize() == 8 && Env::Default()->NowSeconds() - start < 3); in TEST()
Dexpiring_lru_cache_test.cc33 1, 0, [&env]() { return env->NowSeconds(); }); in TEST()
/external/tensorflow/tensorflow/core/platform/
Denv_time.h47 static uint64 NowSeconds() { return NowNanos() / kSecondsToNanos; } in NowSeconds() function
Denv.h405 virtual uint64 NowSeconds() const { return EnvTime::NowSeconds(); } in NowSeconds() function
/external/tensorflow/tensorflow/c/
Denv.cc166 return ::tensorflow::Env::Default()->NowSeconds(); in TF_NowSeconds()
/external/tensorflow/tensorflow/core/summary/
Dsummary_file_writer_test.cc36 uint64 NowSeconds() const override { return current_millis_ * 1000; } in NowSeconds() function in tensorflow::__anon3c6e0b0d0111::FakeClockEnv
Dsummary_db_writer_test.cc43 uint64 NowSeconds() const override { return current_millis_ * 1000; } in NowSeconds() function in tensorflow::__anondca54c730111::FakeClockEnv
/external/tensorflow/tensorflow/core/kernels/data/
Dcache_dataset_ops.cc429 strings::StrCat(kCreatedAt, ": ", EnvTime::NowSeconds()))); in EnsureLockFileExists()