Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching defs:pos2

972 	char *pos, *pos2;
987 pos2 = os_strchr(pos, ' ');
988 if (pos2)
989 *pos2++ = '\0';
993 os_strcmp(pos, "WPS-CR") == 0, pos2);
1061 char *pos, *role, *type, *pos2;
1075 pos2 = os_strchr(pos, ' ');
1076 if (pos2 == NULL)
1078 *pos2++ = '\0';
1093 len = os_strlen(pos2);
1105 if (hexstr2bin(pos2, wpabuf_put(sel, len), len) < 0) {
3694 char *pos, *pos2;
3722 pos2 = os_strstr(pos, " persistent=");
3723 if (pos2) {
3725 persistent_id = atoi(pos2 + 12);
3741 pos2 = os_strstr(pos, " go_intent=");
3742 if (pos2) {
3743 pos2 += 11;
3744 go_intent = atoi(pos2);
3749 pos2 = os_strstr(pos, " freq=");
3750 if (pos2) {
3751 pos2 += 6;
3752 freq = atoi(pos2);
3927 char *pos, *pos2;
3945 pos2 = os_strchr(pos, ' ');
3946 if (pos2 == NULL)
3948 *pos2++ = '\0';
3951 len = os_strlen(pos2);
3958 if (hexstr2bin(pos2, wpabuf_put(resp_tlvs, len), len) < 0) {
4370 const char *pos, *pos2, *pos3;
4389 pos2 = os_strchr(pos, '-');
4391 if (pos2 && (!pos3 || pos2 < pos3)) {
4392 pos2++;
4393 freq[count].max = atoi(pos2);
4623 char *pos, *pos2;
4633 pos2 = os_strchr(pos, ' ');
4634 if (pos2)
4635 *pos2++ = '\0';
4638 pos2 = NULL;
4640 if (pos2) {
4641 pos = os_strchr(pos2, ' ');
4645 dur2 = atoi(pos2);