/external/u-boot/drivers/mtd/nand/ |
D | sunxi_nand_spl.c | 200 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 …]
|
/external/wpa_supplicant_8/src/ap/ |
D | ap_config.c | 150 struct hostapd_config *conf; in hostapd_config_defaults() local 173 conf = os_zalloc(sizeof(*conf)); in hostapd_config_defaults() 175 if (conf == NULL || bss == NULL) { in hostapd_config_defaults() 178 os_free(conf); in hostapd_config_defaults() 182 conf->bss = os_calloc(1, sizeof(struct hostapd_bss_config *)); in hostapd_config_defaults() 183 if (conf->bss == NULL) { in hostapd_config_defaults() 184 os_free(conf); in hostapd_config_defaults() 188 conf->bss[0] = bss; in hostapd_config_defaults() 192 os_free(conf->bss); in hostapd_config_defaults() 193 os_free(conf); in hostapd_config_defaults() [all …]
|
D | authsrv.c | 107 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 …]
|
D | ieee802_11_shared.c | 37 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 …]
|
D | hw_features.c | 157 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() 232 pri_chan = iface->conf->channel; in ieee80211n_allowed_ht40_channel_pair() 233 sec_chan = pri_chan + iface->conf->secondary_channel * 4; in ieee80211n_allowed_ht40_channel_pair() 242 if (iface->conf->secondary_channel > 0) { in ieee80211n_switch_pri_sec() 243 iface->conf->channel += 4; in ieee80211n_switch_pri_sec() 244 iface->conf->secondary_channel = -1; in ieee80211n_switch_pri_sec() [all …]
|
D | hostapd.c | 87 hostapd_setup_encryption(hapd->conf->iface, hapd); in hostapd_reconfig_encryption() 98 if (hapd->conf->wmm_enabled < 0) in hostapd_reload_bss() 99 hapd->conf->wmm_enabled = hapd->iconf->ieee80211n; in hostapd_reload_bss() 102 radius_client_reconfig(hapd->radius, hapd->conf->radius); in hostapd_reload_bss() 105 ssid = &hapd->conf->ssid; in hostapd_reload_bss() 112 hostapd_config_clear_wpa_psk(&hapd->conf->ssid.wpa_psk); in hostapd_reload_bss() 114 if (hostapd_setup_wpa_psk(hapd->conf)) { in hostapd_reload_bss() 119 if (hapd->conf->ieee802_1x || hapd->conf->wpa) in hostapd_reload_bss() 120 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 1); in hostapd_reload_bss() 122 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 0); in hostapd_reload_bss() [all …]
|
D | wpa_auth_ie.c | 27 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 int wpa_write_rsn_ie(struct wpa_auth_config *conf, u8 *buf, size_t len, in wpa_write_rsn_ie() argument 105 suite = wpa_cipher_to_suite(WPA_PROTO_RSN, conf->wpa_group); in wpa_write_rsn_ie() [all …]
|
D | beacon.c | 45 if (hapd->conf->radio_measurements[i]) in hostapd_eid_rm_enabled_capab() 54 os_memcpy(eid, hapd->conf->radio_measurements, RRM_CAPABILITIES_IE_LEN); in hostapd_eid_rm_enabled_capab() 66 if (hapd->conf->bss_load_test_set) { in hostapd_eid_bss_load() 69 os_memcpy(eid, hapd->conf->bss_load_test, 5); in hostapd_eid_bss_load() 74 if (hapd->conf->bss_load_update_period) { in hostapd_eid_bss_load() 390 if (hapd->conf->vendor_elements) in hostapd_gen_probe_resp() 391 buflen += wpabuf_len(hapd->conf->vendor_elements); in hostapd_gen_probe_resp() 392 if (hapd->conf->vendor_vht) { in hostapd_gen_probe_resp() 430 *pos++ = hapd->conf->ssid.ssid_len; in hostapd_gen_probe_resp() 431 os_memcpy(pos, hapd->conf->ssid.ssid, hapd->conf->ssid.ssid_len); in hostapd_gen_probe_resp() [all …]
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
D | test_config.py | 200 conf = config.IdleConf(_utest=True) 205 for ctype in conf.config_types: 225 conf = config.IdleConf(_utest=True) 226 for ctype in conf.config_types: 227 conf.defaultCfg[ctype] = config.IdleConfParser('') 228 conf.defaultCfg[ctype].read_string(self.config_string[ctype]) 229 conf.userCfg[ctype] = config.IdleUserConfParser('') 230 conf.userCfg[ctype].read_string(self.config_string[ctype]) 232 return conf 237 conf = self.new_config(_utest=True) [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | mesh.c | 74 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 …]
|
D | ap.c | 50 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 == VHT_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 = VHT_CHANWIDTH_160MHZ; in wpas_conf_ap_vht() [all …]
|
/external/boringssl/src/crypto/conf/ |
D | conf.c | 107 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 …]
|
/external/mesa3d/src/egl/drivers/haiku/ |
D | egl_haiku.cpp | 79 _EGLConfig *conf, void *native_window, const EGLint *attrib_list) in haiku_create_window_surface() argument 91 conf, attrib_list)) { in haiku_create_window_surface() 116 _EGLConfig *conf, void *native_pixmap, const EGLint *attrib_list) in haiku_create_pixmap_surface() argument 124 _EGLConfig *conf, const EGLint *attrib_list) in haiku_create_pbuffer_surface() argument 146 struct haiku_egl_config* conf; in haiku_add_configs_for_visuals() local 147 conf = (struct haiku_egl_config*) calloc(1, sizeof (*conf)); in haiku_add_configs_for_visuals() 148 if (!conf) in haiku_add_configs_for_visuals() 151 _eglInitConfig(&conf->base, dpy, 1); in haiku_add_configs_for_visuals() 154 _eglSetConfigKey(&conf->base, EGL_RED_SIZE, 8); in haiku_add_configs_for_visuals() 155 _eglSetConfigKey(&conf->base, EGL_BLUE_SIZE, 8); in haiku_add_configs_for_visuals() [all …]
|
/external/mesa3d/src/egl/main/ |
D | eglconfig.c | 59 _eglInitConfig(_EGLConfig *conf, _EGLDisplay *dpy, EGLint id) in _eglInitConfig() argument 61 memset(conf, 0, sizeof(*conf)); in _eglInitConfig() 63 conf->Display = dpy; 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 …]
|
/external/u-boot/scripts/kconfig/tests/choice/ |
D | __init__.py | 13 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 …]
|
/external/selinux/libsemanage/src/ |
D | conf-parse.y | 338 static int semanage_conf_init(semanage_conf_t * conf) 340 conf->store_type = SEMANAGE_CON_DIRECT; 341 conf->store_path = strdup(basename(selinux_policy_root())); 342 conf->ignoredirs = NULL; 343 conf->store_root_path = strdup("/var/lib/selinux"); 344 conf->compiler_directory_path = strdup("/usr/libexec/selinux/hll"); 345 conf->policyvers = sepol_policy_kern_vers_max(); 346 conf->target_platform = SEPOL_TARGET_SELINUX; 347 conf->expand_check = 1; 348 conf->handle_unknown = -1; [all …]
|
/external/u-boot/scripts/kconfig/ |
D | streamline_config.pl | 105 foreach my $conf (@searchconfigs) { 106 my $file = $conf->{"file"}; 110 if (defined($conf->{"test"})) { 111 `$conf->{"test"} $conf->{"file"} 2>/dev/null`; 115 my $exec = $conf->{"exec"}; 233 my $conf = $1; 234 if (defined($selects{$conf})) { 235 $selects{$conf} .= " " . $config; 237 $selects{$conf} = $config; 401 foreach my $conf (@arr) { [all …]
|
/external/autotest/client/common_lib/ |
D | global_config_unittest.py | 76 conf = global_config.global_config variable in global_config_test 85 self.conf.set_config_files(self.global_temp.name, self.shadow_temp.name, 94 self.conf.set_config_files(global_config.DEFAULT_CONFIG_FILE, 101 val = self.conf.get_config_value("SECTION_A", "value_1", float) 108 val = self.conf.get_config_value("SECTION_B", "value_1", int) 111 val = self.conf.get_config_value("SECTION_B", "value_3", int) 113 val = self.conf.get_config_value("SECTION_B", "value_4", int) 119 val = self.conf.get_config_value("SECTION_A", "value_2") 138 self.conf.reset_config_values() 141 val = self.conf.get_config_value("SECTION_C", "value_1") [all …]
|
/external/wpa_supplicant_8/src/radius/ |
D | radius_client.c | 168 struct hostapd_radius_servers *conf; member 369 struct hostapd_radius_servers *conf = radius->conf; in radius_client_retransmit() local 379 num_servers = conf->num_acct_servers; in radius_client_retransmit() 382 if (radius->acct_sock < 0 && conf->num_acct_servers > 1) { in radius_client_retransmit() 390 conf->acct_server->requests++; in radius_client_retransmit() 392 conf->acct_server->timeouts++; in radius_client_retransmit() 393 conf->acct_server->retransmissions++; in radius_client_retransmit() 396 num_servers = conf->num_auth_servers; in radius_client_retransmit() 399 if (radius->auth_sock < 0 && conf->num_auth_servers > 1) { in radius_client_retransmit() 407 conf->auth_server->requests++; in radius_client_retransmit() [all …]
|
/external/scapy/scapy/arch/ |
D | pcapdnet.py | 17 from scapy.config import conf 26 if conf.use_winpcapy: 55 conf.use_npcap = True 60 conf.use_winpcapy = False 61 if conf.interactive: 73 if conf.cache_ipaddrs: 74 return conf.cache_ipaddrs.get(iff.pcap_name, None) 90 conf.cache_ipaddrs[plain_str(p.contents.name)] = if_raw_addr 93 return conf.cache_ipaddrs.get(iff.pcap_name, None) 96 if conf.use_winpcapy: [all …]
|
/external/syzkaller/vendor/github.com/google/go-cmp/cmp/internal/value/ |
D | format.go | 40 func formatAny(v reflect.Value, conf formatConfig, visited map[uintptr]bool) string { 46 if conf.useStringer && v.Type().Implements(stringerIface) && v.CanInterface() { 55 return formatPrimitive(v.Type(), v.Bool(), conf) 57 return formatPrimitive(v.Type(), v.Int(), conf) 61 return formatPrimitive(v.Type(), formatHex(v.Uint()), conf) 63 return formatPrimitive(v.Type(), v.Uint(), conf) 65 return formatPrimitive(v.Type(), v.Float(), conf) 67 return formatPrimitive(v.Type(), v.Complex(), conf) 69 return formatPrimitive(v.Type(), fmt.Sprintf("%q", v), conf) 71 return formatPointer(v, conf) [all …]
|
/external/selinux/mcstrans/share/util/ |
D | try-all | 15 …rm -rf /etc/selinux/mls/setrans.conf.bak /etc/selinux/mls/secolor.conf.bak /etc/selinux/mls/setran… 18 if [ -e $d/setrans.conf ]; then 19 mv /etc/selinux/mls/setrans.conf /etc/selinux/mls/setrans.conf.bak 23 if [ -e /etc/selinux/mls/secolor.conf ]; then 24 mv /etc/selinux/mls/secolor.conf /etc/selinux/mls/secolor.conf.bak 31 if [ -e $d/setrans.conf ]; then 32 cp -L $d/setrans.conf /etc/selinux/mls/setrans.conf 34 if [ -e $d/secolor.conf ]; then 35 cp -L $d/secolor.conf /etc/selinux/mls 49 if [ -e /etc/selinux/mls/setrans.conf.bak ]; then [all …]
|
/external/u-boot/drivers/pinctrl/ |
D | pinctrl-at91-pio4.c | 41 u32 param, arg, conf = 0; in atmel_pinctrl_get_pinconf() local 54 conf &= (~ATMEL_PIO_PUEN_MASK); in atmel_pinctrl_get_pinconf() 55 conf &= (~ATMEL_PIO_PDEN_MASK); in atmel_pinctrl_get_pinconf() 58 conf |= ATMEL_PIO_PUEN_MASK; in atmel_pinctrl_get_pinconf() 61 conf |= ATMEL_PIO_PDEN_MASK; in atmel_pinctrl_get_pinconf() 65 conf &= (~ATMEL_PIO_OPD_MASK); in atmel_pinctrl_get_pinconf() 67 conf |= ATMEL_PIO_OPD_MASK; in atmel_pinctrl_get_pinconf() 71 conf |= ATMEL_PIO_SCHMITT_MASK; in atmel_pinctrl_get_pinconf() 73 conf &= (~ATMEL_PIO_SCHMITT_MASK); in atmel_pinctrl_get_pinconf() 77 conf &= (~ATMEL_PIO_IFEN_MASK); in atmel_pinctrl_get_pinconf() [all …]
|
/external/u-boot/arch/x86/cpu/broadwell/ |
D | pinctrl_broadwell.c | 46 struct pin_info *conf, int max_pins) in broadwell_pinctrl_read_configs() argument 64 memset(conf, '\0', sizeof(*conf)); in broadwell_pinctrl_read_configs() 65 conf->node = node; in broadwell_pinctrl_read_configs() 66 conf->phandle = phandle; in broadwell_pinctrl_read_configs() 67 conf->mode_gpio = fdtdec_get_bool(blob, node, "mode-gpio"); in broadwell_pinctrl_read_configs() 69 conf->dir_input = true; in broadwell_pinctrl_read_configs() 70 conf->invert = fdtdec_get_bool(blob, node, "invert"); in broadwell_pinctrl_read_configs() 72 conf->trigger_level = true; in broadwell_pinctrl_read_configs() 74 conf->output_high = true; in broadwell_pinctrl_read_configs() 75 conf->sense_disable = fdtdec_get_bool(blob, node, in broadwell_pinctrl_read_configs() [all …]
|
/external/python/oauth2client/tests/contrib/django_util/ |
D | test_django_util.py | 19 import django.conf 20 from django.conf.urls import include, url 42 self.save_settings = copy.deepcopy(django.conf.settings) 49 django.conf.settings = copy.deepcopy(self.save_settings) 53 django.conf.settings.GOOGLE_OAUTH2_CLIENT_SECRETS_JSON = 'file.json' 62 oauth2_settings = django_util.OAuth2Settings(django.conf.settings) 66 django.conf.settings.GOOGLE_OAUTH2_CLIENT_SECRETS_JSON = None 70 django.conf.settings.GOOGLE_OAUTH2_CLIENT_SECRETS_JSON = 'file.json' 82 django.conf.settings) 86 django.conf.settings.GOOGLE_OAUTH2_CLIENT_SECRETS_JSON = None [all …]
|