Home
last modified time | relevance | path

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

12345678910>>...49

/third_party/uboot/u-boot-2020.01/drivers/mtd/nand/raw/
Dsunxi_nand_spl.c200 static void nand_apply_config(const struct nfc_config *conf) in nand_apply_config() argument
208 writel(val | NFC_CTL_RAM_METHOD | NFC_CTL_PAGE_SIZE(conf->page_size), in nand_apply_config()
210 writel(conf->ecc_size, SUNXI_NFC_BASE + NFC_CNT); in nand_apply_config()
211 writel(conf->page_size, SUNXI_NFC_BASE + NFC_SPARE_AREA); in nand_apply_config()
214 static int nand_load_page(const struct nfc_config *conf, u32 offs) in nand_load_page() argument
216 int page = offs / conf->page_size; in nand_load_page()
227 ((conf->addr_cycles - 1) << NFC_ADDR_NUM_OFFSET)); in nand_load_page()
254 static int nand_read_page(const struct nfc_config *conf, u32 offs, in nand_read_page() argument
257 int nsectors = len / conf->ecc_size; in nand_read_page()
259 int oob_chunk_sz = ecc_bytes[conf->ecc_strength]; in nand_read_page()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
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 …]
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 …]
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 …]
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 …]
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 …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
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 …]
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 …]
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 …]
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 …]
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 …]
/third_party/openssl/crypto/conf/
Dconf_lib.c25 void CONF_set_nconf(CONF *conf, LHASH_OF(CONF_VALUE) *hash) in CONF_set_nconf() argument
30 default_CONF_method->init(conf); in CONF_set_nconf()
31 conf->data = hash; in CONF_set_nconf()
45 LHASH_OF(CONF_VALUE) *CONF_load(LHASH_OF(CONF_VALUE) *conf, const char *file, in LHASH_OF()
61 ltmp = CONF_load_bio(conf, in, eline); in LHASH_OF()
68 LHASH_OF(CONF_VALUE) *CONF_load_fp(LHASH_OF(CONF_VALUE) *conf, FILE *fp, in LHASH_OF()
77 ltmp = CONF_load_bio(conf, btmp, eline); in LHASH_OF()
83 LHASH_OF(CONF_VALUE) *CONF_load_bio(LHASH_OF(CONF_VALUE) *conf, BIO *bp, in LHASH_OF()
89 CONF_set_nconf(&ctmp, conf); in LHASH_OF()
97 STACK_OF(CONF_VALUE) *CONF_get_section(LHASH_OF(CONF_VALUE) *conf, in STACK_OF()
[all …]
Dconf_def.c40 static int is_keytype(const CONF *conf, char c, unsigned short type);
41 static char *eat_ws(CONF *conf, char *p);
42 static void trim_ws(CONF *conf, char *start);
43 static char *eat_alpha_numeric(CONF *conf, char *p);
44 static void clear_comments(CONF *conf, char *p);
45 static int str_copy(CONF *conf, char *section, char **to, char *from);
46 static char *scan_quote(CONF *conf, char *p);
47 static char *scan_dquote(CONF *conf, char *p);
48 #define scan_esc(conf,p) (((IS_EOF((conf),(p)[1]))?((p)+1):((p)+2))) argument
56 static int def_init_default(CONF *conf);
[all …]
Dconf_def.h29 #define IS_COMMENT(conf,c) is_keytype(conf, c, CONF_COMMENT) argument
30 #define IS_FCOMMENT(conf,c) is_keytype(conf, c, CONF_FCOMMENT) argument
31 #define IS_EOF(conf,c) is_keytype(conf, c, CONF_EOF) argument
32 #define IS_ESC(conf,c) is_keytype(conf, c, CONF_ESC) argument
33 #define IS_NUMBER(conf,c) is_keytype(conf, c, CONF_NUMBER) argument
34 #define IS_WS(conf,c) is_keytype(conf, c, CONF_WS) argument
35 #define IS_ALNUM(conf,c) is_keytype(conf, c, CONF_ALNUM) argument
36 #define IS_ALNUM_PUNCT(conf,c) is_keytype(conf, c, CONF_ALNUM_PUNCT) argument
37 #define IS_QUOTE(conf,c) is_keytype(conf, c, CONF_QUOTE) argument
38 #define IS_DQUOTE(conf,c) is_keytype(conf, c, CONF_DQUOTE) argument
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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 …]
/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/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/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/uboot/u-boot-2020.01/scripts/kconfig/tests/choice/
D__init__.py13 def test_oldask0(conf): argument
14 assert conf.oldaskconfig() == 0
15 assert conf.stdout_contains('oldask0_expected_stdout')
18 def test_oldask1(conf): argument
19 assert conf.oldaskconfig('oldask1_config') == 0
20 assert conf.stdout_contains('oldask1_expected_stdout')
23 def test_allyes(conf): argument
24 assert conf.allyesconfig() == 0
25 assert conf.config_contains('allyes_expected_config')
28 def test_allmod(conf): argument
[all …]
/third_party/pulseaudio/src/daemon/
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 …]
Dohos_pa_main.c296 static void set_all_rlimits(const pa_daemon_conf *conf) { in set_all_rlimits() argument
297 set_one_rlimit(&conf->rlimit_fsize, RLIMIT_FSIZE, "RLIMIT_FSIZE"); in set_all_rlimits()
298 set_one_rlimit(&conf->rlimit_data, RLIMIT_DATA, "RLIMIT_DATA"); in set_all_rlimits()
299 set_one_rlimit(&conf->rlimit_stack, RLIMIT_STACK, "RLIMIT_STACK"); in set_all_rlimits()
300 set_one_rlimit(&conf->rlimit_core, RLIMIT_CORE, "RLIMIT_CORE"); in set_all_rlimits()
302 set_one_rlimit(&conf->rlimit_rss, RLIMIT_RSS, "RLIMIT_RSS"); in set_all_rlimits()
305 set_one_rlimit(&conf->rlimit_nproc, RLIMIT_NPROC, "RLIMIT_NPROC"); in set_all_rlimits()
308 set_one_rlimit(&conf->rlimit_nofile, RLIMIT_NOFILE, "RLIMIT_NOFILE"); in set_all_rlimits()
311 set_one_rlimit(&conf->rlimit_memlock, RLIMIT_MEMLOCK, "RLIMIT_MEMLOCK"); in set_all_rlimits()
314 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 …]
/third_party/boringssl/src/crypto/conf/
Dconf.c107 CONF *conf; in NCONF_new() local
113 conf = OPENSSL_malloc(sizeof(CONF)); in NCONF_new()
114 if (conf == NULL) { in NCONF_new()
118 conf->data = lh_CONF_VALUE_new(conf_value_hash, conf_value_cmp); in NCONF_new()
119 if (conf->data == NULL) { in NCONF_new()
120 OPENSSL_free(conf); in NCONF_new()
124 return conf; in NCONF_new()
158 void NCONF_free(CONF *conf) { in NCONF_free() argument
159 if (conf == NULL || conf->data == NULL) { in NCONF_free()
163 lh_CONF_VALUE_doall(conf->data, value_free); in NCONF_free()
[all …]
/third_party/openssl/include/openssl/
Dconf.h40 int (*init) (CONF *conf);
41 int (*destroy) (CONF *conf);
42 int (*destroy_data) (CONF *conf);
43 int (*load_bio) (CONF *conf, BIO *bp, long *eline);
44 int (*dump) (const CONF *conf, BIO *bp);
45 int (*is_number) (const CONF *conf, char c);
46 int (*to_int) (const CONF *conf, char c);
47 int (*load) (CONF *conf, const char *name, long *eline);
70 void CONF_set_nconf(CONF *conf, LHASH_OF(CONF_VALUE) *hash);
71 LHASH_OF(CONF_VALUE) *CONF_load(LHASH_OF(CONF_VALUE) *conf, const char *file,
[all …]

12345678910>>...49