Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching refs:pos2

941 	char *pos, *pos2;
956 pos2 = os_strchr(pos, ' ');
957 if (pos2)
958 *pos2++ = '\0';
962 os_strcmp(pos, "WPS-CR") == 0, pos2);
1030 char *pos, *role, *type, *pos2;
1044 pos2 = os_strchr(pos, ' ');
1045 if (pos2 == NULL)
1047 *pos2++ = '\0';
1062 len = os_strlen(pos2);
1074 if (hexstr2bin(pos2, wpabuf_put(sel, len), len) < 0) {
3603 char *pos, *pos2;
3631 pos2 = os_strstr(pos, " persistent=");
3632 if (pos2) {
3634 persistent_id = atoi(pos2 + 12);
3650 pos2 = os_strstr(pos, " go_intent=");
3651 if (pos2) {
3652 pos2 += 11;
3653 go_intent = atoi(pos2);
3658 pos2 = os_strstr(pos, " freq=");
3659 if (pos2) {
3660 pos2 += 6;
3661 freq = atoi(pos2);
3836 char *pos, *pos2;
3854 pos2 = os_strchr(pos, ' ');
3855 if (pos2 == NULL)
3857 *pos2++ = '\0';
3860 len = os_strlen(pos2);
3867 if (hexstr2bin(pos2, wpabuf_put(resp_tlvs, len), len) < 0) {
4279 const char *pos, *pos2, *pos3;
4298 pos2 = os_strchr(pos, '-');
4300 if (pos2 && (!pos3 || pos2 < pos3)) {
4301 pos2++;
4302 freq[count].max = atoi(pos2);
4527 char *pos, *pos2;
4537 pos2 = os_strchr(pos, ' ');
4538 if (pos2)
4539 *pos2++ = '\0';
4542 pos2 = NULL;
4544 if (pos2) {
4545 pos = os_strchr(pos2, ' ');
4549 dur2 = atoi(pos2);