/external/webrtc/rtc_base/ |
D | rtc_certificate_unittest.cc | 50 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/ |
D | ram_file_block_cache.cc | 30 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()
|
D | google_auth_provider_test.cc | 38 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()
|
D | expiring_lru_cache.h | 129 if (env_->NowSeconds() - it->second.timestamp > max_age_) { in LookupLocked() 142 Entry entry{env_->NowSeconds(), value, lru_list_.begin()}; in InsertLocked()
|
D | google_auth_provider.cc | 143 const uint64 now_sec = env_->NowSeconds(); in GetToken() 239 const uint64 request_timestamp_sec = env_->NowSeconds(); in GetTokenFromGce()
|
D | now_seconds_env.h | 31 uint64 NowSeconds() const override { in NowSeconds() function
|
D | ram_file_block_cache_test.cc | 434 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()
|
D | gcs_throttle.cc | 31 : EnvTime::NowSeconds()), in GcsThrottle()
|
D | oauth_client.cc | 208 const uint64 request_timestamp_sec = env_->NowSeconds(); in GetTokenFromServiceAccountJson() 252 const uint64 request_timestamp_sec = env_->NowSeconds(); in GetTokenFromRefreshTokenJson()
|
D | oauth_client_test.cc | 50 uint64 NowSeconds() const override { return now; } in NowSeconds() function in tensorflow::__anond1915d000111::FakeEnv
|
D | curl_http_request.cc | 586 const auto now = that->env_->NowSeconds(); in ProgressCallback()
|
D | curl_http_request_test.cc | 35 uint64 NowSeconds() const override { return now_; } in NowSeconds() function in tensorflow::__anon091d911e0111::FakeEnv
|
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/gcs/ |
D | ram_file_block_cache_test.cc | 347 [&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()
|
D | expiring_lru_cache_test.cc | 33 1, 0, [&env]() { return env->NowSeconds(); }); in TEST()
|
/external/tensorflow/tensorflow/core/platform/ |
D | env_time.h | 47 static uint64 NowSeconds() { return NowNanos() / kSecondsToNanos; } in NowSeconds() function
|
D | env.h | 405 virtual uint64 NowSeconds() const { return EnvTime::NowSeconds(); } in NowSeconds() function
|
/external/tensorflow/tensorflow/c/ |
D | env.cc | 166 return ::tensorflow::Env::Default()->NowSeconds(); in TF_NowSeconds()
|
/external/tensorflow/tensorflow/core/summary/ |
D | summary_file_writer_test.cc | 36 uint64 NowSeconds() const override { return current_millis_ * 1000; } in NowSeconds() function in tensorflow::__anon3c6e0b0d0111::FakeClockEnv
|
D | summary_db_writer_test.cc | 43 uint64 NowSeconds() const override { return current_millis_ * 1000; } in NowSeconds() function in tensorflow::__anondca54c730111::FakeClockEnv
|
/external/tensorflow/tensorflow/core/kernels/data/ |
D | cache_dataset_ops.cc | 429 strings::StrCat(kCreatedAt, ": ", EnvTime::NowSeconds()))); in EnsureLockFileExists()
|