Home
last modified time | relevance | path

Searched refs:out_clock (Results 1 – 5 of 5) sorted by relevance

/external/boringssl/src/ssl/
Dssl_lib.cc406 void ssl_get_current_time(const SSL *ssl, struct OPENSSL_timeval *out_clock) { in ssl_get_current_time() argument
409 ssl_ctx_get_current_time(ssl->ctx.get(), out_clock); in ssl_get_current_time()
413 struct OPENSSL_timeval *out_clock) { in ssl_ctx_get_current_time() argument
421 out_clock->tv_sec = 0; in ssl_ctx_get_current_time()
422 out_clock->tv_usec = 0; in ssl_ctx_get_current_time()
424 out_clock->tv_sec = (uint64_t)clock.tv_sec; in ssl_ctx_get_current_time()
425 out_clock->tv_usec = (uint32_t)clock.tv_usec; in ssl_ctx_get_current_time()
431 out_clock->tv_sec = 1234; in ssl_ctx_get_current_time()
432 out_clock->tv_usec = 1234; in ssl_ctx_get_current_time()
438 out_clock->tv_sec = 0; in ssl_ctx_get_current_time()
[all …]
Dinternal.h2846 void ssl_get_current_time(const SSL *ssl, struct OPENSSL_timeval *out_clock);
2848 struct OPENSSL_timeval *out_clock);
3103 void (*current_time_cb)(const SSL *ssl, struct timeval *out_clock) = nullptr;
Dssl_test.cc2238 static void CurrentTimeCallback(const SSL *ssl, timeval *out_clock) { in CurrentTimeCallback() argument
2239 *out_clock = g_current_time; in CurrentTimeCallback()
2242 static void FrozenTimeCallback(const SSL *ssl, timeval *out_clock) { in FrozenTimeCallback() argument
2243 out_clock->tv_sec = 1000; in FrozenTimeCallback()
2244 out_clock->tv_usec = 0; in FrozenTimeCallback()
/external/boringssl/src/ssl/test/
Dtest_config.cc603 static void CurrentTimeCallback(const SSL *ssl, timeval *out_clock) { in CurrentTimeCallback() argument
604 *out_clock = *GetClock(); in CurrentTimeCallback()
/external/boringssl/src/include/openssl/
Dssl.h3497 SSL_CTX *ctx, void (*cb)(const SSL *ssl, struct timeval *out_clock));