Home
last modified time | relevance | path

Searched refs:thread_local_time_source_ (Results 1 – 4 of 4) sorted by relevance

/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/src/core/lib/gprpp/
Dtime.h91 ScopedSource() : previous_(thread_local_time_source_) { in ScopedSource()
92 thread_local_time_source_ = this; in ScopedSource()
99 ~ScopedSource() { thread_local_time_source_ = previous_; } in ~ScopedSource()
115 static Timestamp Now() { return thread_local_time_source_->Now(); } in Now()
163 static thread_local Timestamp::Source* thread_local_time_source_; variable
Dtime.cc153 thread_local Timestamp::Source* Timestamp::thread_local_time_source_{
/aosp_15_r20/external/grpc-grpc/src/core/lib/gprpp/
H A Dtime.h104 ScopedSource() : previous_(thread_local_time_source_) { in ScopedSource()
105 thread_local_time_source_ = this; in ScopedSource()
112 ~ScopedSource() { thread_local_time_source_ = previous_; } in ~ScopedSource()
128 static Timestamp Now() { return thread_local_time_source_->Now(); } in Now()
176 static thread_local Timestamp::Source* thread_local_time_source_; variable
H A Dtime.cc152 thread_local Timestamp::Source* Timestamp::thread_local_time_source_{