Home
last modified time | relevance | path

Searched refs:os_strncmp (Results 1 - 25 of 137) sorted by relevance

123456

/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
H A Dap_ctrl_iface.c1425 } else if (os_strncmp(cmd, "wme_ac_", 7) == 0 || in hostapd_ctrl_iface_set()
1426 os_strncmp(cmd, "wmm_ac_", 7) == 0) { in hostapd_ctrl_iface_set()
1993 if (os_strncmp(cmd, "ifname=", 7) == 0) { in hostapd_ctrl_iface_data_test_frame()
2658 if (os_strncmp(pos, "req_mode=", 9) == 0) { in hostapd_ctrl_iface_req_beacon()
2951 } else if (os_strncmp(buf, "RELOG", 5) == 0) { in hostapd_ctrl_iface_receive_process()
2954 } else if (os_strncmp(buf, "NOTE ", 5) == 0) { in hostapd_ctrl_iface_receive_process()
2990 } else if (os_strncmp(buf, "MIB ", 4) == 0) { in hostapd_ctrl_iface_receive_process()
2996 } else if (os_strncmp(buf, "STA ", 4) == 0) { in hostapd_ctrl_iface_receive_process()
2999 } else if (os_strncmp(buf, "STA-NEXT ", 9) == 0) { in hostapd_ctrl_iface_receive_process()
3005 } else if (os_strncmp(bu in hostapd_ctrl_iface_receive_process()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Dctrl_iface.c128 if (os_strncmp(pos, "bssid ", 6) == 0) { in set_disallow_aps()
149 } else if (os_strncmp(pos, "ssid ", 5) == 0) { in set_disallow_aps()
385 if (os_strncmp(cmd, "2G", 2) == 0) in wpas_ctrl_set_relative_band_adjust()
387 else if (os_strncmp(cmd, "5G", 2) == 0) in wpas_ctrl_set_relative_band_adjust()
1178 os_strncmp(cmd, "any ", 4) == 0) { in wpa_supplicant_ctrl_iface_wps_pbc()
1181 } else if (os_strncmp(cmd, "p2p_dev_addr=", 13) == 0) { in wpa_supplicant_ctrl_iface_wps_pbc()
1190 } else if (os_strncmp(cmd, "multi_ap=", 9) == 0) { in wpa_supplicant_ctrl_iface_wps_pbc()
2432 if (os_strncmp(cmd, "clear", 5) == 0) { in wpa_supplicant_ctrl_iface_blacklist()
2524 if (cmd != NULL && os_strncmp(cmd, "LAST_ID=", 8) == 0) { in wpa_supplicant_ctrl_iface_list_networks()
3250 if (os_strncmp(cm in wpa_supplicant_ctrl_iface_select_network()
[all...]
H A Dctrl_iface_unix.c84 if (len >= 5 && os_strncmp(buf, "PONG\n", 5) == 0) in wpas_ctrl_sock_debug()
165 } else if (os_strncmp(buf, "LEVEL ", 6) == 0) { in wpa_supplicant_ctrl_iface_receive()
243 if (os_strncmp(pbuf, "DIR=", 4) == 0) { in wpa_supplicant_ctrl_iface_path()
512 if (os_strncmp(buf, "DIR=", 4) == 0) { in wpas_ctrl_iface_open_sock()
717 } else if (os_strncmp(wpa_s->global->params.ctrl_interface, in wpa_supplicant_ctrl_iface_init()
719 os_strncmp(wpa_s->global->params.ctrl_interface, in wpa_supplicant_ctrl_iface_init()
826 if (os_strncmp(buf, "DIR=", 4) == 0) { in wpa_supplicant_ctrl_iface_deinit()
1121 if (os_strncmp(ctrl, "@android:", 9) == 0) { in wpas_global_ctrl_iface_open_sock()
1134 if (os_strncmp(ctrl, "@abstract:", 10) != 0) { in wpas_global_ctrl_iface_open_sock()
1163 if (os_strncmp(ctr in wpas_global_ctrl_iface_open_sock()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
H A Dap_ctrl_iface.c1543 } else if (os_strncmp(cmd, "wme_ac_", 7) == 0 || in hostapd_ctrl_iface_set()
1544 os_strncmp(cmd, "wmm_ac_", 7) == 0) { in hostapd_ctrl_iface_set()
2191 if (os_strncmp(cmd, "ifname=", 7) == 0) { in hostapd_ctrl_iface_data_test_frame()
3153 if (os_strncmp(pos, "req_mode=", 9) == 0) { in hostapd_ctrl_iface_req_beacon()
3520 } else if (os_strncmp(buf, "RELOG", 5) == 0) { in hostapd_ctrl_iface_receive_process()
3523 } else if (os_strncmp(buf, "NOTE ", 5) == 0) { in hostapd_ctrl_iface_receive_process()
3559 } else if (os_strncmp(buf, "MIB ", 4) == 0) { in hostapd_ctrl_iface_receive_process()
3565 } else if (os_strncmp(buf, "STA ", 4) == 0) { in hostapd_ctrl_iface_receive_process()
3568 } else if (os_strncmp(buf, "STA-NEXT ", 9) == 0) { in hostapd_ctrl_iface_receive_process()
3574 } else if (os_strncmp(bu in hostapd_ctrl_iface_receive_process()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/dbus/
H A Ddbus_new_helpers.c32 if (os_strncmp(dsc->dbus_interface, interface, in fill_dict_with_properties()
143 return !os_strncmp(registered_sig, sig, MAX_SIG_LEN); in is_signature_correct()
254 if (!os_strncmp(property_dsc->dbus_property, property, in properties_get_or_set()
256 !os_strncmp(property_dsc->dbus_interface, interface, in properties_get_or_set()
270 if (os_strncmp(WPA_DBUS_PROPERTIES_GET, method, in properties_get_or_set()
292 if (!os_strncmp(WPA_DBUS_PROPERTIES_GET, method, in properties_handler()
294 !os_strncmp(WPA_DBUS_PROPERTIES_SET, method, in properties_handler()
296 !os_strncmp(WPA_DBUS_PROPERTIES_GETALL, method, in properties_handler()
307 if (!os_strncmp(WPA_DBUS_PROPERTIES_GETALL, method, in properties_handler()
334 if (!os_strncmp(method_ds in msg_method_handler()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/dbus/
H A Ddbus_new_helpers.c32 if (os_strncmp(dsc->dbus_interface, interface, in fill_dict_with_properties()
143 return !os_strncmp(registered_sig, sig, MAX_SIG_LEN); in is_signature_correct()
254 if (!os_strncmp(property_dsc->dbus_property, property, in properties_get_or_set()
256 !os_strncmp(property_dsc->dbus_interface, interface, in properties_get_or_set()
270 if (os_strncmp(WPA_DBUS_PROPERTIES_GET, method, in properties_get_or_set()
292 if (!os_strncmp(WPA_DBUS_PROPERTIES_GET, method, in properties_handler()
294 !os_strncmp(WPA_DBUS_PROPERTIES_SET, method, in properties_handler()
296 !os_strncmp(WPA_DBUS_PROPERTIES_GETALL, method, in properties_handler()
307 if (!os_strncmp(WPA_DBUS_PROPERTIES_GETALL, method, in properties_handler()
334 if (!os_strncmp(method_ds in msg_method_handler()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Dctrl_iface.c167 if (os_strncmp(pos, "bssid ", 6) == 0) { in set_disallow_aps()
188 } else if (os_strncmp(pos, "ssid ", 5) == 0) { in set_disallow_aps()
435 if (os_strncmp(cmd, "2G", 2) == 0) in wpas_ctrl_set_relative_band_adjust()
437 else if (os_strncmp(cmd, "5G", 2) == 0) in wpas_ctrl_set_relative_band_adjust()
1380 os_strncmp(cmd, "any ", 4) == 0) { in wpa_supplicant_ctrl_iface_wps_pbc()
1383 } else if (os_strncmp(cmd, "p2p_dev_addr=", 13) == 0) { in wpa_supplicant_ctrl_iface_wps_pbc()
1392 } else if (os_strncmp(cmd, "multi_ap=", 9) == 0) { in wpa_supplicant_ctrl_iface_wps_pbc()
2701 if (os_strncmp(cmd, "clear", 5) == 0) { in wpa_supplicant_ctrl_iface_bssid_ignore()
2793 if (cmd != NULL && os_strncmp(cmd, "LAST_ID=", 8) == 0) { in wpa_supplicant_ctrl_iface_list_networks()
3627 if (os_strncmp(cm
[all...]
H A Dctrl_iface_unix.c84 if (len >= 5 && os_strncmp(buf, "PONG\n", 5) == 0) in wpas_ctrl_sock_debug()
174 } else if (os_strncmp(buf, "LEVEL ", 6) == 0) { in wpa_supplicant_ctrl_iface_receive()
253 if (os_strncmp(pbuf, "DIR=", 4) == 0) { in wpa_supplicant_ctrl_iface_path()
522 if (os_strncmp(buf, "DIR=", 4) == 0) { in wpas_ctrl_iface_open_sock()
731 } else if (os_strncmp(wpa_s->global->params.ctrl_interface, in wpa_supplicant_ctrl_iface_init()
733 os_strncmp(wpa_s->global->params.ctrl_interface, in wpa_supplicant_ctrl_iface_init()
880 if (os_strncmp(buf, "DIR=", 4) == 0) { in wpa_supplicant_ctrl_iface_deinit()
1187 if (os_strncmp(ctrl, "@android:", 9) == 0) { in wpas_global_ctrl_iface_open_sock()
1200 if (os_strncmp(ctrl, "@abstract:", 10) != 0) { in wpas_global_ctrl_iface_open_sock()
1229 if (os_strncmp(ctr in wpas_global_ctrl_iface_open_sock()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
H A Deap_wsc.c87 if (os_strncmp(pos + 9, "OPEN", 4) == 0) in eap_wsc_new_ap_settings()
89 else if (os_strncmp(pos + 9, "WPAPSK", 6) == 0) in eap_wsc_new_ap_settings()
91 else if (os_strncmp(pos + 9, "WPA2PSK", 7) == 0) in eap_wsc_new_ap_settings()
103 if (os_strncmp(pos + 9, "NONE", 4) == 0) in eap_wsc_new_ap_settings()
106 else if (os_strncmp(pos + 9, "WEP", 3) == 0) in eap_wsc_new_ap_settings()
109 else if (os_strncmp(pos + 9, "TKIP", 4) == 0) in eap_wsc_new_ap_settings()
111 else if (os_strncmp(pos + 9, "CCMP", 4) == 0) in eap_wsc_new_ap_settings()
200 os_strncmp((const char *) cfg.pin, "nfc-pw", 6) == 0) { in eap_wsc_init()
H A Deap_mschapv2.c411 if (pos && os_strncmp(pos, "E=", 2) == 0) { in eap_mschapv2_failure_txt()
421 if (pos && os_strncmp(pos, "R=", 2) == 0) { in eap_mschapv2_failure_txt()
431 if (pos && os_strncmp(pos, "C=", 2) == 0) { in eap_mschapv2_failure_txt()
459 if (pos && os_strncmp(pos, "V=", 2) == 0) { in eap_mschapv2_failure_txt()
469 if (pos && os_strncmp(pos, "M=", 2) == 0) { in eap_mschapv2_failure_txt()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
H A Deap_wsc.c89 if (os_strncmp(pos + 9, "OPEN", 4) == 0) in eap_wsc_new_ap_settings()
91 else if (os_strncmp(pos + 9, "WPAPSK", 6) == 0) in eap_wsc_new_ap_settings()
93 else if (os_strncmp(pos + 9, "WPA2PSK", 7) == 0) in eap_wsc_new_ap_settings()
105 if (os_strncmp(pos + 9, "NONE", 4) == 0) in eap_wsc_new_ap_settings()
108 else if (os_strncmp(pos + 9, "WEP", 3) == 0) in eap_wsc_new_ap_settings()
111 else if (os_strncmp(pos + 9, "TKIP", 4) == 0) in eap_wsc_new_ap_settings()
113 else if (os_strncmp(pos + 9, "CCMP", 4) == 0) in eap_wsc_new_ap_settings()
202 os_strncmp((const char *) cfg.pin, "nfc-pw", 6) == 0) { in eap_wsc_init()
H A Deap_mschapv2.c411 if (pos && os_strncmp(pos, "E=", 2) == 0) { in eap_mschapv2_failure_txt()
421 if (pos && os_strncmp(pos, "R=", 2) == 0) { in eap_mschapv2_failure_txt()
431 if (pos && os_strncmp(pos, "C=", 2) == 0) { in eap_mschapv2_failure_txt()
459 if (pos && os_strncmp(pos, "V=", 2) == 0) { in eap_mschapv2_failure_txt()
469 if (pos && os_strncmp(pos, "M=", 2) == 0) { in eap_mschapv2_failure_txt()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
H A Dos_none.c193 return os_strncmp(s1, s2, n); in os_strncasecmp()
215 int os_strncmp(const char *s1, const char *s2, size_t n) in os_strncmp() function
H A Dos.h436 * os_strncmp - Compare two strings
444 int os_strncmp(const char *s1, const char *s2, size_t n);
539 #ifndef os_strncmp
540 #define os_strncmp(s1, s2, n) strncmp((s1), (s2), (n)) macro
H A Dext_password_test.c58 if (os_strncmp(pos, name, nlen) == 0 && pos[nlen] == '=') { in ext_password_test_get()
H A Djson.c362 os_strncmp(pos, "true", 4) == 0) || in json_parse()
364 os_strncmp(pos, "false", 5) == 0) || in json_parse()
366 os_strncmp(pos, "null", 4) == 0))) { in json_parse()
H A Dos_internal.c379 return os_strncmp(s1, s2, n); in os_strncasecmp()
422 int os_strncmp(const char *s1, const char *s2, size_t n) in os_strncmp() function
484 if (os_strncmp(haystack, needle, len) == 0) in os_strstr()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Dos_none.c193 return os_strncmp(s1, s2, n); in os_strncasecmp()
215 int os_strncmp(const char *s1, const char *s2, size_t n) in os_strncmp() function
H A Dos.h436 * os_strncmp - Compare two strings
444 int os_strncmp(const char *s1, const char *s2, size_t n);
539 #ifndef os_strncmp
540 #define os_strncmp(s1, s2, n) strncmp((s1), (s2), (n)) macro
H A Dext_password_file.c115 if (os_strncmp(name, pos, sep - pos) != 0) in ext_password_file_get()
H A Dext_password_test.c58 if (os_strncmp(pos, name, nlen) == 0 && pos[nlen] == '=') { in ext_password_test_get()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
H A Dhttp_client.c248 if (os_strncmp(url, "http://", 7) != 0) in http_client_url()
329 if (os_strncmp(url, "http://", 7) == 0) in http_link_update()
332 if (os_strncmp(base, "http://", 7) != 0) in http_link_update()
H A Dwps_er_ssdp.c49 if (os_strncmp(buf, "HTTP/1.1 200 OK", 15) != 0) in wps_er_ssdp_rx()
53 if (os_strncmp(buf, "NOTIFY ", 7) != 0) in wps_er_ssdp_rx()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
H A Dhttp_client.c248 if (os_strncmp(url, "http://", 7) != 0) in http_client_url()
329 if (os_strncmp(url, "http://", 7) == 0) in http_link_update()
332 if (os_strncmp(base, "http://", 7) != 0) in http_link_update()
H A Dwps_er_ssdp.c49 if (os_strncmp(buf, "HTTP/1.1 200 OK", 15) != 0) in wps_er_ssdp_rx()
53 if (os_strncmp(buf, "NOTIFY ", 7) != 0) in wps_er_ssdp_rx()

Completed in 43 milliseconds

123456