Home
last modified time | relevance | path

Searched refs:conf (Results 1 – 25 of 1149) sorted by relevance

12345678910>>...46

/third_party/alsa-lib/src/conf/cards/
DMakefile.am3 cfg_files = aliases.conf \
4 AACI.conf \
5 ATIIXP.conf \
6 ATIIXP-SPDMA.conf \
7 ATIIXP-MODEM.conf \
8 AU8810.conf \
9 AU8820.conf \
10 AU8830.conf \
11 Audigy.conf \
12 Audigy2.conf \
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dap_config.c180 struct hostapd_config *conf; in hostapd_config_defaults() local
203 conf = os_zalloc(sizeof(*conf)); in hostapd_config_defaults()
205 if (conf == NULL || bss == NULL) { in hostapd_config_defaults()
208 os_free(conf); in hostapd_config_defaults()
212 conf->bss = os_calloc(1, sizeof(struct hostapd_bss_config *)); in hostapd_config_defaults()
213 if (conf->bss == NULL) { in hostapd_config_defaults()
214 os_free(conf); in hostapd_config_defaults()
218 conf->bss[0] = bss; in hostapd_config_defaults()
222 os_free(conf->bss); in hostapd_config_defaults()
223 os_free(conf); in hostapd_config_defaults()
[all …]
Dauthsrv.c107 struct hostapd_bss_config *conf = hapd->conf; in hostapd_setup_radius_srv() local
109 srv.client_file = conf->radius_server_clients; in hostapd_setup_radius_srv()
110 srv.auth_port = conf->radius_server_auth_port; in hostapd_setup_radius_srv()
111 srv.acct_port = conf->radius_server_acct_port; in hostapd_setup_radius_srv()
113 srv.ipv6 = conf->radius_server_ipv6; in hostapd_setup_radius_srv()
115 srv.eap_req_id_text = conf->eap_req_id_text; in hostapd_setup_radius_srv()
116 srv.eap_req_id_text_len = conf->eap_req_id_text_len; in hostapd_setup_radius_srv()
117 srv.sqlite_file = conf->eap_user_sqlite; in hostapd_setup_radius_srv()
119 srv.dump_msk_file = conf->dump_msk_file; in hostapd_setup_radius_srv()
122 srv.subscr_remediation_url = conf->subscr_remediation_url; in hostapd_setup_radius_srv()
[all …]
Dhostapd.c97 hostapd_setup_encryption(hapd->conf->iface, hapd); in hostapd_reconfig_encryption()
109 if (hapd->conf->wmm_enabled < 0) in hostapd_reload_bss()
110 hapd->conf->wmm_enabled = hapd->iconf->ieee80211n | in hostapd_reload_bss()
114 radius_client_reconfig(hapd->radius, hapd->conf->radius); in hostapd_reload_bss()
117 ssid = &hapd->conf->ssid; in hostapd_reload_bss()
124 hostapd_config_clear_wpa_psk(&hapd->conf->ssid.wpa_psk); in hostapd_reload_bss()
126 if (hostapd_setup_wpa_psk(hapd->conf)) { in hostapd_reload_bss()
131 if (hapd->conf->ieee802_1x || hapd->conf->wpa) in hostapd_reload_bss()
132 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 1); in hostapd_reload_bss()
134 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 0); in hostapd_reload_bss()
[all …]
Dwpa_auth_ie.c27 static int wpa_write_wpa_ie(struct wpa_auth_config *conf, u8 *buf, size_t len) in wpa_write_wpa_ie() argument
40 suite = wpa_cipher_to_suite(WPA_PROTO_WPA, conf->wpa_group); in wpa_write_wpa_ie()
43 conf->wpa_group); in wpa_write_wpa_ie()
52 num_suites = wpa_cipher_put_suites(pos, conf->wpa_pairwise); in wpa_write_wpa_ie()
55 conf->wpa_pairwise); in wpa_write_wpa_ie()
65 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_IEEE8021X) { in wpa_write_wpa_ie()
70 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_PSK) { in wpa_write_wpa_ie()
78 conf->wpa_key_mgmt); in wpa_write_wpa_ie()
91 static u16 wpa_own_rsn_capab(struct wpa_auth_config *conf) in wpa_own_rsn_capab() argument
95 if (conf->rsn_preauth) in wpa_own_rsn_capab()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dap_config.c158 struct hostapd_config *conf; in hostapd_config_defaults() local
181 conf = os_zalloc(sizeof(*conf)); in hostapd_config_defaults()
183 if (conf == NULL || bss == NULL) { in hostapd_config_defaults()
186 os_free(conf); in hostapd_config_defaults()
190 conf->bss = os_calloc(1, sizeof(struct hostapd_bss_config *)); in hostapd_config_defaults()
191 if (conf->bss == NULL) { in hostapd_config_defaults()
192 os_free(conf); in hostapd_config_defaults()
196 conf->bss[0] = bss; in hostapd_config_defaults()
200 os_free(conf->bss); in hostapd_config_defaults()
201 os_free(conf); in hostapd_config_defaults()
[all …]
Dauthsrv.c107 struct hostapd_bss_config *conf = hapd->conf; in hostapd_setup_radius_srv() local
109 srv.client_file = conf->radius_server_clients; in hostapd_setup_radius_srv()
110 srv.auth_port = conf->radius_server_auth_port; in hostapd_setup_radius_srv()
111 srv.acct_port = conf->radius_server_acct_port; in hostapd_setup_radius_srv()
116 srv.pac_opaque_encr_key = conf->pac_opaque_encr_key; in hostapd_setup_radius_srv()
117 srv.eap_fast_a_id = conf->eap_fast_a_id; in hostapd_setup_radius_srv()
118 srv.eap_fast_a_id_len = conf->eap_fast_a_id_len; in hostapd_setup_radius_srv()
119 srv.eap_fast_a_id_info = conf->eap_fast_a_id_info; in hostapd_setup_radius_srv()
120 srv.eap_fast_prov = conf->eap_fast_prov; in hostapd_setup_radius_srv()
121 srv.pac_key_lifetime = conf->pac_key_lifetime; in hostapd_setup_radius_srv()
[all …]
Dhw_features.c157 if (iface->conf->basic_rates) in hostapd_prepare_rates()
158 basic_rates = iface->conf->basic_rates; in hostapd_prepare_rates()
199 if (iface->conf->supported_rates && in hostapd_prepare_rates()
200 !hostapd_rate_found(iface->conf->supported_rates, in hostapd_prepare_rates()
216 (!iface->conf->ieee80211n || !iface->conf->require_ht)) { in hostapd_prepare_rates()
233 if (!iface->conf->secondary_channel) { in ieee80211n_allowed_ht40_channel_pair()
238 pri_chan = iface->conf->channel; in ieee80211n_allowed_ht40_channel_pair()
239 sec_chan = pri_chan + iface->conf->secondary_channel * 4; in ieee80211n_allowed_ht40_channel_pair()
248 if (iface->conf->secondary_channel > 0) { in ieee80211n_switch_pri_sec()
249 iface->conf->channel += 4; in ieee80211n_switch_pri_sec()
[all …]
Dhostapd.c92 hostapd_setup_encryption(hapd->conf->iface, hapd); in hostapd_reconfig_encryption()
103 if (hapd->conf->wmm_enabled < 0) in hostapd_reload_bss()
104 hapd->conf->wmm_enabled = hapd->iconf->ieee80211n; in hostapd_reload_bss()
107 radius_client_reconfig(hapd->radius, hapd->conf->radius); in hostapd_reload_bss()
110 ssid = &hapd->conf->ssid; in hostapd_reload_bss()
117 hostapd_config_clear_wpa_psk(&hapd->conf->ssid.wpa_psk); in hostapd_reload_bss()
119 if (hostapd_setup_wpa_psk(hapd->conf)) { in hostapd_reload_bss()
124 if (hapd->conf->ieee802_1x || hapd->conf->wpa) in hostapd_reload_bss()
125 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 1); in hostapd_reload_bss()
127 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 0); in hostapd_reload_bss()
[all …]
Dieee802_11_shared.c37 if (hapd->conf->assoc_sa_query_max_timeout > tu) in hostapd_eid_assoc_comeback_time()
38 timeout = hapd->conf->assoc_sa_query_max_timeout - tu; in hostapd_eid_assoc_comeback_time()
41 if (timeout < hapd->conf->assoc_sa_query_max_timeout) in hostapd_eid_assoc_comeback_time()
322 if (hapd->conf->proxy_arp) in hostapd_ext_capab_byte()
324 if (hapd->conf->coloc_intf_reporting) { in hostapd_ext_capab_byte()
330 if (hapd->conf->wnm_sleep_mode) in hostapd_ext_capab_byte()
332 if (hapd->conf->bss_transition) in hostapd_ext_capab_byte()
339 if (hapd->conf->time_advertisement == 2) in hostapd_ext_capab_byte()
341 if (hapd->conf->interworking) in hostapd_ext_capab_byte()
345 if (hapd->conf->qos_map_set_len) in hostapd_ext_capab_byte()
[all …]
/third_party/alsa-lib/src/conf/
DBUILD.gn8 ohos_prebuilt_etc("alsa-lib-prebuilt-smixer.conf") {
9 source = "smixer.conf"
15 alsa_lib_prebuilt_all += [ ":alsa-lib-prebuilt-smixer.conf" ]
17 ohos_prebuilt_etc("alsa-lib-prebuilt-alsa.conf") {
18 source = "alsa.conf"
24 alsa_lib_prebuilt_all += [ ":alsa-lib-prebuilt-alsa.conf" ]
26 ohos_prebuilt_etc("alsa-lib-prebuilt-pcm/modem.conf") {
27 source = "pcm/modem.conf"
33 alsa_lib_prebuilt_all += [ ":alsa-lib-prebuilt-pcm/modem.conf" ]
35 ohos_prebuilt_etc("alsa-lib-prebuilt-pcm/dmix.conf") {
[all …]
/third_party/openssl/crypto/conf/
Dconf_def.c45 static int is_keytype(const CONF *conf, char c, unsigned short type);
46 static char *eat_ws(CONF *conf, char *p);
47 static void trim_ws(CONF *conf, char *start);
48 static char *eat_alpha_numeric(CONF *conf, char *p);
49 static void clear_comments(CONF *conf, char *p);
50 static int str_copy(CONF *conf, char *section, char **to, char *from);
51 static char *scan_quote(CONF *conf, char *p);
52 static char *scan_dquote(CONF *conf, char *p);
53 #define scan_esc(conf,p) (((IS_EOF((conf),(p)[1]))?((p)+1):((p)+2))) argument
61 static int def_init_default(CONF *conf);
[all …]
Dconf_lib.c26 void CONF_set_nconf(CONF *conf, LHASH_OF(CONF_VALUE) *hash) in CONF_set_nconf() argument
31 default_CONF_method->init(conf); in CONF_set_nconf()
32 conf->data = hash; in CONF_set_nconf()
46 LHASH_OF(CONF_VALUE) *CONF_load(LHASH_OF(CONF_VALUE) *conf, const char *file, in LHASH_OF()
62 ltmp = CONF_load_bio(conf, in, eline); in LHASH_OF()
69 LHASH_OF(CONF_VALUE) *CONF_load_fp(LHASH_OF(CONF_VALUE) *conf, FILE *fp, in LHASH_OF()
78 ltmp = CONF_load_bio(conf, btmp, eline); in LHASH_OF()
84 LHASH_OF(CONF_VALUE) *CONF_load_bio(LHASH_OF(CONF_VALUE) *conf, BIO *bp, in LHASH_OF()
90 CONF_set_nconf(&ctmp, conf); in LHASH_OF()
98 STACK_OF(CONF_VALUE) *CONF_get_section(LHASH_OF(CONF_VALUE) *conf, in STACK_OF()
[all …]
/third_party/mesa3d/src/amd/common/
Dac_binary.c42 const struct radeon_info *info, struct ac_shader_config *conf) in ac_parse_shader_binary_config() argument
54 conf->num_vgprs = MAX2(conf->num_vgprs, (G_00B028_VGPRS(value) + 1) * 8); in ac_parse_shader_binary_config()
56 conf->num_vgprs = MAX2(conf->num_vgprs, (G_00B028_VGPRS(value) + 1) * 4); in ac_parse_shader_binary_config()
58 conf->num_sgprs = MAX2(conf->num_sgprs, (G_00B028_SGPRS(value) + 1) * 8); in ac_parse_shader_binary_config()
60 conf->float_mode = G_00B028_FLOAT_MODE(value); in ac_parse_shader_binary_config()
61 conf->rsrc1 = value; in ac_parse_shader_binary_config()
64 conf->lds_size = MAX2(conf->lds_size, G_00B02C_EXTRA_LDS_SIZE(value)); in ac_parse_shader_binary_config()
66 conf->num_shared_vgprs = G_00B02C_SHARED_VGPR_CNT(value); in ac_parse_shader_binary_config()
67 conf->rsrc2 = value; in ac_parse_shader_binary_config()
70 conf->num_shared_vgprs = G_00B12C_SHARED_VGPR_CNT(value); in ac_parse_shader_binary_config()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dmesh.c85 struct mesh_conf *conf; in mesh_config_create() local
88 conf = os_zalloc(sizeof(struct mesh_conf)); in mesh_config_create()
89 if (!conf) in mesh_config_create()
92 os_memcpy(conf->meshid, ssid->ssid, ssid->ssid_len); in mesh_config_create()
93 conf->meshid_len = ssid->ssid_len; in mesh_config_create()
96 conf->security |= MESH_CONF_SEC_AUTH | in mesh_config_create()
99 conf->security |= MESH_CONF_SEC_NONE; in mesh_config_create()
100 conf->ieee80211w = ssid->ieee80211w; in mesh_config_create()
101 if (conf->ieee80211w == MGMT_FRAME_PROTECTION_DEFAULT) { in mesh_config_create()
103 conf->ieee80211w = wpa_s->conf->pmf; in mesh_config_create()
[all …]
Dap.c49 struct hostapd_config *conf) in is_chanwidth160_supported() argument
52 if (conf->ieee80211ax) { in is_chanwidth160_supported()
72 struct hostapd_config *conf, in wpas_conf_ap_vht() argument
77 u8 channel = conf->channel; in wpas_conf_ap_vht()
81 if (!conf->secondary_channel) in wpas_conf_ap_vht()
86 hostapd_set_oper_chwidth(conf, ssid->max_oper_chwidth); in wpas_conf_ap_vht()
87 if (hostapd_get_oper_chwidth(conf)) in wpas_conf_ap_vht()
89 hostapd_get_oper_chwidth(conf), in wpas_conf_ap_vht()
90 &conf->op_class, in wpas_conf_ap_vht()
91 &conf->channel); in wpas_conf_ap_vht()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dmesh.c74 struct mesh_conf *conf; in mesh_config_create() local
77 conf = os_zalloc(sizeof(struct mesh_conf)); in mesh_config_create()
78 if (!conf) in mesh_config_create()
81 os_memcpy(conf->meshid, ssid->ssid, ssid->ssid_len); in mesh_config_create()
82 conf->meshid_len = ssid->ssid_len; in mesh_config_create()
85 conf->security |= MESH_CONF_SEC_AUTH | in mesh_config_create()
88 conf->security |= MESH_CONF_SEC_NONE; in mesh_config_create()
90 conf->ieee80211w = ssid->ieee80211w; in mesh_config_create()
91 if (conf->ieee80211w == MGMT_FRAME_PROTECTION_DEFAULT) { in mesh_config_create()
93 conf->ieee80211w = wpa_s->conf->pmf; in mesh_config_create()
[all …]
Dap.c50 struct hostapd_config *conf, in wpas_conf_ap_vht() argument
55 u8 channel = conf->channel; in wpas_conf_ap_vht()
58 if (!conf->secondary_channel) in wpas_conf_ap_vht()
63 conf->vht_oper_chwidth = ssid->max_oper_chwidth; in wpas_conf_ap_vht()
66 &conf->vht_oper_centr_freq_seg1_idx); in wpas_conf_ap_vht()
70 conf->vht_oper_chwidth == CHANWIDTH_USE_HT) in wpas_conf_ap_vht()
73 &conf->vht_oper_centr_freq_seg0_idx); in wpas_conf_ap_vht()
75 conf->vht_oper_centr_freq_seg0_idx); in wpas_conf_ap_vht()
80 switch (conf->vht_oper_chwidth) { in wpas_conf_ap_vht()
100 conf->vht_oper_chwidth = CHANWIDTH_160MHZ; in wpas_conf_ap_vht()
[all …]
/third_party/python/Lib/idlelib/idle_test/
Dtest_config.py187 conf = config.IdleConf(_utest=True)
192 for ctype in conf.config_types:
212 conf = config.IdleConf(_utest=True)
213 for ctype in conf.config_types:
214 conf.defaultCfg[ctype] = config.IdleConfParser('')
215 conf.defaultCfg[ctype].read_string(self.config_string[ctype])
216 conf.userCfg[ctype] = config.IdleUserConfParser('')
217 conf.userCfg[ctype].read_string(self.config_string[ctype])
219 return conf
224 conf = self.new_config(_utest=True)
[all …]
/third_party/node/deps/npm/test/tap/
Dconfig-credentials.js9 npmconf.load({}, function (er, conf) { argument
12 var basic = conf.getCredentialsByURI(URI)
20 npmconf.load(common.builtin, function (er, conf) { argument
24 conf.setCredentialsByURI()
32 npmconf.load(common.builtin, function (er, conf) { argument
36 conf.clearCredentialsByURI()
44 npmconf.load(common.builtin, function (er, conf) { argument
48 conf.setCredentialsByURI(URI)
56 npmconf.load(common.builtin, function (er, conf) { argument
60 conf.setCredentialsByURI(URI, {})
[all …]
/third_party/pulseaudio/src/daemon/
Dohos_pa_main.c295 static void set_all_rlimits(const pa_daemon_conf *conf) { in set_all_rlimits() argument
296 set_one_rlimit(&conf->rlimit_fsize, RLIMIT_FSIZE, "RLIMIT_FSIZE"); in set_all_rlimits()
297 set_one_rlimit(&conf->rlimit_data, RLIMIT_DATA, "RLIMIT_DATA"); in set_all_rlimits()
298 set_one_rlimit(&conf->rlimit_stack, RLIMIT_STACK, "RLIMIT_STACK"); in set_all_rlimits()
299 set_one_rlimit(&conf->rlimit_core, RLIMIT_CORE, "RLIMIT_CORE"); in set_all_rlimits()
301 set_one_rlimit(&conf->rlimit_rss, RLIMIT_RSS, "RLIMIT_RSS"); in set_all_rlimits()
304 set_one_rlimit(&conf->rlimit_nproc, RLIMIT_NPROC, "RLIMIT_NPROC"); in set_all_rlimits()
307 set_one_rlimit(&conf->rlimit_nofile, RLIMIT_NOFILE, "RLIMIT_NOFILE"); in set_all_rlimits()
310 set_one_rlimit(&conf->rlimit_memlock, RLIMIT_MEMLOCK, "RLIMIT_MEMLOCK"); in set_all_rlimits()
313 set_one_rlimit(&conf->rlimit_as, RLIMIT_AS, "RLIMIT_AS"); in set_all_rlimits()
[all …]
Dmain.c291 static void set_all_rlimits(const pa_daemon_conf *conf) { in set_all_rlimits() argument
292 set_one_rlimit(&conf->rlimit_fsize, RLIMIT_FSIZE, "RLIMIT_FSIZE"); in set_all_rlimits()
293 set_one_rlimit(&conf->rlimit_data, RLIMIT_DATA, "RLIMIT_DATA"); in set_all_rlimits()
294 set_one_rlimit(&conf->rlimit_stack, RLIMIT_STACK, "RLIMIT_STACK"); in set_all_rlimits()
295 set_one_rlimit(&conf->rlimit_core, RLIMIT_CORE, "RLIMIT_CORE"); in set_all_rlimits()
297 set_one_rlimit(&conf->rlimit_rss, RLIMIT_RSS, "RLIMIT_RSS"); in set_all_rlimits()
300 set_one_rlimit(&conf->rlimit_nproc, RLIMIT_NPROC, "RLIMIT_NPROC"); in set_all_rlimits()
303 set_one_rlimit(&conf->rlimit_nofile, RLIMIT_NOFILE, "RLIMIT_NOFILE"); in set_all_rlimits()
306 set_one_rlimit(&conf->rlimit_memlock, RLIMIT_MEMLOCK, "RLIMIT_MEMLOCK"); in set_all_rlimits()
309 set_one_rlimit(&conf->rlimit_as, RLIMIT_AS, "RLIMIT_AS"); in set_all_rlimits()
[all …]
Dcmdline.c171 int pa_cmdline_parse(pa_daemon_conf *conf, int argc, char *const argv [], int *d) { in pa_cmdline_parse() argument
176 pa_assert(conf); in pa_cmdline_parse()
182 if (conf->script_commands) in pa_cmdline_parse()
183 pa_strbuf_puts(buf, conf->script_commands); in pa_cmdline_parse()
189 conf->cmd = PA_CMD_HELP; in pa_cmdline_parse()
193 conf->cmd = PA_CMD_VERSION; in pa_cmdline_parse()
197 conf->cmd = PA_CMD_DUMP_CONF; in pa_cmdline_parse()
201 conf->cmd = PA_CMD_DUMP_MODULES; in pa_cmdline_parse()
205 conf->cmd = PA_CMD_DUMP_RESAMPLE_METHODS; in pa_cmdline_parse()
209 conf->cmd = PA_CMD_CLEANUP_SHM; in pa_cmdline_parse()
[all …]
/third_party/mesa3d/src/egl/drivers/haiku/
Degl_haiku.cpp80 _EGLConfig *conf, void *native_window, const EGLint *attrib_list) in haiku_create_window_surface() argument
92 conf, attrib_list, native_window)) { in haiku_create_window_surface()
117 _EGLConfig *conf, void *native_pixmap, const EGLint *attrib_list) in haiku_create_pixmap_surface() argument
125 _EGLConfig *conf, const EGLint *attrib_list) in haiku_create_pbuffer_surface() argument
147 struct haiku_egl_config* conf; in haiku_add_configs_for_visuals() local
148 conf = (struct haiku_egl_config*) calloc(1, sizeof (*conf)); in haiku_add_configs_for_visuals()
149 if (!conf) in haiku_add_configs_for_visuals()
152 _eglInitConfig(&conf->base, disp, 1); in haiku_add_configs_for_visuals()
155 conf->base.RedSize = 8; in haiku_add_configs_for_visuals()
156 conf->base.BlueSize = 8; in haiku_add_configs_for_visuals()
[all …]
/third_party/mesa3d/src/egl/main/
Deglconfig.c59 _eglInitConfig(_EGLConfig *conf, _EGLDisplay *disp, EGLint id) in _eglInitConfig() argument
61 memset(conf, 0, sizeof(*conf)); in _eglInitConfig()
63 conf->Display = disp; in _eglInitConfig()
66 conf->ConfigID = id; in _eglInitConfig()
67 conf->ConfigCaveat = EGL_NONE; in _eglInitConfig()
68 conf->TransparentType = EGL_NONE; in _eglInitConfig()
69 conf->NativeVisualType = EGL_NONE; in _eglInitConfig()
70 conf->ColorBufferType = EGL_RGB_BUFFER; in _eglInitConfig()
71 conf->ComponentType = EGL_COLOR_COMPONENT_TYPE_FIXED_EXT; in _eglInitConfig()
82 _eglLinkConfig(_EGLConfig *conf) in _eglLinkConfig() argument
[all …]

12345678910>>...46