Searched refs:saturate_cast (Results 1 – 4 of 4) sorted by relevance
199 Dest saturate_cast(int64_t x) { in saturate_cast() function
454 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()
941 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()
133 dnsQueryEvent->set_latency_micros(saturate_cast<int32_t>(queryStopwatch.timeTakenUs())); in query()