Lines Matching refs:buffer

1287   Payload buffer;  in TEST()  local
1292 buffer = {ENCODING_TYPE_TRUE}; in TEST()
1293 error = Deserialize(&result, &buffer); in TEST()
1298 buffer = {ENCODING_TYPE_FALSE}; in TEST()
1299 error = Deserialize(&result, &buffer); in TEST()
1305 Payload buffer; in TEST() local
1310 buffer = {ENCODING_TYPE_POSITIVE_FIXINT_MIN}; in TEST()
1311 error = Deserialize(&result, &buffer); in TEST()
1316 buffer = {ENCODING_TYPE_POSITIVE_FIXINT_MAX}; in TEST()
1317 error = Deserialize(&result, &buffer); in TEST()
1322 buffer = {ENCODING_TYPE_UINT8, 0x00}; in TEST()
1323 error = Deserialize(&result, &buffer); in TEST()
1328 buffer = {ENCODING_TYPE_UINT8, 0xff}; in TEST()
1329 error = Deserialize(&result, &buffer); in TEST()
1334 buffer = {ENCODING_TYPE_UINT16}; in TEST()
1335 error = Deserialize(&result, &buffer); in TEST()
1341 buffer = {ENCODING_TYPE_UINT32}; in TEST()
1342 error = Deserialize(&result, &buffer); in TEST()
1348 buffer = {ENCODING_TYPE_UINT64}; in TEST()
1349 error = Deserialize(&result, &buffer); in TEST()
1356 Payload buffer; in TEST() local
1361 buffer = {ENCODING_TYPE_POSITIVE_FIXINT_MIN}; in TEST()
1362 error = Deserialize(&result, &buffer); in TEST()
1367 buffer = {ENCODING_TYPE_POSITIVE_FIXINT_MAX}; in TEST()
1368 error = Deserialize(&result, &buffer); in TEST()
1373 buffer = {ENCODING_TYPE_UINT8, 0x00}; in TEST()
1374 error = Deserialize(&result, &buffer); in TEST()
1379 buffer = {ENCODING_TYPE_UINT8, 0xff}; in TEST()
1380 error = Deserialize(&result, &buffer); in TEST()
1385 buffer = {ENCODING_TYPE_UINT16, 0x00, 0x00}; in TEST()
1386 error = Deserialize(&result, &buffer); in TEST()
1391 buffer = {ENCODING_TYPE_UINT16, 0xff, 0xff}; in TEST()
1392 error = Deserialize(&result, &buffer); in TEST()
1397 buffer = {ENCODING_TYPE_UINT32}; in TEST()
1398 error = Deserialize(&result, &buffer); in TEST()
1404 buffer = {ENCODING_TYPE_UINT64}; in TEST()
1405 error = Deserialize(&result, &buffer); in TEST()
1412 Payload buffer; in TEST() local
1417 buffer = {ENCODING_TYPE_POSITIVE_FIXINT_MIN}; in TEST()
1418 error = Deserialize(&result, &buffer); in TEST()
1423 buffer = {ENCODING_TYPE_POSITIVE_FIXINT_MAX}; in TEST()
1424 error = Deserialize(&result, &buffer); in TEST()
1429 buffer = {ENCODING_TYPE_UINT8, 0x00}; in TEST()
1430 error = Deserialize(&result, &buffer); in TEST()
1435 buffer = {ENCODING_TYPE_UINT8, 0xff}; in TEST()
1436 error = Deserialize(&result, &buffer); in TEST()
1441 buffer = {ENCODING_TYPE_UINT16, 0x00, 0x00}; in TEST()
1442 error = Deserialize(&result, &buffer); in TEST()
1447 buffer = {ENCODING_TYPE_UINT16, 0xff, 0xff}; in TEST()
1448 error = Deserialize(&result, &buffer); in TEST()
1453 buffer = {ENCODING_TYPE_UINT32, 0x00, 0x00, 0x00, 0x00}; in TEST()
1454 error = Deserialize(&result, &buffer); in TEST()
1459 buffer = {ENCODING_TYPE_UINT32, 0xff, 0xff, 0xff, 0xff}; in TEST()
1460 error = Deserialize(&result, &buffer); in TEST()
1465 buffer = {ENCODING_TYPE_UINT64}; in TEST()
1466 error = Deserialize(&result, &buffer); in TEST()
1473 Payload buffer; in TEST() local
1478 buffer = {ENCODING_TYPE_POSITIVE_FIXINT_MIN}; in TEST()
1479 error = Deserialize(&result, &buffer); in TEST()
1484 buffer = {ENCODING_TYPE_POSITIVE_FIXINT_MAX}; in TEST()
1485 error = Deserialize(&result, &buffer); in TEST()
1490 buffer = {ENCODING_TYPE_UINT8, 0x00}; in TEST()
1491 error = Deserialize(&result, &buffer); in TEST()
1496 buffer = {ENCODING_TYPE_UINT8, 0xff}; in TEST()
1497 error = Deserialize(&result, &buffer); in TEST()
1502 buffer = {ENCODING_TYPE_UINT16, 0x00, 0x00}; in TEST()
1503 error = Deserialize(&result, &buffer); in TEST()
1508 buffer = {ENCODING_TYPE_UINT16, 0xff, 0xff}; in TEST()
1509 error = Deserialize(&result, &buffer); in TEST()
1514 buffer = {ENCODING_TYPE_UINT32, 0x00, 0x00, 0x00, 0x00}; in TEST()
1515 error = Deserialize(&result, &buffer); in TEST()
1520 buffer = {ENCODING_TYPE_UINT32, 0xff, 0xff, 0xff, 0xff}; in TEST()
1521 error = Deserialize(&result, &buffer); in TEST()
1526 buffer = { in TEST()
1528 error = Deserialize(&result, &buffer); in TEST()
1533 buffer = { in TEST()
1535 error = Deserialize(&result, &buffer); in TEST()
1541 Payload buffer; in TEST() local
1546 buffer = {ENCODING_TYPE_NEGATIVE_FIXINT_MIN}; in TEST()
1547 error = Deserialize(&result, &buffer); in TEST()
1552 buffer = {ENCODING_TYPE_NEGATIVE_FIXINT_MAX}; in TEST()
1553 error = Deserialize(&result, &buffer); in TEST()
1558 buffer = {ENCODING_TYPE_POSITIVE_FIXINT_MIN}; in TEST()
1559 error = Deserialize(&result, &buffer); in TEST()
1564 buffer = {ENCODING_TYPE_POSITIVE_FIXINT_MAX}; in TEST()
1565 error = Deserialize(&result, &buffer); in TEST()
1570 buffer = {ENCODING_TYPE_INT8, 0x80}; in TEST()
1571 error = Deserialize(&result, &buffer); in TEST()
1576 buffer = {ENCODING_TYPE_INT8, 0x7f}; in TEST()
1577 error = Deserialize(&result, &buffer); in TEST()
1582 buffer = {ENCODING_TYPE_INT16}; in TEST()
1583 error = Deserialize(&result, &buffer); in TEST()
1589 buffer = {ENCODING_TYPE_INT32}; in TEST()
1590 error = Deserialize(&result, &buffer); in TEST()
1596 buffer = {ENCODING_TYPE_INT64}; in TEST()
1597 error = Deserialize(&result, &buffer); in TEST()
1604 Payload buffer; in TEST() local
1609 buffer = {ENCODING_TYPE_NEGATIVE_FIXINT_MIN}; in TEST()
1610 error = Deserialize(&result, &buffer); in TEST()
1615 buffer = {ENCODING_TYPE_NEGATIVE_FIXINT_MAX}; in TEST()
1616 error = Deserialize(&result, &buffer); in TEST()
1621 buffer = {ENCODING_TYPE_POSITIVE_FIXINT_MIN}; in TEST()
1622 error = Deserialize(&result, &buffer); in TEST()
1627 buffer = {ENCODING_TYPE_POSITIVE_FIXINT_MAX}; in TEST()
1628 error = Deserialize(&result, &buffer); in TEST()
1633 buffer = {ENCODING_TYPE_INT8, 0x80}; in TEST()
1634 error = Deserialize(&result, &buffer); in TEST()
1639 buffer = {ENCODING_TYPE_INT8, 0x7f}; in TEST()
1640 error = Deserialize(&result, &buffer); in TEST()
1645 buffer = {ENCODING_TYPE_INT16, 0x00, 0x80}; in TEST()
1646 error = Deserialize(&result, &buffer); in TEST()
1651 buffer = {ENCODING_TYPE_INT16, 0xff, 0x7f}; in TEST()
1652 error = Deserialize(&result, &buffer); in TEST()
1657 buffer = {ENCODING_TYPE_INT32}; in TEST()
1658 error = Deserialize(&result, &buffer); in TEST()
1664 buffer = {ENCODING_TYPE_INT64}; in TEST()
1665 error = Deserialize(&result, &buffer); in TEST()
1672 Payload buffer; in TEST() local
1677 buffer = {ENCODING_TYPE_NEGATIVE_FIXINT_MIN}; in TEST()
1678 error = Deserialize(&result, &buffer); in TEST()
1683 buffer = {ENCODING_TYPE_NEGATIVE_FIXINT_MAX}; in TEST()
1684 error = Deserialize(&result, &buffer); in TEST()
1689 buffer = {ENCODING_TYPE_POSITIVE_FIXINT_MIN}; in TEST()
1690 error = Deserialize(&result, &buffer); in TEST()
1695 buffer = {ENCODING_TYPE_POSITIVE_FIXINT_MAX}; in TEST()
1696 error = Deserialize(&result, &buffer); in TEST()
1701 buffer = {ENCODING_TYPE_INT8, 0x80}; in TEST()
1702 error = Deserialize(&result, &buffer); in TEST()
1707 buffer = {ENCODING_TYPE_INT8, 0x7f}; in TEST()
1708 error = Deserialize(&result, &buffer); in TEST()
1713 buffer = {ENCODING_TYPE_INT16, 0x00, 0x80}; in TEST()
1714 error = Deserialize(&result, &buffer); in TEST()
1719 buffer = {ENCODING_TYPE_INT16, 0xff, 0x7f}; in TEST()
1720 error = Deserialize(&result, &buffer); in TEST()
1725 buffer = {ENCODING_TYPE_INT32, 0x00, 0x00, 0x00, 0x80}; in TEST()
1726 error = Deserialize(&result, &buffer); in TEST()
1731 buffer = {ENCODING_TYPE_INT32, 0xff, 0xff, 0xff, 0x7f}; in TEST()
1732 error = Deserialize(&result, &buffer); in TEST()
1737 buffer = {ENCODING_TYPE_INT64}; in TEST()
1738 error = Deserialize(&result, &buffer); in TEST()
1745 Payload buffer; in TEST() local
1750 buffer = {ENCODING_TYPE_NEGATIVE_FIXINT_MIN}; in TEST()
1751 error = Deserialize(&result, &buffer); in TEST()
1756 buffer = {ENCODING_TYPE_NEGATIVE_FIXINT_MAX}; in TEST()
1757 error = Deserialize(&result, &buffer); in TEST()
1762 buffer = {ENCODING_TYPE_POSITIVE_FIXINT_MIN}; in TEST()
1763 error = Deserialize(&result, &buffer); in TEST()
1768 buffer = {ENCODING_TYPE_POSITIVE_FIXINT_MAX}; in TEST()
1769 error = Deserialize(&result, &buffer); in TEST()
1774 buffer = {ENCODING_TYPE_INT8, 0x80}; in TEST()
1775 error = Deserialize(&result, &buffer); in TEST()
1780 buffer = {ENCODING_TYPE_INT8, 0x7f}; in TEST()
1781 error = Deserialize(&result, &buffer); in TEST()
1786 buffer = {ENCODING_TYPE_INT16, 0x00, 0x80}; in TEST()
1787 error = Deserialize(&result, &buffer); in TEST()
1792 buffer = {ENCODING_TYPE_INT16, 0xff, 0x7f}; in TEST()
1793 error = Deserialize(&result, &buffer); in TEST()
1798 buffer = {ENCODING_TYPE_INT32, 0x00, 0x00, 0x00, 0x80}; in TEST()
1799 error = Deserialize(&result, &buffer); in TEST()
1804 buffer = {ENCODING_TYPE_INT32, 0xff, 0xff, 0xff, 0x7f}; in TEST()
1805 error = Deserialize(&result, &buffer); in TEST()
1810 buffer = { in TEST()
1812 error = Deserialize(&result, &buffer); in TEST()
1819 buffer = { in TEST()
1821 error = Deserialize(&result, &buffer); in TEST()
1827 Payload buffer; in TEST() local
1832 buffer = {ENCODING_TYPE_FLOAT32, kZeroFloatBytes[0], kZeroFloatBytes[1], in TEST()
1834 error = Deserialize(&result, &buffer); in TEST()
1839 buffer = {ENCODING_TYPE_FLOAT32, kOneFloatBytes[0], kOneFloatBytes[1], in TEST()
1841 error = Deserialize(&result, &buffer); in TEST()
1847 Payload buffer; in TEST() local
1852 buffer = {ENCODING_TYPE_FLOAT32, kZeroFloatBytes[0], kZeroFloatBytes[1], in TEST()
1854 error = Deserialize(&result, &buffer); in TEST()
1859 buffer = {ENCODING_TYPE_FLOAT64, kZeroDoubleBytes[0], kZeroDoubleBytes[1], in TEST()
1862 error = Deserialize(&result, &buffer); in TEST()
1867 buffer = {ENCODING_TYPE_FLOAT32, kOneFloatBytes[0], kOneFloatBytes[1], in TEST()
1869 error = Deserialize(&result, &buffer); in TEST()
1874 buffer = {ENCODING_TYPE_FLOAT64, kOneDoubleBytes[0], kOneDoubleBytes[1], in TEST()
1877 error = Deserialize(&result, &buffer); in TEST()
1883 Payload buffer; in TEST() local
1887 buffer = {ENCODING_TYPE_POSITIVE_FIXINT_MIN + 1}; in TEST()
1888 error = Deserialize(&result, &buffer); in TEST()
1894 Payload buffer; in TEST() local
1898 buffer = {ENCODING_TYPE_POSITIVE_FIXINT_MIN + 2}; in TEST()
1899 error = Deserialize(&result, &buffer); in TEST()
1905 Payload buffer; in TEST() local
1910 buffer = {ENCODING_TYPE_FIXEXT2, ENCODING_EXT_TYPE_FILE_DESCRIPTOR, 0, 0}; in TEST()
1911 error = Deserialize(&result1, &buffer); in TEST()
1917 buffer = decltype(buffer)( in TEST()
1921 error = Deserialize(&t1, &buffer); in TEST()
1928 buffer = {ENCODING_TYPE_FIXEXT2, ENCODING_EXT_TYPE_FILE_DESCRIPTOR, 0xfe, in TEST()
1930 error = Deserialize(&result1, &buffer); in TEST()
1936 Payload buffer; in TEST() local
1941 buffer = {ENCODING_TYPE_FIXSTR_MIN}; in TEST()
1942 error = Deserialize(&result, &buffer); in TEST()
1947 buffer = {ENCODING_TYPE_FIXSTR_MAX}; in TEST()
1948 buffer.Append((1 << 5) - 1, 'x'); in TEST()
1949 error = Deserialize(&result, &buffer); in TEST()
1954 buffer = {ENCODING_TYPE_STR8, 0x00}; in TEST()
1955 error = Deserialize(&result, &buffer); in TEST()
1960 buffer = {ENCODING_TYPE_STR8, 0xff}; in TEST()
1961 buffer.Append(0xff, 'x'); in TEST()
1962 error = Deserialize(&result, &buffer); in TEST()
1967 buffer = {ENCODING_TYPE_STR16, 0x00, 0x00}; in TEST()
1968 error = Deserialize(&result, &buffer); in TEST()
1973 buffer = {ENCODING_TYPE_STR16, 0xff, 0xff}; in TEST()
1974 buffer.Append(0xffff, 'x'); in TEST()
1975 error = Deserialize(&result, &buffer); in TEST()
1980 buffer = {ENCODING_TYPE_STR32, 0x00, 0x00, 0x00, 0x00}; in TEST()
1981 error = Deserialize(&result, &buffer); in TEST()
1987 buffer = {ENCODING_TYPE_STR32, 0x00, 0x00, 0x01, 0x00}; in TEST()
1988 buffer.Append(0x10000, 'x'); in TEST()
1989 error = Deserialize(&result, &buffer); in TEST()
1995 Payload buffer; in TEST() local
2002 buffer = {ENCODING_TYPE_FIXARRAY_MIN}; in TEST()
2003 error = Deserialize(&result, &buffer); in TEST()
2009 buffer = {ENCODING_TYPE_FIXARRAY_MAX}; in TEST()
2010 buffer.Append((1 << 4) - 1, 1); in TEST()
2011 error = Deserialize(&result, &buffer); in TEST()
2017 buffer = {ENCODING_TYPE_ARRAY16, 0x00, 0x00}; in TEST()
2018 error = Deserialize(&result, &buffer); in TEST()
2024 buffer = {ENCODING_TYPE_ARRAY16, 0xff, 0xff}; in TEST()
2025 buffer.Append(0xffff, 1); in TEST()
2026 error = Deserialize(&result, &buffer); in TEST()
2032 buffer = {ENCODING_TYPE_ARRAY32, 0x00, 0x00, 0x00, 0x00}; in TEST()
2033 error = Deserialize(&result, &buffer); in TEST()
2039 buffer = {ENCODING_TYPE_ARRAY32, 0x00, 0x00, 0x01, 0x00}; in TEST()
2040 buffer.Append(0x10000, 1); in TEST()
2041 error = Deserialize(&result, &buffer); in TEST()
2048 Payload buffer; in TEST() local
2054 buffer = {ENCODING_TYPE_FIXMAP_MIN}; in TEST()
2055 error = Deserialize(&result, &buffer); in TEST()
2061 buffer = {ENCODING_TYPE_FIXMAP_MIN + 1}; in TEST()
2062 error = Deserialize(&result, &buffer); in TEST()
2066 buffer = {ENCODING_TYPE_FIXMAP_MAX}; in TEST()
2067 InsertKeyValue<decltype(result)>(&buffer, (1 << 4) - 1); in TEST()
2068 error = Deserialize(&result, &buffer); in TEST()
2074 buffer = {ENCODING_TYPE_MAP16, 0x00, 0x00}; in TEST()
2075 error = Deserialize(&result, &buffer); in TEST()
2081 buffer = {ENCODING_TYPE_MAP16, 0xff, 0xff}; in TEST()
2082 InsertKeyValue<decltype(result)>(&buffer, (1 << 16) - 1); in TEST()
2083 error = Deserialize(&result, &buffer); in TEST()
2089 buffer = {ENCODING_TYPE_MAP32, 0x00, 0x00, 0x00, 0x00}; in TEST()
2090 error = Deserialize(&result, &buffer); in TEST()
2096 buffer = {ENCODING_TYPE_MAP32, 0x00, 0x00, 0x01, 0x00}; in TEST()
2097 InsertKeyValue<decltype(result)>(&buffer, (1 << 16)); in TEST()
2098 error = Deserialize(&result, &buffer); in TEST()
2105 Payload buffer; in TEST() local
2111 buffer = {ENCODING_TYPE_FIXMAP_MIN}; in TEST()
2112 error = Deserialize(&result, &buffer); in TEST()
2118 buffer = {ENCODING_TYPE_FIXMAP_MIN + 1}; in TEST()
2119 error = Deserialize(&result, &buffer); in TEST()
2123 buffer = {ENCODING_TYPE_FIXMAP_MAX}; in TEST()
2124 InsertKeyValue<decltype(result)>(&buffer, (1 << 4) - 1); in TEST()
2125 error = Deserialize(&result, &buffer); in TEST()
2131 buffer = {ENCODING_TYPE_MAP16, 0x00, 0x00}; in TEST()
2132 error = Deserialize(&result, &buffer); in TEST()
2138 buffer = {ENCODING_TYPE_MAP16, 0xff, 0xff}; in TEST()
2139 InsertKeyValue<decltype(result)>(&buffer, (1 << 16) - 1); in TEST()
2140 error = Deserialize(&result, &buffer); in TEST()
2146 buffer = {ENCODING_TYPE_MAP32, 0x00, 0x00, 0x00, 0x00}; in TEST()
2147 error = Deserialize(&result, &buffer); in TEST()
2153 buffer = {ENCODING_TYPE_MAP32, 0x00, 0x00, 0x01, 0x00}; in TEST()
2154 InsertKeyValue<decltype(result)>(&buffer, (1 << 16)); in TEST()
2155 error = Deserialize(&result, &buffer); in TEST()
2162 Payload buffer; in TEST() local
2166 buffer = {ENCODING_TYPE_FIXARRAY_MIN}; in TEST()
2168 error = Deserialize(&a0, &buffer); in TEST()
2172 buffer = {ENCODING_TYPE_FIXARRAY_MIN + 1}; in TEST()
2173 error = Deserialize(&a0, &buffer); in TEST()
2177 buffer = {ENCODING_TYPE_FIXARRAY_MAX}; in TEST()
2178 buffer.Append((1 << 4) - 1, 'x'); in TEST()
2182 error = Deserialize(&a1, &buffer); in TEST()
2187 buffer = {ENCODING_TYPE_ARRAY16, 0x00, 0x00}; in TEST()
2188 error = Deserialize(&a0, &buffer); in TEST()
2192 buffer = {ENCODING_TYPE_ARRAY16, 0xff, 0xff}; in TEST()
2193 buffer.Append((1 << 16) - 1, 'x'); in TEST()
2197 error = Deserialize(&a3, &buffer); in TEST()
2202 buffer = {ENCODING_TYPE_ARRAY32, 0x00, 0x00, 0x00, 0x00}; in TEST()
2203 error = Deserialize(&a0, &buffer); in TEST()
2207 buffer = {ENCODING_TYPE_ARRAY32, 0x00, 0x00, 0x01, 0x00}; in TEST()
2208 buffer.Append((1 << 16), 'x'); in TEST()
2212 error = Deserialize(&a4, &buffer); in TEST()
2218 Payload buffer; in TEST() local
2229 buffer = {ENCODING_TYPE_FIXARRAY_MIN}; in TEST()
2230 error = Deserialize(&wrapper, &buffer); in TEST()
2237 buffer = {ENCODING_TYPE_FIXARRAY_MAX}; in TEST()
2238 buffer.Append((1 << 4) - 1, 1); in TEST()
2239 error = Deserialize(&wrapper, &buffer); in TEST()
2246 buffer = {ENCODING_TYPE_ARRAY16, 0x00, 0x00}; in TEST()
2247 error = Deserialize(&wrapper, &buffer); in TEST()
2254 buffer = {ENCODING_TYPE_ARRAY16, 0xff, 0xff}; in TEST()
2255 buffer.Append(0xffff, 1); in TEST()
2256 error = Deserialize(&wrapper, &buffer); in TEST()
2263 buffer = {ENCODING_TYPE_ARRAY32, 0x00, 0x00, 0x00, 0x00}; in TEST()
2264 error = Deserialize(&wrapper, &buffer); in TEST()
2271 buffer = {ENCODING_TYPE_ARRAY32, 0x00, 0x00, 0x01, 0x00}; in TEST()
2272 buffer.Append(0x10000, 1); in TEST()
2273 error = Deserialize(&wrapper, &buffer); in TEST()
2281 Payload buffer; in TEST() local
2285 buffer = {ENCODING_TYPE_FIXARRAY_MIN + 2, 1, 2}; in TEST()
2286 error = Deserialize(&p1, &buffer); in TEST()
2292 Payload buffer; in TEST() local
2297 buffer = {ENCODING_TYPE_FIXARRAY_MIN}; in TEST()
2298 error = Deserialize(&t1, &buffer); in TEST()
2304 buffer = {ENCODING_TYPE_FIXARRAY_MAX}; in TEST()
2305 buffer.Append((1 << 4) - 1, 1); in TEST()
2306 error = Deserialize(&t2, &buffer); in TEST()
2312 buffer = {ENCODING_TYPE_ARRAY16, 0x00, 0x00}; in TEST()
2313 error = Deserialize(&t1, &buffer); in TEST()
2319 buffer = {ENCODING_TYPE_ARRAY16, 0x10, 0x00}; in TEST()
2320 buffer.Append((1 << 4), 1); in TEST()
2321 error = Deserialize(&t3, &buffer); in TEST()
2327 buffer = {ENCODING_TYPE_ARRAY32, 0x00, 0x00, 0x00, 0x00}; in TEST()
2328 error = Deserialize(&t1, &buffer); in TEST()
2334 buffer = {ENCODING_TYPE_ARRAY32, 0x10, 0x00, 0x00, 0x00}; in TEST()
2335 buffer.Append((1 << 4), 1); in TEST()
2336 error = Deserialize(&t4, &buffer); in TEST()
2346 Payload buffer; in TEST() local
2349 buffer = decltype(buffer)( in TEST()
2355 error = Deserialize(&t1, &buffer); in TEST()
2359 buffer = in TEST()
2360 decltype(buffer)({ENCODING_TYPE_FIXARRAY_MIN + 1, ENCODING_TYPE_FIXEXT2, in TEST()
2363 error = Deserialize(&tt, &buffer); in TEST()
2369 Payload buffer; in TEST() local
2374 buffer = {ENCODING_TYPE_FIXMAP_MIN + 1, ENCODING_TYPE_NEGATIVE_FIXINT_MAX, in TEST()
2376 error = Deserialize(&v, &buffer); in TEST()
2380 buffer = {ENCODING_TYPE_FIXMAP_MIN + 1, ENCODING_TYPE_POSITIVE_FIXINT_MIN + 0, in TEST()
2382 error = Deserialize(&v, &buffer); in TEST()
2387 buffer = {ENCODING_TYPE_FIXMAP_MIN + 1, ENCODING_TYPE_POSITIVE_FIXINT_MIN + 1, in TEST()
2389 error = Deserialize(&v, &buffer); in TEST()
2394 buffer = {ENCODING_TYPE_FIXMAP_MIN + 1, ENCODING_TYPE_POSITIVE_FIXINT_MIN + 1, in TEST()
2396 error = Deserialize(&v, &buffer); in TEST()
2401 buffer = {ENCODING_TYPE_FIXMAP_MIN + 1, in TEST()
2408 error = Deserialize(&v, &buffer); in TEST()
2417 Payload buffer; in TEST() local
2421 buffer = {ENCODING_TYPE_STR8}; in TEST()
2422 error = Deserialize(&u8, &buffer); in TEST()
2428 buffer = {ENCODING_TYPE_STR8}; in TEST()
2429 error = Deserialize(&u16, &buffer); in TEST()
2435 buffer = {ENCODING_TYPE_STR8}; in TEST()
2436 error = Deserialize(&u32, &buffer); in TEST()
2442 buffer = {ENCODING_TYPE_STR8}; in TEST()
2443 error = Deserialize(&u64, &buffer); in TEST()
2449 buffer = {ENCODING_TYPE_STR8}; in TEST()
2450 error = Deserialize(&i8, &buffer); in TEST()
2456 buffer = {ENCODING_TYPE_STR8}; in TEST()
2457 error = Deserialize(&i16, &buffer); in TEST()
2463 buffer = {ENCODING_TYPE_STR8}; in TEST()
2464 error = Deserialize(&i32, &buffer); in TEST()
2470 buffer = {ENCODING_TYPE_STR8}; in TEST()
2471 error = Deserialize(&i64, &buffer); in TEST()
2477 buffer = {ENCODING_TYPE_POSITIVE_FIXINT}; in TEST()
2478 error = Deserialize(&s, &buffer); in TEST()
2484 buffer = {ENCODING_TYPE_POSITIVE_FIXINT}; in TEST()
2485 error = Deserialize(&v, &buffer); in TEST()
2490 buffer = {ENCODING_TYPE_FIXARRAY_MIN + 1, ENCODING_TYPE_STR8}; in TEST()
2491 error = Deserialize(&v, &buffer); in TEST()
2496 buffer = {ENCODING_TYPE_FIXARRAY_MIN + 2, 0, 1}; in TEST()
2498 error = Deserialize(&t, &buffer); in TEST()
2501 buffer = {ENCODING_TYPE_FIXARRAY_MIN + 3, 0, 1, 2}; in TEST()
2503 error = Deserialize(&p, &buffer); in TEST()