Home
last modified time | relevance | path

Searched refs:params (Results 1 – 14 of 14) sorted by relevance

/bionic/libc/dns/resolv/
Dres_stats.c119 _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()
Dres_cache.c1240 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 …]
Dres_send.c492 struct __res_params params; in res_nsend() local
493 int revision_id = _resolv_cache_get_resolver_stats(statp->netid, &params, stats); in res_nsend()
495 android_net_res_stats_get_usable_servers(&params, 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/
Dresolv_stats.h62 _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,
Dresolv_netid.h91 unsigned numservers, const char *domains, const struct __res_params* params) __used_in_netd;
Dresolv_private.h214 _resolv_cache_get_resolver_stats( unsigned netid, struct __res_params* params,
/bionic/tools/bionicbb/
Dbionicbb.py45 params = result['build']['parameters']
46 change_id = params['CHANGE_ID']
47 ref = params['REF']
Dpresubmit.py118 params = {
124 params['LUNCH_TARGET'] = lunch_target
126 _ = jenkins[build].invoke(build_params=params)
/bionic/libc/tools/
Dgensyscalls.py239 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/
Dfirewire.h52 __be32 params[0]; member
/bionic/libc/kernel/uapi/linux/
Datmmpc.h80 struct mpc_parameters params; member
Dedd.h190 struct edd_device_params params; member
Dkvm.h915 __u64 params; member
/bionic/libc/kernel/tools/
Dcpp.py563 params = []
574 params.append(param)
586 return ("call", (name, params))