Lines Matching refs:pos2
722 const char *pos2 = os_strstr(pos, " " #str "="); \
723 if (pos2) { \
724 pos2 += sizeof(" " #str "=") - 1; \
725 freq_params.str = atoi(pos2); \
1288 char *pos, *pos2;
1303 pos2 = os_strchr(pos, ' ');
1304 if (pos2)
1305 *pos2++ = '\0';
1311 os_strcmp(pos, "WPS-CR") == 0, pos2);
1336 char *pos, *role, *type, *pos2;
1365 pos2 = os_strchr(pos, ' ');
1366 if (pos2 == NULL) {
1370 *pos2++ = '\0';
1390 len = os_strlen(pos2);
1404 if (hexstr2bin(pos2, wpabuf_put(sel, len), len) < 0) {
4855 char *pos, *pos2;
4891 pos2 = os_strstr(pos, " persistent=");
4892 if (pos2) {
4894 persistent_id = atoi(pos2 + 12);
4912 pos2 = os_strstr(pos, " go_intent=");
4913 if (pos2) {
4914 pos2 += 11;
4915 go_intent = atoi(pos2);
4920 pos2 = os_strstr(pos, " freq=");
4921 if (pos2) {
4922 pos2 += 6;
4923 freq = atoi(pos2);
5139 char *pos, *pos2;
5157 pos2 = os_strchr(pos, ' ');
5158 if (pos2 == NULL)
5160 *pos2++ = '\0';
5163 len = os_strlen(pos2);
5170 if (hexstr2bin(pos2, wpabuf_put(resp_tlvs, len), len) < 0) {
5996 char *pos, *pos2;
6006 pos2 = os_strchr(pos, ' ');
6007 if (pos2)
6008 *pos2++ = '\0';
6011 pos2 = NULL;
6013 if (pos2) {
6014 pos = os_strchr(pos2, ' ');
6018 dur2 = atoi(pos2);
6970 char *pos, *pos2;
6986 pos2 = os_strstr(pos, "freq=");
6987 if (pos2)
6988 freq = atoi(pos2 + 5);
6990 pos2 = os_strstr(pos, "timeout=");
6991 if (pos2)
6992 ework->timeout = atoi(pos2 + 8);