Home
last modified time | relevance | path

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

/bionic/libc/dns/resolv/
Dres_stats.c120 _res_stats_usable_server(const struct __res_params* params, struct __res_stats* stats) { in _res_stats_usable_server() argument
134 total, rtt_avg, params->min_samples); in _res_stats_usable_server()
136 if (total >= params->min_samples && (errors > 0 || timeouts > 0)) { in _res_stats_usable_server()
142 if (success_rate < params->success_threshold) { in _res_stats_usable_server()
146 if (now - last_sample_time > params->sample_validity) { in _res_stats_usable_server()
169 android_net_res_stats_get_usable_servers(const struct __res_params* params, in android_net_res_stats_get_usable_servers() argument
173 bool usable = _res_stats_usable_server(params, &stats[ns]); in android_net_res_stats_get_usable_servers()
Dres_send.c141 static int send_vc(res_state, struct __res_params *params, const u_char *, int,
143 static int send_dg(res_state, struct __res_params *params, const u_char *, int,
482 struct __res_params params; in res_nsend() local
483 int revision_id = _resolv_cache_get_resolver_stats(statp->netid, &params, stats); in res_nsend()
485 android_net_res_stats_get_usable_servers(&params, stats, statp->nscount, in res_nsend()
546 n = send_vc(statp, &params, buf, buflen, ans, anssiz, &terrno, in res_nsend()
558 ns, &sample, params.max_samples); in res_nsend()
577 n = send_dg(statp, &params, buf, buflen, ans, anssiz, &terrno, in res_nsend()
585 ns, &sample, params.max_samples); in res_nsend()
727 static struct timespec get_timeout(const res_state statp, const struct __res_params* params, const … in get_timeout() argument
[all …]
Dres_cache.c1296 struct __res_params params; member
1993 _resolv_set_default_params(struct __res_params* params) { in _resolv_set_default_params() argument
1994 params->sample_validity = NSSAMPLE_VALIDITY; in _resolv_set_default_params()
1995 params->success_threshold = SUCCESS_THRESHOLD; in _resolv_set_default_params()
1996 params->min_samples = 0; in _resolv_set_default_params()
1997 params->max_samples = 0; in _resolv_set_default_params()
1998 params->base_timeout_msec = 0; // 0 = legacy algorithm in _resolv_set_default_params()
2003 const char *domains, const struct __res_params* params) in _resolv_set_nameservers_for_net() argument
2045 uint8_t old_max_samples = cache_info->params.max_samples; in _resolv_set_nameservers_for_net()
2046 if (params != NULL) { in _resolv_set_nameservers_for_net()
[all …]
/bionic/libc/tools/
Dgensyscalls.py157 def count_arm_param_registers(params): argument
172 for param in params:
182 def count_generic_param_registers(params): argument
184 for param in params:
192 def count_generic_param_registers64(params): argument
194 for param in params:
381 params = string.join(syscall_params,',')
384 params = "void"
391 "decl" : "%-15s %s (%s);" % (return_type, syscall_func, params),
/bionic/libc/kernel/uapi/linux/
Dtee.h82 struct tee_ioctl_param params[]; member
92 struct tee_ioctl_param params[]; member
107 struct tee_ioctl_param params[]; member
113 struct tee_ioctl_param params[]; member
Datmmpc.h68 struct mpc_parameters params; member
Dedd.h156 struct edd_device_params params; member
Dkvm.h151 __u64 params[2]; member
887 __u64 params; member
/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.h99 unsigned numservers, const char *domains, const struct __res_params* params) __used_in_netd;
Dresolv_private.h200 _resolv_cache_get_resolver_stats( unsigned netid, struct __res_params* params,
/bionic/linker/
Dlinker_utils_test.cpp38 std::vector<std::pair<std::string, std::string>> params = {{ "LIB", "lib32"}, { "SDKVER", "42"}}; in TEST() local
40 format_string(&str_smoke, params); in TEST()
Dlinker_config.cpp399 std::vector<std::pair<std::string, std::string>> params; in get_paths() local
400 params.push_back({ "LIB", kLibPath }); in get_paths()
404 params.push_back({ "SDK_VER", buf }); in get_paths()
408 params.push_back({ "VNDK_VER", vndk_ver }); in get_paths()
410 params.push_back({ "VNDK_APEX_VER", vndk_apex_ver }); in get_paths()
413 format_string(&path, params); in get_paths()
Dlinker_utils.cpp39 void format_string(std::string* str, const std::vector<std::pair<std::string, std::string>>& params in format_string() argument
44 for (const auto& param : params) { in format_string()
Dlinker_utils.h36 void format_string(std::string* str, const std::vector<std::pair<std::string, std::string>>& params
Dlinker_soinfo.cpp251 std::vector<std::pair<std::string, std::string>> params = { in set_dt_runpath() local
256 format_string(&s, params); in set_dt_runpath()
/bionic/libc/kernel/uapi/drm/
Ddrm_fourcc.h170 #define fourcc_mod_broadcom_code(val,params) fourcc_mod_code(BROADCOM, ((((__u64) params) << __four… argument
/bionic/libc/kernel/uapi/sound/
Dfirewire.h48 __be32 params[0]; member
Dskl-tplg-interface.h111 char params[0]; member
/bionic/libc/kernel/tools/
Dcpp.py537 params = []
548 params.append(param)
560 return ("call", (name, params))