Lines Matching refs:j
30 json j = true; variable
31 json j_const(j);
35 json::iterator it = j.begin();
36 CHECK(it != j.end());
37 CHECK(*it == j);
40 CHECK(it != j.begin());
41 CHECK(it == j.end());
44 CHECK(it == j.begin());
45 CHECK(it != j.end());
46 CHECK(*it == j);
49 CHECK(it != j.begin());
50 CHECK(it == j.end());
53 CHECK(it == j.begin());
54 CHECK(it != j.end());
55 CHECK(*it == j);
85 json::const_iterator it = j.cbegin();
86 CHECK(it != j.cend());
87 CHECK(*it == j);
90 CHECK(it != j.cbegin());
91 CHECK(it == j.cend());
94 CHECK(it == j.cbegin());
95 CHECK(it != j.cend());
96 CHECK(*it == j);
99 CHECK(it != j.cbegin());
100 CHECK(it == j.cend());
103 CHECK(it == j.cbegin());
104 CHECK(it != j.cend());
105 CHECK(*it == j);
135 json::reverse_iterator it = j.rbegin();
136 CHECK(it != j.rend());
137 CHECK(*it == j);
140 CHECK(it != j.rbegin());
141 CHECK(it == j.rend());
144 CHECK(it == j.rbegin());
145 CHECK(it != j.rend());
146 CHECK(*it == j);
149 CHECK(it != j.rbegin());
150 CHECK(it == j.rend());
153 CHECK(it == j.rbegin());
154 CHECK(it != j.rend());
155 CHECK(*it == j);
160 json::const_reverse_iterator it = j.crbegin();
161 CHECK(it != j.crend());
162 CHECK(*it == j);
165 CHECK(it != j.crbegin());
166 CHECK(it == j.crend());
169 CHECK(it == j.crbegin());
170 CHECK(it != j.crend());
171 CHECK(*it == j);
174 CHECK(it != j.crbegin());
175 CHECK(it == j.crend());
178 CHECK(it == j.crbegin());
179 CHECK(it != j.crend());
180 CHECK(*it == j);
212 CHECK(!(j.begin() != j.begin()));
217 CHECK(!(j.end() != j.end()));
222 CHECK(j.begin() < j.end());
227 CHECK(j.begin() <= j.end());
232 CHECK(j.end() > j.begin());
237 CHECK(j.end() >= j.begin());
242 CHECK(j.end() == j.end());
247 CHECK(j.end() <= j.end());
252 CHECK(j.begin() == j.begin());
257 CHECK(j.begin() <= j.begin());
262 CHECK(j.begin() >= j.begin());
267 CHECK(!(j.begin() == j.end()));
272 CHECK(j.begin() != j.end());
277 CHECK(j.begin() + 1 == j.end());
282 CHECK(j.begin() == j.end() - 1);
287 CHECK(j.begin() != j.end() + 1);
292 CHECK(j.end() != j.end() + 1);
297 CHECK(j.begin() + 1 != j.begin() + 2);
302 CHECK(j.begin() + 1 < j.begin() + 2);
307 CHECK(j.begin() + 1 <= j.begin() + 2);
312 CHECK(j.end() + 1 != j.end() + 2);
318 auto it = j.begin();
325 auto rit = j.rend();
326 auto crit = j.crend();
336 json j = "hello world"; variable
337 json j_const(j);
341 json::iterator it = j.begin();
342 CHECK(it != j.end());
343 CHECK(*it == j);
346 CHECK(it != j.begin());
347 CHECK(it == j.end());
350 CHECK(it == j.begin());
351 CHECK(it != j.end());
352 CHECK(*it == j);
355 CHECK(it != j.begin());
356 CHECK(it == j.end());
359 CHECK(it == j.begin());
360 CHECK(it != j.end());
361 CHECK(*it == j);
391 json::const_iterator it = j.cbegin();
392 CHECK(it != j.cend());
393 CHECK(*it == j);
396 CHECK(it != j.cbegin());
397 CHECK(it == j.cend());
400 CHECK(it == j.cbegin());
401 CHECK(it != j.cend());
402 CHECK(*it == j);
405 CHECK(it != j.cbegin());
406 CHECK(it == j.cend());
409 CHECK(it == j.cbegin());
410 CHECK(it != j.cend());
411 CHECK(*it == j);
441 json::reverse_iterator it = j.rbegin();
442 CHECK(it != j.rend());
443 CHECK(*it == j);
446 CHECK(it != j.rbegin());
447 CHECK(it == j.rend());
450 CHECK(it == j.rbegin());
451 CHECK(it != j.rend());
452 CHECK(*it == j);
455 CHECK(it != j.rbegin());
456 CHECK(it == j.rend());
459 CHECK(it == j.rbegin());
460 CHECK(it != j.rend());
461 CHECK(*it == j);
466 json::const_reverse_iterator it = j.crbegin();
467 CHECK(it != j.crend());
468 CHECK(*it == j);
471 CHECK(it != j.crbegin());
472 CHECK(it == j.crend());
475 CHECK(it == j.crbegin());
476 CHECK(it != j.crend());
477 CHECK(*it == j);
480 CHECK(it != j.crbegin());
481 CHECK(it == j.crend());
484 CHECK(it == j.crbegin());
485 CHECK(it != j.crend());
486 CHECK(*it == j);
516 auto it = j.begin();
523 auto rit = j.rend();
524 auto crit = j.crend();
534 json j = {1, 2, 3}; variable
535 json j_const(j);
539 json::iterator it_begin = j.begin();
540 json::iterator it_end = j.end();
544 CHECK(*it == j[0]);
549 CHECK(*it == j[1]);
554 CHECK(*it == j[2]);
587 json::const_iterator it_begin = j.cbegin();
588 json::const_iterator it_end = j.cend();
592 CHECK(*it == j[0]);
597 CHECK(*it == j[1]);
602 CHECK(*it == j[2]);
616 CHECK(*it == j[0]);
621 CHECK(*it == j[1]);
626 CHECK(*it == j[2]);
635 json::reverse_iterator it_begin = j.rbegin();
636 json::reverse_iterator it_end = j.rend();
640 CHECK(*it == j[2]);
645 CHECK(*it == j[1]);
650 CHECK(*it == j[0]);
659 json::const_reverse_iterator it_begin = j.crbegin();
660 json::const_reverse_iterator it_end = j.crend();
664 CHECK(*it == j[2]);
669 CHECK(*it == j[1]);
674 CHECK(*it == j[0]);
688 CHECK(*it == j[2]);
693 CHECK(*it == j[1]);
698 CHECK(*it == j[0]);
707 auto it = j.begin();
718 json j = {{"A", 1}, {"B", 2}, {"C", 3}}; variable
719 json j_const(j);
723 json::iterator it_begin = j.begin();
724 json::iterator it_end = j.end();
728 CHECK(*it == j["A"]);
733 CHECK(*it == j["B"]);
738 CHECK(*it == j["C"]);
771 json::const_iterator it_begin = j.cbegin();
772 json::const_iterator it_end = j.cend();
776 CHECK(*it == j["A"]);
781 CHECK(*it == j["B"]);
786 CHECK(*it == j["C"]);
819 json::reverse_iterator it_begin = j.rbegin();
820 json::reverse_iterator it_end = j.rend();
824 CHECK(*it == j["C"]);
829 CHECK(*it == j["B"]);
834 CHECK(*it == j["A"]);
843 json::const_reverse_iterator it_begin = j.crbegin();
844 json::const_reverse_iterator it_end = j.crend();
848 CHECK(*it == j["C"]);
853 CHECK(*it == j["B"]);
858 CHECK(*it == j["A"]);
872 CHECK(*it == j["C"]);
877 CHECK(*it == j["B"]);
882 CHECK(*it == j["A"]);
891 auto it = j.begin();
902 json j = 23; variable
903 json j_const(j);
907 json::iterator it = j.begin();
908 CHECK(it != j.end());
909 CHECK(*it == j);
912 CHECK(it != j.begin());
913 CHECK(it == j.end());
916 CHECK(it == j.begin());
917 CHECK(it != j.end());
918 CHECK(*it == j);
921 CHECK(it != j.begin());
922 CHECK(it == j.end());
925 CHECK(it == j.begin());
926 CHECK(it != j.end());
927 CHECK(*it == j);
957 json::const_iterator it = j.cbegin();
958 CHECK(it != j.cend());
959 CHECK(*it == j);
962 CHECK(it != j.cbegin());
963 CHECK(it == j.cend());
966 CHECK(it == j.cbegin());
967 CHECK(it != j.cend());
968 CHECK(*it == j);
971 CHECK(it != j.cbegin());
972 CHECK(it == j.cend());
975 CHECK(it == j.cbegin());
976 CHECK(it != j.cend());
977 CHECK(*it == j);
1007 json::reverse_iterator it = j.rbegin();
1008 CHECK(it != j.rend());
1009 CHECK(*it == j);
1012 CHECK(it != j.rbegin());
1013 CHECK(it == j.rend());
1016 CHECK(it == j.rbegin());
1017 CHECK(it != j.rend());
1018 CHECK(*it == j);
1021 CHECK(it != j.rbegin());
1022 CHECK(it == j.rend());
1025 CHECK(it == j.rbegin());
1026 CHECK(it != j.rend());
1027 CHECK(*it == j);
1032 json::const_reverse_iterator it = j.crbegin();
1033 CHECK(it != j.crend());
1034 CHECK(*it == j);
1037 CHECK(it != j.crbegin());
1038 CHECK(it == j.crend());
1041 CHECK(it == j.crbegin());
1042 CHECK(it != j.crend());
1043 CHECK(*it == j);
1046 CHECK(it != j.crbegin());
1047 CHECK(it == j.crend());
1050 CHECK(it == j.crbegin());
1051 CHECK(it != j.crend());
1052 CHECK(*it == j);
1082 auto it = j.begin();
1089 auto rit = j.rend();
1090 auto crit = j.crend();
1100 json j = 23u; variable
1101 json j_const(j);
1105 json::iterator it = j.begin();
1106 CHECK(it != j.end());
1107 CHECK(*it == j);
1110 CHECK(it != j.begin());
1111 CHECK(it == j.end());
1114 CHECK(it == j.begin());
1115 CHECK(it != j.end());
1116 CHECK(*it == j);
1119 CHECK(it != j.begin());
1120 CHECK(it == j.end());
1123 CHECK(it == j.begin());
1124 CHECK(it != j.end());
1125 CHECK(*it == j);
1155 json::const_iterator it = j.cbegin();
1156 CHECK(it != j.cend());
1157 CHECK(*it == j);
1160 CHECK(it != j.cbegin());
1161 CHECK(it == j.cend());
1164 CHECK(it == j.cbegin());
1165 CHECK(it != j.cend());
1166 CHECK(*it == j);
1169 CHECK(it != j.cbegin());
1170 CHECK(it == j.cend());
1173 CHECK(it == j.cbegin());
1174 CHECK(it != j.cend());
1175 CHECK(*it == j);
1205 json::reverse_iterator it = j.rbegin();
1206 CHECK(it != j.rend());
1207 CHECK(*it == j);
1210 CHECK(it != j.rbegin());
1211 CHECK(it == j.rend());
1214 CHECK(it == j.rbegin());
1215 CHECK(it != j.rend());
1216 CHECK(*it == j);
1219 CHECK(it != j.rbegin());
1220 CHECK(it == j.rend());
1223 CHECK(it == j.rbegin());
1224 CHECK(it != j.rend());
1225 CHECK(*it == j);
1230 json::const_reverse_iterator it = j.crbegin();
1231 CHECK(it != j.crend());
1232 CHECK(*it == j);
1235 CHECK(it != j.crbegin());
1236 CHECK(it == j.crend());
1239 CHECK(it == j.crbegin());
1240 CHECK(it != j.crend());
1241 CHECK(*it == j);
1244 CHECK(it != j.crbegin());
1245 CHECK(it == j.crend());
1248 CHECK(it == j.crbegin());
1249 CHECK(it != j.crend());
1250 CHECK(*it == j);
1280 auto it = j.begin();
1287 auto rit = j.rend();
1288 auto crit = j.crend();
1298 json j = 23.42; variable
1299 json j_const(j);
1303 json::iterator it = j.begin();
1304 CHECK(it != j.end());
1305 CHECK(*it == j);
1308 CHECK(it != j.begin());
1309 CHECK(it == j.end());
1312 CHECK(it == j.begin());
1313 CHECK(it != j.end());
1314 CHECK(*it == j);
1317 CHECK(it != j.begin());
1318 CHECK(it == j.end());
1321 CHECK(it == j.begin());
1322 CHECK(it != j.end());
1323 CHECK(*it == j);
1353 json::const_iterator it = j.cbegin();
1354 CHECK(it != j.cend());
1355 CHECK(*it == j);
1358 CHECK(it != j.cbegin());
1359 CHECK(it == j.cend());
1362 CHECK(it == j.cbegin());
1363 CHECK(it != j.cend());
1364 CHECK(*it == j);
1367 CHECK(it != j.cbegin());
1368 CHECK(it == j.cend());
1371 CHECK(it == j.cbegin());
1372 CHECK(it != j.cend());
1373 CHECK(*it == j);
1403 json::reverse_iterator it = j.rbegin();
1404 CHECK(it != j.rend());
1405 CHECK(*it == j);
1408 CHECK(it != j.rbegin());
1409 CHECK(it == j.rend());
1412 CHECK(it == j.rbegin());
1413 CHECK(it != j.rend());
1414 CHECK(*it == j);
1417 CHECK(it != j.rbegin());
1418 CHECK(it == j.rend());
1421 CHECK(it == j.rbegin());
1422 CHECK(it != j.rend());
1423 CHECK(*it == j);
1428 json::const_reverse_iterator it = j.crbegin();
1429 CHECK(it != j.crend());
1430 CHECK(*it == j);
1433 CHECK(it != j.crbegin());
1434 CHECK(it == j.crend());
1437 CHECK(it == j.crbegin());
1438 CHECK(it != j.crend());
1439 CHECK(*it == j);
1442 CHECK(it != j.crbegin());
1443 CHECK(it == j.crend());
1446 CHECK(it == j.crbegin());
1447 CHECK(it != j.crend());
1448 CHECK(*it == j);
1478 auto it = j.begin();
1485 auto rit = j.rend();
1486 auto crit = j.crend();
1496 json j = nullptr; variable
1497 json j_const(j);
1501 json::iterator it = j.begin();
1502 CHECK(it == j.end());
1514 json::const_iterator it_begin = j.cbegin();
1515 json::const_iterator it_end = j.cend();
1528 json::reverse_iterator it = j.rbegin();
1529 CHECK(it == j.rend());
1534 json::const_reverse_iterator it = j.crbegin();
1535 CHECK(it == j.crend());
1546 auto it = j.begin();
1553 auto rit = j.rend();
1554 auto crit = j.crend();
1567 json j = true; variable
1568 json::const_iterator it = j.begin();
1569 CHECK(it == j.cbegin());
1570 it = j.begin();
1571 CHECK(it == j.cbegin());
1575 json j = "hello world"; variable
1576 json::const_iterator it = j.begin();
1577 CHECK(it == j.cbegin());
1578 it = j.begin();
1579 CHECK(it == j.cbegin());
1583 json j = {1, 2, 3}; variable
1584 json::const_iterator it = j.begin();
1585 CHECK(it == j.cbegin());
1586 it = j.begin();
1587 CHECK(it == j.cbegin());
1591 json j = {{"A", 1}, {"B", 2}, {"C", 3}}; variable
1592 json::const_iterator it = j.begin();
1593 CHECK(it == j.cbegin());
1594 it = j.begin();
1595 CHECK(it == j.cbegin());
1599 json j = 23; variable
1600 json::const_iterator it = j.begin();
1601 CHECK(it == j.cbegin());
1602 it = j.begin();
1603 CHECK(it == j.cbegin());
1607 json j = 23u; variable
1608 json::const_iterator it = j.begin();
1609 CHECK(it == j.cbegin());
1610 it = j.begin();
1611 CHECK(it == j.cbegin());
1615 json j = 23.42; variable
1616 json::const_iterator it = j.begin();
1617 CHECK(it == j.cbegin());
1618 it = j.begin();
1619 CHECK(it == j.cbegin());
1623 json j = nullptr; variable
1624 json::const_iterator it = j.begin();
1625 CHECK(it == j.cbegin());
1626 it = j.begin();
1627 CHECK(it == j.cbegin());