Home
last modified time | relevance | path

Searched refs:params (Results 1 – 23 of 23) 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()
724 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.py174 def count_arm_param_registers(params): argument
189 for param in params:
199 def count_generic_param_registers(params): argument
201 for param in params:
209 def count_generic_param_registers64(params): argument
211 for param in params:
404 params = ','.join(syscall_params)
407 params = "void"
414 "decl" : "%-15s %s (%s);" % (return_type, syscall_func, params),
/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.h201 _resolv_cache_get_resolver_stats( unsigned netid, struct __res_params* params,
/bionic/libc/kernel/uapi/linux/
Dtee.h85 struct tee_ioctl_param params[]; member
95 struct tee_ioctl_param params[]; member
110 struct tee_ioctl_param params[]; member
116 struct tee_ioctl_param params[]; member
Dfsl_mc.h25 __le64 params[MC_CMD_NUM_OF_PARAMS]; member
Datmmpc.h68 struct mpc_parameters params; member
Dedd.h156 struct edd_device_params params; member
Drkisp1-config.h400 struct rkisp1_cif_isp_stat params; member
Dkvm.h149 __u64 params[2]; member
171 __u64 params[6]; member
1037 __u64 params; member
/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.cpp400 std::vector<std::pair<std::string, std::string>> params; in get_paths() local
401 params.push_back({ "LIB", kLibPath }); in get_paths()
405 params.push_back({ "SDK_VER", buf }); in get_paths()
409 params.push_back({ "VNDK_VER", vndk_ver }); in get_paths()
411 params.push_back({ "VNDK_APEX_VER", vndk_apex_ver }); in get_paths()
414 format_string(&path, params); in get_paths()
Dlinker_utils.h36 void format_string(std::string* str, const std::vector<std::pair<std::string, std::string>>& params
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_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/sound/
Dfirewire.h49 __be32 params[]; member
Dskl-tplg-interface.h113 char params[]; member
/bionic/libc/kernel/uapi/drm/
Ddrm_fourcc.h210 #define fourcc_mod_broadcom_code(val,params) fourcc_mod_code(BROADCOM, ((((__u64) params) << __four… argument
/bionic/libc/kernel/tools/
Dcpp.py542 params = []
553 params.append(param)
565 return ("call", (name, params))
/bionic/tests/
Dmalloc_test.cpp714 std::vector<std::pair<int, std::string>> params{ in TEST() local
728 for (const auto& param : params) { in TEST()