Searched refs:params (Results 1 – 14 of 14) sorted by relevance
/bionic/libc/dns/resolv/ |
D | res_stats.c | 119 _res_stats_usable_server(const struct __res_params* params, struct __res_stats* stats) { in _res_stats_usable_server() argument 133 total, rtt_avg, params->min_samples); in _res_stats_usable_server() 135 if (total >= params->min_samples && (errors > 0 || timeouts > 0)) { in _res_stats_usable_server() 140 if (success_rate < params->success_threshold) { in _res_stats_usable_server() 144 if (now - last_sample_time > params->sample_validity) { in _res_stats_usable_server() 167 android_net_res_stats_get_usable_servers(const struct __res_params* params, in android_net_res_stats_get_usable_servers() argument 171 bool usable = _res_stats_usable_server(params, &stats[ns]); in android_net_res_stats_get_usable_servers()
|
D | res_cache.c | 1240 struct __res_params params; member 1944 _resolv_set_default_params(struct __res_params* params) { in _resolv_set_default_params() argument 1945 params->sample_validity = NSSAMPLE_VALIDITY; in _resolv_set_default_params() 1946 params->success_threshold = SUCCESS_THRESHOLD; in _resolv_set_default_params() 1947 params->min_samples = 0; in _resolv_set_default_params() 1948 params->max_samples = 0; in _resolv_set_default_params() 1953 const char *domains, const struct __res_params* params) in _resolv_set_nameservers_for_net() argument 1995 uint8_t old_max_samples = cache_info->params.max_samples; in _resolv_set_nameservers_for_net() 1996 if (params != NULL) { in _resolv_set_nameservers_for_net() 1997 cache_info->params = *params; in _resolv_set_nameservers_for_net() [all …]
|
D | res_send.c | 492 struct __res_params params; in res_nsend() local 493 int revision_id = _resolv_cache_get_resolver_stats(statp->netid, ¶ms, stats); in res_nsend() 495 android_net_res_stats_get_usable_servers(¶ms, stats, statp->nscount, in res_nsend() 564 ns, &sample, params.max_samples); in res_nsend() 591 ns, &sample, params.max_samples); in res_nsend()
|
/bionic/libc/dns/include/ |
D | resolv_stats.h | 62 _res_stats_usable_server(const struct __res_params* params, struct __res_stats* stats); 74 struct __res_params* params, struct __res_stats stats[MAXNS]) 79 android_net_res_stats_get_usable_servers(const struct __res_params* params,
|
D | resolv_netid.h | 91 unsigned numservers, const char *domains, const struct __res_params* params) __used_in_netd;
|
D | resolv_private.h | 214 _resolv_cache_get_resolver_stats( unsigned netid, struct __res_params* params,
|
/bionic/tools/bionicbb/ |
D | bionicbb.py | 45 params = result['build']['parameters'] 46 change_id = params['CHANGE_ID'] 47 ref = params['REF']
|
D | presubmit.py | 118 params = { 124 params['LUNCH_TARGET'] = lunch_target 126 _ = jenkins[build].invoke(build_params=params)
|
/bionic/libc/tools/ |
D | gensyscalls.py | 239 def count_arm_param_registers(params): argument 254 for param in params: 264 def count_generic_param_registers(params): argument 266 for param in params: 274 def count_generic_param_registers64(params): argument 276 for param in params: 472 params = string.join(syscall_params,',') 475 params = "void" 482 "decl" : "%-15s %s (%s);" % (return_type, syscall_func, params),
|
/bionic/libc/kernel/uapi/sound/ |
D | firewire.h | 52 __be32 params[0]; member
|
/bionic/libc/kernel/uapi/linux/ |
D | atmmpc.h | 80 struct mpc_parameters params; member
|
D | edd.h | 190 struct edd_device_params params; member
|
D | kvm.h | 915 __u64 params; member
|
/bionic/libc/kernel/tools/ |
D | cpp.py | 563 params = [] 574 params.append(param) 586 return ("call", (name, params))
|