Home
last modified time | relevance | path

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

/external/rust/crates/quiche/deps/boringssl/src/ssl/test/
Dtest_state.cc28 static timeval g_clock = { 1234, 1234 }; variable
44 return &g_clock; in GetClock()
49 g_clock.tv_sec += seconds; in AdvanceClock()
141 !CBB_add_asn1_uint64(&out, g_clock.tv_sec) || in Serialize()
142 !CBB_add_asn1_uint64(&out, g_clock.tv_usec) || in Serialize()
177 g_clock.tv_sec = sec; in Deserialize()
178 g_clock.tv_usec = usec; in Deserialize()
/external/boringssl/src/ssl/test/
Dtest_state.cc28 static timeval g_clock = { 1234, 1234 }; variable
44 return &g_clock; in GetClock()
49 g_clock.tv_sec += seconds; in AdvanceClock()
141 !CBB_add_asn1_uint64(&out, g_clock.tv_sec) || in Serialize()
142 !CBB_add_asn1_uint64(&out, g_clock.tv_usec) || in Serialize()
177 g_clock.tv_sec = sec; in Deserialize()
178 g_clock.tv_usec = usec; in Deserialize()
/external/webrtc/rtc_base/
Dtime_utils.cc36 ClockInterface* g_clock = nullptr; variable
39 ClockInterface* prev = g_clock; in SetClockForTesting()
40 g_clock = clock; in SetClockForTesting()
45 return g_clock; in GetClockForTesting()
204 if (g_clock) { in TimeNanos()
205 return g_clock->TimeNanos(); in TimeNanos()
304 if (g_clock) { in TimeUTCMicros()
305 return g_clock->TimeNanos() / kNumNanosecsPerMicrosec; in TimeUTCMicros()
/external/grpc-grpc/test/core/transport/
Dbdp_estimator_test.cc39 int g_clock = 0; variable
43 ts.tv_sec = g_clock; in fake_gpr_now()
49 void inc_time(void) { g_clock += 30; } in inc_time()