Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
Dresolv_private.h199 Dest saturate_cast(int64_t x) { in saturate_cast() function
Dres_send.cpp454 const int32_t cacheLatencyUs = saturate_cast<int32_t>(cacheStopwatch.timeTakenUs()); in res_nsend()
481 mDnsQueryEvent->set_latency_micros(saturate_cast<int32_t>(queryStopwatch.timeTakenUs())); in res_nsend()
628 (actualNs == ns) ? saturate_cast<int32_t>(queryStopwatch.timeTakenUs()) : -1); in res_nsend()
1391 dnsQueryEvent->set_latency_micros(saturate_cast<int32_t>(queryStopwatch.timeTakenUs())); in res_doh_send()
DDnsProxyListener.cpp941 const int32_t latencyUs = saturate_cast<int32_t>(s.timeTakenUs()); in run()
1151 const int32_t latencyUs = saturate_cast<int32_t>(s.timeTakenUs()); in run()
1357 const int32_t latencyUs = saturate_cast<int32_t>(s.timeTakenUs()); in run()
1526 const int32_t latencyUs = saturate_cast<int32_t>(s.timeTakenUs()); in run()
DDnsTlsDispatcher.cpp133 dnsQueryEvent->set_latency_micros(saturate_cast<int32_t>(queryStopwatch.timeTakenUs())); in query()