Lines Matching refs:start

674 	char *start, *end, *buf;  in wpa_config_parse_proto()  local
679 start = buf; in wpa_config_parse_proto()
681 while (*start != '\0') { in wpa_config_parse_proto()
682 while (*start == ' ' || *start == '\t') in wpa_config_parse_proto()
683 start++; in wpa_config_parse_proto()
684 if (*start == '\0') in wpa_config_parse_proto()
686 end = start; in wpa_config_parse_proto()
691 if (os_strcmp(start, "WPA") == 0) in wpa_config_parse_proto()
693 else if (os_strcmp(start, "RSN") == 0 || in wpa_config_parse_proto()
694 os_strcmp(start, "WPA2") == 0) in wpa_config_parse_proto()
696 else if (os_strcmp(start, "OSEN") == 0) in wpa_config_parse_proto()
700 line, start); in wpa_config_parse_proto()
706 start = end + 1; in wpa_config_parse_proto()
775 char *start, *end, *buf; in wpa_config_parse_key_mgmt() local
780 start = buf; in wpa_config_parse_key_mgmt()
782 while (*start != '\0') { in wpa_config_parse_key_mgmt()
783 while (*start == ' ' || *start == '\t') in wpa_config_parse_key_mgmt()
784 start++; in wpa_config_parse_key_mgmt()
785 if (*start == '\0') in wpa_config_parse_key_mgmt()
787 end = start; in wpa_config_parse_key_mgmt()
792 if (os_strcmp(start, "WPA-PSK") == 0) in wpa_config_parse_key_mgmt()
794 else if (os_strcmp(start, "WPA-EAP") == 0) in wpa_config_parse_key_mgmt()
796 else if (os_strcmp(start, "IEEE8021X") == 0) in wpa_config_parse_key_mgmt()
798 else if (os_strcmp(start, "NONE") == 0) in wpa_config_parse_key_mgmt()
800 else if (os_strcmp(start, "WPA-NONE") == 0) in wpa_config_parse_key_mgmt()
803 else if (os_strcmp(start, "FT-PSK") == 0) in wpa_config_parse_key_mgmt()
805 else if (os_strcmp(start, "FT-EAP") == 0) in wpa_config_parse_key_mgmt()
808 else if (os_strcmp(start, "FT-EAP-SHA384") == 0) in wpa_config_parse_key_mgmt()
813 else if (os_strcmp(start, "WPA-EAP-SHA384") == 0) in wpa_config_parse_key_mgmt()
816 else if (os_strcmp(start, "WPA-PSK-SHA256") == 0) in wpa_config_parse_key_mgmt()
818 else if (os_strcmp(start, "WPA-EAP-SHA256") == 0) in wpa_config_parse_key_mgmt()
821 else if (os_strcmp(start, "WPS") == 0) in wpa_config_parse_key_mgmt()
825 else if (os_strcmp(start, "SAE") == 0) in wpa_config_parse_key_mgmt()
827 else if (os_strcmp(start, "SAE-EXT-KEY") == 0) in wpa_config_parse_key_mgmt()
829 else if (os_strcmp(start, "FT-SAE") == 0) in wpa_config_parse_key_mgmt()
831 else if (os_strcmp(start, "FT-SAE-EXT-KEY") == 0) in wpa_config_parse_key_mgmt()
835 else if (os_strcmp(start, "OSEN") == 0) in wpa_config_parse_key_mgmt()
839 else if (os_strcmp(start, "WPA-EAP-SUITE-B") == 0) in wpa_config_parse_key_mgmt()
843 else if (os_strcmp(start, "WPA-EAP-SUITE-B-192") == 0) in wpa_config_parse_key_mgmt()
847 else if (os_strcmp(start, "FILS-SHA256") == 0) in wpa_config_parse_key_mgmt()
849 else if (os_strcmp(start, "FILS-SHA384") == 0) in wpa_config_parse_key_mgmt()
852 else if (os_strcmp(start, "FT-FILS-SHA256") == 0) in wpa_config_parse_key_mgmt()
854 else if (os_strcmp(start, "FT-FILS-SHA384") == 0) in wpa_config_parse_key_mgmt()
859 else if (os_strcmp(start, "OWE") == 0) in wpa_config_parse_key_mgmt()
863 else if (os_strcmp(start, "DPP") == 0) in wpa_config_parse_key_mgmt()
868 line, start); in wpa_config_parse_key_mgmt()
874 start = end + 1; in wpa_config_parse_key_mgmt()
1335 char *start, *end, *buf; in wpa_config_parse_auth_alg() local
1340 start = buf; in wpa_config_parse_auth_alg()
1342 while (*start != '\0') { in wpa_config_parse_auth_alg()
1343 while (*start == ' ' || *start == '\t') in wpa_config_parse_auth_alg()
1344 start++; in wpa_config_parse_auth_alg()
1345 if (*start == '\0') in wpa_config_parse_auth_alg()
1347 end = start; in wpa_config_parse_auth_alg()
1352 if (os_strcmp(start, "OPEN") == 0) in wpa_config_parse_auth_alg()
1354 else if (os_strcmp(start, "SHARED") == 0) in wpa_config_parse_auth_alg()
1356 else if (os_strcmp(start, "LEAP") == 0) in wpa_config_parse_auth_alg()
1360 line, start); in wpa_config_parse_auth_alg()
1366 start = end + 1; in wpa_config_parse_auth_alg()
1572 char *start, *end, *buf; in wpa_config_parse_eap() local
1579 start = buf; in wpa_config_parse_eap()
1581 while (*start != '\0') { in wpa_config_parse_eap()
1582 while (*start == ' ' || *start == '\t') in wpa_config_parse_eap()
1583 start++; in wpa_config_parse_eap()
1584 if (*start == '\0') in wpa_config_parse_eap()
1586 end = start; in wpa_config_parse_eap()
1600 start, &methods[num_methods].vendor); in wpa_config_parse_eap()
1604 "'%s'", line, start); in wpa_config_parse_eap()
1618 start = end + 1; in wpa_config_parse_eap()