Lines Matching refs:size

310                         // compare result + size
313 CHECK(result.size() == 9);
361 // compare result + size
364 CHECK(result.size() == 5);
398 // compare result + size
401 CHECK(result.size() == 3);
419 // compare result + size
422 CHECK(result.size() == 3);
451 // compare result + size
454 CHECK(result.size() == 2);
484 // compare result + size
487 CHECK(result.size() == 2);
517 // compare result + size
520 CHECK(result.size() == 2);
551 // compare result + size
554 CHECK(result.size() == 3);
589 // compare result + size
592 CHECK(result.size() == 3);
629 // compare result + size
632 CHECK(result.size() == 5);
672 // compare result + size
675 CHECK(result.size() == 5);
717 // compare result + size
720 CHECK(result.size() == 9);
765 // compare result + size
768 CHECK(result.size() == 9);
808 // compare result + size
811 CHECK(result.size() == 2);
841 // compare result + size
844 CHECK(result.size() == 2);
875 // compare result + size
878 CHECK(result.size() == 3);
912 // compare result + size
915 CHECK(result.size() == 3);
950 // compare result + size
953 CHECK(result.size() == 5);
992 // compare result + size
995 CHECK(result.size() == 5);
1036 // compare result + size
1039 CHECK(result.size() == 9);
1084 // compare result + size
1087 CHECK(result.size() == 9);
1285 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(vec4), "[json.exception.parse_error.113] parse error at byte 2: syntax error while parsing BJData size: expected length type specification (U, i, u, I, m, l, M, L) after '#'; last byte: 0x02", json::parse_error);
1312 // compare result + size
1315 CHECK(result.size() == N + 3);
1348 // compare result + size
1351 CHECK(result.size() == N + 3);
1382 // compare result + size
1385 CHECK(result.size() == N + 4);
1416 // compare result + size
1419 CHECK(result.size() == N + 4);
1452 // compare result + size
1455 CHECK(result.size() == N + 6);
1495 // compare result + size
1500 CHECK(result.size() == N + 4);
1504 CHECK(result.size() == N + 6);
1543 // compare result + size
1546 CHECK(result.size() == N + 6);
1580 // compare result + size
1583 CHECK(result.size() == N + 7);
1617 // compare result + size
1620 CHECK(result.size() == N + 7);
1656 // compare result + size
1659 CHECK(result.size() == N + 9);
1687 // compare result + size
1690 CHECK(result.size() == N + 12);
1714 // compare result + size
1717 CHECK(result.size() == N + 14);
1732 SECTION("size=false type=false")
1744 SECTION("size=true type=false")
1756 SECTION("size=true type=true")
1771 SECTION("size=false type=false")
1783 SECTION("size=true type=false")
1795 SECTION("size=true type=true")
1810 SECTION("size=false type=false")
1822 SECTION("size=true type=false")
1834 SECTION("size=true type=true")
1849 SECTION("size=false type=false")
1861 SECTION("size=true type=false")
1873 SECTION("size=true type=true")
1888 SECTION("size=false type=false")
1891 std::vector<uint8_t> expected(j.size() + 2, 'Z'); // all null
1902 SECTION("size=true type=false")
1905 std::vector<uint8_t> expected(j.size() + 5, 'Z'); // all null
1907 expected[1] = '#'; // array size
1922 SECTION("size=false type=false")
1925 std::vector<uint8_t> expected(j.size() + 2, 'Z'); // all null
1936 SECTION("size=true type=false")
1939 std::vector<uint8_t> expected(j.size() + 5, 'Z'); // all null
1941 expected[1] = '#'; // array size
1956 SECTION("size=false type=false")
1959 std::vector<uint8_t> expected(j.size() + 2, 'Z'); // all null
1970 SECTION("size=true type=false")
1973 std::vector<uint8_t> expected(j.size() + 7, 'Z'); // all null
1975 expected[1] = '#'; // array size
1995 SECTION("size=false type=false")
2007 SECTION("size=true type=false")
2019 SECTION("size=true type=true")
2034 SECTION("size=false type=false")
2046 SECTION("size=true type=false")
2061 SECTION("size=false type=false")
2076 SECTION("size=true type=false")
2091 SECTION("size=true type=true ignore object type marker")
2380 SECTION("optimized ndarray (type and vector-size as optimized 1D array)")
2413 SECTION("optimized ndarray (type and vector-size ndarray with JData annotations)")
2459 SECTION("optimized ndarray (type and vector-size as 1D array)")
2494 SECTION("optimized ndarray (type and vector-size as size-optimized array)")
2595 SECTION("optimized array: no size following type")
2599 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(v), "[json.exception.parse_error.112] parse error at byte 4: syntax error while parsing BJData size: expected '#' after type information; last byte: 0x02", json::parse_error&);
2602 SECTION("optimized array: negative size")
2618 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(v1), "[json.exception.parse_error.113] parse error at byte 4: syntax error while parsing BJData size: count in an optimized container must be positive", json::parse_error&);
2621 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(v2), "[json.exception.parse_error.113] parse error at byte 6: syntax error while parsing BJData size: count in an optimized container must be positive", json::parse_error&);
2624 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(v3), "[json.exception.parse_error.113] parse error at byte 7: syntax error while parsing BJData size: count in an optimized container must be positive", json::parse_error&);
2627 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(v4), "[json.exception.parse_error.113] parse error at byte 6: syntax error while parsing BJData size: count in an optimized container must be positive", json::parse_error&);
2630 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(v5), "[json.exception.parse_error.113] parse error at byte 7: syntax error while parsing BJData size: count in an optimized container must be positive", json::parse_error&);
2633 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(v6), "[json.exception.parse_error.113] parse error at byte 5: syntax error while parsing BJData size: count in an optimized container must be positive", json::parse_error&);
2636 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(vI), "[json.exception.parse_error.113] parse error at byte 5: syntax error while parsing BJData size: count in an optimized container must be positive", json::parse_error&);
2639 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(vl), "[json.exception.parse_error.113] parse error at byte 7: syntax error while parsing BJData size: count in an optimized container must be positive", json::parse_error&);
2642 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(vL), "[json.exception.parse_error.113] parse error at byte 11: syntax error while parsing BJData size: count in an optimized container must be positive", json::parse_error&);
2646 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(vM), "[json.exception.out_of_range.408] syntax error while parsing BJData size: excessive ndarray size caused overflow", json::out_of_range&);
2648 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(vM), "[json.exception.out_of_range.408] syntax error while parsing BJData size: integer value overflow", json::out_of_range&);
2653 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(vMX), "[json.exception.out_of_range.408] syntax error while parsing BJData size: excessive ndarray size caused overflow", json::out_of_range&);
2655 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(vMX), "[json.exception.out_of_range.408] syntax error while parsing BJData size: integer value overflow", json::out_of_range&);
2667 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(vL), "[json.exception.out_of_range.408] syntax error while parsing BJData size: integer value overflow", json::out_of_range&);
2672 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(vM), "[json.exception.out_of_range.408] syntax error while parsing BJData size: integer value overflow", json::out_of_range&);
2772 CHECK_THROWS_WITH(_ = json::from_bjdata(v0), "[json.exception.parse_error.113] parse error at byte 3: syntax error while parsing BJData size: expected length type specification (U, i, u, I, m, l, M, L) after '#'; last byte: 0x54");
2776 SECTION("parse bjdata markers as array size in ubjson")
2780 CHECK_THROWS_WITH_AS(_ = json::from_ubjson(vu), "[json.exception.parse_error.113] parse error at byte 3: syntax error while parsing UBJSON size: expected length type specification (U, i, I, l, L) after '#'; last byte: 0x75", json::parse_error&);
2784 CHECK_THROWS_WITH_AS(_ = json::from_ubjson(vm), "[json.exception.parse_error.113] parse error at byte 3: syntax error while parsing UBJSON size: expected length type specification (U, i, I, l, L) after '#'; last byte: 0x6D", json::parse_error&);
2788 CHECK_THROWS_WITH_AS(_ = json::from_ubjson(vM), "[json.exception.parse_error.113] parse error at byte 3: syntax error while parsing UBJSON size: expected length type specification (U, i, I, l, L) after '#'; last byte: 0x4D", json::parse_error&);
2792 CHECK_THROWS_WITH_AS(_ = json::from_ubjson(v0), "[json.exception.parse_error.113] parse error at byte 3: syntax error while parsing UBJSON size: expected length type specification (U, i, I, l, L) after '#'; last byte: 0x5B", json::parse_error&);
2836 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(vST), "[json.exception.parse_error.113] parse error at byte 9: syntax error while parsing BJData size: expected length type specification (U, i, u, I, m, l, M, L) after '#'; last byte: 0xFF", json::parse_error&);
2848 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(vS), "[json.exception.parse_error.113] parse error at byte 9: syntax error while parsing BJData size: expected length type specification (U, i, u, I, m, l, M, L) after '#'; last byte: 0x01", json::parse_error&);
2882 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(vR), "[json.exception.parse_error.113] parse error at byte 8: syntax error while parsing BJData size: ndarray dimentional vector is not allowed", json::parse_error&);
2886 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(vRo), "[json.exception.parse_error.113] parse error at byte 8: syntax error while parsing BJData size: expected length type specification (U, i, u, I, m, l, M, L) after '#'; last byte: 0x7B", json::parse_error&);
2890 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(vR1), "[json.exception.parse_error.113] parse error at byte 6: syntax error while parsing BJData size: ndarray dimentional vector is not allowed", json::parse_error&);
2894 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(vR2), "[json.exception.parse_error.113] parse error at byte 11: syntax error while parsing BJData size: expected length type specification (U, i, u, I, m, l, M, L) after '#'; last byte: 0x5D", json::parse_error&);
2898 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(vR3), "[json.exception.parse_error.112] parse error at byte 8: syntax error while parsing BJData size: ndarray requires both type and size", json::parse_error&);
2906 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(vR5), "[json.exception.parse_error.113] parse error at byte 6: syntax error while parsing BJData size: ndarray dimentional vector is not allowed", json::parse_error&);
2910 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(vR6), "[json.exception.parse_error.112] parse error at byte 14: syntax error while parsing BJData size: ndarray can not be recursive", json::parse_error&);
2914 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(vH), "[json.exception.parse_error.113] parse error at byte 3: syntax error while parsing BJData size: ndarray dimentional vector is not allowed", json::parse_error&);
2926 CHECK_THROWS_WITH(_ = json::from_bjdata(vT), "[json.exception.parse_error.112] parse error at byte 4: syntax error while parsing BJData size: expected '#' after type information; last byte: 0x69");
2954 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(vO), "[json.exception.parse_error.112] parse error at byte 8: syntax error while parsing BJData size: ndarray requires both type and size", json::parse_error&);
2958 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(vO2), "[json.exception.parse_error.112] parse error at byte 10: syntax error while parsing BJData object: BJData object does not support ND-array size in optimized format", json::parse_error&);
3197 SECTION("size=false type=false")
3206 SECTION("size=true type=false")
3215 SECTION("size=true type=true")
3227 SECTION("size=false type=false")
3251 SECTION("size=true type=false")
3274 SECTION("size=true type=true")