Home
last modified time | relevance | path

Searched refs:_val (Results 1 – 4 of 4) sorted by relevance

/hostap-latest/wpa_supplicant/
Dconfig_winreg.c119 static int wpa_config_read_reg_dword(HKEY hk, const TCHAR *name, int *_val) in wpa_config_read_reg_dword() argument
128 *_val = val; in wpa_config_read_reg_dword()
508 DWORD _val = val; in wpa_config_write_reg_dword() local
515 ret = RegSetValueEx(hk, name, 0, REG_DWORD, (LPBYTE) &_val, in wpa_config_write_reg_dword()
516 sizeof(_val)); in wpa_config_write_reg_dword()
531 TCHAR *_name, *_val; in wpa_config_write_reg_string() local
543 _val = wpa_strdup_tchar(val); in wpa_config_write_reg_string()
544 if (_val == NULL) { in wpa_config_write_reg_string()
548 ret = RegSetValueEx(hk, _name, 0, REG_SZ, (BYTE *) _val, in wpa_config_write_reg_string()
554 os_free(_val); in wpa_config_write_reg_string()
[all …]
/hostap-latest/src/p2p/
Dp2p_pd.c466 #define P2PS_PD_REQ_CHECK(_val, _attr) \ in p2ps_validate_pd_req() argument
468 if ((_val) && !msg->_attr) { \ in p2ps_validate_pd_req()
1216 #define P2PS_PD_RESP_CHECK(_val, _attr) \ in p2p_validate_p2ps_pd_resp() argument
1218 if ((_val) && !msg->_attr) { \ in p2p_validate_p2ps_pd_resp()
/hostap-latest/hostapd/
Dconfig_file.c4485 #define PARSE_TEST_PROBABILITY(_val) \ in hostapd_config_fill() argument
4486 } else if (os_strcmp(buf, #_val) == 0) { \ in hostapd_config_fill()
4489 conf->_val = strtod(pos, &end); \ in hostapd_config_fill()
4490 if (*end || conf->_val < 0.0 || \ in hostapd_config_fill()
4491 conf->_val > 1.0) { \ in hostapd_config_fill()
/hostap-latest/src/ap/
Dhostapd.c406 #define TU_TO_USEC(_val) ((_val) * 1024) argument