Searched refs:successes (Results 1 – 2 of 2) sorted by relevance
/bionic/libc/dns/resolv/ |
D | res_stats.c | 58 android_net_res_stats_aggregate(struct __res_stats* stats, int* successes, int* errors, in android_net_res_stats_aggregate() argument 98 *successes = s; in android_net_res_stats_aggregate() 121 int successes = -1; in _res_stats_usable_server() local 127 android_net_res_stats_aggregate(stats, &successes, &errors, &timeouts, &internal_errors, in _res_stats_usable_server() 129 if (successes >= 0 && errors >= 0 && timeouts >= 0) { in _res_stats_usable_server() 130 int total = successes + errors + timeouts; in _res_stats_usable_server() 133 "= %d, rtt = %d, min_samples = %d\n", successes, errors, timeouts, internal_errors, in _res_stats_usable_server() 137 int success_rate = successes * 100 / total; in _res_stats_usable_server()
|
/bionic/libc/dns/include/ |
D | resolv_stats.h | 67 android_net_res_stats_aggregate(struct __res_stats* stats, int* successes, int* errors,
|